Web lists-archives.com

Re: how do i tell usb to leave keyboard alone?




songbird wrote:
...
still happening, collected more info as i was running udevadm this time...

  always starts with change from KERNEL, so yes, seems to me to
be a kernel issue, but the fun thing here is that i've told the
kernel to leave the USB keyboard alone via udev rules and i've 
verified that the settings are indeed in the /sys/ files along 
with setting usbcore.autosuspend to -1.

  also went back to earlier kernel trying to see where this may
have started.  no difference...


.....

Apr 10 10:17:01 auntie CRON[2875]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 10 10:17:01 auntie CRON[2876]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 10 10:17:01 auntie CRON[2875]: pam_unix(cron:session): session closed for user root
KERNEL[9590.068254] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::numlock (leds)
KERNEL[9590.068320] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::numlock (leds)
KERNEL[9590.068352] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::capslock (leds)
KERNEL[9590.068377] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::capslock (leds)
KERNEL[9590.068412] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::scrolllock (leds)
KERNEL[9590.068435] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::scrolllock (leds)
KERNEL[9590.068454] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::compose (leds)
KERNEL[9590.068485] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::kana (leds)
KERNEL[9590.068509] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::kana (leds)
UDEV  [9590.072802] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::numlock (leds)
UDEV  [9590.072907] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::capslock (leds)
UDEV  [9590.073289] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::scrolllock (leds)
UDEV  [9590.073528] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::compose (leds)
UDEV  [9590.073544] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::capslock (leds)
UDEV  [9590.073556] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::numlock (leds)
UDEV  [9590.073766] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::scrolllock (leds)
UDEV  [9590.073939] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::kana (leds)
UDEV  [9590.074331] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/input21::kana (leds)
KERNEL[9590.088181] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/event18 (input)
UDEV  [9590.089052] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21/event18 (input)
KERNEL[9590.116184] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21 (input)
KERNEL[9590.116233] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/hidraw/hidraw1 (hidraw)
KERNEL[9590.116266] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002 (hid)
KERNEL[9590.116301] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002 (hid)
UDEV  [9590.118240] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/input/input21 (input)
UDEV  [9590.118615] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002/hidraw/hidraw1 (hidraw)
UDEV  [9590.119778] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002 (hid)
UDEV  [9590.120761] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002 (hid)
KERNEL[9590.132238] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
KERNEL[9590.132319] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
KERNEL[9590.132870] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
KERNEL[9590.132951] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
UDEV  [9590.134768] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
UDEV  [9590.135884] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
UDEV  [9590.137535] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
UDEV  [9590.138331] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
Apr 10 10:18:43 auntie kernel: usb 1-6: USB disconnect, device number 7
Apr 10 10:18:43 auntie upowerd[1275]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0002
Apr 10 10:18:43 auntie upowerd[1275]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0
Apr 10 10:18:43 auntie upowerd[1275]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6
KERNEL[9591.514913] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
KERNEL[9591.516243] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
KERNEL[9591.517366] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003 (hid)
KERNEL[9591.517696] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22 (input)
KERNEL[9591.576172] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::numlock (leds)
KERNEL[9591.576248] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::numlock (leds)
KERNEL[9591.576293] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::capslock (leds)
KERNEL[9591.576342] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::capslock (leds)
KERNEL[9591.576380] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::scrolllock (leds)
KERNEL[9591.576426] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::scrolllock (leds)
KERNEL[9591.576461] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::compose (leds)
KERNEL[9591.576493] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::kana (leds)
KERNEL[9591.576533] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::kana (leds)
KERNEL[9591.576589] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/event18 (input)
KERNEL[9591.576686] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/hidraw/hidraw1 (hidraw)
KERNEL[9591.576768] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003 (hid)
KERNEL[9591.576848] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
KERNEL[9591.576917] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
UDEV  [9591.585352] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
UDEV  [9591.587993] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
UDEV  [9591.589434] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003 (hid)
UDEV  [9591.590348] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22 (input)
UDEV  [9591.590524] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/hidraw/hidraw1 (hidraw)
UDEV  [9591.590918] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::numlock (leds)
UDEV  [9591.591447] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::scrolllock (leds)
UDEV  [9591.591584] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::capslock (leds)
UDEV  [9591.591850] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::numlock (leds)
UDEV  [9591.591899] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::kana (leds)
UDEV  [9591.592215] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::scrolllock (leds)
UDEV  [9591.592364] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::capslock (leds)
UDEV  [9591.592382] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::compose (leds)
UDEV  [9591.592589] change   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/input22::kana (leds)
UDEV  [9591.669981] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22/event18 (input)
Apr 10 10:18:44 auntie kernel: usb 1-6: new full-speed USB device number 8 using xhci_hcd
Apr 10 10:18:44 auntie kernel: usb 1-6: New USB device found, idVendor=AAAA, idProduct=BBBB
Apr 10 10:18:44 auntie kernel: usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Apr 10 10:18:44 auntie kernel: usb 1-6: Product: Keyboard
Apr 10 10:18:44 auntie kernel: usb 1-6: Manufacturer: Keyboard Inc
Apr 10 10:18:44 auntie kernel: input: Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003/input/input22
Apr 10 10:18:44 auntie kernel: hid-generic 0003:AAAA:BBBB.0003: input,hidraw1: USB HID v1.11 Keyboard [Keyboard] on usb-0000:00:14.0-6/input0
Apr 10 10:18:44 auntie mtp-probe[2900]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6"
Apr 10 10:18:44 auntie mtp-probe[2900]: bus: 1, device: 8 was not an MTP device
UDEV  [9591.671803] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003 (hid)
UDEV  [9591.673784] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
UDEV  [9591.675685] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
Apr 10 10:18:44 auntie systemd-logind[671]: Watching system buttons on /dev/input/event18 (Keyboard)
Apr 10 10:18:44 auntie upowerd[1275]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:AAAA:BBBB.0003
Apr 10 10:18:44 auntie upowerd[1275]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0
Apr 10 10:18:44 auntie upowerd[1275]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6
Apr 10 10:18:47 auntie colord-sane[2894]: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied
Apr 10 10:18:47 auntie colord-sane[2894]: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied
...

  i think this is now clearly enough in "BUG" territory or
at least someone in the kernel list may know what i'm missing
for turning off this behavior somehow until bug gets fixed/
changed.


  songbird