[Bug 608312] Re: USB host mode on OTG doesn't work on Maverick with BeagleBoard
eol reached https://wiki.ubuntu.com/Releases ** Changed in: linux (Ubuntu Natty) Status: In Progress => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: USB host mode on OTG doesn't work on Maverick with BeagleBoard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/608312/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: USB host mode on OTG doesn't work on Maverick with BeagleBoard
This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug. This change has been made by an automated script, maintained by the Ubuntu Kernel Team. ** Changed in: linux (Ubuntu) Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: USB host mode on OTG doesn't work on Maverick with BeagleBoard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/608312/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: USB host mode on OTG doesn't work on Maverick with BeagleBoard
** Tags added: natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: USB host mode on OTG doesn't work on Maverick with BeagleBoard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/608312/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: USB host mode on OTG doesn't work on Maverick with BeagleBoard
This bug affects Ubuntu 10.10, Maverick Meerkat. Maverick has reached end-of-life and is no longer supported, so I am closing the bugtask for Maverick. Please upgrade to a newer version of Ubuntu. More information here: https://lists.ubuntu.com/archives/ubuntu-announce/2012-April/000158.html ** Changed in: linux (Ubuntu Maverick) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: USB host mode on OTG doesn't work on Maverick with BeagleBoard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/608312/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: USB host mode on OTG doesn't work on Maverick with BeagleBoard
** Changed in: linux (Ubuntu Maverick) Status: New => Confirmed ** Changed in: linux (Ubuntu Maverick) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: USB host mode on OTG doesn't work on Maverick with BeagleBoard -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: USB host mode on OTG doesn't work on Maverick with BeagleBoard
As this is not likely to make it in time for the release, but is definitely SRU-worthy, I've reset the milestone to natty-updates to see that it is tracked for that series. ~JFo ** Changed in: linux (Ubuntu Natty) Milestone: ubuntu-11.04 => natty-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: USB host mode on OTG doesn't work on Maverick with BeagleBoard -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: USB host mode on OTG doesn't work on Maverick with BeagleBoard
** Changed in: linux (Ubuntu Natty) Assignee: Bryan Wu (cooloney) => Paolo Pisati (p-pisati) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: USB host mode on OTG doesn't work on Maverick with BeagleBoard -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: USB host mode on OTG doesn't work on Maverick with BeagleBoard
** Summary changed: - Usb host mode on OTG doesn't work on Maverick with BeagleBoard + USB host mode on OTG doesn't work on Maverick with BeagleBoard ** Description changed: When booting Maverick on a C4 BeagleBoard the host mode on USB OTG doesn't work as it should. - In theory it should just work when I add a micro usb cable (otg + In theory it should just work when I add a micro USB cable (OTG compatible) connected to a powered hub. Checking the device status: Before plugging the cable: ubuntu@beagle-maverick:/sys/devices/platform/musb_hdrc$ cat mode b_idle After plugging the cable: ubuntu@beagle-maverick:/sys/devices/platform/musb_hdrc$ cat mode a_idle When it works it should just display "host" when you have the cable connected, just like it worked on Lucid. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: linux-image-2.6.35-9-omap 2.6.35-9.14 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.35-9.14-omap 2.6.35-rc5 Uname: Linux 2.6.35-9-omap armv7l AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. AplayDevices: List of PLAYBACK Hardware Devices card 0: omap3beagle [omap3beagle], device 0: TWL4030 twl4030-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 Architecture: armel ArecordDevices: List of CAPTURE Hardware Devices card 0: omap3beagle [omap3beagle], device 0: TWL4030 twl4030-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 Date: Wed Jul 21 17:11:23 2010 Lspci: Error: command ['lspci', '-vvnn'] failed with exit code 1: pcilib: Cannot open /proc/bus/pci lspci: Cannot find any working access method. ProcCmdLine: splash ro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-16@60 root=UUID=f9533185-9f35-409b-9ec2-f9af70757512 fixrtc console=ttyS2,115200n8 serialtty=ttyS2 ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: USB host mode on OTG doesn't work on Maverick with BeagleBoard -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
** Also affects: linux (Ubuntu Maverick) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Natty) Importance: High Assignee: Bryan Wu (cooloney) Status: In Progress ** Changed in: linux (Ubuntu Natty) Milestone: None => ubuntu-11.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: Usb host mode on OTG doesn't work on Maverick with BeagleBoard -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
It is not working in natty too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: Usb host mode on OTG doesn't work on Maverick with BeagleBoard -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
removed regression-potential tag as every bug has the potential to be a regression. As such the bug team has deprecated the use of that tag. ~JFo ** Tags removed: regression-potential -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608312 Title: Usb host mode on OTG doesn't work on Maverick with BeagleBoard -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
Tobin, any chance to test the possible fixes? And Bryan, did you get any other review about your patches? It'd be good to have this fixed for Maverick. -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
** Tags added: regression-potential ** Tags removed: regression-tested -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
Please find the Maverick kernel here: http://people.canonical.com/~roc/kernel/lp566645_otg/ I tested it on Gumstix board as well as Beagle board, it works. Git patches: http://kernel.ubuntu.com/git?p=roc/ubuntu-maverick.git;a=shortlog;h=refs/heads/otg -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
** Tags added: regression-tested ** Tags removed: regression-potential -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
Tobin, can you please test this issue when Bryan releases a new kernel for Maverick? Thanks in advance. -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
Bryan, as this bug also affects the Maverick's kernel, can you create another kernel package based on the Maverick one? -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
We found the root cause of this issue is musb driver only call usb_add_hcd in gadget init code when it is OTG mode. And gadget register driver will only be called when we build-in gadget class driver or modprobe gadget class driver manually. I prepared a patch for upstream review here: http://kernel.ubuntu.com/git?p=roc/ubuntu-lucid.git;a=commitdiff;h=fc58ea3748869d2fa811dff26aa0fa07490b22b2 kernel package is here: http://people.canonical.com/~roc/kernel/lp566645_otg/ Thanks ** Changed in: linux (Ubuntu) Importance: Undecided => High ** Changed in: linux (Ubuntu) Status: New => In Progress -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
** Changed in: linux (Ubuntu) Assignee: (unassigned) => Bryan Wu (cooloney) -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
Argh, for some reason the OTG just get initialized when you load the g_ether driver. Just activated the debug and here's what I got: Initializing MUSB: [ 16.670837] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 [ 16.767852] musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) [ 16.767913] musb_hdrc: MHDRC RTL version 1.400 [ 16.767913] musb_hdrc: setup fifo_mode 4 [ 16.767944] musb_hdrc: 28/31 max ep, 16384/16384 memory [ 16.767974] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 0shared, max 64 [ 16.767974] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 1tx, max 512 [ 16.768005] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 1rx, max 512 [ 16.768005] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 2tx, max 512 [ 16.768035] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 2rx, max 512 [ 16.768066] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 3tx, max 512 [ 16.768066] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 3rx, max 512 [ 16.768096] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 4tx, max 512 [ 16.768127] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 4rx, max 512 [ 16.768127] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 5tx, max 512 [ 16.768157] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 5rx, max 512 [ 16.768157] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 6tx, max 512 [ 16.768188] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 6rx, max 512 [ 16.768218] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 7tx, max 512 [ 16.768218] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 7rx, max 512 [ 16.768249] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 8tx, max 512 [ 16.768249] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 8rx, max 512 [ 16.768280] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 9tx, max 512 [ 16.768310] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 9rx, max 512 [ 16.768310] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 10tx, max 256 [ 16.768341] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 10rx, max 64 [ 16.768371] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 11tx, max 256 [ 16.768371] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 11rx, max 64 [ 16.768402] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 12tx, max 256 [ 16.768432] MUSB - musb_core_init 1527: musb_hdrc: hw_ep 12rx, max 64 [ 16.768463] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 13shared, max 4096 [ 16.768463] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 14shared, max 1024 [ 16.768493] MUSB - musb_core_init 1518: musb_hdrc: hw_ep 15shared, max 1024 [ 16.768585] MUSB - musb_platform_try_idle 132: b_idle inactive, for idle timer for 7 ms [ 16.768707] MUSB - musb_init_controller 2134: OTG mode, status 0, dev80 [ 16.768798] musb_hdrc musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 After the initialization if you just plug the OTG cable nothing will happen, but when I load the g_ether module this is what it shows: [ 483.068023] MUSB - usb_gadget_register_driver 1719: registering driver g_ether [ 483.068115] g_ether gadget: using random self ethernet address [ 483.068145] g_ether gadget: using random host ethernet address [ 483.093505] usb0: MAC 92:91:16:c8:0a:cd [ 483.093536] usb0: HOST MAC b2:bb:bf:46:cc:bb [ 483.094482] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 [ 483.094512] g_ether gadget: g_ether ready [ 483.094543] MUSB - usb_gadget_register_driver 1766: OTG startup... [ 483.094573] musb_hdrc musb_hdrc: MUSB HDRC host driver [ 483.094604] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2 [ 483.105316] hub 2-0:1.0: USB hub found [ 483.105377] hub 2-0:1.0: 1 port detected [ 483.105438] MUSB - musb_start 948: <== devctl 80 [ 483.105438] MUSB - musb_hub_control 426: set feature 8 [ 483.105468] MUSB - musb_interrupt 1584: ** IRQ peripheral usb0040 tx rx [ 483.105499] MUSB - musb_stage0_irq 460: <== Power=e0, DevCtl=81, int_usb=0x40 [ 483.105529] MUSB - musb_stage0_irq 553: SESSION_REQUEST (b_idle) [ 483.105529] MUSB - omap_set_vbus 177: VBUS a_wait_vrise, devctl 81 [ 483.202819] MUSB - musb_hub_control 356: port status 0100 Then if I plug the cable the OTG works just as expected: r...@beagle-maverick:~# cat /sys/devices/platform/musb_hdrc/mode b_idle r...@beagle-maverick:~# modprobe g_ether r...@beagle-maverick:~# r...@beagle-maverick:~# cat /sys/devices/platform/musb_hdrc/mode a_host The kernel worked with the other config file by default because the g_ether is comp
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
It's probably a config issue, cause when compiling and using the same kernel with config file from http://bazaar.launchpad.net/~beagleboard- kernel/+junk/2.6.35-devel/annotate/head:/patches/defconfig it does work as expected. -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608312] Re: Usb host mode on OTG doesn't work on Maverick with BeagleBoard
** Attachment added: "AlsaDevices.txt" http://launchpadlibrarian.net/52269085/AlsaDevices.txt ** Attachment added: "BootDmesg.txt" http://launchpadlibrarian.net/52269086/BootDmesg.txt ** Attachment added: "CurrentDmesg.txt" http://launchpadlibrarian.net/52269088/CurrentDmesg.txt ** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/52269090/Dependencies.txt ** Attachment added: "Lsusb.txt" http://launchpadlibrarian.net/52269091/Lsusb.txt ** Attachment added: "ProcCpuinfo.txt" http://launchpadlibrarian.net/52269092/ProcCpuinfo.txt ** Attachment added: "ProcInterrupts.txt" http://launchpadlibrarian.net/52269095/ProcInterrupts.txt ** Attachment added: "ProcModules.txt" http://launchpadlibrarian.net/52269098/ProcModules.txt ** Attachment added: "UdevDb.txt" http://launchpadlibrarian.net/52269101/UdevDb.txt ** Attachment added: "UdevLog.txt" http://launchpadlibrarian.net/52269103/UdevLog.txt -- Usb host mode on OTG doesn't work on Maverick with BeagleBoard https://bugs.launchpad.net/bugs/608312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs