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

From: Michael Lapinski mtl at media.mit.edu
Date: Sat Aug 4 00:06:43 EEST 2007
-Hello,

  We have tried to to get the N800 working in host mode and are not
having any luck. This is what we have tried (per
http://www.muru.com/linux/n800-usb-host/):

1) Kernel Sources kernel-source-rx-34_2.6.18.orig.tar.gz
    patched with kernel-source-rx-34_2.6.18-osso40.diff

We have explored two options:

Option 1) The latest patches from patches-tusb-n800-2007-07-03.tar.gz

Then the standard:
	make n800_defconfig
	make zImage
	./flasher -f -k ...

When the N800 is flashed with this kernel and we attempt to put it into
host mode several times there is no output in dmesg that it is even trying.

Option 2) Earlier patches from patches-tusb-n800-2007-05-04.tar.gz

Another standard config and compile and flash.

Now when echo host > /sys/devices/platform/musb_hdrc/mode is run more
than once the error  musb_platform_set_mode 461: Already in host mode
otg_stat: 00000130 is added to dmesg.


We are using a Mini-B to Mini-B cable that we used with a 770 previously
and are confident the cable is good. the N800 is connected to a powered
USB hub. dmesg does not detect the hub at bootup or if it is plugged in
after bootup and host mode is set.



Looking at /sys/bus/usb/devices/ gives an empty directory listing with
both sets of patches.



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 have attached a dmesg from bootup of the 05-04 kernel.


-thank you
-mtl



/** START DMESG **/
  14.922515] usbcore: registered new driver asix
