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)

Nighthawk 2007-12-29 15:16

Re: N800 USB Host Mode Experiment
 
Hi folks,

this is my first post in this great forum :) Sorry for my bad english, I'm not a native speaker.

I made everything described in the howto "USB Host Mode on N800" in the wiki:
http://www.internettablettalk.com/wi..._using_OS_2008

I've made a USB-female-to-female-adapter from two old usb-ports, soldering Pin1 to Pin4, Pin3 to Pin3, Pin3 to Pin2 and Pin4 to Pin1. Now I'm using the original Nokia cable to connect the N800 with the female-female-adapter. Then I switch the N800 manually to hostmode, but I'm not getting a 'USB device not Supported' message like described in the howto. But the N800 is powering the USB-Port now (I've measured 5V). When I connect a USB-Stick (I've tried several ones and two keyboards) the voltage on the USB-port drops to zero and no stick or keyboard is recognized.

dmesg -c

brings this every time I plug a usb-device in:

[ 330.046875] EAC mode: play disabled, rec disabled
[ 369.390625] musb_stage0_irq 570: VBUS_ERROR in a_wait _bcon (88, <AValid), retry #3, port1 00080108
[ 369.390625] tusb_source_power 629: VBUS a_wait_vfall, devctl 88 otg 114 conf c0000001 prcm 00a80500
[ 369.390625] tusb_source_power 629: VBUS a_idle, devct l 80 otg 184 conf c0000001 prcm 00a80500
[ 369.398437] tusb_source_power 629: VBUS a_idle, devct l 80 otg 184 conf c0000001 prcm 00a80500
[ 384.601562] EAC mode: play enabled, rec enabled

Has anyone an idea, why this is not working?

regards
Nighthawk

hostman 2007-12-29 20:50

Re: N800 USB Host Mode Experiment
 
Whoa, don't do that! You just flipped all the wires... including connecting 5V and Ground in reverse (so -5V to your device). You should wire pin 1 to 1, 2 to 2, 3 to 3, 4 to 4.

convulted 2007-12-29 20:55

Re: N800 USB Host Mode Experiment
 
... and you also need to solder pins 4 and 5 of the N800 end of the cable together.

hostman 2007-12-29 22:06

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by convulted (Post 117460)
... and you also need to solder pins 4 and 5 of the N800 end of the cable together.

My understanding is the he is making a USB A-female to A-female adapter - this only would have 4 pins - 5V, Ground, D+, D-

He will need to do the host mode switching manually.

Nighthawk 2007-12-29 22:17

Re: N800 USB Host Mode Experiment
 
Hi,

thanks for the answers.

I soldered them like you said, 1 to 1 and so on... Still the same behavior:

dmesg -c

[26970.367187] EAC mode: play disabled, rec disabled
[26994.984375] musb_stage0_irq 570: VBUS_ERROR in a_wait_bcon (90, <VBusValid), retry #3, port1 00080108
[26994.984375] tusb_source_power 629: VBUS a_wait_vfall, devctl 90 otg 154 conf c0000001 prcm 00a80500
[26995.046875] tusb_source_power 629: VBUS a_idle, devctl 80 otg 184 conf c0000001 prcm 00a80500
[26995.054687] tusb_source_power 629: VBUS a_idle, devctl 80 otg 184 conf c0000001 prcm 00a80500
[27012.031250] EAC mode: play enabled, rec enabled

Connecting 4 to 5 is not necessary, because I enable the hostmode manually.

regards
Nighthawk

jgallen23 2007-12-30 04:07

Re: N800 USB Host Mode Experiment
 
I tried to connect my digital camera but I get an error: "unable to connect, no file system available". My usb flash key works fine, but neither of my digital cameras work. Anybody else seen that error?

cyberx 2007-12-30 13:30

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by jgallen23 (Post 117604)
I tried to connect my digital camera but I get an error: "unable to connect, no file system available". My usb flash key works fine, but neither of my digital cameras work. Anybody else seen that error?

It also happens to me.
I'm connecting a Canon Ixus 500 to my N800 with OS2008. It appears a USB icon at the top, but after a while I get "unable to connect, no file system available".
If I click the USB icon, it shows (grayed): "Connected to USB 2 Flash Media Device".

dmesg -c shows:
usb 1-1: Product: Canon Digital Camera
usb 1-1: Manufacturer: Canon Inc.
usb 1-1: device v04a9 p30b4 is not supported

I also tried with another CF Card, one newly formated and only with a few jpg's that my N800 can read with a Lifetech USB 2.0 8in1 Card Reader/Writer. No luck either.
I don't have another camera to try.

EDIT: I tried with a friend's camera (Olympus fe150/x730) and it works (same message about about file system, but it seems to be normal). I guess my Canon must have some sort of non-standard implementation not supported by the OS2008 kernel. Any one knows how to add support for Canon Ixus 500 / Powershot S500?

iamthewalrus 2007-12-30 17:27

Re: N800 USB Host Mode Experiment
 
I'm especially interested in using a usb keyboard with the n800/os2008.
Is it correct that to do that either you force the connection to host mode as explained in #36, or change the wiring of the USB cable to get an automatic change to host mode? Furthermore does a device like a keyboard drain the n800 battery much, and if so do you need an extra power source?

cyberx 2007-12-30 22:03

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by iamthewalrus (Post 117860)
I'm especially interested in using a usb keyboard with the n800/os2008.
Is it correct that to do that either you force the connection to host mode as explained in #36, or change the wiring of the USB cable to get an automatic change to host mode? Furthermore does a device like a keyboard drain the n800 battery much, and if so do you need an extra power source?

Hi!
Din't try the soft option, but at this precise moment i'm using a PS2 keyboard to write this answer at my N800 (no USB keyboard to test, sorry). I just made my own cable (from two halves taken from two USB cables and with pin 4 soldered to pin 5 in the mini connector) and used a USB <-> PS2 Mouse + Keyboard adapter. I'm not using any sort of external power-source, just the N800 battery. The only problem I found is the Num/Caps leds not working (they blink whrn I connect, but after that they stay off).

speculatrix 2007-12-31 22:54

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by speculatrix (Post 116329)
well, I'm glad I didn't know it was discontinued otherwise I'd not have gone to buy it! Bought from local Craplins shop (Cambridge Beehive on +44 1223 368632) - was not on display so asked some guy and he checked stock computer and fetched it from store!

so, I'd suggest ringing your local store and asking them!
http://www.maplin.co.uk/StoreLocator.aspx?


apparently maplin's online shop stock control is entirely different from the high street shops, so, if you want one, ring a shop and ask!


All times are GMT. The time now is 05:46.

vBulletin® Version 3.8.8