Keymap Quirk Report: Samsung NC20
Danny Kukawka
danny.kukawka at web.de
Fri Aug 7 02:00:41 PDT 2009
On Dienstag, 4. August 2009, Dirk Thierbach wrote:
> The Samsung NC20 laptop has keyboard quirks similar to the NC10; by
> inserting "NC20" in the match in 30-keymap-misc.fdi as follows
>
> <match
> key="/org/freedesktop/Hal/devices/computer:system.hardware.product"
> contains_outof="NC10;NC20;SP55S;SQ45S70S;SX60P;SX30S;R59P/R60P/R61P;Q210;Q3
>10;X05">
Commited. See:
http://cgit.freedesktop.org/~dkukawka/hal-info/commit/?id=d38397e62bce037acb788760f6befca7039a6614
[...]
> Questions:
>
> 1) Which application programs intercept these keycodes and are used to
> actually control backlight, volume etc.? I'm using neither Gnome nor
> KDE, but just fvwm2 with any applications I need, so I suspect I have
> to write one myself? Or can I re-use an existing one?
I don't know which tools fvwm2 offers for this, but under KDE you can e.g. use
KPowersave or under Gnome: gnome-power-manager.
> 2) I noticed there are scripts in hal to for example get or set lcd
> brightness (though not to directly increase or decrease them). How are
> these scripts supposed to be executed?
You can't execute them directly. There are supposed to be executed by HAL
itself. You can trigger them via the existing DBus interfaces.
> 3) If I have to write my own application(s) to control backlight, volume,
> video switching and wlan rfkill, what's the recommended portable way to do
> so? Use hal to call somehow the above scripts? Add more custom scripts?
check:
http://people.freedesktop.org/~dkukawka/hal-spec-git/hal-spec.html#interfaces
Danny
More information about the hal
mailing list