A Method to Detect Keyboard Model

Milosz Derezynski internalerror at gmail.com
Wed Apr 23 12:05:41 PDT 2008


I don't know what the issue is but my keyboard was already properly detected
with all multimedia keys, etc;  maybe it's just an issue of missing quirks?

2008/4/23 Daniel Qarras <dqarras at yahoo.com>:

> Hi!
>
> --- Daniel Qarras <dqarras at yahoo.com> wrote:
>
> > Especially some configuration tools for distributions write
> > configuration files with keyboard model information. E.g., xorg.conf
> > may contain:
> >
> >         Option      "XkbModel" "pc105"
> >
> > However, for many laptops "pc105" is not optimal as there are vendor
> > specific keymaps available with support for special keys, e.g.,
> > "acer_laptop", "asus_laptop".
> >
> > Do you think that a configuration tool should use HAL to determine
> > the optimal keyboard model? If so, is it already possible somehow?
>
> I'm just speculating but when inspecting output from lshal I see:
>
>  system.formfactor = 'laptop'  (string)
>
> Perhaps that could be checked and if formfactor is "laptop", then
> checking for available vendor keymaps should be easy, e.g., Acer is in
> numerous entries:
>
>  system.hardware.vendor = 'Acer, inc.'  (string)
>
> Cheers!
>
>
>
>
>
>  ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20080423/a566f78f/attachment.html 


More information about the hal mailing list