Well, anyway, I have compiled kernel driver and xf86 driver with change.
Like suggested Ping, I add ASUSTEK to ignore list in hid-core.c, but I'm
not sure I added this in the right way.
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, 0x179F) },
Favux is probably right, there something in the name important. Device
after change is recognize as ISD-V4.

this the results from logs:
lsusb : no change

xorg.conf.d : the one I use

Section "InputClass"
        Identifier "Wacom class"
#       MatchProduct "ASUSTek|Digitizer"                 < previous one
        MatchProduct "ASUSTek|Digitizer|ISD|ISD-V4" < new one
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
#Section "InputDevice" 
#        Option "Type"   "stylus"
#               Option "Type"   "touch"
#               Option "Type"   "pad"
                Option "Type"   "pen"
#               Option "Type"   "mouse"
        Option "Mode" "Absolute"
        Option "USB"    "on" 
        Option  "ForceDevice"   "ISDV4" 
        Option "KeepShape" "on" 
        Option  "TopX"          "0" # 5
        Option  "TopY"          "0" # 10
        Option  "BottomX"       "10000" # "16480" # 10000
        Option  "BottomY"       "6250" # "12410" # 6250
        Option  "MaxX"          "10000" # "16480" 
        Option  "MaxY"          "6250" # "12410" 
        Option  "Tilt"          "on"      # Inclinaison 
        Option   "Button1"          "1"
        Option   "Button2"          "3"
        Option   "Button3"          "2"    
        Option  "PressCurve"    "0,25,75,100"  
EndSection

syslog :

Jan  1 13:04:53 hpm kernel: hub 2-1:1.0: unable to enumerate USB device
on port 2
Jan  1 13:05:12 hpm kernel: usb 2-1.2: new full speed USB device number
8 using ehci_hcd
Jan  1 13:05:12 hpm kernel: usb 2-1.2: New USB device found,
idVendor=0b05, idProduct=179f
Jan  1 13:05:12 hpm kernel: usb 2-1.2: New USB device strings: Mfr=1,
Product=2, SerialNumber=3
Jan  1 13:05:12 hpm kernel: usb 2-1.2: Product: Eee Note Digitizer
Jan  1 13:05:12 hpm kernel: usb 2-1.2: Manufacturer: ASUSTek Computer,
Inc.
Jan  1 13:05:12 hpm kernel: usb 2-1.2: SerialNumber: 1
Jan  1 13:05:13 hpm mtp-probe: checking bus 2, device 8:
"/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Jan  1 13:05:13 hpm mtp-probe: bus: 2, device: 8 was not an MTP device
Jan  1 13:05:13 hpm kernel: input: ISD-V4 Pen
as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input14
Jan  1 13:05:13 hpm kernel: usbcore: registered new interface driver
wacom
Jan  1 13:05:13 hpm kernel: wacom: v1.52:USB Wacom tablet driver


Xorg.0.log

[   422.727] (II) config/udev: Adding input device ISD-V4 Pen
(/dev/input/event14)
[   422.727] (**) ISD-V4 Pen: Applying InputClass "evdev tablet
catchall"
[   422.728] (**) ISD-V4 Pen: Applying InputClass "Wacom class"
[   422.728] (II) LoadModule: "wacom"
[   422.728] (II) Loading /usr/lib64/xorg/modules/input/wacom_drv.so
[   422.728] (II) Module wacom: vendor="X.Org Foundation"
[   422.728] [   422.728]       compiled for 1.10.1, module version = 0.12.0
[   422.728]    Module class: X.Org XInput Driver
, module version = 0.12.0
[   422.728]    Module class: X.Org XInput Driver
[   422.728]    ABI class: X.Org XInput driver, version 12.2
        ABI class: X.Org XInput driver, version 12.2
[   422.728] (II) Using input driver 'wacom' for 'ISD-V4 Pen'
(II) Using input driver 'wacom' for 'ISD-V4 Pen'
[   422.728] (II) Loading /usr/lib64/xorg/modules/input/wacom_drv.so
(II) Loading /usr/lib64/xorg/modules/input/wacom_drv.so
[   422.728] (**) ISD-V4 Pen: always reports core events
[   422.729] (**) Option "Device" "/dev/input/event14"(**) Option
"Device" "/dev/input/event14"
[   422.729] [   422.729] (**) Option "Type" "pen"

[   422.729] (EE) ISD-V4 Pen: Invalid type 'pen' for this device.
[   422.762] (EE) PreInit returned 8 for "ISD-V4 Pen"
[   422.762] (II) UnloadModule: "wacom"
[   422.762] (II) Unloading wacom
(II) Unloading wacom
[   422.762] (II) config/udev: Adding input device ISD-V4 Pen
(/dev/input/mouse1)
[   422.762] (II) No input driver/identifier specified (ignoring)


Le vendredi 30 décembre 2011 à 15:09 -0600, Favux ... a écrit :

> Hi Mike,
> 
> Well in wacom_wac.c there is also:
> #define USB_DEVICE_LENOVO(prod)                                       \
>       USB_DEVICE(USB_VENDOR_ID_LENOVO, prod),                 \
>       .driver_info = (kernel_ulong_t)&wacom_features_##prod
> 
> below the wacom one at about line #1522.  Then there are the
> appropriate entries for the Lenovo product using its Product ID.
> That's what I was thinking of.  So at about line #1509:
> static const struct wacom_features wacom_features_0x6004 =
>       { "ISD-V4",               WACOM_PKGLEN_GRAPHIRE,  12800,  8000,  255,
>         0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
> And again at about line #1615:
>       { USB_DEVICE_LENOVO(0x6004) },
> 
> Unfortunately your lsusb seems truncated so we don't seem to have your
> max X and Y dimensions.  Also it bothers me the packet length seems to
> be 9.  I think tablet PCs are 8.  That said you'd be much better off
> following Chris' guidance.
> 
> Assuming you have your kernel's source code and of course using your
> kernel's version number:
>     cd linux-2.6.38/drivers/input/tablet
>     make -C/lib/modules/`uname -r`/build M=`pwd` modules
> Then copy the newly compiled wacom.ko into place.
>     sudo cp wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/
> 
> Favux


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to