View Full Version : N800 USB Host Mode Experiment
thoughtfix
2007-01-19, 07:29
... First attempt was a failure (http://thoughtfix.blogspot.com/2007/01/nokia-n800-hacking-volume-1.html), but I only tried a keyboard and did not check XTerminal for the dmesg. I'll give it another go this weekend and report back.
At least there are pretty pictures in the post.
Host mode seems to be disabled in n800 kernel configuration, if nokia build the kernel from the source and configuration file available on maemo.org there is zero chance for it to work. But still please do try, miracles happen.
I guess for further experiments at least kernel recompilation is needed with enabled usb host mode side of the drivers (they are present in the source but disabled in kernel config)
Hi,
Jakub Pavelek from Nokia said on the maemo dev mailling list (here (http://www.gossamer-threads.com/lists/maemo/developers/14683#14683)) that the HW connector of the N800 doesn't handle the USB OTG .
thoughtfix
2007-01-19, 19:51
I got a tip in my blog comments about fixing xterm (I used the wrong repository) so I'll fix that tonight and do more testing.
maybe it's easier to load the 770 firmware with usbhost mode enabled on the n800, and then check if it's working, than recompile the kernel again?
mwiktowy
2007-01-27, 21:12
Hi,
Jakub Pavelek from Nokia said on the maemo dev mailling list (here (http://www.gossamer-threads.com/lists/maemo/developers/14683#14683)) that the HW connector of the N800 doesn't handle the USB OTG .
Neither did the connector on the 770's. Switching to host/client mode manaully is quite different from USB OTG support.
http://en.wikipedia.org/wiki/USB_On-The-Go
penguinbait
2007-01-27, 21:37
What pisses me off is I ordered a Y cable a battery powered USB hub and Female to Female converter. Plugged in my 770 switched on host mode, and I had USB devices. I used it one time and sent off my 770 for repair, I never got it back, nokia gave me cash and I bought an N800.
Now I am stuck waiting for someone to compile in support and hopefully it can be, or I can buy a 770 or sell my USB equipment. Hopefully someone will hook it up soon. Sometime when I am at work locations I can get wires, but not wireless. I find it almost impossible to believe that the hardware support is not in there.
Is there actual hardware that would support host mode and slave mode, or is it just firmware and drivers that change it between master and slave?
thoughtfix
2007-01-28, 20:31
Someone DID compile USB support and sent me a little HOWTO on it. I've been waiting for the time to analyze it properly and clarify the howto. Do you want me to privately send you what he sent me in the meantime?
penguinbait
2007-01-28, 22:01
I would like to see what you have I have been trying to compile the kernel with the support all day, and I keep failing
I was looking at this, OTG is definetly supported on this thing, but I can not get past compilation errors on usb host mode. Is it just me or if there a fix for the driver?
The device can function as both a reduced function
USB host controller (with a customer developed target peripheral list) as well as a
standard USB high-speed peripheral device.
http://focus.ti.com/lit/ml/sllb095/sllb095.pdf
CC drivers/usb/musb/musb_host.o
drivers/usb/musb/musb_host.c: In function `__musb_giveback':
drivers/usb/musb/musb_host.c:286: error: too few arguments to function `usb_hcd_
giveback_urb'
make[2]: *** [drivers/usb/musb/musb_host.o] Error 1
make[1]: *** [drivers/usb/musb] Error 2
make: *** [drivers] Error 2
So clost but yet so far!!!
Probably not the smartest way to do it, but I was able to get the kernel to compile by adding an argument of NULL to musb_host.c line 286's call to usb_hcd_giveback_urb'...
Robert Vogt IV
Caflor
lbattraw
2007-02-07, 12:37
Someone DID compile USB support and sent me a little HOWTO on it. I've been waiting for the time to analyze it properly and clarify the howto. Do you want me to privately send you what he sent me in the meantime?
Please send it along to me.
Thanks-
Larry
penguinbait
2007-02-07, 13:24
I also still would like to see this mysterious information:D
Also interested. Thus far, I've changed the following from the default kernel:
CBUS_TAHVO_USB=y
CONFIG_USB=y
CONFIG_USB_OTG=y
CONFIG_MUSB_HDRC=y
CONFIG_MUSB_HDRC_HCD=y
Also, added some modules for HID, FS, etc. OHCI seems to get turned on somehow, and it seems to conflict with TAHVO_USB...
-Robert
Ok, so TAHVO_USB stopped erroring about OHCI once OTG was enabled, but it won't link because there's an unresolved extern to a deprecated function otg_set_transceiver... I saw a patch in a nokia thread somewhere where they completely cut out that part of the code as it's no longer necessary, but I need to find it again before making the changes...
-Robert
tarkness
2007-03-11, 23:35
Hey Hey,
is anybody working on this at the moment or did you all give up?!? Please summ up the facts
about possibility ect. So that i know if there's a chance
:)
can noone of all the big minds out there to do it?
tarkness
2007-03-11, 23:42
Someone DID compile USB support and sent me a little
HOWTO on it. I've been waiting for the time to analyze it properly and clarify the howto.
Do you want me to privately send you what he sent me in the meantime?
could i please see it too? Perhaps it'll help ;)
lbattraw
2007-03-12, 01:36
Getting host mode really enabled is a matter of recompiling the kernel with the host mode flag on and enabling it with the flasher. Flash the new kernel, and you're in business-- kind of. It crashes, a LOT. I never got further than plugging in something and then trying a thing or two before it crashed. It never seemed to recognize the device fully (printing the new device attached message) without crashing, so I gave it up for the moment. I'm waiting for improvements in the kernel before trying again. It's one of those things that has hit the road-map (to hopefully be done at some point), so I guess we'll see how it turns out.
Larry
jonstatt
2007-03-12, 13:30
Going a bit OT.
So if the FM radio was not the Easter Egg...and OTG support looks impossible if the hardware connector doesn't support it...then what is the real HW Easter Egg?
tarkness
2007-03-12, 14:53
[QUOTE=jonstatt;38704]Going a bit OT.
[QUOTE=jonstatt;38704]Going a bit OT.
Perhaps it's WiMax?! Or even something you could never imagine :)
tarkness
2007-03-12, 14:59
Getting host mode really enabled is a matter of recompiling the kernel with the host mode flag on and enabling it with the flasher. Flash the new kernel, and you're in business-- kind of. It crashes, a LOT. I never got further than plugging in something and then trying a thing or two before it crashed. It never seemed to recognize the device fully (printing the new device attached message) without crashing, so I gave it up for the moment. I'm waiting for improvements in the kernel before trying again. It's one of those things that has hit the road-map (to hopefully be done at some point), so I guess we'll see how it turns out.
Larry
Thanks for your quick reply.. so.. what happens If you boot the n800 from an other system e.g. debian?
tarkness
2007-03-23, 17:45
hey, now theres a new version of OS2007, so ...
did anything change? :)
i`m sorry posting that often, but i really want to get host-mode working!
because a few days ago my computer stopped working so i have to do everything on the n800 ;)
Anyone working on Host mode for N800? Any latest news?
Milhouse
2007-04-19, 01:05
This post just appeared in the Maemo developers newsgroup...
http://www.gossamer-threads.com/lists/maemo/developers/21371#21371
Source code only so far.
Might be time to give it a try? :)
This post just appeared in the Maemo developers newsgroup...
http://www.gossamer-threads.com/lists/maemo/developers/21371#21371
Source code only so far.
Might be time to give it a try? :)
Yap, this is exactly what i'm waiting for. Hmm but now I don't have time to struggle with it :-( Hope someone will just try to tune it a little bit.
With this I could use my cammera, flash disk, keyboard maybe mouse... sounds very promissing to me.
this is so long overdue! why won't maemo developers help with this? Certainly they want it too!
this is so long overdue! why won't maemo developers help with this? Certainly they want it too!
I like how the next post after is from a Nokia employee. ;)
Karel Jansens
2007-05-22, 18:05
this is so long overdue! why won't maemo developers help with this? Certainly they want it too!
Here:
http://www.gossamer-threads.com/lists/maemo/developers/21371
Let us know how (and if) it works.
Hi all,
I've posted the resulting kernel from all of the latest patches (as of today, at least).
http://caflor.net/iosix/zImage-usb-host
I've verified it will flash and boot, but I have not yet tried the host mode, as I am out of Michigan (and all of my cables/usb devices) right now (in sunny Florida). Please let me know if this works for you, thanks.
Robert Vogt IV
Caflor Industries
A little update - looks like I'm getting 5V out when I turn host mode on...
-Robert
Alas, just the one time. Did this work for anyone? Peripheral mode seems to be not working as well ... but it works with the old kernel re-loaded...
-Robert
lbattraw
2007-06-13, 12:23
Alas, just the one time. Did this work for anyone? Peripheral mode seems to be not working as well ... but it works with the old kernel re-loaded...
-Robert
I tried it but it didn't seem to recognize a USB keyboard plugged in (which has been verified to consume a very low amount of power). No messages about failures, it just didn't do anything. Incidentally, has anyone compile a version with SDHC support? I can't do much playing with it without that.
Larry
Is anybody getting any success with using an external keyboard or usb external storage device?
MoridinBG
2007-10-08, 09:35
After lots of reading here and there I finally made it to compile working kernel with the needed patches. Flashes OK to the device. After that Peripheral mode stops working, as noted here. dmesg on the desktop is completely silent when I attach the tablet to the PC. This makes mi think it should work. Then I got a modified cable from a friend. Hi made it as part of an attempt to enable OTG on HTC Universal (which fell from the 8th floor unfortunately before we could see if it works).
He claims the miniUSB cable is moded properly.
After I "echo host > /sys/devices/platform/musb_hdrc/mode" dmesg in xterm is silent. Connecting a device does nothing. So far I has tried a LG USB Key, which I think needs external power, as it has blue LED on it. Also tried some cheap chinese self powered MP3 Player. And it starts, but I think that's just because it is connected to something. dmesg again doesn't say even a word!.
I also tried "echo otg > /sys/devices/platform/musb_hdrc/mode" while dmesg remains completely silent. "echo peripheral > /sys/devices/platform/musb_hdrc/mode" finaly made it say something, "musb_platform_set_mode 616: Cannot be peripheral with mini-A cable otg_stat: 00000184".
Then I tried normal USB-miniUSB cable, which I use to connect mu photo to the PC. None mode setting produces even a single line in dmesg.
Am I wrong somewhere? I just applied the patches at muru.com, patched the .config, which enables various USB settings and compiled. It produced an error, complaining that tusb6010_test.c could not be compiled, so I disabled the TUSB6010 Loopback test support.
I will trie with the most simple flash key I can find, but most people, who has tried at least get lots of errors in dmesg.
P.S. I has also increased the debug level of the USB driver with
# echo 8 > /proc/sysrq-trigger
# echo D3 > /proc/driver/musb_hdrc
bluehash
2007-10-08, 15:13
Hey,Keep trying.Good work!Sorry cant help much though.
MoridinBG
2007-10-08, 16:12
OK, so I dissassembled the miniUSB cable and after some measurments can confirm it is mini-A type cable.
It is suggested to load g_file_storage, but it is compiled directly into the kernel.
I just tried with a USB keyboard. Logitech Corded. Nobody. Nothing in dmesg, no LEDs on the keyboard. AC pluged into the tablet, also unpluged. Just nobody.
I revised the kernel settings. It's all OK. As far as I can see everything that should be included IS included.
So I tweaked logging level for the USB subsystem (increased it in kernel .config) and I am recompiling at the moment.
So I think I have correctly configured and compiled kernel, but nobody responds on the USB. Should I inject power for devices like simple USB stick and keyboard?
Does anybody has any clues? I will also post on maemo-developers.
EDIT: Damn it! I recompiled with increased verbose level. Again nothing. Nobody. Silence.
According to this (http://www.gossamer-threads.com/lists/maemo/developers/22873) topic there should be at least something. Could it be that the tablet can't power even a simple flash key?
I will now try to cook cable with option to inject power.
EDIT2: That's it. I did everythong I could think of. I measured the power lines on the USB, coming from the tablet. 0.00V. So I found an old USB-B to USB-A (The big ones) cable. Cut the B end (the square one), pluged the A end into the PC and got 5.02V btween black and red. Then I took the cable coming from the tablet, cut blag and red and connected the ones coming from the PC to the ones going to the peripheral.
So after all here is what I got:
- Nokia N800 flashed with kernel with latest patches (patches-tusb-n800-2007-07-03.tar.gz)
- mini-A cabel plugged into the tablet
- Replaced power lines coming from the tablet with those coming from the PC, providing 5V@0.5A
- USB Keyboard/USB Flash connected on the end of this cascade
- NOTHING in dmesg; Neither in /sys/bus/usb/devices
I also noticed that "cat /sys/devices/platform/musb_hdrc/mode" returns b_idle.
Guys, I am desperate!
linuxrebel
2007-11-28, 00:18
OK... using the above info .. on the latest 0S2008 .. I can do this.
1. Enabled R&D mode (not tested outside this mode)
2. echo host > /sys/devices/platform/musb_hdrc/mode
3. Using female to female gender bender I conncected a USB keyboard to the n800.
4. It gives error message about unsupported device and then. POOF I have a keyboard.
5. Disconnected keyboard inserted USB key Drive.
It complained about unsupoorted device. Opened the File manager and POOF showed me the files.
6. Just for fun I plan on try a USB DVD reader and USB HDD (both with independent power) and see what I get.... wii!
linuxrebel
2007-11-28, 01:33
Did the USB DVD/CD r/w thing. No dice on it. However since both a USB key drive and a USB drive are usb-mass storage devices I'm holding out hope there.
penguinbait
2007-11-28, 03:25
I did the echo, on original 2008OS, not in R&Dmode.
Connected USB hard drive, and it automounted 27GB EXT3 partition :)
Awesome
[16120.085937] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
[16120.085937] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
[16120.210937] usb 1-1: new high speed USB device using musb_hdrc and address 12
[16120.343750] usb 1-1: default language 0x0409
[16120.343750] usb 1-1: new device strings: Mfr=56, Product=78, SerialNumber=100
[16120.343750] usb 1-1: Product: USB2.0 Storage Device
[16120.343750] usb 1-1: Manufacturer: Cypress Semiconductor
[16120.343750] usb 1-1: SerialNumber: DEF10BEEF1C7
[16120.343750] usb 1-1: device v04b4 p6830 is not supported
[16120.343750] usb 1-1: uevent
[16120.343750] usb 1-1: usb_probe_device
[16120.343750] usb 1-1: configuration #1 chosen from 1 choice
[16120.343750] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[16120.343750] usb 1-1:1.0: uevent
[16120.343750] usb-storage 1-1:1.0: usb_probe_interface
[16120.343750] usb-storage 1-1:1.0: usb_probe_interface - got id
[16120.421875] scsi0 : SCSI emulation for USB Mass Storage devices
[16120.429687] drivers/usb/core/inode.c: creating file '012'
[16120.429687] hub 1-0:1.0: 200mA power budget left
[16120.429687] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[16120.429687] hub 1-0:1.0: port 1 enable change, status 00000503
[16120.453125] usb-storage: device found at 12
[16120.453125] usb-storage: waiting for device to settle before scanning
[16125.453125] scsi 0:0:0:0: Direct-Access TOSHIBA MK3021GAS 0000 PQ
: 0 ANSI: 0
[16125.460937] SCSI device sda: 58605120 512-byte hdwr sectors (30006 MB)
[16125.476562] sda: Write Protect is off
[16125.476562] sda: Mode Sense: 27 00 00 00
[16125.476562] sda: assuming drive cache: write through
[16125.484375] SCSI device sda: 58605120 512-byte hdwr sectors (30006 MB)
[16125.484375] sda: Write Protect is off
[16125.484375] sda: Mode Sense: 27 00 00 00
[16125.484375] sda: assuming drive cache: write through
[16125.484375] sda: sda1 sda2 < sda5 >
[16125.968750] sd 0:0:0:0: Attached scsi disk sda
[16126.007812] usb-storage: device scan complete
_______________________________________
My lite-dvd burner is detected perfectly, but no driver support is present for CD
[16481.390625] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[16481.390625] hub 1-0:1.0: state 8 ports 1 chg 0000 evt 0000
[16481.390625] usb usb1: usb auto-resume
[16481.390625] usb usb1: finish resume
[16481.390625] hub 1-0:1.0: hub_resume
[16481.414062] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
[16481.570312] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x
101
[16481.695312] usb 1-1: new high speed USB device using musb_hdrc and address 15
[16481.859375] usb 1-1: default language 0x0409
[16482.031250] usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3
[16482.031250] usb 1-1: Product: ATAPI-6 Bridge Controller
[16482.031250] usb 1-1: Manufacturer: Prolific Technology Inc.
[16482.031250] usb 1-1: SerialNumber: 300000000D05
[16482.031250] usb 1-1: device v2116 p0320 is not supported
[16482.031250] usb 1-1: uevent
[16482.031250] usb 1-1: usb_probe_device
[16482.031250] usb 1-1: configuration #1 chosen from 1 choice
[16482.031250] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[16482.031250] usb 1-1:1.0: uevent
[16482.031250] usb-storage 1-1:1.0: usb_probe_interface
[16482.031250] usb-storage 1-1:1.0: usb_probe_interface - got id
[16482.031250] scsi3 : SCSI emulation for USB Mass Storage devices
[16482.039062] drivers/usb/core/inode.c: creating file '015'
[16482.039062] hub 1-0:1.0: 198mA power budget left
[16482.039062] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[16482.039062] hub 1-0:1.0: port 1 enable change, status 00000503
[16482.039062] usb-storage: device found at 15
[16482.039062] usb-storage: waiting for device to settle before scanning
[16487.125000] scsi 3:0:0:0: CD-ROM LITE-ON DVDRW LDW-851S GS0P PQ : 0 ANSI: 0
[16487.164062] usb-storage: device scan complete
sjgadsby
2007-11-28, 03:28
1. Enabled R&D mode (not tested outside this mode)
It seems R&D mode is not necessary. I'm typing this using a PS/2 keyboard connected to my N800 via a PS/2-to-USB converter (and a KVM, which may be feeding the keyboard some power). I've not used R&D mode, just becomeroot.
EDIT: Penguinbait beat me to it.
did I understand this correct when I say that its possible to just connect a usb harddrive when having the OS2008?
we need some photos ! :)
how about the cables ?
n800 is able to give the needed power to a simple keyboard ?
thanks !
Tirithen
2007-11-28, 09:23
Yesterday I tried to connect a PS/2 keyboard with a PS/2 -> USB adapter, added ~5v from 4AA batteries and connected it to my N800 with OS2008 installed on it.
I don't have and drivers so I guess nothing should have happened, the only thing that was noticeble was that when I only had the batteries connected to the keyboard caps, num and scrollock was flashing and when I connected them to the N800 they stopped flashing and became lit when I used echo host > /sys/devices/platform/musb_hdrc/mode num lock stayed lit and the other two was flashing. When I connected the same things on OS2007 some months ago it said usb connected but the tablet did not say anything this time.
Did you who got this working do anything else than use "echo host > /sys/devices/platform/musb_hdrc/mode"?
penguinbait
2007-11-28, 12:41
did I understand this correct when I say that its possible to just connect a usb harddrive when having the OS2008?
yup!!
I also ran a usb thumb drive by directly connecting it to usb, no power sources needed. n800 supplied the power!!!
I used nokia usb cable and 1 gender bender
convulted
2007-11-28, 12:52
penguinbait: Nice. So no recompile of the kernel is needed; i.e., will stock OS2008/N800 accept usb drives by default? Sorry, I keep getting conflicting messages here...
EDIT: "Conflicting messages" = different people saying different things.
penguinbait
2007-11-28, 13:24
penguinbait: Nice. So no recompile of the kernel is needed; i.e., will stock OS2008/N800 accept usb drives by default? Sorry, I keep getting conflicting messages here...
EDIT: "Conflicting messages" = different people saying different things.
I am using stock kernel from 2008OS (not the new beta, I am using the original 2008OS, I assume the new beta is the same?)
convulted
2007-11-28, 13:26
That is exactly what I wanted to hear. As soon as I get hold of a gender changer I will try this out on the beta version of OS2008.
sjgadsby
2007-11-28, 13:34
I am using stock kernel from 2008OS (not the new beta, I am using the original 2008OS, I assume the new beta is the same?)
I'm using the beta N800 release of OS2008, and yes, it seems to work the same.
sjgadsby
2007-11-28, 13:39
As soon as I get hold of a gender changer I will try this out on the beta version of OS2008.
I purchased (and am using) this adapter (http://www.twstore.com/gcusbafxm.html), though you may be able to find a better deal elsewhere.
EDIT: The linked USB adapter is not wired correctly to let OS2008 on an N800 do its USB mode autoswitching magic.
sjgadsby
2007-11-28, 13:59
we need some photos ! :)
Umm, okay. Here's my N800 connected to a keyboard (http://www.flickr.com/photos/sjgadsby/2070712467/). For what are you looking, specifically?
EDIT: And here's my N800 connected to my digital camera (http://www.flickr.com/photos/sjgadsby/2071602350/). Upon connection, the N800 opened the File Manager automatically, and I could access files on the camera's SmartMedia card.
Wasn't it so that USB-OTG should be able to work in two modes: host and peripheral? And this detection in which mode to operate should be automatic?
In other words, is it really needed to do the echo command to enable host mode? Did anyone try just plugging in the keyboard or disk drive and see what happens?
EDIT: When I read some internal release notes documents describing the USB operation in OS2008, I get this understanding that the role switching should work automagically... please try it?
sjgadsby
2007-11-28, 14:18
When I read some internal release notes documents describing the USB operation in OS2008, I get this understanding that the role switching should work automagically... please try it?
Done. I manually set the mode of my N800 back to "b_idle" and then plugged my keyboard in again. The mode automatically updated to "a_host", and the keyboard worked (though still with all the "Device not supported" messages).
Thanks, Mara!
EDIT: Initially, I thought the adapter I have was wired correctly to allow automatic switching between host and gadget modes. However, that switch is not happening consistently. Nuts.
EDIT: When I read some internal release notes documents describing the USB operation in OS2008, I get this understanding that the role switching should work automagically... please try it?
AFAIK the role switching works automagically only with proper cable. It must be switched manually when using normal USB cable that comes with the tablet and female to female adapter. see http://muru.com/linux/n800-usb-host/
Tirithen
2007-11-28, 14:53
I got my wireless USB keyboard working but it dropped a lot of characters until I added 5v from 4AA batteries. My mouse that is connected to the same reciver wrote different characters like qweui, mabye it writing qwertyui in that order. Is would it now be possible to change the language of the keyboard so that special characters works...
Would it be possible t oconnect more than one device with a USB hub...
Would it be possible t oconnect more than one device with a USB hub...
And the answer to that is YES. I have a keyboard and two USB flash drives hooked up and things are working! Wow!
I get "USB hub not supported" and "Unable to connect. Device not supported." error messages, but everything works.
-- Mike
Tirithen
2007-11-28, 15:15
Wow, been waiting for this a log time. I get the errormessages to. I've now connected to my H320 hd mp3 player and are playing mp3's from it on the tablet. When the clock apps alarm on the tablet came up it made the media player to stop playing and aftervards the sound sounds awful seemes like it boosted the volume and it won't help turning it down in the volume control.. but restarting it solved it.
bukubuku
2007-11-28, 15:27
And the answer to that is YES. I have a keyboard and two USB flash drives hooked up and things are working! Wow!
I get "USB hub not supported" and "Unable to connect. Device not supported." error messages, but everything works.
-- Mike
Need extra power supply for the USB Hub or not?
Need extra power supply for the USB Hub or not?
Short answer: No.
Longer answer: I have a powered hub with a power indicator light. It worked with power. WHen I disconnected the power and connected the N800, the power light went on. The hub worked also without power.
-- Mike
bukubuku
2007-11-28, 15:47
Short answer: No.
Longer answer: I have a powered hub with a power indicator light. It worked with power. WHen I disconnected the power and connected the N800, the power light went on. The hub worked also without power.
-- Mike
Woo~So we just need to flash OS2008,hook up the usb device,then it works?SO GREAT:)
AFAIK the role switching works automagically only with proper cable. It must be switched manually when using normal USB cable that comes with the tablet and female to female adapter. see http://muru.com/linux/n800-usb-host/
Beat me to it!
Yes, that's how it should work. Can't wait to get an adaptor and start using thumb-drive with N800.
Let's see -- what other USB devices do/might/should work?
Mass storage - works
HID - keyboards work, mice have same troubles as BT mice
CD/DVDs - has no drivers
Network adapters (Will power be an issue for some of these?)
Ethernet - Helpful, but do they work?
802.11b/g - Redundant, probably less range
802.11a,n - Could be helpful, do they work?
BT - Redundant, unless you need longer range... Then power draw probably kills you.
Serial adapters (including USB interface on HP49G+) - Probably no drivers?
Audio (USB speakers) - Not persuaded of utility, but might work. Probably no drivers?
Anything else?
Could people who have this working try any of those devices they have laying about and see if they work?
Since we're running a modular kernel, drivers should be simple to add for, e.g., usb-serial, or various network adapters. More complications arise in pursuit of, say, DVD burning, requiring a variety of drivers and userland tools.
I wish if I can use my LAPTOP USB GPS receiver with N800 :-)
Could people who have this working try any of those devices they have laying about and see if they work?
External card reader: worked with multiple cards simultaneously (e.g. Compact Flash + RS-MMC)
External HD: did NOT work when HD needed USB power. I tried to get power from the N800 and plugged a separate power plug into my powered hub. Did not work either way.
N95: Tried my Nokia N95 phone. Worked as a mass storage device; did not work when the device wanted PC suite (duh)
Web camera: nothing. THe N800 recognized the device as an unsupported one (aren't they all?) but this was really unsupported.
-- Mike
Make sure you guys are careful with any storage devices if trying to power directly from the N8X, most will need more than 100mA when actively transferring files, so I'd imagine file corruption is a possibility.
I tried an Ethernet adapter (3Com 3C19250 based) and it wasn't recognized. I would love to have Ethernet working, as we have WiFi locked down at work.
Any hope with HSDPA USB Modem ?
I tried an Ethernet adapter (3Com 3C19250 based) and it wasn't recognized. I would love to have Ethernet working, as we have WiFi locked down at work.
The "kaweth" kernel module might work:
http://kaweth.sourceforge.net/
Needs to be compiled, though.
Let's see -- what other USB devices do/might/should work?
Mass storage - works
HID - keyboards work, mice have same troubles as BT mice
CD/DVDs - has no drivers
Network adapters (Will power be an issue for some of these?)
Ethernet - Helpful, but do they work?
802.11b/g - Redundant, probably less range
802.11a,n - Could be helpful, do they work?
BT - Redundant, unless you need longer range... Then power draw probably kills you.
Serial adapters (including USB interface on HP49G+) - Probably no drivers?
Audio (USB speakers) - Not persuaded of utility, but might work. Probably no drivers?
Anything else?
Digital cameras. I guess they should work in mass storage mode, but will they work in PTP mode?
What are the architecture requirements for sourcing USB driver modules for OS 2008? Do they simply have to be compiled for ARM, ARM11, any TI OMAP, or specifically the OMAP 2420? Does the kernel version have to match exactly, or will any module compiled for a 2.6-series kernel work?
(please excuse my noobness :o )
realitygaps
2007-11-29, 05:35
are usb joysticks working? Would be great for lxdoom and emulators....
I'm praying that a USB ethernet adapter will work without extra power. I'll hate to be in a place without wifi but with ethernet when I get my N810.
If it does need extra power, how would I add it? I know of those battery hacks made to supply the right current, but how would it be plugged in to supply power? Are there cables that split the pins for power to a female plug--letting you plug in a power source via USB?
xPAKxMaster
2007-11-29, 08:21
has anybody tried plugin an usb gps reciever to the N800?
i have the microsoft's universal from streets and trips but i lack an internet tablet(getting one on xmas).
in theory it should work because all you should have to do, is direct the gps software to switch coms...
What are the architecture requirements for sourcing USB driver modules for OS 2008? Do they simply have to be compiled for ARM, ARM11, any TI OMAP, or specifically the OMAP 2420? Does the kernel version have to match exactly, or will any module compiled for a 2.6-series kernel work?
USB modules need to be compiled for specific kernel version and should be compiled with same or very similar gcc compiler as the kernel.
For OS2008 based N810 or N800 kernel version is 2.6.21 and gcc is 3.4.4 (2005q3-2 from codesourcery.com). Best is to use scratchbox and Maemo SDK
For details see
http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html
As for USB drivers, there are plenty of them directly in kernel but most of them are disabled at compile time. One should simply compile the kernel with additional stuff enabled. All or almost all of them could be enabled as dynamic kernel modules so you can still use Nokia kernel and just insert specific driver modules you need at runtime.
For example of such kernel and set of modules see
http://www.internettablettalk.com/forums/showthread.php?p=101312#post101312
If it does need extra power, how would I add it? I know of those battery hacks made to supply the right current, but how would it be plugged in to supply power? Are there cables that split the pins for power to a female plug--letting you plug in a power source via USB?
One possibility might be something like this (http://www.addonics.com/products/power_adapter/usb_power_cable.asp) - a two-into-one USB power cable. All you need then is a power source that outputs using USB.
I can see the collection of cables and adapters being bigger than the device.
penguinbait
2007-11-29, 16:30
I plugged in logitech mouse via usb
It creates /dev/input/mouse0 and /dev/input/event4
[ 662.414062] musb_stage0_irq 646: CONNECT (a_host) devctl 3d
[ 662.414062] hub 1-0:1.0: state 8 ports 1 chg 0000 evt 0000
[ 662.414062] usb usb1: usb auto-resume
[ 662.414062] usb usb1: finish resume
[ 662.414062] hub 1-0:1.0: hub_resume
[ 662.437500] hub 1-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
[ 662.593750] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
[ 662.718750] usb 1-1: new low speed USB device using musb_hdrc and address 4
[ 662.851562] usb 1-1: skipped 1 descriptor after interface
[ 662.851562] usb 1-1: default language 0x0409
[ 662.851562] usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
[ 662.851562] usb 1-1: Product: USB-PS/2 Optical Mouse
[ 662.851562] usb 1-1: Manufacturer: Logitech
[ 662.851562] usb 1-1: device v046d pc00e is not supported
[ 662.851562] usb 1-1: uevent
[ 662.851562] usb 1-1: usb_probe_device
[ 662.851562] usb 1-1: configuration #1 chosen from 1 choice
[ 662.851562] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[ 662.851562] usb 1-1:1.0: uevent
[ 662.851562] usbhid 1-1:1.0: usb_probe_interface
[ 662.851562] usbhid 1-1:1.0: usb_probe_interface - got id
[ 662.851562] drivers/usb/input/hid-core.c: HID probe called for ifnum 0
[ 662.859375] input: Logitech USB-PS/2 Optical Mouse as /class/input/input4
[ 662.859375] input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-musb_hdrc-1
[ 662.859375] drivers/usb/core/inode.c: creating file '004'
[ 662.859375] hub 1-0:1.0: 102mA power budget left
[ 662.859375] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 662.859375] hub 1-0:1.0: port 1 enable change, status 00000303
If I cat /dev/input/mouse0 and move the mouse I can see it is working, how can we make use of it?
sjgadsby
2007-11-29, 21:21
AFAIK the role switching works automagically only with proper cable. It must be switched manually when using normal USB cable that comes with the tablet and female to female adapter.
Folks, if you like the possibilities opened up by USB host support in your Internet tablet, but don't like the idea of having to hack up a USB cable or sudo gainroot to flip a switch every time you want to change modes, please vote for maemo bug 368 (https://bugs.maemo.org/show_bug.cgi?id=368). Thank you.
Folks, if you like the possibilities opened up by USB host support in your Internet tablet, but don't like the idea of having to hack up a USB cable or sudo gainroot to flip a switch every time you want to change modes, please vote for maemo bug 368 (https://bugs.maemo.org/show_bug.cgi?id=368). Thank you. Got my vote.
convulted
2007-11-29, 21:58
It has been said that if you use the correct cable the selection is automatic, without the need for ANY intervention on one's part. What is required is a USB A (Female) to USB Mini-B (Male) OTG cable (sometimes called a OTG convertor cable). The OTG part is the all-important part there. I managed to find one for £12 here in the UK (see, for example, [1]), including shipping, at Amazon. In the US you can get one for $10 or so.
For the N810, the male side of the cable has to be a Micro-B.
In other words, the mucking about using X-term and the like is only required if you use the Nokia-supplied cable (or similar) and a gender changer.
EDIT: penguinbait, I found the following line rather interesting:
[ 662.859375] hub 1-0:1.0: 102mA power budget left
This means that the OTG chip inside the N8x0 can supply 102mA even with a mouse connected to it. Might turn out to be much more useful after all :)
[1] http://www.amazon.co.uk/exec/obidos/ASIN/B000EORX7U/shopzilcouk-computer-software-21/ref=nosim
sjgadsby
2007-11-29, 22:52
It has been said that if you use the correct cable the selection is automatic, without the need for ANY intervention on one's part. What is required is a USB A (Female) to USB Mini-B (Male) OTG cable (sometimes called a OTG convertor cable).
My adapter is supposedly of the OTG variety, and it does not eliminate the need for switching manually in software. Yours does work correctly?
penguinbait
2007-11-30, 01:31
Here is how to make the CDROM work :)
http://www.internettablettalk.com/forums/showthread.php?t=12491&goto=newpost
With this new development. Someone otta make a N800 Dock that has built in case, and USB Dock with 3 USB ports and a Compact Flash Slot (For extra memory) and it also has a built in case for your n800. That'd be awesome.
xPAKxMaster
2007-11-30, 12:09
With this new development. Someone otta make a N800 Dock that has built in case, and USB Dock with 3 USB ports and a Compact Flash Slot (For extra memory) and it also has a built in case for your n800. That'd be awesome.
great idea! im gona get on the Hack5 forums and try to plan with them to develop a homemade edition:D, cant be too hard, i can get a small usb hub move the interfaces arround, installing a bunch of components, all i need is to think of a design.
Sounds awesome and feasible. Can it please be for the N810 though? :)
xPAKxMaster
2007-11-30, 21:19
Sounds awesome and feasible. Can it please be for the N810 though? :)
for the n810 it is the same principle - the only difference is that you dont need the mini usb adapter:)
Please help me understand the pinouts. Take a look at this link USB pinout (http://pinouts.ru/Slots/USB_pinout.shtml).
The N800 has an USB mini connector on the side under the stand (third image from top on left side). A USB peripheral like a flash drive has a USB male "A" (top image on left side). So the adapter must have a mini B male on one end and a full size A on the other right?
Is it grounding the 5th pin marked "x" in the diagrams that tells the N800 to go into host mode?
I think so according to http://en.wikipedia.org/wiki/USB_OTG
David
Master of Gizmo
2007-12-06, 12:06
Hi,
this host mode support is really great. I just successfully used my i2c-tiny-usb (http://www.harbaum.org/till/i2c_tiny_usb/) to my n800. And with the libusb already pre-installed it was a matter of seconds to get the demo app running on the n800 and having it access the i2c-interface chips and do some LED blinking.
BUT: I have sporadic resets. Not only with my USB hardware but also with e.g. a prolific usb/rs232 converter. I don't even have to run my own drivers or so. A simple "lsusb" will at a 1/3 chance make the n800 reboot.
Has anyone experienced this as well?
BUT: I have sporadic resets. Not only with my USB hardware but also with e.g. a prolific usb/rs232 converter. I don't even have to run my own drivers or so. A simple "lsusb" will at a 1/3 chance make the n800 reboot.
Any errors in dmesg output?
kotzkind
2007-12-06, 20:34
Anybody tried DVB-T usb-sticks?
If they are working, they would make the n8x0 to a more perfect device, than I imagined.
Anybody tried DVB-T usb-sticks?
I've not tried, but maybe after compiling modules, compiling mplayer with tv/v4l/whatever support, etc. it might be possible.
Here's a list of USB DVB-T cards supported in Linux:
http://www.linuxtv.org/wiki/index.php/DVB-T_USB_Devices
Just got my USB adapters.... tried wiht a USB card reader and works perfect.
Also, for sake of fun, I also hooked up my second N800 to my first N800 as mass storage device and it worked! (It didn't even complain unsupported device... :D)
Is that running two N800 in SLI or Crossfire... :rolleyes::cool:
lumindigo85
2007-12-06, 23:56
Does anyone have a USB-VGA adaptor. This would be interesting :)
http://cgi.ebay.co.uk/New-USB-VGA-Adapter-Converter-Connector-for-PC-Notebook_W0QQitemZ160186799021QQihZ006QQcategoryZ4 1993QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
Anybody tried DVB-T usb-sticks?
If they are working, they would make the n8x0 to a more perfect device, than I imagined.
I doubt the n800 has enugh horsepower to decode an mpeg stream at full resolution (though I'm used to satellite edit: and I know I have to transcode that, feeding the stream directly to the n800 doesn't work, maybe dvb-t with lower bitrate could work).
And usually these sticks draws a lot more power than the ~100mA that the n800 can supposedly deliver.
...
http://www.amazon.co.uk/exec/obidos/ASIN/B000EORX7U/shopzilcouk-computer-software-21/ref=nosim...
can anybody confirm this adapter works without switching?
I got my wireless USB keyboard working but it dropped a lot of characters until I added 5v from 4AA batteries...
I'm having the same problem.
I'm running OS2008 Beta and I've enabled host mode using the "echo host > /sys/devices/platform/musb_..." method (because I'm using a female-female adaptor, rather than a USB-OTG cable).
The keyboard is detected and "works", but drops a LOT of characters, making it unusable (worse than the repeating characters when using a BT keyboard... which was the problem I was trying to solve by going USB).
Is the only solution to supply power? Do other USB keyboards (mine is a KeySonic Nano) work correctly without power?
can anybody confirm this adapter works without switching?
you need a mini b male to a female, not a mini a to a.
Hi,
this host mode support is really great. I just successfully used my i2c-tiny-usb (http://www.harbaum.org/till/i2c_tiny_usb/) to my n800. And with the libusb already pre-installed it was a matter of seconds to get the demo app running on the n800 and having it access the i2c-interface chips and do some LED blinking.
BUT: I have sporadic resets. Not only with my USB hardware but also with e.g. a prolific usb/rs232 converter. I don't even have to run my own drivers or so. A simple "lsusb" will at a 1/3 chance make the n800 reboot.
Has anyone experienced this as well?
Extremely cool... I will be attempting to follow in your footsteps soon.
I would try repeating the lsusb with a powered hub in place and seeing if your problem is related to current draw.
David
I doubt the n800 has enugh horsepower to decode an mpeg stream at full resolution (though I'm used to satellite edit: and I know I have to transcode that, feeding the stream directly to the n800 doesn't work, maybe dvb-t with lower bitrate could work).
And usually these sticks draws a lot more power than the ~100mA that the n800 can supposedly deliver.
Shouldn't the DVB-T device do most of the hard work (decoding) ?
I've run hardware decoders before on really crappy hardware, they didn't tax the CPU at all, maybe these devices are different, though. *shrug*
They probably do use more power than the N800 can supply, but it's actually possible to deliver up to 200mA.
Master of Gizmo
2007-12-07, 21:28
Extremely cool... I will be attempting to follow in your footsteps soon.
I would try repeating the lsusb with a powered hub in place and seeing if your problem is related to current draw.
David
You are right, i should give a hub a try. But a) is my device really low power and draws really only a few milliamps b) should drawing even a few milliamps more not reset the n800 and c) is a self powered hub somehow spoiling the fun :)
I have added a small section about my N800 experiments to my i2c-tiny-usb page at http://www.harbaum.org/till/i2c_tiny_usb . Just scroll down to the "Using the device with a Nokia N800" section.
P.S.: Where's the N810?? Can't wait to try this with the N810 ...
BTW: Did they add a micro AB receptable to the N810? Or do we face the same it-only-accepts-a-USB-B-plug problem again?
Shouldn't the DVB-T device do most of the hard work (decoding) ?
No, at most it will do the demuxing (taking out one mpeg stream from the whole mux, and some usb2.0 sticks won't do even that), mpeg decoding (the real hard part) has to be done in software.
P.S.: Where's the N810?? Can't wait to try this with the N810 ...
BTW: Did they add a micro AB receptable to the N810? Or do we face the same it-only-accepts-a-USB-B-plug problem again?
The N810 does contain a MicroAB port, but I have not been able to find a Micro-A to full-size B-plug or A-receptacle. Since Nokia does not officially support USB host in the tablets, we must wait for another device to support OTG Micro host so we can borrow those adapters. Until then we must use the same kludges used for the N800.
No, at most it will do the demuxing (taking out one mpeg stream from the whole mux, and some usb2.0 sticks won't do even that), mpeg decoding (the real hard part) has to be done in software.
Wow, that sucks :)
Is there *any* USB2 DVB-T card that also does hardware decoding?
Maybe some day we could actually use that currently useless IVA processor in the tablets for things like this :)
convulted
2007-12-07, 23:16
you need a mini b male to a female, not a mini a to a.
Oh yeah, I wonder how I missed that :)
mwiktowy
2007-12-07, 23:36
Wow ... I am pretty happy that OS2008 on the N800 works with USB Flash Drives. That makes it even more impressive. It even popped up a USB applet that allowed me to unmount the drive before pulling it out.
Hopefully someone makes a nice little applet (maybe a super-set of the functionality of the current USB applet that pops up) that allows you to switch modes without the hassle of opening an xterm ... or maybe I will look into investing in a USB OTG cable.
Good stuff.
Would someone please check the wiki to make sure that I have got it right?
http://internettablettalk.com/wiki/index.php?title=HOWTO:_USB_Host_mode_on_the_N800_u sing_OS_2008
Also has anyone tried Maemo Mapper with the maps on a usb thumbdrive? Save my flash memory for other stuff...
Thanks
Nrune
Wow, that sucks :)Well, not really: if you don't consider resource limited devices, like our tablet, any old computer (by today standards) can easily decode mpeg. And if it's not that old it can even decode HD streams (though, at least over here, for dvb-t there are only experimental transmissions)
Is there *any* USB2 DVB-T card that also does hardware decoding? I don't know any, but you could take a look at linuxtv.org
gemniii42
2007-12-08, 14:01
The N810 does contain a MicroAB port, but I have not been able to find a Micro-A to full-size B-plug or A-receptacle. Since Nokia does not officially support USB host in the tablets, we must wait for another device to support OTG Micro host so we can borrow those adapters. Until then we must use the same kludges used for the N800.
http://mancahk.trustpass.alibaba.com/product/11732719/Cable_Assembly_Micro_USB_Cable.html
but you need to buy a thousand :(
/edit - or would this work?
http://www.motorazr.com/content/accessories/5-180--3050.htm
with a regular to mini usb converter.
geminiii42:
The problem with either of those cables is that one would still need another adapter piece to connect to devices. However, if it works for data, the micro-to-mini adapter is the most ideal at this point. I've only seen them described in reference to charging, though.
Why do those Micro-A cables to full-size A-plug even exist in retail? Both ends are for host devices! They serve no purpose that a (soon to be commonplace) Micro-B cable does not fulfill.
DeeJay_XB
2007-12-08, 19:53
this is an interesting article http://www.accesscomms.com.au/Reference/USB.htm
seems like there is a resistor that connects the ID pin to ground! someone more intelligent than me please research this and give a pin-out scheme for making this usb host cable :D
EDIT: http://www.maxim-ic.com/appnotes.cfm/appnote_number/1822/ seems like on the host side the ID (pin4) needs to be connected to ground (pin5)
Hi guys
Yesterday I got an usb wifi dongle working on my N800(OS2880), it's based on the RaLink rt73 chip and the driver has support for packet injection (muuhahahahaha).
My question is: how do I get around the manual loading of the rt73 kernel module? do I have to edit some configuration files or something like that?
Hi guys
Yesterday I got an usb wifi dongle working on my N800(OS2880), it's based on the RaLink rt73 chip and the driver has support for packet injection (muuhahahahaha).
My question is: how do I get around the manual loading of the rt73 kernel module? do I have to edit some configuration files or something like that?
modprobe the kernel module.
http://mancahk.trustpass.alibaba.com/product/11732719/Cable_Assembly_Micro_USB_Cable.html
but you need to buy a thousand :(
We can request for samples.
modprobe the kernel module.
Tried that and it doesn't work, error msg is: cannot parse modules.dep
Do you know the path where is should copy the kernel module to?
kotzkind
2007-12-09, 11:17
http://www.maxim-ic.com/appnotes.cfm/appnote_number/1822/ seems like on the host side the ID (pin4) needs to be connected to ground (pin5)
So we just have to do that(?):
-Take n800 usb cable
-Connect pin 4 and 5 on the part connected to the n8x0. (conductive lacquer?)
-buy female A to female A adapter
lumindigo85
2007-12-09, 13:10
What if I buy a Mini USB - Mini USB OTG cable and an (active) USB HUB with a Mini USB connector? Will I be able to use the devices connected to the HUB? Or do I need a HUB that support OTG?
Hi guys
Yesterday I got an usb wifi dongle working on my N800(OS2880), it's based on the RaLink rt73 chip and the driver has support for packet injection (muuhahahahaha).
Interesting, I have one of those, though I never managed to get packet injection working (didn't try really hard since I have an atheros based pc card that works fine).
Does the n800 supply enough juice for it or did you have to add external power?
Can you share the compiled module or is it included in the stock kernel (I'm not on os 2008 yet)?
edit: and does it mean that there's version of aircrack-ng workin on os2008?
Interesting, I have one of those, though I never managed to get packet injection working (didn't try really hard since I have an atheros based pc card that works fine).
Does the n800 supply enough juice for it or did you have to add external power?
Can you share the compiled module or is it included in the stock kernel (I'm not on os 2008 yet)?
edit: and does it mean that there's version of aircrack-ng workin on os2008?
I had to run it trough the usb-hub in my monitor, I also installed fanoush kernel where otg-whitelist was disabled, don't know if that step was needed but the system stopped *****ing about "usb hub not supported".
You will need two files, the rt73.ko kernel module and rt73.bin firmware, pm me your e-mail and I'll send you the two files.
I have not tried packet injection, but my next step will be to compile
aireplay so that I can test it.
There's a package with aircrack-ng that runs on OS2008, but aireplay-ng is not included.
EDIT: you will also need the wireless-tools package
gemniii42
2007-12-09, 16:27
geminiii42:
The problem with either of those cables is that one would still need another adapter piece to connect to devices. However, if it works for data, the micro-to-mini adapter is the most ideal at this point. I've only seen them described in reference to charging, though.
Why do those Micro-A cables to full-size A-plug even exist in retail? Both ends are for host devices! They serve no purpose that a (soon to be commonplace) Micro-B cable does not fulfill.
Ok how about:
http://www.cellphone-store.com/motorola-skn6238-usb-to-micro-usb-data-cable.html
"Motorola SKN6238 USB to Micro-USB Data Cable. Motorola Data Cables allows the user to connect a wireless phone to a modem, enabling access to the internet, e-mail or fax*.
DeeJay_XB
2007-12-09, 17:17
I can confirm that if you connect pin4 to pin5 on n800 side it switches automaticaly to usb host mode :) just tryied that and is Working!
kotzkind
2007-12-09, 18:01
I can confirm that if you connect pin4 to pin5 on n800 side it switches automaticaly to usb host mode :) just tryied that and is Working!
How have you connected them? Pictures would be nice.
DeeJay_XB
2007-12-09, 18:37
inside the nokia n800 usb connector are little holes, i used a small wire and put it to make contact inside 4th and 5th holes!after that i plugged nokia standard usb cable and at the other end a female to female usb adapter made from 2 front panel pc female connectors!after i put my usb drive in one female usb connector my n800 displayed the usb icon and opened filemanager and showed rhe files from usb stick!
Do you know the path where is should copy the kernel module to?
insmod will work no matter where the .ko is, just run:
insmod /path/to/file.ko
penguinbait
2007-12-09, 20:17
CDROM DEB, it will autoload modules when installing and during boot.
http://www.internettablettalk.com/forums/showthread.php?p=106476#post106476
I had to run it trough the usb-hub in my monitor
Bummer, so we still don't have the ultimate mobile aircrack-ng device.
You will need two files, the rt73.ko kernel module and rt73.bin firmware, pm me your e-mail and I'll send you the two files.
Thanks, as soon as I find the time to upgrade to 2008 I'll pm you (edit: actually I shouldn't need the firmware, since it's the same I'm using under x86, isn't it?)
Is it possible to do Host-Mode using an adapter like this?
http://www.gefen.com/kvm/product.jsp?prod_id=3407
Alright guys. I HAVE FINALLY FOUND IT!
This is what we need:
http://www.buyextras.com/usbfemib5maa.html
I am 100% positive it is the right one.
P.S. Unfortunately for me, it ships to U.S. addresses only, so if anyone is willing to help send one over to me, do PM me.
lbattraw
2007-12-10, 12:53
Is it possible to do Host-Mode using an adapter like this?
http://www.gefen.com/kvm/product.jsp?prod_id=3407
That is precisely what I use! It's wonderful, and the only thing that could make it better is if someone came up with a cable that had a mini USB-A connector (for the n800/n810) on one end and a female A connector like the linked item has, for a direct connection. I'm quite tempted to hack a USB extension cable to replace the full size female A with a mini-male-A and add a small jack in the middle of the cable to provide 5V to power-hungry devices. I have a PSP on-the-go charger that can power something as power-intensive as a USB 30GB hard drive to plug into the connector. I'll post pictures if I get around to it.
Larry
Alright guys. I HAVE FINALLY FOUND IT!
This is what we need:
http://www.buyextras.com/usbfemib5maa.html
I am 100% positive it is the right one.
P.S. Unfortunately for me, it ships to U.S. addresses only, so if anyone is willing to help send one over to me, do PM me.
I bought this last week, from ebay $0.99... Shipping was $3.75. (In fact I bought two to get one spare and save on combined shipping...)
I does work fine, but you need manually set the N800 to host mode. (Adapter does not have the ID pin configured for automatic operation (OTG).)
UPDATE: Since the other connector is 4-pin jack... it can't physically support OTG... But manual (forced) configuration works fine.
djasmith
2007-12-10, 14:27
Greetings
How about one of the following solutions from Maplins ?
http://www.maplin.co.uk/Search.aspx?criteria=L16BT&DOY=5m12
In particular the L16BT - USB A(F)-5pin(M) Adp
They have a number of gender changers there.
Your thoughts please :)
ttfn
Dave
kotzkind
2007-12-10, 15:43
Is it possible to do Host-Mode using an adapter like this?
http://www.gefen.com/kvm/product.jsp?prod_id=3407
Yes, this together with the orignal n800 cable should work. Then you have to switch to Hostmode manually.
If you want to switch automaticly to Host, you have to connect pin 4 and 5.
You can modify your cable, or modify the usb-port in the n800 (e.g. http://www.internettablettalk.com/forums/showpost.php?p=106442&postcount=118)
here is the end of the cable shown:
http://commons.wikimedia.org/wiki/Image:USB_AB_mini.svg
Greetings
How about one of the following solutions from Maplins ?
http://www.maplin.co.uk/Search.aspx?criteria=L16BT&DOY=5m12
In particular the L16BT - USB A(F)-5pin(M) Adp
They have a number of gender changers there.
Your thoughts please :)
ttfn
Dave
The Problem is, that you just don't know if port 4 and 5 are connectet to each other. I haven't seen any description where it's mentioned. And if it would be one, they would call this adapter OTG adapter.
This is what we need:
http://www.abload.de/img/text103069nb.png
I only can find seperate female connectors but no male.It would be nice if someone finds male connectors somewhere to buy. Then we could make Adapters on our own that would 100% work.
UPDATE: Since the other connector is 4-pin jack... it can't physically support OTG... But manual (forced) configuration works fine.
Alright alright, my bad! :D
Now let me try again.
I HAVE FINALLY FOUND THE CORRECT ONE!
http://www.twstore.com/gcusbafxm.html
It even says OTG-compatible, so I am 110% sure! :)
Anyway, it's 1 for $9.99 and 2 for $13. If you look at the info page, it says a $4 handling charge will be levied on orders under $10. So be smart and get 2 instead of 1!
ginronin
2007-12-11, 07:00
NICE!!!!! I just bought an N800 (waiting for it to come on Thurs) and i got a miniUSB male to USB female adapter coming too. :D but i want to put an external HD on it so i can put all my vids and music on a 120GB HD and carry it with my N800.
I found the WD Passport ( http://www.westerndigital.com/en/products/products.asp?DriveID=262 ) I want to get it and it doesn't need external power and it runs at 5400RPM but my question is will it be fast enough to play all my music and vids off with out any slow down?
I found the WD Passport ( http://www.westerndigital.com/en/products/products.asp?DriveID=262 ) I want to get it and it doesn't need external power and it runs at 5400RPM but my question is will it be fast enough to play all my music and vids off with out any slow down?
It might not need external power when connected to a desktop or laptop, but almost certainly will on the N800, which supplies a maximum of 200mA vs 500mA of a desktop/laptop.
Speed shouldn't be a problem, but power will.
TheGogmagog
2007-12-11, 15:42
I does work fine, but you need manually set the N800 to host mode. (Adapter does not have the ID pin configured for automatic operation (OTG).)
UPDATE: Since the other connector is 4-pin jack... it can't physically support OTG... But manual (forced) configuration works fine.
Can someone add the forced instructions to the wiki (http://www.internettablettalk.com/wiki/index.php?title=HOWTO:_USB_Host_mode_on_the_N800_u sing_OS_2008)? This would be good for those using a plain gender bender and those of us not willing/able to ground the x pin.
I have a cable that physically lets me connect a USB flash drive, but it doesn't auto-register in file manager. I'm not sure what to do at this point. I've tried two things with no success, the commands wern't recognized (I did gainroot, I think). Can it be done without gaining root or red-pill mode?
DeeJay_XB
2007-12-11, 17:27
ok i can confirm that usb pc keyboard is working perfect!can even use alt-tab to switch widows or f6 f7 f8 to full screen mode or zoom in/out ! how about a usb mouse? i've pluggd in a usb mouse but it doesn't do anything... maybe there needs to be a driver implemented to make the mouse work... please someone make a usb mouse work too :) PS: this things are witten with my full sized usb keyboard :D
Alright alright, my bad! :D
Now let me try again.
I HAVE FINALLY FOUND THE CORRECT ONE!
http://www.twstore.com/gcusbafxm.html
It even says OTG-compatible, so I am 110% sure! :)
Anyway, it's 1 for $9.99 and 2 for $13. If you look at the info page, it says a $4 handling charge will be levied on orders under $10. So be smart and get 2 instead of 1!
I'd still test it before you post "110% sure". I'm not sure that "OTG compatible" is the same as "will induce OTG mode in an N800".
OTG compatible to me just means the pins are routed correctly to plug a slave device into a OTG compatible slot.
I don't think OTG compatible means "pins 4 and 5 are tied together so that the OTG chipset on the N800 will auto switch to host mode"
I'm looking at buying some connectors from Molex and building my own setup.
David
ok i can confirm that usb pc keyboard is working perfect!can even use alt-tab to switch widows or f6 f7 f8 to full screen mode or zoom in/out ! how about a usb mouse? i've pluggd in a usb mouse but it doesn't do anything... maybe there needs to be a driver implemented to make the mouse work... please someone make a usb mouse work too :) PS: this things are witten with my full sized usb keyboard :D
Can you tell what brand/type keyboard are you using?
The reason I'm asking, that you might have found a very low power consuming keyboard. Earlier reports about USB keyboards I have seen before complain about dropped characters, etc... which is likely due to insufficient current supply from N800.
If you look at dmesg logs, how much it says you still have current budget left?
OTG compatible to me just means the pins are routed correctly to plug a slave device into a OTG compatible slot.
I don't think OTG compatible means "pins 4 and 5 are tied together so that the OTG chipset on the N800 will auto switch to host mode"
As I understand it, OTG compliant would mean that it works right. Of course, compatible can either mean "works" or "can be persuaded to work"; as this connector is not permitted for truly compliant cables (you're supposed to use the micro connector like on the N810), one that's right would have to be merely compatible, and one that's "close enough" would probably still say it.
But I'd be 90% certain it's good, and if not, it's still a cable.:)
sjgadsby
2007-12-11, 18:55
I HAVE FINALLY FOUND THE CORRECT ONE!
http://www.twstore.com/gcusbafxm.html
It even says OTG-compatible, so I am 110% sure!
I bought two of those from Tech World Store a month or two ago in anticipation of the USB OTG support in OS2008. I had hoped that they were wired up correctly to let OS2008's automagic mode switching work. They aren't.
Any news on using a wifi usb stick with packet injection on the N800? (:
tarkness
2007-12-11, 23:57
n800-IT-OS-2008 with self-built none OTG cable:
i`m using an logitech full sized keyboard without external power (without any dropped characters and even the right leds switch on if you press LOCK-buttons; num-block, F-keys, ctrl, super-/windows-key and "right-click-key" are working fine, too)
a friends mp3-player and a digi-cam (both self-powered) also auto-mounted and filemanager popped up to show the files
i need a POWERED usb hub for:
-a card reader (CF and MMC cards mount fine, transfers real fast and even filemanager pops up and shows the files.. other cards not tested)
-another keyboard (i think it`s from hama) with integrated usb 2x hub; disassembled it and found out that the usb-hub-ports are mounted on a little board where some other keys (play, stopp, volume +/-) are mounted.. i assume that this board/keys/hub-ports need too much power to run without powersupply
now it`s even more fun with the ITs ;) :D
Are there any portable and powered usb hubs?
(would be lovely if working with standard batteries)
I've used the CyberPower 420MP battery powered usb hub on my Zaurus C1000's USB OTG port. It runs on 4 included rechargeable AAA batteries and can also be plugged into AC to charge with a *not* included AC adapter. It can also charge from a desktop's USB port.The bad news: It's not powerful enough to spin-up a 1.8" USB hard drive. It's really close but even if it worked I'd be worried about it running out of juice during file transfers. It *is* powerful enough to run a USB flash memory stick that the Zaurus refused to work with when it was directly plugged in. Anyways, I guess it's buyer beware, but it only costs ~$20.
-John
petergunn
2007-12-12, 03:03
Are there any portable and powered usb hubs?
(would be lovely if working with standard batteries)
Cyberpower CP-H420MP is a self powered HUB that uses 4xAAA rechargeables (will recharge itself if you plug it into a powered USB port).
However I don't have one and reviews on Amazon aren't great - but for $23 with free ship I might pick one up anyway. Batteries are extra if you don't already have some.
DeeJay_XB
2007-12-12, 05:39
i'm using a genius usb full sized keyboard!now i plan to buy a a4tech mini usb keyboard
I bought two of those from Tech World Store a month or two ago in anticipation of the USB OTG support in OS2008. I had hoped that they were wired up correctly to let OS2008's automagic mode switching work. They aren't.
Aww, so what the hell now?
Can't wait to try out usb OTG.
pixelseventy2
2007-12-12, 10:43
for any UK readers, aldi have roll-up usb keyboards for £6.99. I've not tried mine with the n800 yet, as I need to make/buy an adapter cable, but I see no reason why it won't as it's a standard HCI keyboard
i'm using a genius usb full sized keyboard!now i plan to buy a a4tech mini usb keyboard
Hi DeeJay
Are you using an OTG cable (auto switching to host mode) or just a regular A-to-mini-B adapter (manual switching to host mode).
I'm just trying to clarify the differences between your working setup and my not-so-working one.
linuxrebel
2007-12-12, 11:29
for any UK readers, aldi have roll-up usb keyboards for £6.99. I've not tried mine with the n800 yet, as I need to make/buy an adapter cable, but I see no reason why it won't as it's a standard HCI keyboard
I've got one of the role-ups from USLogic. Works fine. I just used a female to female adapter connected the two USB cables and it works.
tarkness
2007-12-12, 13:12
http://www.conrad.de/goto.php?artikel=982411
hm :D if i would have 100€ now, i would build the driver and try it^^ but there aren`t any linux drivers out i think ..
unfortunatelly :D
Can somebody with a Dev box compile injection enabled RT73 drivers for me?
I want to test out my Wireless USB NIC with Kismet & AirCrack-NG ;
http://www.internettablettalk.com/forums/showthread.php?t=13067
Hehe,
I think this would make a good USB Hub for the N8x0 :
http://cache.gizmodo.com/assets/2006/06/usb_hub_01.jpg
This may have been mention already but here is another small keyboard, SOLIDTEK 4"X9" Super Mini USB Keyboard. I use it with my Samsung Q1U EL, but I hope to try it on the my N800 tonight.
DeeJay_XB
2007-12-12, 15:46
@skinny - i'm using an otg cable (mini B to male A) and 2 usb female connectors for female to female connection!
the usb otg cable is made by simply connecting pin 4 to pin 5 on the n800 side!
for any UK readers, aldi have roll-up usb keyboards for £6.99. I've not tried mine with the n800 yet, as I need to make/buy an adapter cable, but I see no reason why it won't as it's a standard HCI keyboard
They have 'em in the US, also, for about $15. Last saw them about a month ago, and haven't tried them with the N800.
Anybody looking for Tech details on OTG ;
http://media.maxim-ic.com/images/appnotes/1822/1822Fig01.gif
http://www.maxim-ic.com/appnotes.cfm/appnote_number/1822/
Cyberpower CP-H420MP is a self powered HUB that uses 4xAAA rechargeables (will recharge itself if you plug it into a powered USB port).
However I don't have one and reviews on Amazon aren't great - but for $23 with free ship I might pick one up anyway. Batteries are extra if you don't already have some.thanks, but unfortunately it seems that i can't buy them in germany.
hm maybe i could import them from the US. :D
however, that hub should provide enough power for a wifi usb stick w/ packet injection
(next step: world domination with the ultimate portable aircrack device! :cool:)
@skinny - i'm using an otg cable (mini B to male A) and 2 usb female connectors for female to female connection!
the usb otg cable is made by simply connecting pin 4 to pin 5 on the n800 side!
Thanks DeeJay
I was hoping you'd managed to get it working without an OTG cable, but nevermind... I can't imagine the OTG-ness of the connection would affect my problem (dropping characters) anyway.
This may have been mention already but here is another small keyboard, SOLIDTEK 4"X9" Super Mini USB Keyboard. I use it with my Samsung Q1U EL, but I hope to try it on the my N800 tonight.
That keyboard looks like a different branding of the KeySonic Nano... which I can't get working... dropping characters :(
Hope you have better luck!
DeeJay_XB
2007-12-12, 17:08
any ideea how to make usb mouse to work?!?!
There's a known bug regarding mice that has been classified as WONT_FIX by Nokia on Bugzilla. I don't have a specific reference, but if you search for bluetooth mouse, you'll find references to it.
I must say though, it would be nice to be able to at least pipe it through to applications like rdesktop/vnc, even if it didn't work on the N800.
TheGogmagog
2007-12-12, 19:34
How to manually set the N800 with OS2008 to host mode.
For use with typical or non-OTG connections. For example the USB cable that ships with the N800 combined with a Female A to A gender Bender.
1. Download becomeroot
http://eko.one.pl/maemo/dists/mistral/user/binary-armel/becomeroot_0.1-2_armel.deb
2. Open Xterm and type:
2.a. sudo gainroot
2.b. echo host> /sys/devices/platform/musb_hdrc/mode
-You will see a 'USB device not Supported' message, then it will work.
-Inserting a USB drive opened File Manager to the new drive.
-Insufficient power will cause some keyboards/mice to perform erratically.
3. To set N800 back to OTG mode, do:
3.a. echo otg > /sys/devices/platform/musb_hdrc/mode
Hint: Copy/Paste /sys/devices/platform/musb_hdrc/mode or Just use tab-completion. Type /sys/de <tab>/pla <tab>/mu <tab> and it will autocomplete the command line for you. (yoinked from below, thanks)
---------------------------------------
I am about to add the above to Wiki. Any Comments? I dropped the 'if otg mode doesn't take' since I tested it on mine and it went back to otg mode without problem.
**Ponders**
How to flash N800 using N800 instructions? (just joking)
Will the N800 charge via USB in host mode? Would that allow you overcharge the battery causing the famous Nokia Battery explosion? I tried it momentarily and the battery icon does not indicate charging.
I will test a mouse ported through a powered USB hub in a few hours.
Hint: Copy/Paste /sys/devices/platform/musb_hdrc/mode since stylus board doesn't have _ , and thumboard inserts extra characters.
I agree, copy/paste is always nicer than typing, but there's two other ways around this.
1. The symbols section of the stylus board has the underscore (and the pipe character, which can be hard to find otherwise)
2. Just use tab-completion. Type /sys/de <tab>/pla <tab>/mu <tab> and it will autocomplete the command line for you. Invaluable, even if it's not as smart as the bash-completion package.:)
petergunn
2007-12-13, 01:02
http://www.conrad.de/goto.php?artikel=982411
hm :D if i would have 100€ now, i would build the driver and try it^^ but there aren`t any linux drivers out i think ..
unfortunatelly :D
Why not get one that Linux already has drivers for such as...
Sitecom CN-105
Sweex KB100050
Startech.com USB2VGA
See http://ubuntuforums.org/showthread.php?t=260863
and http://www.nslu2-linux.org/wiki/HowTo/AddVGAAdapter
Hey Guys,
is there really any reason to be fidgeting with USB host mode? After all, I would hate to have wires coming out of my n800 while i was walking around. I was thinking of getting one of those nice bluetooth hard drives. Stick it in my pocket and go. What otehr device would you want to add to the n800?
Don't get me wrong though;hacking for hacking's sake is great fun and more educational than most other forms of entertainment :)
Hey Guys,
is there really any reason to be fidgeting with USB host mode? After all, I would hate to have wires coming out of my n800 while i was walking around. I was thinking of getting one of those nice bluetooth hard drives. Stick it in my pocket and go. What otehr device would you want to add to the n800?
Don't get me wrong though;hacking for hacking's sake is great fun and more educational than most other forms of entertainment :)Don't forget that OTG support is still optional, wich means you do not have to use it even if its possible. (:
For example you can use OTG support to add a usb mass storage device to your N800, usb keyboards, Sensors or even a wifi usb stick with a better chipset.
The possibilities are countless and this whole nifty thing is still in an early state. :)
I think I found another possible cable: https://serialio.com//store/product_info.php?cPath=54_61&products_id=141&osCsid=1cdd2e5630eed06c182de18220188139
This one looks about the length I want too (it's short)
TheGogmagog
2007-12-13, 13:11
Hey Guys,
is there really any reason to be fidgeting with USB host mode? no, there are other ways to do things, but I like this way because it's cheap. If I had$$ I'd buy a 'My Book World Edition 1TB Network Drive'. Not to mention extra mass storage is handy when you don't have wifi acess (again too cheap to have a data plan).
I think I found another possible cable: https://serialio.com//store/product_info.php?cPath=54_61&products_id=141&osCsid=1cdd2e5630eed06c182de18220188139
This one looks about the length I want too (it's short)
That looks like a winner t3h! I have a non-otg cable like that, It's nice that you don't have flash drives hanging off the usb port or 3' of cable.
FYI, if anyone cares.
I tried a USB docking station w/external power. The USB hub worked fine with USB mass storage. The PS2 mouse and keyboard did not. Neither did the USB keyboard through the PS2 connector.
That looks like a winner t3h!
The n800 connector is mini b, not mini a.
lumindigo85
2007-12-14, 18:46
So is there a 100% working OTG adaptor with a short cable (like the USB-A adaptor that Amazon has)?
linuxrebel
2007-12-15, 21:36
slill haven't figured out one problem. how to get the keyboard to 'wake up' the screen.
slill haven't figured out one problem. how to get the keyboard to 'wake up' the screen.
That may be "impossible"... I'd assume that N800 turns off the USB port power when in sleep, thus how the keyboard can operate?
Maybe look into the very old threads. I believe there was a fix for this on the 770 in the early days when everybody was hacking around with USB host...
So is there a 100% working OTG adaptor with a short cable (like the USB-A adaptor that Amazon has)?
Cable? No. http://www.twstore.com/gcusbafxm.html looks like the right thing in adapter shape, though. Unfortunately they aren't shipping beyond the US, so I'll have to locate something similar on that side of the pond...
I bought some of these cables:
http://www.datapro.net/products/usb-2-0-mini-b-5-pin-m-m-cable.html
They work fine for my full-speed mini-B application.
lumindigo85
2007-12-16, 11:42
A cable would be better i think, to avoid killing the usb socket in the N800.
hostman: have you tried this cable with an usb hub with a mini usb socket? I know a shop here in Hungary where I could buy a cable like this (very expensive :( ) but I would only buy it if it worked with a hub. So: N800 - cable - hub - usb device.
convulted
2007-12-16, 14:28
I bought the Amazon csble and removed most of the metal shielding (top and sides). Works like a charm!
lumindigo85
2007-12-16, 15:08
I bought the Amazon csble and removed most of the metal shielding (top and sides). Works like a charm!
Why did you remove them?
A cable would be better i think, to avoid killing the usb socket in the N800.
hostman: have you tried this cable with an usb hub with a mini usb socket? I know a shop here in Hungary where I could buy a cable like this (very expensive :( ) but I would only buy it if it worked with a hub. So: N800 - cable - hub - usb device.
I have not tried that specific cable with a hub (I don't have any hubs with a mini-B downstream connector). I have, however, used a similar cable (mini-B to A-female to standard USB cable) to connect to hubs, etc. You can make either of these pretty easily; just cut up a couple of cables with the ends you want, and solder the colored wires together.
lumindigo85
2007-12-16, 23:18
I have a 5p mini usb cable and I found only 4 cables + shield. As I understood I need 5 cables to make a proper OTG adaptor.
This is the reason we need USB support on the tablets"
http://www.mensup.fr/usbwine/
tarkness
2007-12-16, 23:43
This is the reason we need USB support on the tablets"
http://www.mensup.fr/usbwine/
yeah sure http://ugly.plzdiekthxbye.net/small/s232.gif
Why not get [an USB-to-VGA adapter] that Linux already has drivers for such as...
Sitecom CN-105
Sweex KB100050
Startech.com USB2VGA
See http://ubuntuforums.org/showthread.php?t=260863
and http://www.nslu2-linux.org/wiki/HowTo/AddVGAAdapter
I would be VERY VERY interested if someone managed to get VGA output working via USB. Please post if you do!
I can see a "docking station" for my N800 already; keyboard, HD, 100TX ethernet connector and VGA monitor connected through a powered USB hub... oooh, ahh...
PS: I got a keyboard working for the price of a female-female USB-A gender changer from Radio Shack (or The Source as they are called now in Canada).
pixelseventy2
2007-12-20, 17:30
PS: I got a keyboard working for the price of a female-female USB-A gender changer from Radio Shack Ditto from maplins in the UK. Quick and easy, and combined with a cheap roll-up keyboard (yay aldi!), a damn sight cheaper than a new BT keyboard :)
speculatrix
2007-12-20, 23:33
How about one of the following solutions from Maplins ?
http://www.maplin.co.uk/Search.aspx?criteria=L16BT&DOY=5m12
In particular the L16BT - USB A(F)-5pin(M) Adp
Dave
did anyone try this? we have a maplins nearby, I already have a nano usb keyboard for my zaurus so I'm hot to test!
speculatrix
2007-12-20, 23:35
Ditto from maplins in the UK. Quick and easy, and combined with a cheap roll-up keyboard (yay aldi!), a damn sight cheaper than a new BT keyboard :)
following on my previous post, did you find a gender changer that also does the slave-master USB switching?
thanks
sjgadsby
2007-12-20, 23:48
http://www.twstore.com/gcusbafxm.html looks like the right thing in adapter shape, though...
It looks good, but is not wired correctly to make mode autoswitching work.
Master of Gizmo
2007-12-21, 08:34
I have built the required cable. See http://www.harbaum.org/till/n800_usb for details.
BTW: I have switched the my forum view to some simple theme and the simple theme is missing lots of buttons e.g. the one to return to the more complex themes which would have allowed me to add real links ...
did anyone try this? we have a maplins nearby, I already have a nano usb keyboard for my zaurus so I'm hot to test!
I got 2 from Maplin last week a "USB A F-F" and "Mini-USB to A F" adpt. both work but they are not auto sensing so you have to manually edit the mode file.
pixelseventy2
2007-12-21, 10:34
following on my previous post, did you find a gender changer that also does the slave-master USB switching?
as BOFH stated, these aren't auto-sensing. I don't believe a USB gender-bender can be as they're 4 pin, not the pre-requisite 5 pin. Maplin sell mini-usb plugs for those who like soldering (or 'soddering' for all american readers :p ) but these are also only 4 pin :(
But it should be easy to write a .desktop file to swap between modes, shouldn't it? I'll have a go and post something if I get it to work
speculatrix
2007-12-21, 14:51
thanks for that; I guess a simple desktop applet would be OK in lieue of auto-switching. I can't believe that Nokia didn't learn from the 770 to put in the right connector - the Sharp Zaurus 1000,3x00 and 6000 were all done "properly"- earlier versions couldn't have done host mode anyway - I've gently pushed my zaurus host connector into the n800 port and I could imagine that the adaptor could be gently hammered and dremelled to fit!
Has anybody tried the Flasher options:
--enable-usb-host-mode Set the device into USB host mode
--disable-usb-host-mode Set the device into USB peripheral mode
After a clean flash of 2008 on my N800, I enabled R&D rebooted and then ran the --enable and got a msg that my N800 is now in HOST mode.
But when it boot (even after a reboot) playing a usb device in did nothing {using a A-miniF adpt (4 pin)}.
The mode file was still idle, anybody know what this does or is it for some factory level mode like the ColdBoot option?
I have built the required cable. See http://www.harbaum.org/till/n800_usb for details.
another confirmation :
OS2008 + N800 + custom cable (pin 4 and 5 shorted)
and the N800 switch instantly to Host.
worked with USB drives, Canon A60 camera and compact flash reader.
didn't try any keyboard
audioworld
2007-12-22, 16:58
I have found a good link to dive into the topic (pdf warning):
http://www.usb.org/developers/onthego/london/OTG_mechanical.pdf
DeeJay_XB
2007-12-22, 17:29
if you search this forum you will see that i already explained how usb otg works and what you have to do to make it work automatically!cheers!
I'm going to build my own cable (looks easy enough) to short pin 4/5, but in the meantime since I didn't have one to sacrifice I decided to just try it with a home made "gender-bender" (as opposed to Bender-the-offender); I simply took two female USB A jacks that I had from an electronics store and soldered them together pin-to-pin to make the adapter. I then plugged the USB cable that came with the N800 into one side, and a usb keyboard on the other. Manually set the device into host mode (running the latest "official" OS 2008 release), but nothing happened. The screen came up and said "Usb device not supported" as everyone says it should, but then, nada. Doing a cat of the mode file simply reports a_idle, and dmesg doesn't seem to show any useful information.
Is there something I'm missing here? Does a store-bought changer swap TX/RX or something? I'd like to have this working as a test before I spend my time destorying a few more USB cables for the auto-switching...
Any ideas as to what I'm doing wrong?
Thanks!
Cptnodegard
2007-12-23, 19:26
Frmo what i read the n800 has 200mah output, might not be enough to run a keyboard - if so you need to power it somehow
DeeJay_XB
2007-12-24, 07:36
not all usb keyboards work! try a Genius usb keyboard! i have one and it's working perfect!
Hey, for debugging, try:
dmesg -c
in console. You should be able to see what's going on exactly. It may be you need a kernel module for the device you're using. I haven't had any luck with an Apple USB keyboard I tried, but everything else has worked. Had to use CDC-ACM class driver for a USB-Serial device.
Cptnodegard
2007-12-26, 11:45
http://www.minidisc.com.au/iaudio-x5x5la2-usb-host-cable-p-958.html
....this wouldnt work....?
convulted
2007-12-26, 12:08
In all probability, the male end is probably mini-A, since the OTG standard specifies it that way (i.e., mini-A for the host end) IIRC. In any case, you can remove part of the metal shielding off that end and it will fit snugly into the N800 socket. There is a reference somewhere stating that all the metal shielding should be taken off, which would make the plug not fit well into the N800. If you remove the top and sides off the metal shielding, you will be home free.
Cptnodegard
2007-12-26, 12:12
actually the Cowon X5 only has a Mini USB B connection, so unless the A one fits in it...
will the usb cable hack also work for micro usb which is used by n810?
bluehash
2007-12-26, 18:21
Will this one do?
http://www.tca-inc.net/usbmatousbbf.html
I can knife the plastic and solder points 4 and 5.
Cptnodegard
2007-12-26, 19:40
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/q187/Cptnodegard/usbotg.jpg
Should be easier than opening and soldering those tiny connectors :)
Extension cable is here: http://pc-mobile.net/pspgps.htm named CMUE
I_Dont_Know
2007-12-27, 04:36
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
http://i136.photobucket.com/albums/q187/Cptnodegard/usbotg.jpg
So, it looks to me that black should be connected to blue, the rest map 1-1, and the orange wire is the extra sense wire that needs to be connected to something (ground?) to tell the device to go into host mode.
Cptnodegard
2007-12-27, 08:22
So, it looks to me that black should be connected to blue, the rest map 1-1, and the orange wire is the extra sense wire that needs to be connected to something (ground?) to tell the device to go into host mode.
Actually, google and master of gizmo both suggested that the wires are exact opposite of what they should be....after googling some more, i found this had to be true:
http://www.accesscomms.com.au/images/Reference/usb/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
gLobster
2007-12-27, 08:23
You must short red and yellow wires on mini-A and connect to black wire.
Cptnodegard
2007-12-27, 10:13
http://i136.photobucket.com/albums/q187/Cptnodegard/usb.jpg
There... hopefully it will work, wont know until i get the n800
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
patleeman
2007-12-27, 12:37
So whats the proper wiring and what parts did you use? Any software or hacks needed?
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/forums/showpost.php?p=106775&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.
Cptnodegard
2007-12-27, 14:18
has anyone tried a powered USB hub with the n800, will it work and allow for connecting several USB devices to the n800?
speculatrix
2007-12-27, 16:49
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
speculatrix
2007-12-27, 16:55
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'
bluepolo
2007-12-27, 17:34
where did you get it?
http://www.maplin.co.uk/Module.aspx?ModuleNo=33543&TabID=1&source=27&doy=search
says this part is discontinued
Cptnodegard
2007-12-27, 18:49
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
speculatrix
2007-12-27, 22:31
where did you get it?
http://www.maplin.co.uk/Module.aspx?ModuleNo=33543&TabID=1&source=27&doy=search
says this part is discontinued
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?
speculatrix
2007-12-27, 22:35
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
when I bought the sandisk adaptor there was a dearth of SDHC readers on the market, so it was as much by necessity, it also offered a specific slot for microSD cards so I could use it with the card from my Nokia phone; it wasn't too expensive.
but yes, I was a bit surprised it needed so much!
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.
speculatrix
2007-12-28, 12:24
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!
pixelseventy2
2007-12-28, 14:52
where did you get it?
http://www.maplin.co.uk/Module.aspx?ModuleNo=33543&TabID=1&source=27&doy=search
says this part is discontinued
That's cause maplin are thieving b*stards. If you go into the shop they only stock the stupid gold plated cables. A gold plated USB cable?? What, it's only going to transmit half a "1" or "0" if there's a bad connection. £5.99 for an F-F in my local maplins, or you could get the parts to DIY one for about £2.50 (but not as neat)
Nighthawk
2007-12-29, 15:16
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/wiki/index.php?title=HOWTO:_USB_Host_mode_on_the_N800_u sing_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
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
... and you also need to solder pins 4 and 5 of the N800 end of the cable together.
... 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
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
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?
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
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, (http://www.internettablettalk.com/forums/showpost.php?p=101098&postcount=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?
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, (http://www.internettablettalk.com/forums/showpost.php?p=101098&postcount=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
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!
speculatrix
2007-12-31, 22:56
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?
bluepolo
2008-01-01, 00:13
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!
I did create shell scripts and files for application entries to switch between host and otg modes. Details here:
http://www.internettablettalk.com/forums/showpost.php?p=119080&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...
speculatrix
2008-01-02, 12:43
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?
iamthewalrus
2008-01-02, 12:49
I did create shell scripts and files for application entries to switch between host and otg modes. Details here:
http://www.internettablettalk.com/forums/showpost.php?p=119080&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...
It would be even better if it is transparent to the user i.e. that the mode is automatically selected depending on what you plug into it, and that you can change the default behaviour via a settings->usb. Most users probably aren't interested in which 'mode' it is, as long as it works.
It would be even better if it is transparent to the user i.e. that the mode is automatically selected depending on what you plug into it, and that you can change the default behaviour via a settings->usb screen. Most users aren't interested in what 'mode' it is, as long as it works.
That's how it will work IF both devices are OTG compatible: They will negotiate with each others who will be the host and who the client. But with "legacy" USB devices a hard wired cable/adapter (pins 4 and 5 shorted together) needs to be used or change the mode with software.
Thmos John
2008-01-02, 14:10
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?
Mara's method of enabling Host and OTG modes is now in the Wiki (http://www.internettablettalk.com/wiki/index.php?title=HOWTO:_USB_Host_mode_on_the_N800_u sing_OS_2008). Enjoy!
I did create shell scripts and files for application entries to switch between host and otg modes. Details here:
http://www.internettablettalk.com/forums/showpost.php?p=119080&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...
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-USB-mini-adapter/dp/B000Y032X8/ref=pd_bbs_sr_2?ie=UTF8&s=wireless&qid=1199294987&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.
mplawner
2008-01-02, 18:15
I did create shell scripts and files for application entries to switch between host and otg modes. Details here:
http://www.internettablettalk.com/forums/showpost.php?p=119080&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...
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.
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.
Now that's a great idea! Why didn't I think about this before?
enbrewer
2008-01-03, 02:53
Texrat, I've got the same Motorola adapter and it works great on my n810 - whatever cables or adapters are working on the n800 will connect with the adapter into the n810. I haven't found an OTG cable yet, but I can manually switch to Host mode and read USB drives and such.
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.
I added this alternate method of accessing Host/Otg modes to the wiki (http://internettablettalk.com/wiki/index.php?title=HOWTO:_USB_Host_mode_on_the_N800_u sing_OS_2008).
I got myself an A to Mini-A cable (couldn't find a mini-B). The difference is that the bottom part is slightly thicker. When I get home, I'll file down the edges the little it needs and see if I can make it fit. The pinout should be the same.
Also, I am told that host mode freezes during device enumeration on the latest OS2008 - has anyone experienced (/solved) this?
Greyghost
2008-01-03, 16:41
I did create shell scripts and files for application entries to switch between host and otg modes.
I've been following this thread from the beginning, hoping to 'get my head around' the host/otg usb modes, and thanks to your clear and simple instructions, Mara, I was finally able to achieve this goal! In the words of HJS, "Woo Hoo!"
Thanks also to the many others who contributed to this thread by way of asking the very questions I was going to ask and finally to EIPI for putting up the step-by-step instructions on the wiki.
FYI, I was able to hook up directly to a long unused thumbdrive and as a bonus for my first little test, re-discovered a collection of 'old' pics and documents I'd meant to save and forgotten where I'd left them.
Next I hooked up my Sony DSC T100 and voila, it works, seamlessly! Even better, I was able to use Maemopicasa (thanks again TahitiBob) to load pics up to my web albums directly from the camera!!
I feel as if some of the hidden potential of the IT has finally been unlocked for me and I'm grateful to members of this forum for making that possible.:D
Cptnodegard
2008-01-03, 17:20
Got my N800 today, updated to OS2008 and the USB OTG cable i made with help from here worked 100%! Connected botha flash drive and a keyboard, both worked
madman999
2008-01-03, 21:07
got this working with a usb hub and a couple of memory sticks. works with a usb to ps2 keyboard changer too!
ps2 mouse doesn;t seem to work though.
making the cable actually seems easier than it sounded. after cannibalizing a USB extension cable to get the female end and a mini usb cable from, stripped away the ends of the male mini usb, shorted pins 4 and 5 and connected the wires 1-1, 2-2, 3-3 and 4-4.
the only odd thing is that the devices i plugged in, i got a message say that they weren;t supported but lo and behold, they showed up. any light on what those error messages mean?
just awesome!
the only odd thing is that the devices i plugged in, i got a message say that they weren;t supported but lo and behold, they showed up. any light on what those error messages mean?
The only "supported" device I have found so far is another N800... when I plug that into the first N800 it shows different message (don't remember now...) and I can browse the other N800 memory cards from the first N800... :rolleyes::cool:
My guess is that there is very limited number of device "profiles" built into the N800 kernel. If exact profile wasn't found it will say "Unsupported device".
EDIT: I just connected my 2 N800's together with USB cable and the Host N800 doesn't say anything. It just opens up the file manager to browse files.
madman999
2008-01-03, 21:34
so this is a totally harmless message? great!
this increases the usefulness of my N800. Now I don;t have to get an expensive SDHC card and have limitless storage!
alos, i don;t have launch any scripts as it seems to connect automatically. certainly a good reason to upgrade to OS2008.
Mara's method of enabling Host and OTG modes is now in the Wiki (http://www.internettablettalk.com/wiki/index.php?title=HOWTO:_USB_Host_mode_on_the_N800_u sing_OS_2008). Enjoy!
I just cleaned up the scripts and modifed the application names to more consistent... as well as added clear step by step instructions in my original post. I packed all four files into one single zip file too.
Funtionality is exactly the same as before, so you do not need to "upgrade". You can find the link into the post from the wiki page above.
vBulletin® v3.8.8, Copyright ©2000-2025, vBulletin Solutions, Inc.