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)

L0cutus 2007-11-28 06:45

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

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

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by miind (Post 101209)
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

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

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by convulted (Post 101323)
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

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

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by penguinbait (Post 101332)
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

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by convulted (Post 101337)
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, 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

Re: N800 USB Host Mode Experiment
 
Quote:

Originally Posted by L0cutus (Post 101228)
we need some photos ! :)

Umm, okay. Here's my N800 connected to a keyboard. For what are you looking, specifically?

EDIT: And here's my N800 connected to my digital camera. Upon connection, the N800 opened the File Manager automatically, and I could access files on the camera's SmartMedia card.

Mara 2007-11-28 14:03

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


All times are GMT. The time now is 20:03.

vBulletin® Version 3.8.8