maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   N800 USB Host Mode Experiment (https://talk.maemo.org/showthread.php?t=4177)

t3h 2008-02-02 02:03

Re: N800 USB Host Mode Experiment
 
Alright, after filing down the edges of my mini-A cable, it now fits the mini-b port in my n800.

Working / Working-ish:
Sandisk Cruzer Micro USB drive (mounts and filesystem works)
Apple USB keyboard - Typing possible, capslock doesn't light up but still works, errors about "USB hub not supported". Hub does in fact work - I can plug the Cruzer Micro into it.
BU-353 GPS - After insmodding pl2303 drivers, works fine with gpsd and maemo-mapper.
Nikon D40 - works, mounts card.

No driver yet, but appears to work:
USB Prism2 wireless card - Recognised - will have to compile driver and see what happens

No driver yet, not sure if it will work:
Keyspan USA-19 USB PDA Adaptor (usb to serial): Caused device reboot, shortly after unplugging. "USB hub not supported"

Not working:
Legend card reader - lights up, can't mount the SD for some reason. Might be because there are multiple units available...

t3h 2008-02-03 13:24

Re: N800 USB Host Mode Experiment
 
I found a very cheap USB F-F adaptor that looks like it will work:

$1.48 with free shipping worldwide:
http://www.dealextreme.com/details.d...646~r.45363994

I've got one (and a whole heap of other stuff) on the way...

OppositeOfIgnorance 2008-02-03 18:56

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by t3h (Post 136909)
Alright, after filing down the edges of my mini-A cable, it now fits the mini-b port in my n800.

Working / Working-ish:
Sandisk Cruzer Micro USB drive (mounts and filesystem works)
Apple USB keyboard - Typing possible, capslock doesn't light up but still works, errors about "USB hub not supported". Hub does in fact work - I can plug the Cruzer Micro into it.
BU-353 GPS - After insmodding pl2303 drivers, works fine with gpsd and maemo-mapper.
Nikon D40 - works, mounts card.

No driver yet, but appears to work:
USB Prism2 wireless card - Recognised - will have to compile driver and see what happens

No driver yet, not sure if it will work:
Keyspan USA-19 USB PDA Adaptor (usb to serial): Caused device reboot, shortly after unplugging. "USB hub not supported"

Not working:
Legend card reader - lights up, can't mount the SD for some reason. Might be because there are multiple units available...

maybe one day we'l all be using USB 3G adapters, in which case, ur Wireless card test is extremely useful and shows a lot of progress

iolsmit 2008-02-14 23:48

Re: N800 USB Host Mode Experiment -> micro A to USB A cable
 
First post:

This should be a cable that puts the N810 in host mode automatically:

http://www.reichelt.de/?ARTICLE=74220

"AK 676-AA : USB 2.0 A-Stecker auf Micro-USB A-Stecker 1m"

Shipping mainly to germany.


I didn't read this thread far enough so I wrongly ordered 2 of these
http://www.reichelt.de/?ARTICLE=74221 , which are micro B - USB A (same as the one that shipped with the N810)

I did not yet order the micro A - USB A one but maybe someone else can report.

**EDIT** : Ha! They sent me the wrong ones - that is: the RIGHT ones for automatic USB host mode: Micro USB B - USB A
And I can confirm that pluging the cable is enough to put the N810 into host mode & it recognized my PQI 4GB USB stick without additional powersupply.

madman999 2008-02-15 19:53

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by OppositeOfIgnorance (Post 137685)
maybe one day we'l all be using USB 3G adapters, in which case, ur Wireless card test is extremely useful and shows a lot of progress

this would be a KILLER app that would sell a boatload more N800/N810;s than has been sold.

one of the shortcomings on the Internet tablet is its reliance on Wifi where free WIFI is getting more and more scarce or pairing with an EVDO phone which is a little clumsy IMO.

it could be solved with the Wimax connectivity that was announced as a possibility. However, i;d rather be able to chose my own provider.

luca 2008-02-18 23:30

Re: N800 USB Host Mode Experiment
 
I have just received a cheap usb hub. I bought it since it has an external power socket, so I supposedly can connect (relatively) high power devices but I noticed that the dc port is just wired in parallel to the 5v line. Is that normal or I risk frying the tablet if I connect an external power source?

Benson 2008-02-18 23:33

Re: N800 USB Host Mode Experiment
 
Wiring it that way would seem dumb, but the N800 probably is (& SHOULD BE) diode-protected. There's some risk associated, but I think not much.

Your tablet, your call.

qole 2008-02-18 23:50

Re: N800 USB Host Mode Experiment
 
USB host mode is the only thing keeping me from going back to OS2007.

http://farm3.static.flickr.com/2280/...6f908e66c8.jpg

I have ordered one of the nifty N800 USB OTG adapters announced in this thread. That should make things even better!

speedmartini 2008-02-25 00:58

Re: N800 USB Host Mode Experiment
 
Got the Nikon Coolpix to work. Per Jolouis' suggestion, moving over from "dongle" thread. I got the Nikon to read on the N800. Though the camera was working, I put new batteries in and then took a picture with a newly formatted CF card. That did it. I think the new batteries are what mattered. I'm gonna try a powered hub with the other two devices, and I'll update. Thanks for the reply Jolouis.

mandrake64 2008-02-28 00:01

Re: N800 USB Host Mode Experiment
 
Hi, I have done all things about USB-Host and USB- OTG with Mara's guide. I have bought a f-f usb adapter and plugged in one side to the nokia dke-2 cable and plugged in to cable to the n800. Then switched device to USB-Host mode and plugged in my bigboy 2gb flash memory to the f-f adapter but it didn't worked,no light appears. After this I tried another flash memory Twinmos 512mb and it worked like a charm. Since I thought Bigboy needs more power I bought digitus powered usb hub and tried with bigboy but nothings happened again and it didn't worked.When I connect the usb hub "usb hub not supported" message appears. What can I do for fixing this problem? Is there any usb hub driver etc. for n800 OS2008 that I must install? Because, n800 didn't recognize the usb hub. Am I doing something wrong or missing something?
Thanks in Advance

tz1 2008-02-28 18:29

Re: N800 USB Host Mode Experiment
 
go into xterm and type "dmesg" after plugging it in and getting the unrecognized messages. It may be a partitioning problem. dmesg will show what the USB is trying to do and what it finds (and probably why it won't mount)

mandrake64 2008-02-29 07:18

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by tz1 (Post 149104)
go into xterm and type "dmesg" after plugging it in and getting the unrecognized messages. It may be a partitioning problem. dmesg will show what the USB is trying to do and what it finds (and probably why it won't mount)

First, Thank you for your reply.I did what your advised and here is the results: I will wait for your help,Thanks.
10ms
[ 18.281250] hub 1-0:1.0: 200mA bus power budget for each child
[ 18.281250] hub 1-0:1.0: local power source is good
[ 18.281250] hub 1-0:1.0: enabling power on all ports
[ 18.281250] drivers/usb/musb/tusb6010.c musb_platform_enable: dma not reactivated
[ 18.398437] drivers/usb/core/inode.c: creating file '001'
[ 18.398437] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
[ 19.179687] EAC mode: play disabled, rec disabled
[ 20.398437] hub 1-0:1.0: hub_suspend
[ 20.398437] usb usb1: usb auto-suspend
[ 24.835937] EAC mode: play enabled, rec enabled
[ 32.437500] EAC mode: play disabled, rec disabled
[ 36.859375] cx3110x: loading 3826.arm firmware.
[ 37.101562] (c)opyright 2004 Conexant
[ 37.101562]
[ 37.101562] build info: PRISM SoftMAC
[ 37.101562] creator: [kvalo]
[ 37.101562] date: [07/10/05-11:45]
[ 37.101562]
[ 37.109375] cx3110x: MAC address 00:19:4f:d5:ac:3d.
[ 37.117187] cx3110x: libumac version 2.12.0.0.a.9.15-5
[ 37.117187] cx3110x: lmac version 2.13.0.0.a.22.8
[ 37.117187] cx3110x: PSM disabled.
[ 37.781250] menelaus 1-0072: Setting voltage 'VMMC' to 3000 mV (reg 0x0a, val 0xb8)
[ 38.828125] cx3110x: scanned 11 channels.
[ 40.546875] cx3110x: scanned 11 channels.
[ 42.078125] Adding 98296k swap on /media/mmc2/.swap. Priority:-1 extents:1 across:98296k
[ 43.062500] cx3110x: associated to 00:1b:2b:69:0b:00 (bcn 100 msec, DTIM 2).
[ 43.351562] cx3110x: deauthenticated from 00:1b:2b:69:0b:00.
[ 43.351562] cx3110x: active scanning on 'GUVEN-INTERNET'.
[ 43.765625] menelaus 1-0072: Setting voltage 'VDCDC3' to 2800 mV (reg 0x07, val 0x29)
[ 45.062500] cx3110x: scanned 11 channels.
[ 45.484375] cx3110x: associated to 00:1b:2b:69:0b:00 (bcn 100 msec, DTIM 2).
[ 46.382812] cx3110x: PSM dynamic with 200 ms CAM timeout.
[ 47.085937] menelaus 1-0072: Setting voltage 'VMMC' to 3000 mV (reg 0x0a, val 0xb8)
[ 50.039062] JFFS2 warning: (1221) jffs2_sum_write_sumnode: Not enough space for summary, padsize = -453
[ 50.554687] JFFS2 warning: (1221) jffs2_sum_write_sumnode: Not enough space for summary, padsize = -642
[ 52.242187] JFFS2 warning: (1221) jffs2_sum_write_sumnode: Not enough space for summary, padsize = -624
[ 52.734375] JFFS2 warning: (1221) jffs2_sum_write_sumnode: Not enough space for summary, padsize = -426
[ 53.125000] EAC mode: play enabled, rec enabled
[ 54.171875] menelaus 1-0072: Setting voltage 'VDCDC3' to 2800 mV (reg 0x07, val 0x29)
[ 59.750000] tusb_source_power 629: VBUS a_wait_vrise, devctl 81 otg 184 conf c0010001 prcm 00a80500
[ 61.804687] EAC mode: play disabled, rec disabled
[ 80.625000] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 80.625000] hub 1-0:1.0: state 8 ports 1 chg 0000 evt 0000
[ 80.625000] usb usb1: usb auto-resume
[ 80.625000] usb usb1: finish resume
[ 80.625000] hub 1-0:1.0: hub_resume
[ 80.648437] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
[ 80.804687] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[ 80.914062] DSP Pausing failed, skipping OP change!
[ 80.929687] usb 1-1: new high speed USB device using musb_hdrc and address 2
[ 81.062500] usb 1-1: default language 0x0409
[ 81.062500] usb 1-1: new device strings: Mfr=0, Product=1, SerialNumber=0
[ 81.062500] usb 1-1: Product: USB2.0 Hub
[ 81.062500] usb 1-1: hub v05e3 p0608 is not supported[ 81.062500] usb 1-1: uevent
[ 81.062500] usb 1-1: usb_probe_device
[ 81.062500] usb 1-1: configuration #1 chosen from 1 choice
[ 81.070312] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[ 81.070312] usb 1-1:1.0: uevent
[ 81.070312] hub 1-1:1.0: usb_probe_interface
[ 81.070312] hub 1-1:1.0: usb_probe_interface - got id[ 81.070312] hub 1-1:1.0: USB hub found
[ 81.070312] hub 1-1:1.0: 4 ports detected
[ 81.070312] hub 1-1:1.0: standalone hub
[ 81.070312] hub 1-1:1.0: ganged power switching
[ 81.070312] hub 1-1:1.0: global over-current protection
[ 81.070312] hub 1-1:1.0: Single TT
[ 81.070312] hub 1-1:1.0: TT requires at most 32 FS bit times (2664 ns)
[ 81.070312] hub 1-1:1.0: Port indicators are supported
[ 81.070312] hub 1-1:1.0: power on to power good time: 100ms
[ 81.070312] hub 1-1:1.0: local power source is good
[ 81.070312] hub 1-1:1.0: no over-current condition exists
[ 81.070312] hub 1-1:1.0: enabling power on all ports
[ 81.179687] drivers/usb/core/inode.c: creating file '002'
[ 81.179687] hub 1-0:1.0: 100mA power budget left
[ 81.179687] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 81.179687] hub 1-0:1.0: port 1 enable change, status 00000503
[ 81.179687] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0000
[ 83.179687] hub 1-1:1.0: hub_suspend
[ 83.179687] usb 1-1: usb auto-suspend
[ 85.203125] hub 1-0:1.0: hub_suspend
[ 85.203125] usb usb1: usb auto-suspend
[ 90.539062] hub 1-0:1.0: state 8 ports 1 chg 0000 evt 0000
[ 90.539062] usb usb1: usb auto-resume
[ 90.539062] usb usb1: finish resume
[ 90.539062] hub 1-0:1.0: hub_resume
[ 90.562500] usb 1-1: usb wakeup-resume
[ 90.585937] usb 1-1: finish resume
[ 90.585937] hub 1-1:1.0: hub_resume
[ 90.585937] hub 1-0:1.0: resume on port 1, status 0
[ 90.585937] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 90.585937] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0000
[ 90.585937] hub 1-1:1.0: port 4, status 0101, change 0001, 12 Mb/s
[ 90.742187] hub 1-1:1.0: debounce: port 4: total 100ms stable 100ms status 0x101
[ 90.828125] usb 1-1.4: new high speed USB device using musb_hdrc and address 3
[ 91.828125] usb 1-1.4: khubd timed out on ep0in len=18/64
[ 91.828125] musb_h_ep0_irq 1100: no URB for end 0
[ 96.687500] EAC mode: play enabled, rec enabled
[ 96.937500] usb 1-1.4: khubd timed out on ep0in len=18/18
[ 96.937500] usb 1-1.4: device descriptor read/all, error -110
[ 97.023437] usb 1-1.4: new high speed USB device using musb_hdrc and address 4
[ 98.023437] usb 1-1.4: khubd timed out on ep0in len=18/64
[ 98.023437] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 98.023437] hub 1-1:1.0: port 4 not enabled, trying reset again...
[ 100.296875] EAC mode: play disabled, rec disabled
[ 103.320312] usb 1-1.4: khubd timed out on ep0in len=18/18
[ 103.320312] usb 1-1.4: device descriptor read/all, error -110
[ 103.320312] musb_h_ep0_irq 1100: no URB for end 0
[ 103.406250] usb 1-1.4: new high speed USB device using musb_hdrc and address 5
[ 104.882812] EAC mode: play enabled, rec enabled
[ 108.429687] usb 1-1.4: khubd timed out on ep0in len=8/8
[ 108.429687] usb 1-1.4: device descriptor read/8, error -110
[ 110.507812] EAC mode: play disabled, rec disabled
[ 111.757812] EAC mode: play enabled, rec enabled
[ 113.562500] usb 1-1.4: khubd timed out on ep0in len=8/8
[ 113.562500] usb 1-1.4: device descriptor read/8, error -110
[ 113.671875] hub 1-1:1.0: cannot disable port 4 (err = -71)
[ 113.757812] usb 1-1.4: new high speed USB device using musb_hdrc and address 6
[ 118.781250] usb 1-1.4: khubd timed out on ep0in len=8/8
[ 118.781250] usb 1-1.4: device descriptor read/8, error -110
[ 118.914062] EAC mode: play disabled, rec disabled
[ 119.460937] EAC mode: play enabled, rec enabled
[ 123.914062] usb 1-1.4: khubd timed out on ep0in len=8/8
[ 123.914062] usb 1-1.4: device descriptor read/8, error -110
[ 124.023437] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0010
[ 126.023437] hub 1-1:1.0: hub_suspend
[ 126.023437] usb 1-1: usb auto-suspend
[ 126.828125] EAC mode: play disabled, rec disabled
[ 128.046875] hub 1-0:1.0: hub_suspend
[ 128.046875] usb usb1: usb auto-suspend
[ 130.007812] EAC mode: play enabled, rec enabled
[ 136.250000] EAC mode: play disabled, rec disabled
[ 137.250000] EAC mode: play enabled, rec enabled
~ $ dmesg

