It is currently Sat Jul 06, 2024 7:43 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: No pressure sensitivity in Linux Gimp
PostPosted: Sun Jul 17, 2011 5:42 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jul 11, 2011
Posts: 26
Location: Oregon
GIMP Version: 2.6.11
Operating System: Linux
OS Version: Linux Mint 11
GIMP Experience: Beginner Level



I'm a total beginner with Gimp and I can't figure out how to enable pressure sensitivity for my pen. Pressure sensitivity for Gimp works fine under Vista but I'm trying to make the switch to Linux Mint permanently. Other programs like Mypaint have sensitivity under Linux so I don't know why there's a problem with Gimp. I have the correct Wacom driver installed in Linux so that shouldn't be the problem. What is the setting I need to change in order for Gimp to recognize pen pressure?

_________________
LinuxMint R11 (katya)/Win. Vista Ultimate SP2
3.9 gigs of memory/Intel Core 2 Duo CPU @ 2.66GHz/Nvidia GTS 450 video card
software: Gimp 2.6 with GPS and G'mic
Blender 2.5, Mypaint, Corel Painter Essentials 4.0


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Sun Jul 17, 2011 9:37 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
Eric_Woods wrote:
GIMP Version: 2.6.11
Operating System: Linux
OS Version: Linux Mint 11
GIMP Experience: Beginner Level



I'm a total beginner with Gimp and I can't figure out how to enable pressure sensitivity for my pen. Pressure sensitivity for Gimp works fine under Vista but I'm trying to make the switch to Linux Mint permanently. Other programs like Mypaint have sensitivity under Linux so I don't know why there's a problem with Gimp. I have the correct Wacom driver installed in Linux so that shouldn't be the problem. What is the setting I need to change in order for Gimp to recognize pen pressure?

Go to Edit/Preferences, Input Devices, and press the "Configure extended input devices" buttton. Does you tablet show up there?

_________________
Image


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Sun Jul 17, 2011 11:53 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jul 11, 2011
Posts: 26
Location: Oregon
Yes it's listed there. But now I can't even get to that dialogue box anymore. My mouse clicks don't register and the pen doesn't work anymore when I'm in the edit/preferences dialogue box. But when I go back to the drawing area it works fine. Gimp is acting really buggy in Linux. I'll figure it out. I think I caused it when I reinstalled the Wacom drivers from the supplied disk.

Every time I try to change the input device to Bamboo pen stylus it doesn't take effect. The save button doesn't seem to work for some reason. It's a mess but I'll figure it out eventually. I'm going to reinstall the recommended Linux drivers for my tablet.

_________________
LinuxMint R11 (katya)/Win. Vista Ultimate SP2
3.9 gigs of memory/Intel Core 2 Duo CPU @ 2.66GHz/Nvidia GTS 450 video card
software: Gimp 2.6 with GPS and G'mic
Blender 2.5, Mypaint, Corel Painter Essentials 4.0


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Sun Jul 17, 2011 3:39 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jul 11, 2011
Posts: 26
Location: Oregon
I am so frustrated now with Gimp. I'm about to give up entirely on trying to get Gimp to work in Linux. I don't even know how to completely uninstall Gimp in Linux. If I could do that I might be able to fix the problem by reinstalling it. Is this a typical bug with Gimp? If all else fails I'll go back Vista for good.

_________________
LinuxMint R11 (katya)/Win. Vista Ultimate SP2
3.9 gigs of memory/Intel Core 2 Duo CPU @ 2.66GHz/Nvidia GTS 450 video card
software: Gimp 2.6 with GPS and G'mic
Blender 2.5, Mypaint, Corel Painter Essentials 4.0


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Sun Jul 17, 2011 4:19 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
Eric_Woods wrote:
I am so frustrated now with Gimp. I'm about to give up entirely on trying to get Gimp to work in Linux. I don't even know how to completely uninstall Gimp in Linux. If I could do that I might be able to fix the problem by reinstalling it. Is this a typical bug with Gimp? If all else fails I'll go back Vista for good.

Do you have pressure sensivity in other Linux apps?

(from memory making my Bamboo work in Kubuntu+Gimp was completely painless, I had more problems under XP).