[   14.922912] usbcore: registered new driver cdc_ether
[   14.923339] usbcore: registered new driver gl620a
[   14.923706] usbcore: registered new driver net1080
[   14.924499] usbcore: registered new driver plusb
[   14.924896] usbcore: registered new driver rndis_host
[   14.925292] usbcore: registered new driver cdc_subset
[   14.925628] usbcore: registered new driver zaurus
[   14.926208] usbcore: registered new driver usbserial
[   14.926300] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[   14.926696] drivers/usb/serial/usb-serial.c: USB Serial support
registered for Garmin GPS usb/tty
[   14.927093] usbcore: registered new driver garmin_gps
[   14.927154] drivers/usb/serial/garmin_gps.c: garmin gps driver v0.23
[   14.927581] drivers/usb/serial/usb-serial.c: USB Serial support
registered for PocketPC PDA
[   14.927673] drivers/usb/serial/ipaq.c: USB PocketPC PDA driver v0.5
[   14.928039] usbcore: registered new driver ipaq
[   14.928405] drivers/usb/serial/usb-serial.c: USB Serial support
registered for pl2303
[   14.928833] usbcore: registered new driver pl2303
[   14.928894] drivers/usb/serial/pl2303.c: Prolific PL2303 USB to
serial adaptor driver
[   14.929260] usbcore: registered new driver usbtest
[   14.929687] mice: PS/2 mouse device common for all mice
[   14.931213] tmp105: initializing
[   14.932312] menelaus: Setting voltage 'VAUX' to 2800 mV (reg 0x0a,
val 0xb8)
[   14.947967] tmp105: found at address 0x48
[   14.987854] hci_h4p hci_h4p: Registering HCI H4P device
[   15.216735] menelaus: Setting voltage 'VMMC' to 3100 mV (reg 0x0a,
val 0xf8)
[   15.229949] mmci-omap mmci-omap.1: cover is now closed
[   15.230285] omap_pwm_led omap_pwm_led: OMAP PWM LED (keypad) at GP
timer 10/9
[   15.230712] Registered led device: keypad
[   15.245056] Advanced Linux Sound Architecture Driver Version
1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
[   15.245727] omap24xx-eac omap24xx-eac: EAC version: 1.0
[   15.248870] ALSA device list:
[   15.248962]   #0: OMAP24xx EAC with codec TSC2301
[   15.249023] Netfilter messages via NETLINK v0.30.
[   15.249145] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.310791] menelaus: Setting voltage 'VMMC' to 0 mV (reg 0x0a, val 0x38)
[   15.322753] TCP bic registered
[   15.322937] NET: Registered protocol family 1
[   15.323028] NET: Registered protocol family 17
[   15.323120] Bluetooth: L2CAP ver 2.8
[   15.323150] Bluetooth: L2CAP socket layer initialized
[   15.323211] Bluetooth: SCO (Voice Link) ver 0.5
[   15.323242] Bluetooth: SCO socket layer initialized
[   15.323364] Bluetooth: RFCOMM socket layer initialized
[   15.323486] Bluetooth: RFCOMM TTY layer initialized
[   15.323516] Bluetooth: RFCOMM ver 1.8
[   15.323577] Bluetooth: BNEP (Ethernet Emulation) ver 1.2
[   15.323608] Bluetooth: HIDP (Human Interface Emulation) ver 1.1-mh1
[   15.323669] Power Management for OMAP2 initializing
[   15.323730] PRCM revision 1.0
[   15.323852] VFP support v0.3: implementor 41 architecture 1 part 20
variant b rev 2
[   15.323974] Disabling unused clock "uart3_fck"
[   15.324005] Disabling unused clock "uart3_ick"
[   15.324066] Disabling unused clock "uart2_fck"
[   15.324096] Disabling unused clock "uart2_ick"
[   15.324157] Disabling unused clock "gpt12_fck"
[   15.324188] Disabling unused clock "gpt12_ick"
[   15.324249] Disabling unused clock "gpt11_fck"
[   15.324279] Disabling unused clock "gpt11_ick"
[   15.324340] Disabling unused clock "gpt8_fck"
[   15.324371] Disabling unused clock "gpt8_ick"
[   15.324401] Disabling unused clock "gpt7_fck"
[   15.324462] Disabling unused clock "gpt7_ick"
[   15.324493] Disabling unused clock "gpt6_fck"
[   15.324523] Disabling unused clock "gpt6_ick"
[   15.324584] Disabling unused clock "gpt5_fck"
[   15.324615] Disabling unused clock "gpt5_ick"
[   15.324676] Disabling unused clock "gpt4_fck"
[   15.324707] Disabling unused clock "gpt4_ick"
[   15.324737] Disabling unused clock "gpt3_fck"
[   15.324798] Disabling unused clock "gpt3_ick"
[   15.324829] Disabling unused clock "gpt2_fck"
[   15.324890] Disabling unused clock "gpt2_ick"
[   15.324920] Disabling unused clock "dss2_fck"
[   15.325531] menelaus: Setting voltage 'VDCDC3' to 3300 mV (reg 0x07,
val 0x39)
[   15.325805] Bootup reason: pwr_key
[   15.325866] OMAP GPIO switch handler initializing
[   15.328887] headphone (GPIO 107) is now disconnected
[   15.328979] cam_turn (GPIO 12) is now inactive
[   15.329040] cam_act (GPIO 95) is now inactive
[   15.329101] bat_cover (GPIO 110) is now closed
[   15.329315] OMAP Random Number Generator ver. 40
[   15.329650] 128 words of entropy generated
[   15.329711] FCLK = 96000000 [96000000], usecount = 1
[   15.329864] mmci-omap mmci-omap.1: cover is now closed
[   15.330200] menelaus: Setting voltage 'VMEM' to 1500 mV (reg 0x0a,
val 0x38)
[   15.362152] menelaus: Setting voltage 'VIO' to 2500 mV (reg 0x0a, val
0x38)
[   15.420135] menelaus: Setting voltage 'VDCDC3' to 0 mV (reg 0x07, val
0x01)
[   15.432434] menelaus: Setting voltage 'VMMC' to 3100 mV (reg 0x0a,
val 0xf8)
[   15.503570] tcm825x_find_size(): size 3
[   15.503601] tcm825xsensor_try_format(): isize = 3 num_capture = 2
[   15.503662] tcm825xsensor_try_format(): format = 0x50424752
[   15.503692] Sensor is TCM825x
[   15.529541] menelaus: Setting voltage 'VMMC' to 0 mV (reg 0x0a, val 0x38)
[   15.534027] menelaus: Setting voltage 'VIO' to 0 mV (reg 0x0a, val 0x30)
[   15.565216] menelaus: Setting voltage 'VMEM' to 0 mV (reg 0x0a, val 0x30)
[   15.835968] VFS: Mounted root (jffs2 filesystem).
[   15.836334] Freeing init memory: 116K
[   21.989135] umac: module license 'Proprietary' taints kernel.
[   22.150054] CX3110x chip variant: STLC4550
[   22.233581] CX3110x: firmware version: 2.13.0.0.a.22.8
[   22.244903] Loaded CX3110x driver, version 0.8
[   27.204528] tahvo: Registering interrupt 7 for device
[   27.205047] retu: Registering interrupt 8 for device
[   27.206176] retu: Registering interrupt 1 for device
[   27.206573] tahvo: Registering interrupt 1 for device
[   27.769226] tahvo: Registering interrupt 2 for device
[   39.673706] MMU: OMAP dsp MMU initialized (HW v1.0)
[   39.673797] MMU: mapping in ARM MMU, v=0xe0fff000, p=0x87375000,
sz=0x1000
[   39.673858] MMU: mapping in ARM MMU, v=0xe0fce000, p=0x48008000,
sz=0x1000
[   39.673889] MMU: mapping in ARM MMU, v=0xe0fe2000, p=0x48094000,
sz=0x1000
[   39.673950] MMU: mapping in ARM MMU, v=0xe0fdc000, p=0x4807c000,
sz=0x1000
[   39.674011] MMU: mapping in ARM MMU, v=0xe0fdd000, p=0x4807e000,
sz=0x1000
[   39.674316] MMU: mapping in ARM MMU, v=0xe0fde000, p=0x48080000,
sz=0x1000
[   39.674377] MMU: mapping in ARM MMU, v=0xe0fdf000, p=0x48082000,
sz=0x1000
[   39.674438] MMU: mapping in ARM MMU, v=0xe0fe0000, p=0x48090000,
sz=0x1000
[   39.674468] MMU: mapping in ARM MMU, v=0xe0fd9000, p=0x48068000,
sz=0x1000
[   39.674530] MMU: mapping in ARM MMU, v=0xe0fb0000, p=0x54000000,
sz=0x1000
[   39.674591] MMU: mapping in ARM MMU, v=0xe0fb1000, p=0x54001000,
sz=0x1000
[   39.674621] MMU: mapping in ARM MMU, v=0xe0fb2000, p=0x54002000,
sz=0x1000
[   39.674682] MMU: mapping in ARM MMU, v=0xe0fb3000, p=0x54003000,
sz=0x1000
[   39.674743] MMU: mapping in ARM MMU, v=0xe0fb4000, p=0x54004000,
sz=0x1000
[   39.847137] MMU: unmapping in ARM MMU, v=0xe0fce000, sz=0x1000
[   39.847167] MMU: unmapping in ARM MMU, v=0xe0fe2000, sz=0x1000
[   39.847229] MMU: unmapping in ARM MMU, v=0xe0fdc000, sz=0x1000
[   39.847259] MMU: unmapping in ARM MMU, v=0xe0fdd000, sz=0x1000
[   39.847290] MMU: unmapping in ARM MMU, v=0xe0fde000, sz=0x1000
[   39.847320] MMU: unmapping in ARM MMU, v=0xe0fdf000, sz=0x1000
[   39.847351] MMU: unmapping in ARM MMU, v=0xe0fe0000, sz=0x1000
[   39.847381] MMU: unmapping in ARM MMU, v=0xe0fd9000, sz=0x1000
[   39.847442] MMU: unmapping in ARM MMU, v=0xe0fb0000, sz=0x1000
[   39.847473] MMU: unmapping in ARM MMU, v=0xe0fb1000, sz=0x1000
[   39.847503] MMU: unmapping in ARM MMU, v=0xe0fb2000, sz=0x1000
[   39.847534] MMU: unmapping in ARM MMU, v=0xe0fb3000, sz=0x1000
[   39.847564] MMU: unmapping in ARM MMU, v=0xe0fb4000, sz=0x1000
[   39.847595] MMU: unmapping in ARM MMU, v=0xe0fff000, sz=0x1000
[   39.848663] MMU: OMAP dsp MMU initialized (HW v1.0)
[   39.848724] MMU: mapping in ARM MMU, v=0xe0fff000, p=0x87375000,
sz=0x1000
[   39.848785] MMU: mapping in ARM MMU, v=0xe0fce000, p=0x48008000,
sz=0x1000
[   39.848846] MMU: mapping in ARM MMU, v=0xe0fe2000, p=0x48094000,
sz=0x1000
[   39.848876] MMU: mapping in ARM MMU, v=0xe0fdc000, p=0x4807c000,
sz=0x1000
[   39.848937] MMU: mapping in ARM MMU, v=0xe0fdd000, p=0x4807e000,
sz=0x1000
[   39.848968] MMU: mapping in ARM MMU, v=0xe0fde000, p=0x48080000,
sz=0x1000
[   39.849029] MMU: mapping in ARM MMU, v=0xe0fdf000, p=0x48082000,
sz=0x1000
[   39.849060] MMU: mapping in ARM MMU, v=0xe0fe0000, p=0x48090000,
sz=0x1000
[   39.849121] MMU: mapping in ARM MMU, v=0xe0fd9000, p=0x48068000,
sz=0x1000
[   39.849182] MMU: mapping in ARM MMU, v=0xe0fb0000, p=0x54000000,
sz=0x1000
[   39.849212] MMU: mapping in ARM MMU, v=0xe0fb1000, p=0x54001000,
sz=0x1000
[   39.849273] MMU: mapping in ARM MMU, v=0xe0fb2000, p=0x54002000,
sz=0x1000
[   39.849334] MMU: mapping in ARM MMU, v=0xe0fb3000, p=0x54003000,
sz=0x1000
[   39.849365] MMU: mapping in ARM MMU, v=0xe0fb4000, p=0x54004000,
sz=0x1000
[   39.882659] MMU: mapping in ARM MMU, v=0xe0028000, p=0x86820000,
sz=0x1000
[   39.882934] MMU: mapping in ARM MMU, v=0xe0100000, p=0x86900000,
sz=0x100000
[   39.883117] MMU: mapping in ARM MMU, v=0xe0200000, p=0x86a00000,
sz=0x100000
[   39.883422] MMU: mapping in ARM MMU, v=0xe0400000, p=0x86b00000,
sz=0x100000
[   39.883575] MMU: mapping in ARM MMU, v=0xe0500000, p=0x86830000,
sz=0x10000
[   39.883636] MMU: mapping in ARM MMU, v=0xe0510000, p=0x86840000,
sz=0x10000
[   39.883728] MMU: mapping in ARM MMU, v=0xe0520000, p=0x86850000,
sz=0x10000
[   39.883789] MMU: mapping in ARM MMU, v=0xe0530000, p=0x86860000,
sz=0x10000
[   39.883850] MMU: mapping in ARM MMU, v=0xe0540000, p=0x86870000,
sz=0x10000
[   39.883941] MMU: mapping in ARM MMU, v=0xe0550000, p=0x86880000,
sz=0x10000
[   39.884002] MMU: mapping in ARM MMU, v=0xe0560000, p=0x86890000,
sz=0x10000
[   39.884094] MMU: mapping in ARM MMU, v=0xe0570000, p=0x868a0000,
sz=0x10000
[   40.292053] omapdsp: IPBUF configuration
[   40.292053]            512 words * 16 lines at 0xe0200000.
[   40.292236] omapdsp: found 5 task(s)
[   40.292572] omapdsp: task 0: name pcm3
[   40.293090] omapdsp: taskdev pcm3 enabled.
[   40.304504] omapdsp: task 1: name pcm_rec1
[   40.305023] omapdsp: taskdev pcm_rec1 enabled.
[   40.311126] omapdsp: task 2: name pcm1
[   40.311584] omapdsp: taskdev pcm1 enabled.
[   40.320587] omapdsp: task 3: name audiopp
[   40.321105] omapdsp: taskdev audiopp enabled.
[   40.327514] omapdsp: task 4: name pcm0
[   40.328002] omapdsp: taskdev pcm0 enabled.
[   41.771301] EAC mode: play enabled, rec enabled
[   42.143768] omapdsp: mmap info: vmadr = 40018000, padr = 86b30000,
len = 2000
[   44.447937] EAC mode: play disabled, rec disabled
[   47.447967] Loading 3826.arm firmware
[   47.691619] (c)opyright 2004 Conexant
[   47.691650]
[   47.691680] build info: PRISM SoftMAC
[   47.691680]   creator: [kvalo]
[   47.691711]   date: [07/05/03-10:28]
[   47.691711]
[   47.698638] CX3110x: MAC address 00:19:4f:d4:fc:07
[   47.707794] cx3110x: PSM disabled
[   49.158721] Scan complete, scanned 11 channels
[   49.272583] cx3110x: PSM full
[   49.283660] cx3110x: PSM disabled
[   50.932128] Scan complete, scanned 11 channels
[   50.993103] cx3110x: PSM full
[   51.012512] cx3110x: PSM disabled
[   53.167449] cx3110x: PSM dynamic with 4000 ms CAM timeout
[   53.929351] cx3110x: PSM dynamic with 200 ms CAM timeout
[   55.241424] EAC mode: play enabled, rec enabled
[   62.880279] EAC mode: play disabled, rec disabled
[   72.563751] EAC mode: play enabled, rec enabled
[   72.700103] omapdsp: mmap info: vmadr = 40018000, padr = 86b10000,
len = 2000
[   75.945281] EAC mode: play disabled, rec disabled
[   78.110504] EAC mode: play enabled, rec enabled
[   80.734283] EAC mode: play disabled, rec disabled
[   80.992797] EAC mode: play enabled, rec enabled
[   86.255432] EAC mode: play disabled, rec disabled
[   95.982696] EAC mode: play enabled, rec enabled
[  101.287811] EAC mode: play disabled, rec disabled
[  159.040374] cx3110x: PSM dynamic with 100 ms CAM timeout
[  159.197601] omapfb omapfb: s1d1374x: setting update mode to disabled
[  265.270507] musb_platform_set_mode 461: Already in host mode
otg_stat: 00000184
[  720.374206] cx3110x: PSM dynamic with 200 ms CAM timeout
[  720.447967] EAC mode: play enabled, rec enabled
[  720.706665] omapfb omapfb: s1d1374x: setting update mode to manual
[  723.232635] EAC mode: play disabled, rec disabled
[  772.493103] EAC mode: play enabled, rec enabled
[  778.752716] DEAUTHENTICATE trap
[  778.769805] Shut down SoftMAC
[  780.325866] EAC mode: play disabled, rec disabled
[  796.455902] Loading 3826.arm firmware
[  796.699310] (c)opyright 2004 Conexant
[  796.699371]
[  796.699401] build info: PRISM SoftMAC
[  796.699401]   creator: [kvalo]
[  796.699432]   date: [07/05/03-10:28]
[  796.699432]
[  796.706481] CX3110x: MAC address 00:19:4f:d4:fc:07
[  796.714630] cx3110x: PSM disabled
[  798.166534] Scan complete, scanned 11 channels
[  798.223571] cx3110x: PSM full
[  798.254333] cx3110x: PSM disabled
[  798.793090] EAC mode: play enabled, rec enabled
[  799.666778] Scan complete, scanned 11 channels
[  799.736236] cx3110x: PSM full
[  799.756469] cx3110x: PSM disabled
[  801.910308] cx3110x: PSM dynamic with 4000 ms CAM timeout
[  803.321746] cx3110x: PSM dynamic with 200 ms CAM timeout
[  806.539764] EAC mode: play disabled, rec disabled
[  813.513977] EAC mode: play enabled, rec enabled
[  813.616149] omapdsp: mmap info: vmadr = 40018000, padr = 86b10000,
len = 2000
[  815.968414] EAC mode: play disabled, rec disabled
[  818.067382] EAC mode: play enabled, rec enabled
[  822.335479] EAC mode: play disabled, rec disabled
[  822.390930] EAC mode: play enabled, rec enabled
[  825.224060] EAC mode: play disabled, rec disabled
[  825.430633] EAC mode: play enabled, rec enabled
[  834.513885] EAC mode: play disabled, rec disabled
[  892.149230] cx3110x: PSM dynamic with 100 ms CAM timeout
[  892.295104] omapfb omapfb: s1d1374x: setting update mode to disabled
[  893.779327] cx3110x: PSM dynamic with 200 ms CAM timeout
[  893.811309] EAC mode: play enabled, rec enabled
[  893.846374] omapfb omapfb: s1d1374x: setting update mode to manual
[  896.565155] EAC mode: play disabled, rec disabled
[  953.866363] cx3110x: PSM dynamic with 100 ms CAM timeout
[  953.974609] omapfb omapfb: s1d1374x: setting update mode to disabled
[  967.394195] musb_platform_set_mode 461: Already in host mode
otg_stat: 00000130
[  975.534454] musb_platform_set_mode 461: Already in host mode
otg_stat: 00000174
[  986.702178] musb_platform_set_mode 461: Already in host mode
otg_stat: 00000174
[ 1010.815368] omapfb omapfb: s1d1374x: setting update mode to manual
[ 1010.817443] EAC mode: play enabled, rec enabled
[ 1010.829040] cx3110x: PSM dynamic with 200 ms CAM timeout
[ 1015.149200] EAC mode: play disabled, rec disabled
[ 1071.935607] EAC mode: play enabled, rec enabled
[ 1075.404968] EAC mode: play disabled, rec disabled
[ 1082.492523] musb_platform_set_mode 461: Already in host mode
otg_stat: 00000184
[ 1131.342407] cx3110x: PSM dynamic with 100 ms CAM timeout
[ 1131.467559] omapfb omapfb: s1d1374x: setting update mode to disabled


/** END DMESG **/


More information about the maemo-developers mailing list