[ohm] Some thoughts on OHM

Koen Kooi koen at dominion.kabel.utwente.nl
Wed Feb 28 09:36:17 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Hughes schreef:

>> 3. The devices touchscreen matrix is bigger than the actual LCD and
>> there are some "softkeys" marked. These act as buttons when pressed with
>> the stylus.
> 
> Hmm. How do you squirt these into the input system?

Via the uinput kernel module.

>> * tskeys is a generic program that supports softkeys on a touchscreen.
>> It injects events back into the kernel so no specific userspace changes
>> are needed to handle them, you just have to run the daemon with an
>> appropriate config file.
> 
> So you squirt them using evdev back into the kernel?

Via the uinput kernel module, as said above :)


>> * ALSA mixer setup was dealt with. Scripts are there to support the
>> different modes (headset, heaphone, mic, speaker) and there is a
>> callback which could launch a UI to ask the user what was plugged in.
>> The actual UI part hasn't been written.
>>
>> * The hinge switches are processed and adjust the device depending on
>> the position of the screen, enabling/disabling the onscreen keyboard as
>> appropriate. Closing the lid suspends the device which isn't ideal but
>> better than nothing.
> 
> Yes, we have lid position already in HAL for laptops.

The trouble is that the lid can swivel as well, so 'closed' is a bit confusing. IIRC you
can detect the difference on the zaurus.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF5b2RMkyGM64RGpERAvbmAKC8y5MunrrVcUTqOTfP1M5JxNzdvgCfYRio
EYc5IAtGvE8RxYt3N8XberE=
=mufu
-----END PGP SIGNATURE-----


More information about the Ohm-devel mailing list