Re: [PATCH] hid: usbhid: add quirk for SB arena headset v2

From: Jiri Kosina
Date: Tue Nov 06 2012 - 06:14:38 EST


On Mon, 5 Nov 2012, Chris J Arges wrote:

> >> When an SB Arena USB headset is plugged in, it registers the volume
> >> keys on the headset as a keyboard and continually sends events causing
> >> issues with normal keyboard input. This quirk disables the volume keys.
> >
> > I don't know how the device looks like, but wouldn't it make more sense to
> > actually remap the bogus keys it's sending to produce KEY_VOLUMEUP and
> > KEY_VOLUMEDOWN?
> >
>
> Yes, if I can track this hardware down or get data I'll fix it like
> this. This happened to be a do-no harm fix for the following bug:
> https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1007575

You should be able to obtain it easily either by running evtest on
corresponding /dev/input/eventX node, or by looking into debugfs
hid/<device>/events file.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/