maemo.org - Talk

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

DeeJay_XB 2007-12-12 15:46

Re: N800 USB Host Mode Experiment
 
@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!

gsagers 2007-12-12 15:52

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by pixelseventy2 (Post 107608)
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.

BOFH 2007-12-12 15:53

Re: N800 USB Host Mode Experiment
 
Anybody looking for Tech details on OTG ;

http://media.maxim-ic.com/images/app.../1822Fig01.gif

http://www.maxim-ic.com/appnotes.cfm...e_number/1822/

endzeit 2007-12-12 16:04

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by petergunn (Post 107499)
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 2007-12-12 16:52

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by DeeJay_XB (Post 107723)
@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.

skinny 2007-12-12 16:57

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by dan67sf (Post 107719)
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

Re: N800 USB Host Mode Experiment
 
any ideea how to make usb mouse to work?!?!

gsagers 2007-12-12 17:40

Re: N800 USB Host Mode Experiment
 
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

Re: N800 USB Host Mode Experiment
 
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/mistra....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.

gsagers 2007-12-12 20:25

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by TheGogmagog (Post 107859)
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.:)


All times are GMT. The time now is 17:35.

vBulletin® Version 3.8.8