Dnia 2012-02-23, czw o godzinie 21:19 -0600, Chris Bagwell pisze:
> On Wed, Feb 22, 2012 at 3:21 PM, Przemo Firszt <prz...@firszt.eu> wrote:
> [..]

>            __set_bit(ABS_MISC, input->absbit);
> 
> So in your copy, it is already setting MSC_SERIAL bit, you've added
> code to send it, and xf86-input-wacom is still forcing it to a value
> of 1?

Yes, that what was happening. See this (wcmUSB.c):
        if (common->wcmProtocolLevel == WCM_PROTOCOL_GENERIC)
        {
                /* Generic Protocol devices do not use any form of
                 * serial #'s to multiplex events over a single input
                 * and so can always map to channel 0.  This means
                 * only 1 tool can ever been in proximity at one time
                 * (MT events are special case handled elsewhere).
                 * It also means all buttons must be associated with
                 * a single tool and can not send tablet buttons
                 * as part of a pad tool.
                 */
                channel = 0;
                serial = 1;

                /* Generic devices need to map stylus buttons to
"channel"
                 * and all other button presses to PAD.  Hardcode PAD
                 * channel here.
                 */
                private->wcmBTNChannel = PAD_CHANNEL;
        }

> Hmm, I don't see in xf86-input-wacom code why thats happening.  Oh well.
> 
> I'm sure you want ABS_MISC to send device ID so it integrates with new
> gnome-settings-daemon stuff anyways so I guess its not worth looking
> into.
> 
> For both patches:
> 
> Reviewed-by: Chris Bagwell <ch...@cnpbagwell.com>
Thanks, I submit them to Jiri.
-- 
Regards,
Przemo 


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to