![]() |
Re: N800 USB Host Mode Experiment
Will this one do?
http://www.tca-inc.net/usbmatousbbf.html I can knife the plastic and solder points 4 and 5. |
Re: N800 USB Host Mode Experiment
I contacted pc-mobile which is a hong kong based cable store that I know from experience has a lot fo cusotm cables found nowhere else. I got a reply, and even though they dont have the exact cable we need - its not far from it:
http://pc-mobile.net/pfthu.jpg this should work fine for manual USB OTG http://pc-mobile.net/loox-t.htm http://pc-mobile.net/cmue.jpg This is a USB mini B extension cable, and should be perfect for making a auto-usbotg cable. The reason for that is that this one actually has very easily accessible cables, compared to the other 3 cables i pryed open earlier today. I actually already had one of these from pc-mobile, and am currently waiting for a PM reply from Master of Gizmo regarding color coding. Pic of the internals of this cable: http://i136.photobucket.com/albums/q...ard/usbotg.jpg Should be easier than opening and soldering those tiny connectors :) Extension cable is here: http://pc-mobile.net/pspgps.htm named CMUE |
Re: N800 USB Host Mode Experiment
Can someone who has made the cable possible take a picture of the back side and label the pin numbers. I would like to make a cable or two and need to make sure i know which is pin 4 and 5.
Thanks Dave |
Re: N800 USB Host Mode Experiment
Quote:
|
Re: N800 USB Host Mode Experiment
Quote:
http://www.accesscomms.com.au/images...usb-Mini-B.gif http://computer-ease.com/images/USBminiB.gif According to those two pics, my cable is indeed reversed - so master of gizmo's connectionn scheme that i got is right: usb-a - usb-mini-b red - blue white - green green - white black - red/yellow |
Re: N800 USB Host Mode Experiment
You must short red and yellow wires on mini-A and connect to black wire.
|
Re: N800 USB Host Mode Experiment
http://i136.photobucket.com/albums/q...degard/usb.jpg
There... hopefully it will work, wont know until i get the n800 |
Re: N800 USB Host Mode Experiment
horay! it works !
I made with soldering 4-5 pins together. and with usbmemory stick, (n800 os2008) edit: also HP's usb keyboard worked. :D |
Re: N800 USB Host Mode Experiment
So whats the proper wiring and what parts did you use? Any software or hacks needed?
|
Re: N800 USB Host Mode Experiment
found mini usb labeled B on plastics, and cut all plastics away.
inside it was just like this http://www.harbaum.org/till/n800_usb/step_4.jpg then I cut USB extension and leaved female A connector, soldered together like wiring diagram: http://www.internettablettalk.com/fo...&postcount=127 thats it, no software hacks at all. edit: it was second mini usb connector which I "exploded", first one was from sony camera cable, that fourth pin wasn't in back of connector. |
Re: N800 USB Host Mode Experiment
has anyone tried a powered USB hub with the n800, will it work and allow for connecting several USB devices to the n800?
|
Re: N800 USB Host Mode Experiment
2 Attachment(s)
I am delighted to report that the Maplins "USB Adaptor AF/min USB 5pin M", part A80AH, works with the N800 running OS2008 and automatically switches it into USB host mode - I plugged in a USB keyboard and it worked straight away!
The guy in the shop was nice enough to let me plug it in to prove it would fit (I should have tried a USB keyboard out in the shop, but I didn't think to do so!). I get quite a lot of babbling in "dmesg | tail -200" about USB, but it seems to work just fine... [62269.343750] musb_stage0_irq 663: BABBLE devctl: 3d [62269.406250] usb 1-1: new low speed USB device using musb_hdrc and address 8 [62269.539062] usb 1-1: skipped 1 descriptor after interface [62269.539062] usb 1-1: default language 0x0409 [62269.546875] usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0 [62269.546875] usb 1-1: Product: HP Basic USB Keyboard [62269.546875] usb 1-1: Manufacturer: CHICONY [62269.546875] usb 1-1: device v03f0 p0024 is not supported [62269.546875] usb 1-1: uevent [62269.546875] usb 1-1: usb_probe_device [62269.546875] usb 1-1: configuration #1 chosen from 1 choice [62269.546875] usb 1-1: adding 1-1:1.0 (config #1, interface 0) [62269.546875] usb 1-1:1.0: uevent [62269.546875] usbhid 1-1:1.0: usb_probe_interface [62269.546875] usbhid 1-1:1.0: usb_probe_interface - got id [62269.546875] drivers/usb/input/hid-core.c: HID probe called for ifnum 0 [62269.562500] input: CHICONY HP Basic USB Keyboard as /class/input/input5 [62269.562500] input: USB HID v1.10 Keyboard [CHICONY HP Basic USB Keyboard] on usb-musb_hdrc-1 [62269.562500] drivers/usb/core/inode.c: creating file '008' [62269.562500] hub 1-0:1.0: 100mA power budget left [62269.562500] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [62269.562500] hub 1-0:1.0: port 1 enable change, status 00000303 [62271.421875] tusb_source_power 629: VBUS a_wait_vrise, devctl 3d otg 172 conf c0010000 prcm 00a80500 [62276.039062] tusb_source_power 629: VBUS a_wait_vrise, devctl 3d otg 172 conf c0010000 prcm 00a80500 [62297.085937] drivers/usb/input/hid-core.c: can't resubmit intr, musb_hdrc-1/input0, status -19 [62297.101562] usbhid 1-1:1.0: retrying intr urb [62297.132812] usbhid 1-1:1.0: retrying intr urb |
Re: N800 USB Host Mode Experiment
sadly, it will not power my SanDisk thumb SD/SDHC/microSD adaptor:
[63174.007812] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 [63174.132812] usb 1-1: new high speed USB device using musb_hdrc and address 13 [63174.265625] usb 1-1: default language 0x0409 [63174.273437] usb 1-1: new device strings: Mfr=0, Product=4, SerialNumber=5 [63174.273437] usb 1-1: Product: MobileMate SD+ [63174.273437] usb 1-1: SerialNumber: 03663 [63174.273437] usb 1-1: device v0781 pb2b3 is not supported [63174.273437] usb 1-1: uevent [63174.273437] usb 1-1: usb_probe_device [63174.273437] usb 1-1: rejected 1 configuration due to insufficient available bus power [63174.273437] usb 1-1: no configuration chosen from 1 choice [63174.273437] drivers/usb/core/inode.c: creating file '013' |
Re: N800 USB Host Mode Experiment
where did you get it?
http://www.maplin.co.uk/Module.aspx?...=27&doy=search says this part is discontinued |
Re: N800 USB Host Mode Experiment
isnt the n800 supposed to provide 200mah bus power? well im not surprised sandisk uses more, never liked that brand... nice adapter, too bad its sold out. hopefully my DIY adapter and a 50mah keyboard will work
|
Re: N800 USB Host Mode Experiment
Quote:
so, I'd suggest ringing your local store and asking them! http://www.maplin.co.uk/StoreLocator.aspx? |
Re: N800 USB Host Mode Experiment
Quote:
but yes, I was a bit surprised it needed so much! |
Re: N800 USB Host Mode Experiment
Probably it's claiming that is what it might need if you plugged in all of the cards and they were all drawing max power. You're probably safe overriding this ... you might need to change a constant in the USB chipset driver and re-compile the kernel.
|
Re: N800 USB Host Mode Experiment
1 Attachment(s)
Another screen shot to whet your appetites...
I dug out the nano usb keyboard I bought a while back when it was on special offer at Maplins, thinking it might be useful one day for making a docking bay for a IT if I ever bought one, and it works just fine! |
Re: N800 USB Host Mode Experiment
Quote:
|
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 |
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.
|
Re: N800 USB Host Mode Experiment
... and you also need to solder pins 4 and 5 of the N800 end of the cable together.
|
Re: N800 USB Host Mode Experiment
Quote:
He will need to do the host mode switching manually. |
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 |
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?
|
Re: N800 USB Host Mode Experiment
Quote:
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? |
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? |
Re: N800 USB Host Mode Experiment
Quote:
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). |
Re: N800 USB Host Mode Experiment
Quote:
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! |
Re: N800 USB Host Mode Experiment
One oddity... once I have used an external keyboard, even after it's unplugged the N800 will no longer pop up the on-screen keyboard - I had to reboot to restore it.
Does anyone know how to force the onscreen keyboard to come back? |
Re: N800 USB Host Mode Experiment
I called Maplins in Cambridge, and they had sold probably their last one to Speculatrix, but the assistant queried regional stock and told me they had some in Stevenage.
Called Stevenage, and was told that if an item goes EOL then you can't buy it on the internet anymore doh. Anyway called in got my purchase. I've not tried a (USB) keyboard yet, but my (Kingston) 2Gb thumb drive works OK. For newbies like me you need to use the commands mentioned earlier in this thread: To enable host mode: $ echo host> /sys/devices/platform/musb_hdrc/mode plug something in with fingers crossed. I got the 'USB device not Supported' message. File Manager opened and off I went. To set N800 back to OTG mode, do: $ echo otg > /sys/devices/platform/musb_hdrc/mode Cheers! |
Re: N800 USB Host Mode Experiment
I did create shell scripts and files for application entries to switch between host and otg modes. Details here:
http://www.internettablettalk.com/fo...0&postcount=12 Ideally it would be best if there was the USB icon in status bar where tapping it would open a menu for enabling host or otg mode, similar to the current behavior to disconnect device if one was attached in host mode. Unfortunately my programming skills are not yet up to that task... |
Re: N800 USB Host Mode Experiment
I just called maplin customer dis-services and they checked their store's stock system, only one shop in the UK had one, but when I rang them they couldn't find it! So, seems like we'll have to find a different source. Does anyone recognise the logo in the picture so we could find who makes them?
|
Re: N800 USB Host Mode Experiment
Quote:
|
Re: N800 USB Host Mode Experiment
Quote:
|
Re: N800 USB Host Mode Experiment
I still have a problem with usb host mode on Nokia N800, my portable disk can't work! Below is what I did.
1. Upgrade OS to 2008 2. install becomeroot 3. sudo gainroot echo host> /sys/devices/platform/musb_hdrc/mode 3. use usb cable shipped with the N800 connect my portable disk which has a separate power supply Nothing Happened! I opened file manager to check, no "new drivers" appeared, but a "Shared folders". The detailed information about this is: Name: Nokia N800 Type: other storage Total size: Unkown In use: Unkown Available: Unkown The "Shared folders" also include two empty folders with name like "1CEF3A8BFE4D4", something like that Does some one meet this problem? |
Re: N800 USB Host Mode Experiment
Mara's method of enabling Host and OTG modes is now in the Wiki. Enjoy!
Quote:
|
Re: N800 USB Host Mode Experiment
Speaking of usb, I just ordered 2 mini usb to micro usb adapters via Amazon. Total including shipping came to about $15. Here's a link:
http://www.amazon.com/Motorola-micro...9294987&sr=8-2 For those unfamiliar with the N810 yet, these tablets use the micro usb connector. I had an older, full set of adapters that came out before these were common so now my tool kit is once again complete. :D I'll let you all know how well they work after I get them. |
Re: N800 USB Host Mode Experiment
Quote:
|
All times are GMT. The time now is 21:55. |
vBulletin® Version 3.8.8