NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/42566: Auvisio remote troubles.
>Number: 42566
>Category: kern
>Synopsis: Auvisio remote troubles.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 02 11:15:01 +0000 2010
>Originator: Demelier David
>Release: NetBSD-5
>Organization:
>Environment:
NetBSD Abricot.malikania.org 5.0_STABLE NetBSD 5.0_STABLE (Abricot 0.1) #3: Thu
Dec 31 12:06:28 CET 2009
root%Abricot.malikania.org@localhost:/usr/obj/sys/arch/i386/compile/Abricot i386
>Description:
I have a auvisio VRC-1100 Ro remote. It works as a keyboard/mouse device. But
there is some keys which are recognized as a uhidev device so we must use
usbhidaction to use them.
I checked the usbhidctl(1) manpage to see how it works, and I tried :
$ usbhidctl -f /dev/uhid0 -a
usbhidctl: USB_GET_REPORT(input) [probably not supported by device]:
Input/output error
Then, the dump works :
usbhidctl -f /dev/uhid0 -r
Report descriptor:
Collection page=Consumer usage=Consumer_Control
Input size=1 count=1 page=Consumer usage=0x00a5, logical range 0..1
Input size=1 count=1 page=Consumer usage=AC_Home, logical range 0..1
Input size=1 count=1 page=Consumer usage=AC_Back, logical range 0..1
Input size=1 count=1 page=Consumer usage=AC_Refresh, logical range 0..1
Input size=1 count=1 page=Consumer usage=Volume_Up, logical range 0..1
Input size=1 count=1 page=Consumer usage=AC_Search, logical range 0..1
Input size=1 count=1 page=Consumer usage=AC_Forward, logical range 0..1
Input size=1 count=1 page=Consumer usage=Scan_Previous_Track, logical range
0..1
Input size=1 count=1 page=Consumer usage=Mute, logical range 0..1
Input size=1 count=1 page=Consumer usage=Scan_Next_Track, logical range 0..1
Input size=1 count=1 page=Consumer usage=AL_Calculator, logical range 0..1
Input size=1 count=1 page=Consumer usage=AC_Bookmarks, logical range 0..1
Input size=1 count=1 page=Consumer usage=Volume_Down, logical range 0..1
Input size=1 count=1 page=Consumer usage=AL_Local_Machine_Browser, logical
range 0..1
Input size=1 count=1 page=Consumer usage=AL_Email_Reader, logical range 0..1
Input size=1 count=1 page=Consumer usage=AL_Consumer_Control_Configuration,
logical range 0..1
Input size=1 count=1 page=Consumer usage=Stop, logical range 0..1
Input size=1 count=1 page=Consumer usage=Pause/Play, logical range 0..1
Input size=1 count=1 page=Consumer usage=AL_Email_Reader, logical range 0..1
Input size=1 count=1 page=Consumer usage=AC_Stop, logical range 0..1
Input size=1 count=1 page=Consumer usage=Bass, logical range 0..1
Input size=1 count=1 page=Consumer usage=Loudness, logical range 0..1
Input size=1 count=1 page=Consumer usage=Treble, logical range 0..1
Input size=1 count=1 page=Consumer usage=Bass_Boost, logical range 0..1
End collection
Total input size 3 bytes
Total output size 0 bytes
Total feature size 0 bytes
So I tried a little configuration like that :
Consumer:Consumer_Control.Consumer:Volume_Up 1
echo "Volume up pressed"
Consumer:Consumer_Control.Consumer:Volume_Down 1
echo "Rolume down pressed"
Consumer:Consumer_Control.Consumer:AC_Home 1
echo "Home key pressed (run firefox)"
Consumer:Consumer_Control.Consumer:Pause/Play 1
echo "Play or pause pressed"
Consumer:Consumer_Control.Consumer:Scan_Next_Track 1
echo "Next track pressed"
Consumer:Consumer_Control.Consumer:Scan_Previous_Track 1
echo "Previous track pressed"
Consumer:Consumer_Control.Consumer:Stop 1
echo "Stop pressed"
Then, let's give a try
$ usbhidaction -f /dev/uhid0 -c usbhidaction.conf -d
The most keys works, but any keys also press volume up. Why ? don't know.
usbhidaction -f /dev/uhid0 -c usbhidaction.conf -d
Play or pause pressed
Play or pause pressed
Volume up pressed
Volume up pressed
Stop pressed
Stop pressed
Volume up pressed
Volume up pressed
Next track pressed
Next track pressed
Volume up pressed
Volume up pressed
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index