maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Use N900 as hardware usb keyboard? (https://talk.maemo.org/showthread.php?t=63541)

KPAH 2010-10-08 15:20

Use N900 as hardware usb keyboard?
 
Hi.

I have a neat computer connected to my TV and use a bluetooth keyaboard-mouse to operate it. It works neat, but has two serious drawbacks:

- you can't use a BT keyboard in BIOS
- you have to use a non-BT mouse or keyboard to initiate pairing

These are quite rare operations and I don't want to garbage my home with devices used once a year.

Is there a way to get N900 recognized as a h/w wired USB keyboard?

Matan 2010-10-08 15:47

Re: Use N900 as hardware usb keyboard?
 
http://hid-gadgetfs.sourceforge.net/

Note that neither default kernel nor kernel-power are compiled with gadgetfs, so you'll need to compile your own module.

kureyon 2010-10-08 16:14

Re: Use N900 as hardware usb keyboard?
 
1 Attachment(s)
Use a wireless keyboard/mouse with a USB dongle (as opposed to PS/2 dongle). Works with any vaguely new computer even at BIOS - no drivers needed.

I got one of these for my XBMC box, it's small (15 x 6 x 1cm), has backlit keys and a touchpad. Plus it's got multimedia keys.

Attachment 14526

lonk 2013-10-12 17:10

Re: Use N900 as hardware usb keyboard?
 
Quote:

Originally Posted by Matan (Post 836511)
http://hid-gadgetfs.sourceforge.net/

Note that neither default kernel nor kernel-power are compiled with gadgetfs, so you'll need to compile your own module.

there doesn't seem to be any files in there?

I'm trying to use the n900 as a usb keyboard for the raspberry pi

pichlo 2013-10-12 19:38

Re: Use N900 as hardware usb keyboard?
 
Wireless keyboards/mice such as that kureyon mentioned work in BIOS etc because the dongle acts like a USB cable to the host. It doesn't know that the keyboard is actually wireless.

I second that idea: get one of those for your TV.

Sohil876 2013-10-13 06:31

Re: Use N900 as hardware usb keyboard?
 
1 Attachment(s)
Quote:

Originally Posted by lonk (Post 1380215)
there doesn't seem to be any files in there?

I'm trying to use the n900 as a usb keyboard for the raspberry pi

Here is latest snapshot from their git repo.

lonk 2013-10-13 12:03

Re: Use N900 as hardware usb keyboard?
 
Quote:

Originally Posted by Sohil876 (Post 1380296)
Here is latest snapshot from their git repo.

thanks!

I extracted it and did make and make install on the keyboard directory, a file gadgetfs-test got installed, but I'm not sure where to go from there?

I get this when I type gadgetfs-test

Code:

Nokia-N900:~# gadgetfs-test
can't chdir /dev/gadget: No such file or directory

Nokia-N900:~# mkdir /dev/gadget
Nokia-N900:~# gadgetfs-test
?? don't recognize device: No such file or directory


Sohil876 2013-10-13 20:34

Re: Use N900 as hardware usb keyboard?
 
I dont think its going to be as easy as just make and make install, those are obiviously kernel modules so afaik needs some things from kernel sources and changes to make file in order to build correctly, you should better ask kernel guys for help on this.


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

vBulletin® Version 3.8.8