On Tuesday 29 July 2008, Carsten Haitzler wrote: > On Fri, 25 Jul 2008 10:12:08 +0100 Al Johnson > <[EMAIL PROTECTED]> babbled: > > ok. now in illume svn there is code to confiugre what keyboard you want > (illume's, none at all (which means if qpe provides one that will be used), > or some other one. other keyboards must install a .desktop file with a > category of "Keyboard" in the categories list). > > anyway... in addition there is code to talk to hal and query for kbd > devices and listen to hal device adds/dels, and i have a primitive glob > matcher that allows a list of globs (currently hard-coded - probably will > move to a file) that are globs for identifying "existing keyboards to > ignore" when figuring out of a "real keyboard" has been plugged in and thus > needs the virtual kbd to be disabled. if a real kbd is plugged in i added > disable code to the > virtual keyboard handler... that SHOULD work. completely untested. it > compiles.. it runs and doesn't segv... i have no "real" keyboatd to play > with right now.
Sounds good. I'll have to get dual boot going before testing. Will this get into a nightly build or will I need to build it myself? > > On Friday 25 July 2008, Carsten Haitzler wrote: > > > > What about checking hal at startup (then subsequently monitoring > > > > hal events) to see if a device with "input.keyboard" in its > > > > "info.capabilities" list exists or is added/removed? > > > > > > > > I'm planning on getting a USB keyboard (a frogpad) to use with my > > > > Freerunner, so might be willing to have a play around with getting > > > > this sort of thing to work (time permitting). > > > > > > i guess hal could be he go... need to check. not sure what all the > > > keyboards will turn up as... or if there is aleady one faked... not > > > sure. need to look into it... when i get to it :) > > > > Without keyboard: > > [EMAIL PROTECTED]:~# hal-find-by-capability --capability input.keyboard > > /org/freedesktop/Hal/devices/platform_s3c2440_i2c_logicaldev_input > > /org/freedesktop/Hal/devices/platform_neo1973_button_0_logicaldev_input > > > > After connecting the bluetooth keyboard (hidd --search) I get: > > [EMAIL PROTECTED]:~# hal-find-by-capability --capability input.keyboard > > /org/freedesktop/Hal/devices/usb_device_a12_1_noserial_if0_bluetooth_hci_ > >bluetooth_hci_logicaldev_input > > /org/freedesktop/Hal/devices/platform_s3c2440_i2c_logicaldev_input > > /org/freedesktop/Hal/devices/platform_neo1973_button_0_logicaldev_input > > > > After disconnecting bt kbd (hidd --killall) it reverts to the first > > result. > > > > I haven't made a USB adaptor for host mode yet so no USB keyboard > > results. > > > > _______________________________________________ > > Openmoko community mailing list > > [email protected] > > http://lists.openmoko.org/mailman/listinfo/community _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

