On Fri, Sep 28, 2012 at 12:49 AM, Olivier Fourdan <ofour...@redhat.com> wrote:
>  On Thu, Sep 27, 2012 at 1:56 PM, Ping Cheng<pingli...@gmail.com>  wrote:
>>>> >>  BTW, this code from [1] does not fit what I understood
>>>> >>
>>>> >>  +        *  - First ring (group 0) uses LED 0
>>>> >>  +        *  - Second ring (group 1) uses LED 1
>>>> >>  +        *  - First touchstrip (group 2) uses LED 1
>>>> >>  +        *  - Second touchstrip (group 3) uses LED 0
>>
>> I meant the four lines should read something like:
>>
>>   +        *  - First ring (group 0) uses LED 1
>>   +        *  - Second ring (group 1) uses LED 0
>>   +        *  - First touchstrip (group 2) uses LED 1
>>   +        *  - Second touchstrip (group 3) uses LED 0
>>
>> That is, no matter it is ring or touchstrip, the one in the first
>> group should use LED 1, the one in the second group uses LED 0. The
>> kernel driver is consistent in this sense.
>
> No, unfortunately not on Cintiq, that's precisely the problem,
> and the initial fix was to use something like:
>
> - First ring  => /sys/bus/usb/devices/.../wacom_led/status_led0_select
> - Second ring => /sys/bus/usb/devices/.../wacom_led/status_led1_select
> - First touchstrip  => /sys/bus/usb/devices/.../wacom_led/status_led0_select
> - Second touchstrip => /sys/bus/usb/devices/.../wacom_led/status_led1_select
>
> [That's what Ping said intially]

No, that was not my suggestion (initially, or clarified later). You
swapped my 0's and 1's ;). It should be:

 - First ring  => /sys/bus/usb/devices/.../wacom_led/status_led1_select
 - Second ring => /sys/bus/usb/devices/.../wacom_led/status_led0_select
 - First touchstrip  => /sys/bus/usb/devices/.../wacom_led/status_led1_select
 - Second touchstrip => /sys/bus/usb/devices/.../wacom_led/status_led0_select

That was why I said consistent. Glad we only have two states (0,1) and
one language. Otherwise... :-).

Ping

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to