On Sat, Feb 11, 2012 at 7:52 AM, Peter Hutterer
<peter.hutte...@who-t.net> wrote:
> On Sat, Feb 11, 2012 at 11:24:15AM +0000, Przemo Firszt wrote:
>> Wacom4 WL on usb cable - "Wacom" is part of the name, but ID_VENDOR
>> field contains "Tablet" 8-):
>>
>> P: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input10
>> E: UDEV_LOG=3
>> E:
>> DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input10
>> E: PRODUCT=3/56a/bc/127
>> E: NAME="Wacom Intuos4 WL"
>> E: PROP=1
>> E: EV=1f
>> E: KEY=1cdf 0 1f01ff 0 0 0 0 0 0 0 0
>> E: REL=100
>> E: ABS=100 f000167
>> E: MSC=1
>> E:
>> MODALIAS=input:b0003v056Ap00BCe0127-e0,1,2,3,4,k100,101,102,103,104,105,106,107,108,110,111,112,113,114,140,141,142,143,144,146,147,14A,14B,14C,r8,a0,1,2,5,6,8,18,19,1A,1B,28,m0,lsfw
>> E: SUBSYSTEM=input
>> E: ID_INPUT=1
>> E: ID_INPUT_TABLET=1
>> E: ID_VENDOR=Tablet
>> E: ID_VENDOR_ENC=Tablet
>> E: ID_VENDOR_ID=056a
>> E: ID_MODEL=PTK-540WL
>> E: ID_MODEL_ENC=PTK-540WL
>> E: ID_MODEL_ID=00bc
>> E: ID_REVISION=0127
>> E: ID_SERIAL=Tablet_PTK-540WL_00-10-60-26-58-e7
>> E: ID_SERIAL_SHORT=00-10-60-26-58-e7
>> E: ID_TYPE=hid
>> E: ID_BUS=usb
>> E: ID_USB_INTERFACES=:030102:
>> E: ID_USB_INTERFACE_NUM=00
>> E: ID_USB_DRIVER=wacom
>> E: ID_PATH=pci-0000:00:1d.0-usb-0:1:1.0
>> E: ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_0
>>
>> Some of the kernel drivers are cheanging device name, so we could
>> possibly do the same. Example here:
>> drivers/hid/hid-hyperv.c:       sprintf(hid_dev->name, "%s", "Microsoft
>> Vmbus HID-compliant Mouse");
>>
>> but it's a workaround and I think it's not worth to do it.
>
> I think it's worth it. the ID_VENDOR_ID is 0x56a which is Wacom, the string
> should reflect this to make userspace simpler.

And adding this is aligned with wacom_sys.c.  It is doing same
dev->name update and why you see Wacom in your output:

E: NAME="Wacom Intuos4 WL"

>
> Cheers,
>  Peter

------------------------------------------------------------------------------
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