USB hotplug doesn't seem to work (mouse not detected when on keyboard hub)

My Setup

  • BBB
  • USB optic Mouse connected to Apple keyboard
  • Ubuntu

`
root@ubuntu-armhf:~# uname -a

Linux ubuntu-armhf 3.8.13-bone30 #1 SMP Thu Nov 14 11:19:20 UTC 2013 armv7l armv7l armv7l GNU/Linux
`

Connected everything and booted

root@ubuntu-armhf:~# dmesg | grep USB [ 1.522557] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 1.530962] Initializing USB Mass Storage driver... [ 1.567364] USB Mass Storage support registered. [ 1.719337] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver [ 1.751507] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1 [ 1.759804] musb-hdrc musb-hdrc.1.auto: supports USB remote wakeup [ 1.759934] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.767100] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.774701] usb usb1: Product: MUSB HDRC host driver [ 1.818531] hub 1-0:1.0: USB hub found [ 2.120562] usbhid: USB HID core driver [ 2.219285] usb 1-1: new full-speed USB device number 2 using musb-hdrc [ 2.356968] usb 1-1: New USB device found, idVendor=05ac, idProduct=1003 [ 2.364011] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.371502] usb 1-1: Product: Hub in Apple Extended USB Keyboard [ 2.383739] hub 1-1:1.0: USB hub found [ 2.682958] usb 1-1.1: new low-speed USB device number 3 using musb-hdrc [ 5.603699] usb 1-1.1: new low-speed USB device number 4 using musb-hdrc [ 6.566387] usb 1-1.1: new low-speed USB device number 5 using musb-hdrc [ 6.884898] usb 1-1.1: new low-speed USB device number 6 using musb-hdrc [ 7.132850] hub 1-1:1.0: unable to enumerate USB device on port 1 [ 7.212951] usb 1-1.3: new full-speed USB device number 7 using musb-hdrc [ 7.300212] usb 1-1.3: New USB device found, idVendor=05ac, idProduct=020b [ 7.300224] usb 1-1.3: New USB device strings: Mfr=1, Product=3, SerialNumber=0 [ 7.300234] usb 1-1.3: Product: Apple Extended USB Keyboard [ 7.306643] input: Mitsumi Electric Apple Extended USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.0/input/input1 [ 7.307565] hid-generic 0003:05AC:020B.0001: input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-musb-hdrc.1.auto-1.3/input0 [ 7.316705] input: Mitsumi Electric Apple Extended USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.1/input/input2 [ 7.317263] hid-generic 0003:05AC:020B.0002: input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-musb-hdrc.1.auto-1.3/input1 [ 4718.254265] usb 1-1: USB disconnect, device number 2 [ 4718.254279] usb 1-1.3: USB disconnect, device number 7 [ 4721.978940] usb 1-1: new low-speed USB device number 8 using musb-hdrc [ 4722.102726] usb 1-1: New USB device found, idVendor=1bcf, idProduct=0007 [ 4722.102739] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 4722.102750] usb 1-1: Product: USB Optical Mouse [ 4722.112979] input: USB Optical Mouse as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1:1.0/input/input3 [ 4722.116616] hid-generic 0003:1BCF:0007.0003: input: USB HID v1.10 Mouse [USB Optical Mouse] on usb-musb-hdrc.1.auto-1/input0 [ 4793.162204] usb 1-1: USB disconnect, device number 8 [ 4799.816818] usb 1-1: new full-speed USB device number 9 using musb-hdrc [ 4799.939208] usb 1-1: New USB device found, idVendor=05ac, idProduct=1003 [ 4799.939246] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4799.939281] usb 1-1: Product: Hub in Apple Extended USB Keyboard [ 4799.945119] hub 1-1:1.0: USB hub found [ 4800.223344] usb 1-1.3: new full-speed USB device number 10 using musb-hdrc [ 4800.310562] usb 1-1.3: New USB device found, idVendor=05ac, idProduct=020b [ 4800.310601] usb 1-1.3: New USB device strings: Mfr=1, Product=3, SerialNumber=0 [ 4800.310636] usb 1-1.3: Product: Apple Extended USB Keyboard [ 4800.329044] input: Mitsumi Electric Apple Extended USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.0/input/input4 [ 4800.334409] hid-generic 0003:05AC:020B.0004: input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-musb-hdrc.1.auto-1.3/input0 [ 4800.348985] input: Mitsumi Electric Apple Extended USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.1/input/input5 [ 4800.351654] hid-generic 0003:05AC:020B.0005: input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-musb-hdrc.1.auto-1.3/input1 root@ubuntu-armhf:~# lsusb Bus 001 Device 009: ID 05ac:1003 Apple, Inc. Hub in Pro Keyboard [Mitsumi, A1048] Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 010: ID 05ac:020b Apple, Inc. Pro Keyboard [Mitsumi, A1048/US layout] root@ubuntu-armhf:~# lsusb Bus 001 Device 009: ID 05ac:1003 Apple, Inc. Hub in Pro Keyboard [Mitsumi, A1048] Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 010: ID 05ac:020b Apple, Inc. Pro Keyboard [Mitsumi, A1048/US layout]

The mouse is plugged to the Mac keyboard but doesn’t show up

root@ubuntu-armhf:~# lsusb Bus 001 Device 009: ID 05ac:1003 Apple, Inc. Hub in Pro Keyboard [Mitsumi, A1048] Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 010: ID 05ac:020b Apple, Inc. Pro Keyboard [Mitsumi, A1048/US layout]

If I plug the mouse alone:

root@ubuntu-armhf:~# lsusb Bus 001 Device 023: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

"bone30" is broken/notsupported/etc...

Please retest with:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-10-22

Regards,