Help - Search - Members - Calendar
Full Version: External Keyboard Interface...
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
omega
Hi,

In the summer I intend to make an interface for a standard ps/2 keyboard to the zaurus via the serial port... I may also make it in the same box as a battery extender....

My question is this: is there an easy way to route ASCII characters from a serial port to the internal keyboard buffer? I.E. I will handle getting the keystrokes from the ps/2 via a microcontroller, it's just getting the information routed within the zaurus is what I need some insight into...

If it were possible to do the same with a ps/2 mouse, how easy would this be to incorporate into X? How easy would it be to connect a serial mouse to work in X on the zaurus, assuming I took care of voltage level conversion?
omega
Regarding the mouse. I feel that it would be possible to incorporate the circuitry inside the mouse itself and then just have a zaurus i/o port plug on the end... So how difficult would it be for x to work with a serial mouse?
sashz
QUOTE(omega @ Apr 26 2005, 06:39 AM)
Regarding the mouse. I feel that it would be possible to incorporate the circuitry inside the mouse itself and then just have a zaurus i/o port plug on the end... So how difficult would it be for x to work with a serial mouse?
*


edit startx for start X with arg -mouse /dev/ttyS0
sashz
QUOTE(omega @ Apr 26 2005, 06:38 AM)
My question is this: is there an easy way to route ASCII characters from a serial port to the internal keyboard buffer?  I.E. I will handle getting the keystrokes from the ps/2 via a microcontroller, it's just getting the information routed within the zaurus is what I need some insight into...


Your controller will connect or mouse or keyboard? Or possible use both (controller will use own protocol for transfer datas from keyboard and mouse via serial port)?
There 2 way - add custom driver into kernel, or add suport in XServer. Second way easy, but will work only in X11 environment.
omega
I presume "only work in X11" would include X11 terminal? I don't know how both would be connected to a single serial port... as you say I could implement my own protocol over the serial link... I will look into it in the summer (starting mid-June) and get back to you then if I need more info. By the sounds of it, I will look at the serial mouse first!
sashz
QUOTE(omega @ Apr 27 2005, 03:21 AM)
I presume "only work in X11" would include X11 terminal?  I don't know how both would be connected to a single serial port... as you say I could implement my own protocol over the serial link...  I will look into it in the summer (starting mid-June) and get back to you then if I need more info.  By the sounds of it, I will look at the serial mouse first!
*

ofcourse, in all X applications smile.gif

both to single - multiplexing 2 serial streams to one stream in MCU, and demultiplexing it in kernel driver or XServer input methods
DaMightyWhightyMan
I'd pay money for a serial keyboard that'd work with my Z : )
omega
I'm still finishing off some other work, but it's on my list! I have seen some roll-up rubber keyboards on ebay that would be very handy!
adf
QUOTE(omega @ Jun 13 2005, 09:04 AM)
I'm still finishing off some other work, but it's on my list!  I have seen some roll-up rubber keyboards on ebay that would be very handy!
*

I have one. they are kinda cheesy--but work. the more expensive nema keyboards a re nicer rollups.

I would REALLY love to have my belkin ir keyboard working on my 6k w/pdaxrom.

can it be arranged?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.