tz1 2008-03-01 15:12

Re: N800 USB Host Mode Experiment
 
Can you try the drive without the hub? Is bigboy the brand name?

Can you plug it into a Linux system and get the USB ID information?

(I noticed there are a few extra USB mass storage drivers which aren't normally necessary, but this could be one of those cases).

mandrake64 2008-03-01 20:06

Re: N800 USB Host Mode Experiment
 
@tz1,
I already tried without hub and nothings happened. I don't have linux on my pc but may be I can try with the bootable linux cd version. After this How can I download these extra usb mass storage drivers? Yes, Bigboy is the brand name. By the way, I gave the digitus hub back to the store and I bought Sandisk Cruzer Micro 2gb flash memory. As I guess it worked very good without hub:).
Thanks

speedmartini 2008-03-02 16:59

Re: N800 USB Host Mode Experiment
 
Everything works with a powered hub now. Just an update on my previous post where I was having trouble getting the N800 to recognize a powered external HDD and Flip video device. Got an i-rocks 4100 hub from newegg for 10.99 US shipped, and everything now is recognized just fine using the SW host mode switching. Can't play movies directly from the HDD on the go as I need to plug in, but easy enough to use a 2gb flash drive as a go-between.

instigator 2008-03-04 19:31

Re: N800 USB Host Mode Experiment
 
I just came accross a USB IRDA adapter. Has anyone had any luck with these?

This is what I get when I plug it in:

[ 5364.335937] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5364.546875] hub 1-0:1.0: port_wait_reset: err = -22
[ 5364.546875] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130103
[ 5364.546875] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5364.742187] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5364.757812] hub 1-0:1.0: port_wait_reset: err = -22
[ 5364.757812] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5364.968750] hub 1-0:1.0: port_wait_reset: err = -22
[ 5364.968750] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5364.968750] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[ 5364.968750] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 5364.968750] hub 1-0:1.0: reset change on port 1
[ 5364.968750] hub 1-0:1.0: port 1, status 0101, change 0013, 12 Mb/s
[ 5365.125000] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[ 5365.179687] EAC mode: play disabled, rec disabled
[ 5365.187500] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00120103
[ 5365.250000] usb 1-1: new full speed USB device using musb_hdrc and address 18
[ 5365.351562] EAC mode: play enabled, rec enabled
[ 5365.382812] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5366.250000] usb 1-1: khubd timed out on ep0in len=0/64
[ 5367.250000] usb 1-1: khubd timed out on ep0in len=0/64
[ 5367.851562] EAC mode: play disabled, rec disabled
[ 5368.250000] usb 1-1: khubd timed out on ep0in len=0/64
[ 5368.359375] usb 1-1: device descriptor read/64, error -110
[ 5372.375000] EAC mode: play enabled, rec enabled
[ 5373.468750] usb 1-1: khubd timed out on ep0in len=0/64
[ 5378.468750] usb 1-1: khubd timed out on ep0in len=0/64
[ 5383.468750] usb 1-1: khubd timed out on ep0in len=0/64
[ 5383.578125] usb 1-1: device descriptor read/64, error -110
[ 5383.750000] hub 1-0:1.0: port_wait_reset: err = -22
[ 5383.750000] musb_h_ep0_irq 1100: no URB for end 0
[ 5383.750000] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5383.960937] hub 1-0:1.0: port_wait_reset: err = -22
[ 5383.960937] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130103
[ 5383.960937] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5384.156250] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5384.171875] hub 1-0:1.0: port_wait_reset: err = -22
[ 5384.171875] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5384.382812] hub 1-0:1.0: port_wait_reset: err = -22
[ 5384.382812] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130103
[ 5384.382812] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5384.578125] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5384.593750] hub 1-0:1.0: port_wait_reset: err = -22
[ 5384.593750] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5384.593750] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[ 5384.656250] hub 1-0:1.0: port_wait_reset: err = -22
[ 5384.656250] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130103
[ 5384.656250] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5384.851562] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5384.867187] hub 1-0:1.0: port_wait_reset: err = -22
[ 5384.867187] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5385.078125] hub 1-0:1.0: port_wait_reset: err = -22
[ 5385.078125] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130103
[ 5385.078125] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5385.273437] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5385.289062] hub 1-0:1.0: port_wait_reset: err = -22
[ 5385.289062] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5385.500000] hub 1-0:1.0: port_wait_reset: err = -22
[ 5385.500000] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5385.500000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[ 5385.562500] hub 1-0:1.0: port_wait_reset: err = -22
[ 5385.562500] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130103
[ 5385.562500] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5385.757812] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5385.773437] hub 1-0:1.0: port_wait_reset: err = -22
[ 5385.773437] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5385.984375] hub 1-0:1.0: port_wait_reset: err = -22
[ 5385.984375] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5386.015625] EAC mode: play disabled, rec disabled
[ 5386.195312] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130103
[ 5386.195312] hub 1-0:1.0: port_wait_reset: err = -22
[ 5386.195312] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5386.390625] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5386.406250] hub 1-0:1.0: port_wait_reset: err = -22
[ 5386.406250] hub 1-0:1.0: port 1 not enabled, trying reset again...
[ 5386.406250] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[ 5386.406250] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 5386.406250] hub 1-0:1.0: reset change on port 1
[ 5386.406250] hub 1-0:1.0: port 1, status 0101, change 0013, 12 Mb/s
[ 5386.562500] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[ 5386.687500] usb 1-1: new full speed USB device using musb_hdrc and address 22
[ 5386.820312] usb 1-1: ep0 maxpacket = 8
[ 5386.820312] usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0
[ 5386.820312] usb 1-1: hub v0e55 p110a is not supported[ 5386.820312] usb 1-1: uevent
[ 5386.820312] usb 1-1: usb_probe_device
[ 5386.820312] usb 1-1: rejected 1 configuration due to insufficient available bus power
[ 5386.820312] usb 1-1: no configuration chosen from 1 choice
[ 5386.820312] drivers/usb/core/inode.c: creating file '022'
[ 5386.820312] hub 1-0:1.0: 192mA power budget left
[ 5386.820312] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 5386.820312] hub 1-0:1.0: port 1 enable change, status 00000103
[ 5391.679687] EAC mode: play enabled, rec enabled
[ 5414.507812] EAC mode: play disabled, rec disabled
[ 5416.281250] EAC mode: play enabled, rec enabled
[ 5418.882812] EAC mode: play disabled, rec disabled
[ 5423.843750] EAC mode: play enabled, rec enabled
[ 5424.781250] tusb_source_power 629: VBUS b_idle, devctl 98 otg 179 conf c0000003 prcm 00a80500
[ 5425.023437] tusb_otg_ints 743: Forcing disconnect (no interrupt)
[ 5427.039062] EAC mode: play disabled, rec disabled
[ 5429.882812] EAC mode: play enabled, rec enabled
[ 5438.437500] tusb_source_power 629: VBUS a_wait_vrise, devctl 81 otg 184 conf c0010001 prcm 00a80500
[ 5438.609375] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5438.609375] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 5438.609375] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
[ 5438.609375] usb 1-1: USB disconnect, address 22
[ 5438.609375] usb 1-1: unregistering device
[ 5438.609375] usb 1-1: usb_disable_device nuking all URBs
[ 5438.617187] usbdev1.22_ep00: ep_device_release called for usbdev1.22_ep00
[ 5438.617187] usb 1-1: uevent
[ 5438.773437] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[ 5438.835937] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00120103
[ 5438.898437] usb 1-1: new full speed USB device using musb_hdrc and address 23
[ 5439.031250] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[ 5439.898437] usb 1-1: khubd timed out on ep0in len=0/64
[ 5440.742187] EAC mode: play disabled, rec disabled
[ 5440.898437] usb 1-1: khubd timed out on ep0in len=0/64
[ 5441.898437] usb 1-1: khubd timed out on ep0in len=0/64
[ 5442.007812] usb 1-1: device descriptor read/64, error -110
[ 5445.109375] EAC mode: play enabled, rec enabled
[ 5447.117187] usb 1-1: khubd timed out on ep0in len=0/64

jepensedoucjsuis 2008-04-15 02:29

Re: N800 USB Host Mode Experiment
 
News to all that care ( and even those who dont ) I have the 4port power-injected hub all done. working and happy. As I am moving 87.12 miles away the next 2 weeks of my life are going to be booked. But then I will make another more streamlined version (this one has bits of melted plastic and just look like *** But it works.) so Along with that I will do step by step photos along with a cost sheet. And then I can either build you one (5 bucks over cost +s/h cuz face it it is a pain in the rear to make) or you can build your own, I am pretty happy with mine Cant wait to try it out on some really fun stuff!!! woooo! lata. Feel free to E-mail me if you find you can not wait 2 weeks for this...

jgallen23 2008-04-15 03:24

Re: N800 USB Host Mode Experiment
 
can you post photos of the current one?

TheGogmagog 2008-05-29 20:08

How to make menu items in Extras
 
I'm going to update the wiki due to an error in mara's code that qwerty12 found. I think this is as easy as unziping and moving files around. See if you have any comments to add. I also created icons to reboot and sfdisk the SD cards, I'll add those to a future wiki on how to create application menu items.

To Install vi (or other editor)
1.a. If you have the right repository (anyone know which one?), a vi editor shows up as in Application manager - Tools -vim version 70 5.79 MB
1.b. If not, try http://www.cs.cornell.edu/zlt/maemo/vim_6.4-1_arm.deb (wouldn't install for me after uninstalling vim)

