burzumishi / linux-baytrail-flexx10

Install GNU/Linux on NextBook Flexx 10.1
GNU General Public License v2.0
82 stars 18 forks source link

Various udev scripts for Flexx*-style tablets #16

Closed ghost closed 7 years ago

ghost commented 7 years ago

Here are some udev scripts I find useful for our tablets:

  1. pci-usb-power.tar.gz - enables aggressive PCI and USB power saving, even across hot insertions and removals of USB devices. Makes powertop 'Good' across the board. Need to add 'usbcore.autosuspend=XXX' on your kernel command line, otherwise, the USB power saving will kick in instantaneously. XXX=secs to suspend USB devices, I use 300.
  2. bluetooth-hci.tar.gz - calls up rtk_hciattach without any additional configuration.
  3. onscreen-keyboard.tar.gz - my own take on the onscreen keyboard scripts. I don't think the stuff that's in this repo can work properly with the device/vendor IDs the way they are. Also various other changes. onscreen-keyboard-x11 should be called when X or your DE starts up. This checks for the presence of the keyboard, and calls up the onscreen keyboard if necessary.