This site can help: http://sourceforge.net/apps/mediawiki/l ... =Main_Page

_________________
Image


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Sun Jul 17, 2011 5:34 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Oct 29, 2010
Posts: 711
Location: Netherlands
If you don't mind reinstalling:

Connect your Wacom tablet and other things like printer etc to your computer.
Now start your Mint installer and it will see what's hooked up and install what's needed.
Gerard.

_________________
Gentoo Linux always up-to-date.
Kernel-3.17.4 Python-2.7.8/3.3.5
Gimp-2.8.14

I use Linux only.
And Virtualbox with Win 7


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Mon Jul 18, 2011 7:20 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jul 11, 2011
Posts: 26
Location: Oregon
Ok Gerard, I'll follow your tip. I just hope Linux doesn't try to reinstall everything and erase all my settings and software...

Ofnuts: Yes, I have pressure in Mypaint running under Linux so other programs work fine in Linux. I went to that website a few times to download the driver that was suggested. Only problem is I don't know how to install a program manually under Linux. It's not as easy to work with as Vista is.

And speaking of Mypaint, I've noticed a bit of a difference with the response time of Mypaint under Linux as opposed to running in Vista. It feels like the pen responds much faster under Linux and it feels like the real thing especially when I'm doing quick strokes of the pen. There's a velocity setting that can be adjusted to allow the stylus to really feel like an ink pen. Honestly, I would say drawing and painting in Mypaint feels more realistic than it does in Gimp. There seems to be a larger selection of brushes to choose from as well. But of course I know that you can do much more cooler stuff in Gimp with all of its filters and adjustments.

I'll post again if I can solve the problem. I just want to paint and stop messing with Linux!

_________________
LinuxMint R11 (katya)/Win. Vista Ultimate SP2
3.9 gigs of memory/Intel Core 2 Duo CPU @ 2.66GHz/Nvidia GTS 450 video card
software: Gimp 2.6 with GPS and G'mic
Blender 2.5, Mypaint, Corel Painter Essentials 4.0


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Mon Jul 18, 2011 7:43 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
Eric_Woods wrote:
Ok Gerard, I'll follow your tip. I just hope Linux doesn't try to reinstall everything and erase all my settings and software...

Ofnuts: Yes, I have pressure in Mypaint running under Linux so other programs work fine in Linux. I went to that website a few times to download the driver that was suggested. Only problem is I don't know how to install a program manually under Linux. It's not as easy to work with as Vista is.

And speaking of Mypaint, I've noticed a bit of a difference with the response time of Mypaint under Linux as opposed to running in Vista. It feels like the pen responds much faster under Linux and it feels like the real thing especially when I'm doing quick strokes of the pen. There's a velocity setting that can be adjusted to allow the stylus to really feel like an ink pen. Honestly, I would say drawing and painting in Mypaint feels more realistic than it does in Gimp. There seems to be a larger selection of brushes to choose from as well. But of course I know that you can do much more cooler stuff in Gimp with all of its filters and adjustments.

I'll post again if I can solve the problem. I just want to paint and stop messing with Linux!

one of our artist's uses Mypaint and then uses GIMP for editing later.
Griatch Griatch's DeviantArt

