Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Oct 2006
#1
Hi

I have a Nokia 770 with OS 2006 and try to use a usb thumb stick on it. I have made a USB Power Injector (it *should* work), so the power is not the problem. I also tried to put the nokia to the host mode with:
echo host > /sys/devices/platform/tahvo-usb/otg_mode
/etc/init.d/ke-recv restart
but the output of the dmesg is:
[248.775970] Selected HOST mode: no host controller, powering off
and no device under /dev/sdXY apears...
has anyone an idea what the problem is? I never flashed my nokia. Is this the problem?

When I connect and disconnect the usb cable, dmesg shows the disconnect or connect message, but no more.

I read many threads in this forum and others, but I did't found a solution...

Thx, in advance.
 
Posts: 72 | Thanked: 8 times | Joined on Oct 2006
#2
Hi,

similar problem here.

My N770 has OS2006.
I bought the Brando USB keyboard,
a powered USB hub, and a USB Y-cable as 'power injector'.

I installed X-Term and BecomeRoot,
entered :
sudo su -
then:
echo host > /sys/devices/platform/tahvo-usb/otg_mode
then :
/etc/init.d/ke-recv restart
then :
dmesg

and only got a long list of messages, one of the latest saying:

Selected HOST mode: no host controller, powering off

What went wong?

I already searched the forum and maemo.org for a solution,
but so far I've been unable to switch the 770 to host mode.



Thanks for reading

Ray
 
Posts: 125 | Thanked: 1 time | Joined on Aug 2006
#3
you need to load the host mode drivers
 
quingu's Avatar
Posts: 271 | Thanked: 124 times | Joined on May 2006 @ Aperture Science, Inc.
#4
same problem here, i just finished soldering!

i tried it with cables and adapters and a gender changer, it didnt work so i thought id done sth wrong and manually soldered a mini usb cable to the hub. same thing here: "Selected HOST mode: no host controller, powering off".


/edit where the heck do we get and load that driver??
 
Posts: 72 | Thanked: 8 times | Joined on Oct 2006
#5
Thanks for your reply.

But how can this be done?
 
Posts: 209 | Thanked: 8 times | Joined on Nov 2005 @ Fishers, Indiana
#6
For whatever reason switching to host mode after booting in slave mode does not work. Something about the way it's initialized during the bootup sequence. You need to use the flasher to set host mode and then switch back to slave mode as needed (using the echo slave > /sys/devices/platform/tahvo-usb/otg_mode command). Then plugging in a USB keyboard, USB key, etc. will just work although you will need to mount any storage you plug in. I've gone as far as plugging in a USB 10/100 network adapter which worked fine after compiling the kernel module for it and ifconfig'ing it.

Host mode is just not very well supported in general since they don't include most of the USB drivers for devices and everything is manual as far as configuration. Some motivated person needs to port over hotplug or some such utility to automate the configuration of devices.


Larry
 
Posts: 72 | Thanked: 8 times | Joined on Oct 2006
#7
Is it possible using Windows PC to enable USB host mode on the 770 (I don't have have a Linux PC) ?

And does every shutdown of the 770 reset it to slave mode?


Ray
 
quingu's Avatar
Posts: 271 | Thanked: 124 times | Joined on May 2006 @ Aperture Science, Inc.
#8
ray, you can dload DS Linux here. its 50mb. burn it on cd, put the cd in and reboot - voila, no need to install. http://www.damnsmalllinux.org/download.html
 
quingu's Avatar
Posts: 271 | Thanked: 124 times | Joined on May 2006 @ Aperture Science, Inc.
#9
i cant believe it, its working! great!
 
Posts: 125 | Thanked: 1 time | Joined on Aug 2006
#10
The little guy needs the gadget driver, scsi etc to get the host mode working when doing the echo technique. I don't have the little guy in front of me right now but I'll try to post the order asap
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:31.