From: Ping C. <pin...@gm...> - 2010-07-26 03:26:53
|
And, please change +static const struct wacom_features wacom_features_0x6004 = + { "ISD-V4", WACOM_PKGLEN_INTUOS, 53020, 33440, 1023, 63, WACOM_BEE }; to +static const struct wacom_features wacom_features_0x6004 = + { "ISD-V4", WACOM_PKGLEN_GRAPHIRE, 53020, 33440, 255, 0, TABLETPC }; I assume you got the tablet max_x (53020) and max_y (33440) right. If not, please adjust them accordingly (I do not have a Lenovo W700 to test with). Ping On Sun, Jul 25, 2010 at 1:13 AM, Ajay Ramaswamy <aj...@kr...> wrote: > Hi, > Today I had some time to hack at this further > > 1 I am running Fedora 13 > > 2 My patch continues to apply to linuxwacom-0.8.8-7 > > and after patching / installing / it loads > > usbcore: registered new interface driver wacom > wacom: v1.52-pc-0.3:USB Wacom tablet driver > > > 3. Next for the X driver I got the src.rpm from koji and applied the following > patch > xorg-x11-drv-wacom-0.10.7-2 > > 4 I added ths to the end of /usr/share/X11/xorg.conf.d/50-wacom.conf > > Section "InputClass" > Identifier "Wacom class" > MatchProduct "Tablet ISD-V4" > MatchDevicePath "/dev/input/event*" > Driver "wacom" > Option "ForceDevice" "ISDV4" > EndSection > > > It shows up in my Xorg.0.log > > BUT > the tablet does not work - I need your help to proceed further, because I dont > know how to debug this. > > > Thanks & best regards > Ajay > > > > > On Tuesday 04 May 2010 9:38:25 am Ping Cheng wrote: >> Hi Ajay, >> >> If your modified kernel driver works for you, you are half way there. >> The next step is to add your device to your /etc/X11/xorg.conf file. >> Refer to >> http://linuxwacom.sourceforge.net/index.php/howto/x11 for details. >> >> I assume you are running an Xorg server version 1.6.4 or earlier. If >> not, please let us know. >> >> We will merge your patch to linuxwacom.once you prove the X Wacom >> driver also works, >> >> Ping >> >> BTW, I wonder if your device worked as a mouse or not before using >> your own kernel driver? Which kernel version are you running? >> >> On Mon, May 3, 2010 at 6:02 PM, Ajay Ramaswamy <lin...@ra...> > wrote: >> > Hello, >> > >> > I am the happy new owner of this laptop and find that the linuxwacom >> > driver does not support it. I searched through the mailing lists and >> > found no help - so I see this as a chance to fire up my very rusty >> > programming skills and try and help make this hardware work under >> > linux. >> > >> > As I understand it the wacom kernel module must first recognize the >> > tablet - for that the USB ID on the lenovo (17ef:6004) is different >> > from the normal Wacom (056a:????) - so this is my first attempt at >> > getting this to work after building this and copying it to >> > /lib/modules/ ... and depmod ; modprobe wacom dmesg just shows >> > >> > usbcore: registered new interface driver wacom >> > wacom: v1.52-pc-0.1:USB Wacom tablet driver >> > >> > after that when I run >> > >> > sudo ./wacdump -c usb -f ctq /dev/input/event7 >> > >> > I can see - >> > MODEL=Unknown >> > ROM=1.1-0 >> > CLS=USB VNDR=Unknown DEV=Unknown SUB=UNKNOWN >> > >> > now when I move the stylus over the digitizer - TOOLTYPE=PEN the POS_X >> > & POS_Y change over the range correctly and seem to correspond to the >> > 4 corners of the screen, touching the tip shows TOUCH=DOWN, pressing >> > the button on the stylus shows STYLUS=DOWN, turning the stylus over >> > shows TOOLTYPE=ERASER, pressing the stylus in pen mode indicates >> > PRESSURE in the range 0-255 >> > >> > I now presume that the kernel driver has loaded and has taken control >> > of the digitizer - how do I take this forward to make it run properly >> > with the Xorg driver and how do I contribute these changes so that >> > others can use this too? >> > >> > Thanks >> > >> > Ajay >> > >> > ------------------------------------------------------------------------- >> > ----- >> > >> > _______________________________________________ >> > Linuxwacom-devel mailing list >> > Lin...@li... >> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel > |