Hi,<br><br>I tried the usb host mode on n800 and was not success full in getting devices hooked up.<br>These are the following that I have tried.<br><br>1. Compiled the kernel on SDK_ARMEL as per instructions at <a href="http://www.muru.com/linux/n800-usb-host/">
http://www.muru.com/linux/n800-usb-host/</a> with the following patches.<br><div style="margin-left: 40px;"><font size="2">kernel-source-rx-34_2.6.18-osso40.diff.gz</font><br><font size="2">patches-tusb-n800-2007-05-04.tar.gz
</font><br></div><br><div style="margin-left: 80px;"> <font color="black" face="Verdana,Arial,Helvetica" size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">- make n800_defconfig </font></font><br><font color="black" face="Verdana,Arial,Helvetica" size="2">
<font color="black" face="Verdana,Arial,Helvetica" size="2">- make zImage </font></font><br><font color="black" face="Verdana,Arial,Helvetica" size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">- flasher -f -k -R /path/zImage
<br><br></font></font></div>2. Switching to host mode - echo host > /sys/devices/platform/musb_hdrc/mode throws on dmesg<br><div style="margin-left: 40px;">musb_platform_set_mode 461: Already in host mode otg_stat: 00000171
<br></div>3. Used a mini-B - TypeA cable to a powered usb hub with n800 connected to the host port.<br><br>I could only get usb hub detected. other devices (usb flash disk, keyboard) connected the hub are not detected.<br>
restarting /etc/init.d/ke-recv did not help either.<br><br>Is there something I'm missing? Any suggestions to get ahead?<br>I also tried patches-tusb-n800-2007-04-18.tar.gz without success.<br><br>Nokia-N800-10:~# ls /sys/bus/usb/devices/
<br>1-0:1.0 usb1<br><br><dmesg><br><br>[ 21.803802] MMU: mapping in ARM MMU, v=0xe0560000, p=0x86b00000, sz=0x10000<br>[ 21.803863] MMU: mapping in ARM MMU, v=0xe0570000, p=0x86b10000, sz=0x10000<br>[ 22.169616
] omapdsp: IPBUF configuration<br>[ 22.169647] 512 words * 16 lines at 0xe0200000.<br>[ 22.169799] omapdsp: found 5 task(s)<br>[ 22.170013] omapdsp: task 0: name pcm3<br>[ 22.170501] omapdsp: taskdev pcm3 enabled.
<br>[ 22.182037] omapdsp: task 1: name pcm_rec1<br>[ 22.182556] omapdsp: taskdev pcm_rec1 enabled.<br>[ 22.188903] omapdsp: task 2: name pcm1<br>[ 22.189422] omapdsp: taskdev pcm1 enabled.<br>[ 22.198394] omapdsp: task 3: name audiopp
<br>[ 22.198883] omapdsp: taskdev audiopp enabled.<br>[ 22.205047] omapdsp: task 4: name pcm0<br>[ 22.205627] omapdsp: taskdev pcm0 enabled.<br>[ 23.240234] EAC mode: play enabled, rec enabled<br>[ 23.658020] omapdsp: mmap info: vmadr = 40000000, padr = 86a30000, len = 2000
<br>[ 25.699768] g_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005<br>[ 25.699829] g_file_storage gadget: Number of LUNs=2<br>[ 25.699859] musb_hdrc musb_hdrc: MUSB HDRC host driver<br>[
25.701385] drivers/usb/core/inode.c: creating file 'devices'<br>[ 25.701446] drivers/usb/core/inode.c: creating file '001'<br>[ 25.701507] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
<br>[ 25.701568] musb_hdrc musb_hdrc: supports USB remote wakeup<br>[ 25.701721] usb usb1: default language 0x0409<br>[ 25.701782] usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1<br>[ 25.701843] usb usb1: Product: MUSB HDRC host driver
<br>[ 25.701873] usb usb1: Manufacturer: Linux 2.6.18-omap1 musb-hcd<br>[ 25.701904] usb usb1: SerialNumber: musb_hdrc<br>[ 25.702056] usb usb1: uevent<br>[ 25.702545] usb usb1: configuration #1 chosen from 1 choice
<br>[ 25.702636] usb usb1: adding 1-0:1.0 (config #1, interface 0)<br>[ 25.702758] usb 1-0:1.0: uevent<br>[ 25.702880] hub 1-0:1.0: usb_probe_interface<br>[ 25.702941] hub 1-0:1.0: usb_probe_interface - got id<br>
[ 25.702972] hub 1-0:1.0: USB hub found<br>[ 25.703063] hub 1-0:1.0: 1 port detected<br>[ 25.703094] hub 1-0:1.0: standalone hub<br>[ 25.703125] hub 1-0:1.0: individual port power switching<br>[ 25.703155] hub 1-0:
1.0: no over-current protection<br>[ 25.703186] hub 1-0:1.0: Single TT<br>[ 25.703216] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)<br>[ 25.703247] hub 1-0:1.0: power on to power good time: 10ms<br>[ 25.703308
] hub 1-0:1.0: local power source is good<br>[ 25.703338] hub 1-0:1.0: enabling power on all ports<br>[ 25.706054] drivers/usb/musb/tusb6010.c musb_platform_enable: dma not reactivated<br>[ 25.897094] drivers/usb/core/inode.c: creating file '001'
<br>[ 25.897277] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000<br>[ 25.962402] EAC mode: play disabled, rec disabled<br>[ 28.700531] Loading 3826.arm firmware<br>[ 28.999176] (c)opyright 2004 Conexant<br>[ 28.999206
]<br>[ 28.999237] build info: PRISM SoftMAC<br>[ 28.999237] creator: [kvalo]<br>[ 28.999267] date: [06/12/22-12:08]<br>[ 28.999298]<br>[ 29.005859] CX3110x: MAC address 00:19:4f:9e:9b:1d<br>[ 29.006835] cx3110x: PSM disabled
<br>[ 31.368469] Scan complete, scanned 13 channels<br>[ 31.393676] cx3110x: PSM full<br>[ 31.420074] cx3110x: PSM disabled<br>[ 33.416015] Scan complete, scanned 13 channels<br>[ 33.440307] cx3110x: PSM full<br>
[ 33.898101] cx3110x: PSM disabled<br>[ 36.045654] EAC mode: play enabled, rec enabled<br>[ 36.278961] Unhandled trap: 0x18000010<br>[ 36.936279] cx3110x: PSM dynamic with 1000 ms CAM timeout<br>[ 37.592712] ERROR in pdlp_calculate_stats(): o[j-1].timestamp is < 128
<br>[ 44.119812] EAC mode: play disabled, rec disabled<br>[ 52.958435] EAC mode: play enabled, rec enabled<br>[ 53.060913] omapdsp: mmap info: vmadr = 4000c000, padr = 86a10000, len = 2000<br>[ 55.365417] EAC mode: play disabled, rec disabled
<br>[ 78.997650] EAC mode: play enabled, rec enabled<br>[ 82.450378] EAC mode: play disabled, rec disabled<br></dmesg><br><br><div style="margin-left: 40px;"><br></div><br>-- <br>regards<br>Vasudevan<br><br>