NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problem with multimedia keys with a remote.
On Tue, 25 Aug 2009 18:53:31 -0400, "Steven M. Bellovin"
<smb%cs.columbia.edu@localhost> wrote:
> On Wed, 26 Aug 2009 00:45:08 +0200
> Demelier David <markand%malikania.org@localhost> wrote:
>
>> Hi netbsd-users@
>>
>> I just bought a new brand remote, it works like a keyboard/mouse and
>> the remote sends code like keys `f, b Return, Space' and others.
>> There is also multimedia keys which normally are recognized as
>> NoSymbol with a number code like `160, 144, 153'. I tested this
>> remote with Linux on my laptop and xev did recognize these multimedia
>> keys but NetBSD doesn't. It seems it doesn't receive anything at all,
>> xev is quit when playing with these multimedias keys.
>>
>> This is the attachment of the device:
>>
>> uhidev0 at uhub0 port 1 configuration 1 interface 0
>> uhidev0: vendor 0x05a4 product 0x9881, rev 1.10/1.10, addr 2, iclass
>> 3/1 ukbd0 at uhidev0
>> wskbd1 at ukbd0 mux 1
>> wskbd1: connecting to wsdisplay0
>> uhidev1 at uhub0 port 1 configuration 1 interface 1
>> uhidev1: vendor 0x05a4 product 0x9881, rev 1.10/1.10, addr 2, iclass
>> 3/0 uhidev1: 3 report ids
>> ums0 at uhidev1 reportid 1: 5 buttons and Z dir.
>> wsmouse1 at ums0 mux 0
>> uhid0 at uhidev1 reportid 2: input=3, output=0, feature=0
>> uhid1 at uhidev1 reportid 3: input=1, output=0, feature=0
>>
>> Now, I wanted to know if we can do anything to solve this trouble ?
>>
> If it's showing up as (partly) uhidev, you might need usbhidaction(1) to
> recognize the keystrokes. Here's an (old) .hidconf file I used to use,
> when I had a keyboard with such buttons:
>
> Consumer:Consumer_Control.Consumer:Volume_Up 1
> mixerctl -n -w outputs.master++
> Consumer:Consumer_Control.Consumer:Volume_Down 1
> mixerctl -n -w outputs.master--
> Consumer:Consumer_Control.Consumer:Mute 1
> /home/smb/bin/domute
> Consumer:Consumer_Control.Consumer:AC_Home 1
> rfirefox about:blank &
> Consumer:Consumer_Control.Consumer:AC_Search 1
> rfirefox http://www.google.com &
> Consumer:Consumer_Control.Consumer:AL_Calculator 1
> xterm -e bc &
> Consumer:Consumer_Control.Consumer:AL_Email_Reader 1
> composemail
>
>
>
> --Steve Bellovin, http://www.cs.columbia.edu/~smb
It seems that the remote isn't supported by NetBSD,
[markand@Mangue][~] % usbhidctl -f /dev/uhid0 -a
usbhidctl: /dev/uhid0: Device busy
[markand@Mangue][~] % usbhidctl -f /dev/uhid1 -a
usbhidctl: USB_GET_REPORT(input) [probably not supported by device]:
Input/output error
Home |
Main Index |
Thread Index |
Old Index