Reply
Thread Tools
Posts: 21 | Thanked: 0 times | Joined on Oct 2007
#1
Hi!
i have a nokia 770
i tried to connect a usb keyboard @ like this schema



it was saying pc connected and i was able to see the holy usb icon

then i tried to connect a usb keyboard but i failed after it i searched for it @ web i did see some guys says "u have take u n770 to usb host mode on"

i downloaded the flasher utility
but I get the following error:
'Syntax error: "(" unexpected'
after i searched for it @ web
i have seen that
"Flasher has to be run from a separate Linux box!"
but when i do
echo host > /sys/devices/platform/tahvo-usb/otg_mode
n770 doesnt say it has been connected but it's light turns on ,
but it doesnt work too
when i execute "dmesg" cmd from xterm
sometimes i see usb connected ,sometimes no usb host controller, etc
i tried also
echo slave > /sys/devices/platform/tahvo-usb/otg_mode
too
but when i try 2 restart it gets default value to "peripheral"

i have no any linux pc but i have kubuntu 7.0 live cd
so my question is? what is wrong? configuration or the holy flasher && usb host ****?

or can anyone help me from msn messenger step by step ?

sorry about the bad english & picture

# Update:
" i know i connected a barcode reader beacuse my flexible usb keybord was @home but it should work too"

Last edited by ballotum; 2007-11-10 at 17:12.
 
Posts: 21 | Thanked: 0 times | Joined on Oct 2007
#2
Update: i setted it to host and r&d mode by ubunt's live cd but it doesnt work for now too
 
Posts: 6 | Thanked: 0 times | Joined on Nov 2007
#3
I also have an issue I am trying to settle with a USB keyboard on the 770. I hook the keyboard up okay and it works, Kinda.

If I run an editor like notes it does not respond at all to the letter keys. Pushing “Enter” causes the screen keyboard to toggle on and off. A few of the function keys do something like make the font bigger. It does work in Xterm OK except the screen keyboard still toggles on and off with “Enter”. I can get a new line by using CTRL-J (what a pain). I have looked all over for this issue and found nothing. Am I missing something obvious here?

Ballotum, have you tried the keyboard in Xterm? Thats about the only place mine works.
 
Posts: 21 | Thanked: 0 times | Joined on Oct 2007
#4
i think i was tried it @ xterm too i ll try again
i hooked a few keyboard but i could nt see their caps & num lock leds get turned on
but like me said @ barcode reader's lights turned on after i check a barcode they get closed
i tried a usb mp3 playeras storage driver and checked dmesg logs i have seen like it gotta worked but i could'nt find the driver path

another question ?
must i mount the keyboard when i plug it for it works regardly?
how can i do it?in
must i give 9 v to n770's usb input ? how can i do that easily ?
thanks
 
Posts: 6 | Thanked: 0 times | Joined on Nov 2007
#5
Actually you must inject 5 volts not 9 to the USB cable. Here is a little article about how to do it.

http://tabletblog.com/2006/01/usb-power-injector-2.html


you can make it a little bit simpler for testing by slicing open a USB cable and tapping in a 5 volt supply to the red and black wires.


I have read that some powered hubs back feed power up stream which solves the problem for you automatically. You may have one of these in which case no worrys.

The keyboard just works when you plug it in, if you are in host mode, no driver needed.

To mount a memory stick I first made an empty folder under Nokia 770 called mnt with file manager, then inside the mnt folder I made four more empty folders called disk 1, disk2, disk3 and disk4.
After you did that get to be root in xterm then the command to mount the memory stick to disk 1 is:

mount /dev/sda1 /home/user/MyDocs/mnt/disk1

Note that capitalization is critical “MyDocs” not “mydocs”.

You may have to close the file manager then reopen it to see your files but if it mounts you should be able to go to the mnt/disk1 folder and see your files.

To unmount use the command

umount /dev/sda1

note the command is “umount” not “unmount”.

I also have a memory card reader and for some reason it wants to mount as sdb1 so to mount it as disk2 I would use

mount /dev/sdb1 /home/user/MyDocs/mnt/disk2


BTW with this command you cannot write to the device, only read, except maybe as root from xterm. You have to add more options to the command if you want to write as user. I'm still working it out myself.

I think something like this will do it
mount umask=000 /dev/sda1 /home/user/MyDocs/mnt/disk1
but I haven't tried it yet.


Incidentally the file manager is almost worthless get midnight commander
learn to use it here.

http://www.chm.tu-dresden.de/edv/mc/mc4.5/manual1.html
I find splitting horizontal is the best for long file names
 
Posts: 6 | Thanked: 0 times | Joined on Nov 2007
#6
Quick update:

To mount writable this command works

mount -t vfat -o umask=000 /dev/sda1 /home/user/MyDocs/mnt/disk1

The one I mentioned above won't do it
 
Posts: 21 | Thanked: 0 times | Joined on Oct 2007
#7
yepp like me said i am lucky for i have a self powered usb hub
when i try connect it in perhipheral device says connected to pc and shows the usb icon
in host mode of course it connect again but no.usb icon when i plug mouse it's leds light but i cant get same result @ the keyboard ?
 
Posts: 6 | Thanked: 0 times | Joined on Nov 2007
#8
OK Your devices downstream from the hub get power as is shown by the light on the mouse coming on, but are you sure that 5 volts is being fed up the USB cable to the Nokia. Some hubs do it but many, perhaps most, do not since any other computer would provide it's own 5 volts. Do you have any way to measure the 5 volts?
 
Posts: 21 | Thanked: 0 times | Joined on Oct 2007
#9
u say the usb hub must feed 5 volts to nokia by router cable?
i don't think it does that beacuse it's designed for pc not for n770 usb power hack
but if i can find a usb a male cable which has two usb a male output and if i plug the 2nd head to usb hub's a input and get 5 volts may it work ?

sorry for bad english

Last edited by ballotum; 2007-11-17 at 09:36.
 
Posts: 21 | Thanked: 0 times | Joined on Oct 2007
#10
a update
my charger is 6 volts any problem ?
 
Reply

Thread Tools

 
Forum Jump


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