** Description changed: - basically the device is not added to the platform bus, and thus the - driver cannot attach to a non-existent device: + the musb device is not added to the platform bus, and thus the driver + cannot attach to a non-existent device: - [flag@newluxor canonical]$ grep musb dmesg-2.6.38.txt + [flag@newluxor canonical]$ grep musb dmesg-2.6.38.txt [ 0.332000] bus_add_driver::636 bus: 'platform': add driver musb-tusb [ 0.382751] musb_init::2434 [ 0.382751] musb-hdrc: version 6.0, tusb-omap-dma, otg (peripheral+host), debug=0 [ 0.382781] bus_add_driver::636 bus: 'platform': add driver musb-hdrc [ 0.382934] musb_init::2463 ret: -19 #define ENODEV 19 /* No such device */ - [flag@newluxor canonical]$ grep musb dmesg-2.6.37.txt + flag@omap:~$ ls -la /sys/devices/platform/musb* + ls: cannot access /sys/devices/platform/musb*: No such file or directory + + Previously it was working fine: + + [flag@newluxor canonical]$ grep musb dmesg-2.6.37.txt [ 0.000000] bus_add_device::457 bus: 'platform': add device musb_hdrc [ 0.048736] musb_init::2488 [ 0.048767] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 [ 0.048797] bus_add_driver::637 bus: 'platform': add driver musb_hdrc [ 0.048919] musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) - [ 0.048919] musb_hdrc: MHDRC RTL version 1.800 + [ 0.048919] musb_hdrc: MHDRC RTL version 1.800 [ 0.048950] musb_hdrc: setup fifo_mode 4 [ 0.048950] musb_hdrc: 28/31 max ep, 16384/16384 memory [ 0.049133] musb_hdrc musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 [ 0.049224] musb_init::2517 ret: 0 + flag@omap:~$ ls -la /sys/devices/platform/musb_hdrc/ + total 0 + drwxr-xr-x 4 root root 0 2011-04-14 12:28 . + drwxr-xr-x 40 root root 0 2011-04-14 12:28 .. + lrwxrwxrwx 1 root root 0 2011-04-14 12:29 driver -> ../../../bus/platform/drivers/musb_hdrc + drwxr-xr-x 3 root root 0 2011-04-14 12:29 gadget + -r--r--r-- 1 root root 4096 2011-04-14 12:29 modalias + -rw-r--r-- 1 root root 4096 2011-04-14 12:29 mode + drwxr-xr-x 2 root root 0 2011-04-14 12:29 power + -rw-r--r-- 1 root root 4096 2011-04-14 12:29 srp + lrwxrwxrwx 1 root root 0 2011-04-14 12:28 subsystem -> ../../../bus/platform + -rw-r--r-- 1 root root 4096 2011-04-14 12:28 uevent + -rw-r--r-- 1 root root 4096 2011-04-14 12:29 vbus + it's simply a config difference introduced in 5bfc8061 (while rebasing on 2.6.38-rc1), when USB_MUSB_TUSB6010 was picked instead of USB_MUSB_OMAP2PLUS. + + With the attached patch we get musb back on omap3: + + flag@omap:~$ uname -a + Linux omap 2.6.38-8-omap #42 Thu Apr 14 12:39:06 CEST 2011 armv7l GNU/Linux + + flag@omap:~$ dmesg | grep musb + [ 0.360717] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 + [ 0.360870] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) + [ 0.360870] musb-hdrc: MHDRC RTL version 1.800 + [ 0.360900] musb-hdrc: setup fifo_mode 4 + [ 0.360900] musb-hdrc: 28/31 max ep, 16384/16384 memory + [ 0.361083] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 + + flag@omap:~$ ls -la /sys/devices/platform/musb-omap2430/ + total 0 + drwxr-xr-x 4 root root 0 2011-04-14 13:03 . + drwxr-xr-x 37 root root 0 2011-04-14 13:03 .. + lrwxrwxrwx 1 root root 0 2011-04-14 13:05 driver -> ../../../bus/platform/drivers/musb-omap2430 + -r--r--r-- 1 root root 4096 2011-04-14 13:05 modalias + drwxr-xr-x 4 root root 0 2011-04-14 13:03 musb-hdrc + drwxr-xr-x 2 root root 0 2011-04-14 13:05 power + lrwxrwxrwx 1 root root 0 2011-04-14 13:03 subsystem -> ../../../bus/platform + -rw-r--r-- 1 root root 4096 2011-04-14 13:03 uevent
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/759913 Title: musb driver doesn't attach on omap3 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs