It's actually more different then you think.. on the BeagleBoard xM,
if your device is plugged into the 4 port onboard connector, your
actually using the "ehci-omap" kernel driver.. If your device is
connected the xM's otg it's using the "musb" driver. Two completely
different, but providing usb subsystem's..
On the BeagleBone, there's two USB connectors, both are connected to
another newer but still "musb" based IP... ;) It's always been buggy
in the past, and it's going to take bug reports like your's to figure
out all the issues..
So for a closser apples to apples comparison, can you retry with your
beagleboard xm's otg port in host mode, i don't remember of the
linaro/canonical guys renabled that port in "3.2.0-12-omap"..
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
Ah, that makes sense.
> So for a closser apples to apples comparison, can you retry with your
> beagleboard xm's otg port in host mode,
That's a good test. The only problem is that I guess I need an
adapter to connect the USB device to the OTG port on the Beagle Board.
Do you guys recommend any specific one? I found a micro-USB otg
converer on Amazon, but the OTG port looks like a micro-USB port to
me, and I can't find a cable/adapter for that.
> i don't remember of the linaro/canonical guys renabled that port in "3.2.0-12-omap"..
I have one of your guys' images flashed on a card; it's what we've
been using for the past 4 months. So, I can try plugging into the
port with that image and see if I get the same behavior.
Thanks,
Tony
Nevermind that question. I found one. It'll be here on Tuesday and
I'll post the syslog and dmesg output then.
Thanks,
Tony
Hi Robert,
My OTG adapter finally came in. So, I shorted J1 with a solder blob,
plugged the device to the OTG port, and powered up the board. It
appears that the module is working correctly. Unlike with the bone,
the /dev/leaf0 mount point exists (because cat /proc/leaf has sane
entries) and here is the relevant chunk from syslog showing the musb
driver in action:
Feb 13 12:44:19 omap kernel: [ 106.203796] usb 2-1: new high-speed
USB device number 3 using musb-hdrc
Feb 13 12:44:19 omap kernel: [ 106.353088] usb 2-1: config 2
interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 128
Feb 13 12:44:19 omap kernel: [ 106.353149] usb 2-1: config 2
interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 128
Feb 13 12:44:19 omap kernel: [ 106.353668] usb 2-1: device v0bfd
p000b is not supported
Feb 13 12:44:19 omap kernel: [ 106.359588] usb 2-1: New USB device
found, idVendor=0bfd, idProduct=000b
Feb 13 12:44:19 omap kernel: [ 106.359619] usb 2-1: New USB device
strings: Mfr=0, Product=2, SerialNumber=0
Feb 13 12:44:19 omap kernel: [ 106.359649] usb 2-1: Product: Kvaser
Leaf Light HS
Now, the only strange message is "usb 2-1: device v0bfd p000b is not supported."
Excuse the potentially stupid question, but would there be a way to
enable ehci and ditch musb in the kernel source (e.g. is it a
configuration that I can set)? I don't need OTG functionality on the
board, and i can always set up the ethernet by editing the
/etc/newtork/interfaces file on my laptop prior to booting up.
Thanks for your help,
Tony
BTW, I forgot to mention that the XM is running the v3.2.3-x4 kernel
now (and it also has Richard Watt's patch for the SMSC9514 problem).
-Tony