On 31/01/15(Sat) 15:18, Benjamin Baier wrote:
> On Sat, 31 Jan 2015 12:43:03 +0100
> Martin Pieuchot <mpieuc...@nolizard.org> wrote:
> 
> > On 18/01/15(Sun) 17:39, Benjamin Baier wrote:
> > > 
> > > usbhidaction(1) still works fine with these changes.
> > > as for my stock usbhidctl(1) it now shows
> > > $ usbhidctl -f /dev/uhid1 -l 
> > > Volume_Decrement=1
> > > usbhidctl: Excessive collection ends
> > 
> > Here's a diff for libusbhid that should fix that.  Could you give it a
> > go?
> 
> Yes, works for me. Loops as expected.
> $ usbhidctl -f /dev/uhid1 -l -vvv 
> report ID=2
> Consumer:Consumer_Control.Consumer:Unassigned=1
> 
> Consumer:Consumer_Control.Consumer:Mute=1
> 
> Consumer:Consumer_Control.Consumer:Unassigned=1
> 
> Consumer:Consumer_Control.Consumer:Volume_Decrement=1
> 
> Consumer:Consumer_Control.Consumer:Unassigned=1
> 
> Consumer:Consumer_Control.Consumer:Volume_Decrement=1
> 
> Consumer:Consumer_Control.Consumer:Unassigned=1
> 
> Consumer:Consumer_Control.Consumer:Volume_Decrement=1
> 
> Consumer:Consumer_Control.Consumer:Unassigned=1
> 
> 
> 
> One Question, why is there an extra newline?

Because it has been written like that 8)

In the output below it makes things easier to understand because each
event prints 3 lines:

$ usbhidctl -f /dev/uhid0 -l 

System_Control.System_Power_Down=0
System_Control.System_Sleep=1
System_Control.System_Wake_Up=0

System_Control.System_Power_Down=0
System_Control.System_Sleep=0
System_Control.System_Wake_Up=0

System_Control.System_Power_Down=0
System_Control.System_Sleep=1
System_Control.System_Wake_Up=0

System_Control.System_Power_Down=0
System_Control.System_Sleep=0
System_Control.System_Wake_Up=0

Reply via email to