[maemo-developers] N800 in USB Host mode not detecting any devices (powered or not)

From: Sean Cross smcross at ucsd.edu
Date: Sat Aug 4 01:15:33 EEST 2007
On Aug 3, 2007, at 2:06 PM, Michael Lapinski wrote:
> In summary the older patches give some error and dont see the hub and
> the newer patches dont appear to work at all. Anyone have any idea or
> suggestions? Have we missed some sort of a step in the procedure?

I've been curious about the USB Host Mode patches myself, and have  
been trying to get them to work for the past week.  I'm running bora  
3.2, and I haven't heard of any reports of anyone getting it working  
with this version yet.

Whether I use the kernel-source-rx-34_2.6.18-osso40.diff (bora 3.1)  
or kernel-source-rx-34_2.6.18-osso52.diff (bora 5.2) patches, I can't  
get /sys/devices/platform/musb_hdrc/mode to report anything other  
than b_idle.  /proc/driver/musb_hdrc also perpetually reports  
"Peripheral" mode.  Furthermore, with these patches, the N800 no  
longer acts as a peripheral device.  If I cat /sys/devices/platform/ 
musb_hdrc/looptest, the "mode" suddenly becomes a_wait_vrise, and  
won't change without a reboot.

However, I have just discovered that things suddenly start to work if  
the N800 is connected to a desktop machine via USB when it starts  
up.  Under these circumstances, it does respond to switching modes, I  
can mount USB devices, I can e.g. cat /dev/input/event5 when I plug  
in a mouse, and keyboards work.

Again, if I don't have it connected via USB when it starts up, the  
USB chip doesn't respond at all to anything but the looptest, and as  
I don't have the required (dongle?) to run such a test, the only way  
I can see to get it out of that mode is to reboot it.

Sean Cross

More information about the maemo-developers mailing list