_________________
Image
I'm back I think


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Fri Sep 09, 2011 3:55 pm  (#9) 
Offline
New Member

Joined: Sep 09, 2011
Posts: 4
I'm getting very similar behavior with Natty:
cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
root@eddie:/var/log# uname -a
Linux eddie 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

mypaint show great pressure sensitivity , gimp pretty much nothing. One tip , using the gimp brush dynamics I set pressure to control size ... so you can then look back and see how big a spot the paintbrush can create ... I did manage a few 'small dots' by pressing very gently (can't reproduce that now) I also played with xwacom command to set pressure sensitivity ... seemed to have no effect.


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Fri Sep 09, 2011 3:56 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Does it require a combination of the Wiki - if you have any other ideas?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Fri Sep 09, 2011 4:37 pm  (#11) 
Offline
New Member

Joined: Sep 09, 2011
Posts: 4
made some small progress. The man page for wacom (the driver) says:

Option "Device" "path"
sets the path to the special file which represents serial
line where the tablet is plugged. You have to specify it
for each subsection with the same value if you want to have
multiple devices with the same tablet. This option is
mandatory.

Mine says:
graeme@eddie:~$ cat /usr/share/X11/xorg.conf.d/50-wacom.conf
Section "InputClass"
Identifier "Wacom class"
# WALTOP needs a patched kernel driver, that isn't in mainline lk yet,
# so for now just let it fall through and be picked up by evdev instead.
# MatchProduct "Wacom|WALTOP|WACOM"
MatchProduct "Wacom|WACOM|Hanwang"
#GPV 9sep2011 MatchDevicePath "/dev/input/event*"
MatchDevicePath "/dev/input/wacom"
Driver "wacom"
EndSection
...<elided>...

It used to read /dev/input/event* , but when I looked there I saw:
~$ ls -l /dev/input/
total 0
drwxr-xr-x 2 root root 80 2011-09-09 22:19 by-id
drwxr-xr-x 2 root root 180 2011-09-09 22:19 by-path
crw-r----- 1 root root 13, 64 2011-09-09 22:19 event0
crw-r----- 1 root root 13, 65 2011-09-09 22:19 event1
crw-r----- 1 root root 13, 66 2011-09-09 22:19 event2
crw-r----- 1 root root 13, 67 2011-09-09 22:19 event3
crw-r----- 1 root root 13, 68 2011-09-09 22:19 event4
crw-r----- 1 root root 13, 69 2011-09-09 22:19 event5
crw-r----- 1 root root 13, 63 2011-09-09 22:19 mice
crw-r----- 1 root root 13, 32 2011-09-09 22:19 mouse0
crw-r----- 1 root root 13, 33 2011-09-09 22:19 mouse1
crw-r----- 1 root root 13, 34 2011-09-09 22:19 mouse2
lrwxrwxrwx 1 root root 6 2011-09-09 22:19 wacom -> event3
lrwxrwxrwx 1 root root 6 2011-09-09 22:19 wacom-touch -> event4

Two wacom devices ... I don't have a touch so I made the edit above:

MatchDevicePath "/dev/input/wacom"

Now wehn I go to the extended device settings in gimp .. I see less devices:

just pen and pen finger (no stylus) ..I manage to get two or three levels of pressure detected (using the size trick above)

I feels like the scaling is wrong ... so if I do:
$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Wacom Bamboo Pen Pen id=8 [slave pointer (2)]
⎜ ↳ Wacom Bamboo Pen Finger id=9 [slave pointer (2)]
⎜ ↳ ImPS/2 Generic Wheel Mouse id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
graeme@eddie:~$ xinput --test "Wacom Bamboo Pen Pen stylus"
unable to find device Wacom Bamboo Pen Pen stylus
graeme@eddie:~$ :
graeme@eddie:~$ xinput --test "Wacom Bamboo Pen Pen"
motion a[0]=8041 a[1]=5284
motion a[0]=8043 a[1]=5294

when I touch the pen tip I see a[2] which seems to be what gimp takes to be pressure ... but I only ever see 3 or 255 ... again feels like scaling... (in the driver)


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Fri Sep 09, 2011 5:41 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Oct 29, 2010
Posts: 711
Location: Netherlands
Hi graemev,
If you use KDE as desktop you might want to install this:
http://kde-apps.org/content/show.php?ac ... ent=114856
It has instructions how to install in Ubuntu.
Works fine in my setup.
Another thing you could do is open a terminal and issue this command:
xsetwacom --list devices

This what I get:
ikke@localhost ~ $ xsetwacom --list devices                             
Wacom BambooPT 2FG 4x5 Pen stylus       id: 7   type: STYLUS   
Wacom BambooPT 2FG 4x5 Finger touch     id: 8   type: TOUCH     
Wacom BambooPT 2FG 4x5 Pen eraser       id: 11  type: ERASER   
Wacom BambooPT 2FG 4x5 Finger pad       id: 12  type: PAD       
ikke@localhost ~ $

Hope this is of use to you.
Gerard.

_________________
Gentoo Linux always up-to-date.
Kernel-3.17.4 Python-2.7.8/3.3.5
Gimp-2.8.14

I use Linux only.
And Virtualbox with Win 7


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Wed Sep 14, 2011 3:15 pm  (#13) 
Offline
New Member

Joined: Sep 09, 2011
Posts: 4
Thanks gerard82. I don't use KDE .. I did use xsetwacom .... however it's looking like my actual device is not being recognised:

$ xsetwacom --list devices
$ < ie no output>


However:

# lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 056a:00d4 Wacom Co., Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0bb4:0ff9 High Tech Computer Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The device is there with vendor=056a and product=00d4

If I look here:

# ls -l /dev/input/
total 0
drwxr-xr-x 2 root root 80 2011-09-14 08:18 by-id
drwxr-xr-x 2 root root 180 2011-09-14 08:18 by-path
crw-r----- 1 root root 13, 64 2011-09-14 08:18 event0
crw-r----- 1 root root 13, 65 2011-09-14 08:18 event1
crw-r----- 1 root root 13, 66 2011-09-14 08:18 event2
crw-r----- 1 root root 13, 67 2011-09-14 08:18 event3
crw-r----- 1 root root 13, 68 2011-09-14 08:18 event4
crw-r----- 1 root root 13, 69 2011-09-14 08:18 event5
crw-r----- 1 root root 13, 63 2011-09-14 08:18 mice
crw-r----- 1 root root 13, 32 2011-09-14 08:18 mouse0
crw-r----- 1 root root 13, 33 2011-09-14 08:18 mouse1
crw-r----- 1 root root 13, 34 2011-09-14 08:18 mouse2
lrwxrwxrwx 1 root root 6 2011-09-14 08:18 wacom -> event3
lrwxrwxrwx 1 root root 6 2011-09-14 08:18 wacom-touch -> event4


I see it has created two devices:

If I look at their settings:

# udevadm info --query=all -n /dev/input/wacom
P: /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input3/event3
N: input/event3
S: input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-wacom
S: input/wacom
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input3/event3
E: MAJOR=13
E: MINOR=67
E: DEVNAME=/dev/input/event3
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_TABLET=1
E: ID_VENDOR=Wacom_Co._Ltd.
E: ID_VENDOR_ENC=Wacom\x20Co.\x2cLtd.
E: ID_VENDOR_ID=056a
E: ID_MODEL=CTL-460
E: ID_MODEL_ENC=CTL-460
E: ID_MODEL_ID=00d4
E: ID_REVISION=0106
E: ID_SERIAL=Wacom_Co._Ltd._CTL-460
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030102:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=wacom
E: ID_PATH=pci-0000:00:1d.1-usb-0:1:1.0
E: WACOM_TYPE=stylus
E: DEVLINKS=/dev/input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-wacom /dev/input/wacom

# udevadm info --query=all -n /dev/input/wacom-touch
P: /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/input/input4/event4
N: input/event4
S: input/by-path/pci-0000:00:1d.1-usb-0:1:1.1-wacom
S: input/wacom-touch
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/input/input4/event4
E: MAJOR=13
E: MINOR=68
E: DEVNAME=/dev/input/event4
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_VENDOR=Wacom_Co._Ltd.
E: ID_VENDOR_ENC=Wacom\x20Co.\x2cLtd.
E: ID_VENDOR_ID=056a
E: ID_MODEL=CTL-460
E: ID_MODEL_ENC=CTL-460
E: ID_MODEL_ID=00d4
E: ID_REVISION=0106
E: ID_SERIAL=Wacom_Co._Ltd._CTL-460
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030102:030000:
E: ID_USB_INTERFACE_NUM=01
E: ID_USB_DRIVER=wacom
E: ID_PATH=pci-0000:00:1d.1-usb-0:1:1.1
E: WACOM_TYPE=touch
E: DEVLINKS=/dev/input/by-path/pci-0000:00:1d.1-usb-0:1:1.1-wacom /dev/input/wacom-touch

# udevadm info -a -n /dev/input/wacom-touch

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

looking at device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/input/input4/event4':
KERNEL=="event4"
SUBSYSTEM=="input"
DRIVER==""

looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/input/input4':
KERNELS=="input4"
SUBSYSTEMS=="input"
DRIVERS==""
ATTRS{name}=="Wacom Bamboo Pen Finger"
ATTRS{phys}==""
ATTRS{uniq}==""
ATTRS{properties}=="0"

looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1':
KERNELS=="3-1:1.1"
SUBSYSTEMS=="usb"
DRIVERS=="wacom"
ATTRS{bInterfaceNumber}=="01"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bNumEndpoints}=="01"
ATTRS{bInterfaceClass}=="03"
ATTRS{bInterfaceSubClass}=="00"
ATTRS{bInterfaceProtocol}=="00"
ATTRS{supports_autosuspend}=="1"

looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1':
KERNELS=="3-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 2"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="80"
ATTRS{bMaxPower}==" 98mA"
ATTRS{urbnum}=="35"
ATTRS{idVendor}=="056a"
ATTRS{idProduct}=="00d4"
ATTRS{bcdDevice}=="0106"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="12"
ATTRS{busnum}=="3"
ATTRS{devnum}=="2"
ATTRS{devpath}=="1"
ATTRS{version}==" 2.00"
ATTRS{maxchild}=="0"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Wacom Co.,Ltd."
ATTRS{product}=="CTL-460"

looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3':
KERNELS=="usb3"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="34"
ATTRS{idVendor}=="1d6b"
ATTRS{idProduct}=="0001"
ATTRS{bcdDevice}=="0206"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="12"
ATTRS{busnum}=="3"
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{version}==" 1.10"
ATTRS{maxchild}=="2"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Linux 2.6.38-11-generic uhci_hcd"
ATTRS{product}=="UHCI Host Controller"
ATTRS{serial}=="0000:00:1d.1"
ATTRS{authorized_default}=="1"

looking at parent device '/devices/pci0000:00/0000:00:1d.1':
KERNELS=="0000:00:1d.1"
SUBSYSTEMS=="pci"
DRIVERS=="uhci_hcd"
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x27c9"
ATTRS{subsystem_vendor}=="0x1043"
ATTRS{subsystem_device}=="0x8179"
ATTRS{class}=="0x0c0300"
ATTRS{irq}=="19"
ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003"
ATTRS{local_cpulist}=="0-1"
ATTRS{numa_node}=="-1"
ATTRS{dma_mask_bits}=="32"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""

looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""

# udevadm info -a -n /dev/input/wacom

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

looking at device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input3/event3':
KERNEL=="event3"
SUBSYSTEM=="input"
DRIVER==""

looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input3':
KERNELS=="input3"
SUBSYSTEMS=="input"
DRIVERS==""
ATTRS{name}=="Wacom Bamboo Pen Pen"
ATTRS{phys}==""
ATTRS{uniq}==""
ATTRS{properties}=="0"

looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0':
KERNELS=="3-1:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="wacom"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bNumEndpoints}=="01"
ATTRS{bInterfaceClass}=="03"
ATTRS{bInterfaceSubClass}=="01"
ATTRS{bInterfaceProtocol}=="02"
ATTRS{supports_autosuspend}=="1"

looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1':
KERNELS=="3-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 2"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="80"
ATTRS{bMaxPower}==" 98mA"
ATTRS{urbnum}=="35"
ATTRS{idVendor}=="056a"
ATTRS{idProduct}=="00d4"
ATTRS{bcdDevice}=="0106"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="12"
ATTRS{busnum}=="3"
ATTRS{devnum}=="2"
ATTRS{devpath}=="1"
ATTRS{version}==" 2.00"
ATTRS{maxchild}=="0"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Wacom Co.,Ltd."
ATTRS{product}=="CTL-460"

looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3':
KERNELS=="usb3"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="34"
ATTRS{idVendor}=="1d6b"
ATTRS{idProduct}=="0001"
ATTRS{bcdDevice}=="0206"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="12"
ATTRS{busnum}=="3"
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{version}==" 1.10"
ATTRS{maxchild}=="2"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Linux 2.6.38-11-generic uhci_hcd"
ATTRS{product}=="UHCI Host Controller"
ATTRS{serial}=="0000:00:1d.1"
ATTRS{authorized_default}=="1"

looking at parent device '/devices/pci0000:00/0000:00:1d.1':
KERNELS=="0000:00:1d.1"
SUBSYSTEMS=="pci"
DRIVERS=="uhci_hcd"
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x27c9"
ATTRS{subsystem_vendor}=="0x1043"
ATTRS{subsystem_device}=="0x8179"
ATTRS{class}=="0x0c0300"
ATTRS{irq}=="19"
ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003"
ATTRS{local_cpulist}=="0-1"
ATTRS{numa_node}=="-1"
ATTRS{dma_mask_bits}=="32"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""

looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""


Now if I look in:

/lib/udev/rules.d/69-xserver-xorg-input-wacom.rules

I see lots of ATTRS{idVendor}=="056a", ATTRS{idProduct}=="XXXX", SYMLINK+="input/XXXXXX"

Type rules but NONE have idProduct of 00d4 .. so it looks like my device lacks a rule.

So at the end it just does this ...

# Convenience links for the common case of a single tablet. We could do just this:
#ATTRS{idVendor}=="056a", SYMLINK+="input/wacom-$env{WACOM_TYPE}"
# but for legacy reasons, we keep the input/wacom link as the generic stylus device.
ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/wacom"
ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}=="touch", SYMLINK+="input/wacom-touch"

Hence my two devices (even though I only want wacom/stylus ) ... I can hack my way around this but I'm guessing if it's not here it's probably not in the kernel module either (too new?) ... I've downloaded the source and I'll have a play see if I can add it.


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Wed Sep 14, 2011 4:08 pm  (#14) 
Offline
New Member

Joined: Sep 09, 2011
Posts: 4
Yep , there it is in: wacom_wac.c max press = 255

static const struct wacom_features wacom_features_0xD4 =
{ "Wacom Bamboo Pen", WACOM_PKGLEN_BBFUN, 14720, 9200, 255, 63, BAMBOO_PT };

hummm using :

$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Wacom Bamboo Pen Pen id=8 [slave pointer (2)]
⎜ ↳ Wacom Bamboo Pen Finger id=9 [slave pointer (2)]
⎜ ↳ ImPS/2 Generic Wheel Mouse id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
graeme@eddie:~/Desktop$ xinput --test "Wacom Bamboo Pen Pen"
and tapping the stylus I can see it hit 255 with very little pressure ... hence the mapping provided by xsetwacon pressure graph has very little to play with ... I THINK this device sends 0 2047 ... but I can't find any informatin to that effect now ... gurrr


Top
 Post subject: Re: No pressure sensitivity in Linux Gimp
PostPosted: Wed Sep 14, 2011 4:27 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Oct 29, 2010
Posts: 711
Location: Netherlands
Is xf86-input-wacom installed?
Here's a link that got me going.
http://sourceforge.net/apps/mediawiki/l ... =Main_Page
In the kernel this should be enabled.
Here's a snippet of my kernel .config:

# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_INPUT_JOYSTICK is not set
CONFIG_INPUT_TABLET=y
# CONFIG_TABLET_USB_ACECAD is not set
# CONFIG_TABLET_USB_AIPTEK is not set
# CONFIG_TABLET_USB_GTCO is not set
# CONFIG_TABLET_USB_HANWANG is not set
# CONFIG_TABLET_USB_KBTAB is not set
CONFIG_TABLET_USB_WACOM=m
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y

Linux needs the kernel to be aware of the the tablet and the xf86-input-wacom driver.
Gerard.

_________________
Gentoo Linux always up-to-date.
Kernel-3.17.4 Python-2.7.8/3.3.5
Gimp-2.8.14

I use Linux only.
And Virtualbox with Win 7


Top
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) gimp pen tablet pressure won't work

0

No new posts Attachment(s) I am looking for a UserFilter 64 bit plugin for Linux

3

No new posts Attachment(s) Gimp on Linux with OpenCL

11

No new posts Attachment(s) Installing SCM in Fedora Linux

2

No new posts Attachment(s) New Gimp AppImage for Linux Users

10



* Login  



Powered by phpBB3 © phpBB Group