Before we begin, you must have vi [link] installed and be able to gain root [already covered above]

1. Launch x-term
2. vi /home/user/MyDocs/Otg.sh
2.a. press i to edit
2.b. paste code
Code:

#!/bin/sh
# usb otg mode script
# use gainroot to become root and relaunch itself
if [ `id -u` != 0 ] ; then
# if not already root, call itself as root
sudo gainroot <<EOF
$0 $*
EOF
exit
fi
echo otg > /sys/devices/platform/musb_hdrc/mode

2.c. press Esc (hardware key below d-pad, or on vi screen)
2.d. save by entering :w (: is next to capital L in shifted menu)
2.e. exit by entering :q
3. chmod +x Otg.sh

repeat for Host.sh with this code:
Code:

#!/bin/sh
# usb host mode script
# use gainroot to become root and relaunch itself
if [ `id -u` != 0 ] ; then
#if not already root, call itself as root
sudo gainroot <<EOF
$0 $*
EOF
exit
fi
echo host > /sys/devices/platform/musb_hdrc/mode

From this point you can use Status Bar mentioned below, personal toolbar and/or continue to make an Icon.

1. Launch x-term
2. sudo gainroot
3. vi /usr/share/applications/hildon/otg.desktop
3.a. press i to edit and paste the following code
Code:

