Reply
Thread Tools
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#71
Originally Posted by LurkerN View Post
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/documen...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/fo...312#post101312
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following 2 Users Say Thank You to fanoush For This Useful Post:
dormant's Avatar
Posts: 332 | Thanked: 76 times | Joined on Oct 2007 @ St. Augustine, Trinidad and Tobago
#72
Originally Posted by bexley View Post
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 - 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.
__________________
  • N900
  • N800
  • LD-3W
  • two magic OTG USB adapters
  • crossed fingers
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#73
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?

Last edited by penguinbait; 2007-11-29 at 16:32.
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#74
Originally Posted by fanoush View Post
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. Thank you.
 

The Following User Says Thank You to sjgadsby For This Useful Post:
heavyt's Avatar
Posts: 708 | Thanked: 125 times | Joined on Jan 2007 @ Too Close To D.C
#75
Originally Posted by sjgadsby View Post
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. Thank you.
Got my vote.
 
Posts: 437 | Thanked: 90 times | Joined on Nov 2006
#76
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/...e-21/ref=nosim

Last edited by convulted; 2007-11-29 at 22:07.
 

The Following 3 Users Say Thank You to convulted For This Useful Post:
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#77
Originally Posted by convulted View Post
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's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#78
Here is how to make the CDROM work

http://www.internettablettalk.com/fo...1&goto=newpost
 

The Following User Says Thank You to penguinbait For This Useful Post:
Posts: 90 | Thanked: 6 times | Joined on Nov 2007
#79
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.
 
Posts: 84 | Thanked: 16 times | Joined on Nov 2007 @ Marietta, GA, USA--Pombal, Portugal
#80
Originally Posted by Beni View Post
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, 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.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:53.