Poll

Which method for handling IR keyboards would you prefer to see in pdaXrom?

Kbdd method (kernel level)
11 (100%)
Xvkbd method (X11 only)
0 (0%)

Total Members Voted: 11

Author Topic: Best Way To Handle Ir Keyboards In Pdaxrom  (Read 4886 times)

kopsis

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • http://kopsisengineering.com
Best Way To Handle Ir Keyboards In Pdaxrom
« on: October 06, 2005, 12:45:55 pm »
If I'm to stay with pdaXrom, it absolutely must let me use my Belkin IR keyboard with my C760! So I recently hacked up pdaXrom's virtual keyboard applet (Xvkbd) to give me that capability. It worked surprisingly well and got me through a business trip, but it isn't the perfect solution. The weaknesses of the Xvkbd approach are:

* Only works in X (doesn't work in console mode before you "startx" or after you exit X11).
* Has some performance issues (pegs CPU usage at 100% and is still sluggish in some apps).
* Not easy to add support for different IR keyboard types.

Since my return I've been looking at "kbdd" from Handhelds.org which is a user space keyboard driver that sends keystrokes directly to the Linux kernel. It was designed for the iPaq (which has no built in keyboard) so it will take some work to adapt it to the Zaurus. It addresses all three of the Xvkbd issues above, but it does introduces a couple new ones:

* No GUI app to activate/control the driver (easy enough to create but don't expect it in my first release).
* Built-in Zaurus keyboard won't work right when IR KB driver is running (this is the biggest issue).

My initial thinking is that despite those limitations Kbdd is still the right approach, but I'd like to get feedback from other IR keyboard users before I spend a bunch of time coding up my solution. I'd like my work to benefit the pdaXrom community so if you're an IR keyboard user and one approach or the other would result in something you couldn't use, here's your chance to let me know

Also, if you'd like to see support for a particular IR keyboard, feel free to reply with make and model. No guarantees, but I'll do what I can (short of buying new keyboards).

chiark

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://www.chiark.com
Best Way To Handle Ir Keyboards In Pdaxrom
« Reply #1 on: October 06, 2005, 03:38:08 pm »
I know only a little, so don't really know if it's valuable to give you my opinion, but all the same you're getting it

I'd go for the kernel-style approach.  Having just today bought a pocketop keyboard on ebay for the 760 then I'd definitely be interested in seeing the results, and helping if I can...

DaMightyWhightyMan

  • Newbie
  • *
  • Posts: 49
    • View Profile
Best Way To Handle Ir Keyboards In Pdaxrom
« Reply #2 on: October 06, 2005, 04:35:24 pm »
first off I'd like to say i love you.  2nd I'll buy whatever keyboard you currently have working if you tell me the model number.  can't wait till first release.

mars

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Best Way To Handle Ir Keyboards In Pdaxrom
« Reply #3 on: October 06, 2005, 07:06:29 pm »
I would vote for kernel level and would be willing to make a donation to you to help incentivize you.

As far as as keyboard mapping, I think Guyhelm did some kernel stuff to get his 6000 keyboard and bluetooth keyboards working at the same time for his ROM. I don't know if that is related to the issue you cite.
C-3100 (reaquainting myself with Cacko) / Nokia 810 / Nokia N800 / Asus eeePC
Previously owned: SL-5500 / SL-5600 / SL-6000L / C-860 / Nokia 770 / Pepperpad 3

sds

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Best Way To Handle Ir Keyboards In Pdaxrom
« Reply #4 on: October 06, 2005, 07:07:39 pm »
I voted the kernel approach as this is the more powerfull one, albeit maybe not the one most fancy and pretty from end-user standpoint.

I donated today to the pdaXrom a Pocketop keyboard to test the inclusion of the needed kernel modules and I'll donate some $$ toward this project as soon as I see they decide to get to work on that.

As I am touch typing code an external keyboard is a must. I have also a Belkin F8U1500 and a Targus PA870 keyboards which are of inferior build quality than the Pocketop, but better suited for longer typing.
C3100 pdaXrom

willgan

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
Best Way To Handle Ir Keyboards In Pdaxrom
« Reply #5 on: October 06, 2005, 08:33:07 pm »
I vote for the kernel approach.. since it should perform much better than an application running in background...
My Current Z...

Zaurus C1000 - Pdaxii13
Using Pdaxrom-builder (SVN) for building packages

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Best Way To Handle Ir Keyboards In Pdaxrom
« Reply #6 on: October 07, 2005, 01:42:44 am »
First, thanks! this is much appreciated.

It really seems that the kernel method makes more sense, and should have wider applicability.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

kopsis

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • http://kopsisengineering.com
Best Way To Handle Ir Keyboards In Pdaxrom
« Reply #7 on: October 07, 2005, 08:43:33 pm »
Looks like we have consensus that the kernel driver kbdd (kernel driver) path is the way to go so I've been digging into it. It has turned out to be much more challenging than I originally expected, but I'm making progress and if my latest idea works, the result will be better than I originally expected (the IR keyboard will not conflict with the Zaurus' built-in keyboard).

I'm posting detailed progress reports in my blog for those that would like to follow the development.

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Best Way To Handle Ir Keyboards In Pdaxrom
« Reply #8 on: October 08, 2005, 05:32:58 pm »
kopsis please get in contact with me on laze@pdaxrom.org - we wan't you on the developer team :-)
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.