The kernel patch looks fine to me.

I will add pad to .fdi to the next dash release of linuxwacom - hold
on, which X server version are you running with your bluetooth tablet?
 If you are running xf86-input-wacom, you don't need those extra
="wacom.types".  We are taking care of those types for end users in
xf86-input-wacom now.  Once you have BTN_TOOL_FINGER set in the
kernel, you are all set for the driver.

Ping

2009/12/23 Przemysław Firszt <[email protected]>:
> Hi,
> Can you tell me if that fix seems to be OK for you (it's a kernel patch,
> not xf86-input-wacom patch)? I'm going to send it to hid driver
> maintainer. Without this patch xorg driver cannot recognise 2 extra
> buttons on my bluetooth tablet.
>
> diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c
> index 7475421..75ea66a 100644
> --- a/drivers/hid/hid-wacom.c
> +++ b/drivers/hid/hid-wacom.c
> @@ -196,6 +196,9 @@ static int wacom_probe(struct hid_device *hdev,
>        /* Pad */
>        input->evbit[0] |= BIT(EV_MSC);
>        input->mscbit[0] |= BIT(MSC_SERIAL);
> +       set_bit(BTN_0, input->keybit);
> +       set_bit(BTN_1, input->keybit);
> +       set_bit(BTN_TOOL_FINGER, input->keybit);
>
>        /* Distance, rubber and mouse */
>        input->absbit[0] |= BIT(ABS_DISTANCE);
>
> I'll also need something like that added to wacom.fdi file (it's from
> PLD distro with "pad" line added:
>
>
>  <!-- Match the Wacom Bluetooth A5 pen tablet -->
>  <device>
>    <match key="info.capabilities" contains="input.mouse">
>      <match key="info.product" contains="WACOM">
>        <match key="info.product" contains="Tablet">
>          <merge key="input.x11_driver" type="string">wacom</merge>
>          <merge key="input.x11_options.Type"
> type="string">stylus</merge>
>          <append key="info.callouts.add"
> type="strlist">hal-setup-wacom</append>
>          <append key="wacom.types" type="strlist">eraser</append>
>          <append key="wacom.types" type="strlist">cursor</append>
>          <append key="wacom.types" type="strlist">pad</append>
>        </match>
>      </match>
>    </match>
>  </device>
>
>
> --
> Przemo
>
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to