Hi Peter,

On Fri, Nov 26, 2010 at 02:54:39PM +1100, Peter Jeremy wrote:
> [adding kaiw@ as per the wiki page]
> On 2010-Nov-25 09:38:15 +0100, Hans Petter Selasky <hsela...@c2i.net> wrote:
> >On Thursday 25 November 2010 04:42:30 Peter Jeremy wrote:
> >> I have a Dell SK-8135 keyboard which has multimedia keys in addition
> ...
> >http://wiki.freebsd.org/uhidd
> Thanks.  I didn't think to search for multimedia keyboards in general.
> I've tried uhidd and, using it to manage the multimedia keys, it
> mostly works.  I want to use ukbd because I want a functioning
> keyboard in single-user mode and my mouse didn't get cleanly handled
> so I switched back to ums (which handles all my mouse functions).
> The bit that doesn't work is the volume control:  The knob returns
> a HID code and a 7-bit 2-complement number defining the direction
> and rate (ie '1' is one click up, '127' is one click down).
> Unfortunately, xev shows that as soon as I move the volume control,
> I start receiving a continuous stream of alternating KeyPress and
> KeyRelease events until I kill uhidd.

Some time ago, We added support for this SK-8135 keyboard's linear
volume control by simulating VOLUME_UP and VOLUME_DOWN events. However
the code is not released yet; if you want to test it, you can check
out the source from our svn:

% svn checkout http://uhidd.googlecode.com/svn/trunk/ uhidd
% cd uhidd/uhidd
% make
# ./uhidd -vvv /.../ugenXXX

Also you need to change the configuration file:

> # Dell SK-8135
> 0x413c:0x2010={
>       cc_keymap={
>               Scan_Next_Track="0x7A"
>               Scan_Previous_Track="0x75"
>               Stop="0x74"
>               Play/Pause="0x7C"
>               Volume="0x64"

Remove "Volume" and use "Volume_Increment" and "Volume_Decrement" here

freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to