[Desktop Entry]
Version=0.1
Encoding=UTF-8
Name=USB Otg
Type=Application
Comment=USB On the go mode
Exec=/home/user/MyDocs/Otg.sh
X-Osso-Type=application/x-executable

3.c. press Esc (hardware key below d-pad, or on vi screen)
3.d. save by entering :w (: is next to capital L in shifted menu)
3.e. exit by entering :q

again, repeat for host.desktop
Code:

[Desktop Entry]
Version=0.1
Encoding=UTF-8
Name=USB Host
Type=Application
Comment=USB host mode
Exec=/home/user/MyDocs/Host.sh
X-Osso-Type=application/x-executable


Benson 2008-05-29 20:27

Re: N800 USB Host Mode Experiment
 
The tablets start with vi. You can install vim, but it's not needed or helpful for this.

However, if the goal is just to paste text into files, cat is even easier:
  • Code:

    cat >targetfile
  • Paste stuff into xterm.
  • Tap Ctrl.
  • Enter 'd' in the editbox and click OK. (Or just tap d on the keyboard, if you're using any xterm build other than stock Chinook...)

Or, if control chars are considered a problem, use a here file:
  • Code:

    cat <<E.O.F >targetfile
  • Paste stuff into xterm.
  • Type E.O.F<enter> on the last line, by itself.

TheGogmagog 2008-05-29 21:05

Re: N800 USB Host Mode Experiment
 
Nice, even easier. If someone wants to change directories they can copy past somewhere else first to edit.

To create OTG host buttons:

1. Launch x-term
2. cat >/home/user/MyDocs/Otg.sh
2.a. paste code
Code:

#!/bin/sh
# usb otg mode script
# use gainroot to become root and relaunch itself
if [ `id -u` != 0 ] ; then
# if not already root, call itself as root
sudo gainroot <<EOF
$0 $*
EOF
exit
fi
echo otg > /sys/devices/platform/musb_hdrc/mode

2.b. press Ctrl and enter a lowercase d.
3. chmod +x /home/user/MyDocs/Otg.sh

repeat for cat >/home/user/MyDocs/Host.sh with this code:
Code:

#!/bin/sh
# usb host mode script
# use gainroot to become root and relaunch itself
if [ `id -u` != 0 ] ; then
#if not already root, call itself as root
sudo gainroot <<EOF
$0 $*
EOF
exit
fi
echo host > /sys/devices/platform/musb_hdrc/mode

From this point you can use Status Bar mentioned below, personal toolbar and/or continue to make an Icon.

1. Launch x-term
2. sudo gainroot
3. cat >/usr/share/applications/hildon/otg.desktop
3.a. paste the following code
Code:

[Desktop Entry]
Version=0.1
Encoding=UTF-8
Name=USB Otg
Type=Application
Comment=USB On the go mode
Exec=/home/user/MyDocs/Otg.sh
X-Osso-Type=application/x-executable

3.b. press Ctrl and enter a lowercase d.

again, repeat for cat >/usr/share/applications/hildon/host.desktop
Code:

[Desktop Entry]
Version=0.1
Encoding=UTF-8
Name=USB Host
Type=Application
Comment=USB host mode
Exec=/home/user/MyDocs/Host.sh
X-Osso-Type=application/x-executable


Texrat 2008-09-28 19:27

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by mplawner (Post 119415)
Just use osso-statusbar-cpu and create custom commands calliing your two scripts. Be sure the 2 scripts are included in your /etc/sudoers file, of course.

How do I get the files into that folder? I don't see it in the File Manager.

bunanson 2008-09-28 20:18

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by Texrat (Post 228176)
How do I get the files into that folder? I don't see it in the File Manager.


Originally Posted by mplawner View Post
Just use osso-statusbar-cpu and create custom commands calliing your two scripts. Be sure the 2 scripts are included in your /etc/sudoers file, of course.

File manager cannot see /etc/sudoers. You have to use emelfm2 or a different file manager.

bun

bunanson 2008-09-29 00:14

Re: N800 USB Host Mode Experiment
 
I got one of these, works well, ~$9, http://cgi.ebay.com/ws/eBayISAPI.dll...l%3FMyEbayBeta


bun

NokiaBoy 2008-10-28 16:09

Re: N800 USB Host Mode Experiment
 
This one works too:
http://www.twstore.com/gcusbhost.html

bunanson 2008-10-28 16:39

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by NokiaBoy (Post 237330)

That thing looked pretty, but the shipping is too deep, item is $9.99, s/h to NC is $10.23 makes the adapter total $20.22 for a jack, what a jack.

bun

benm 2008-11-07 16:40

Re: N800 USB Host Mode Experiment
 
Received the USB adaptor made available by Jolouis and plugged it into my N800, running under an unmodified OS2008 version 4.2008.36-5. Connected a standard Canon digital camera USB cable between the adoptor and the Canon. The N800 responds with a "USB device not Supported" message followed by a second msg stating " Unable to connect, no file system available" . Am I doing something wrong??

speculatrix 2008-11-07 16:46

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by benm (Post 240118)
The N800 responds with a "USB device not Supported" message followed by a second msg stating " Unable to connect, no file system available" . Am I doing something wrong??

canon digicams are not usually mass storage devices, see
http://wapedia.mobi/en/GPhoto

Texrat 2008-11-08 20:37

Re: N800 USB Host Mode Experiment
 
Also, I get that error with my thumb drives but they work anyway.


All times are GMT. The time now is 04:34.

vBulletin® Version 3.8.8