Description of problem: Hello, Wacom Tablet "BAMBOO PAD CTH-301 / K" does not work with Mageia 5 Beta 3 (latest). The tablet is recognized but neither pen nor the PAD is working. Vendor ID: 0x056a Device ID: 0x0318 Best Regards, F.A. Version-Release number of selected component (if applicable): $ uname -r 3.19.0-desktop586-6.mga5 $ Xorg -version X.Org X Server 1.16.4 Release Date: 2014-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux_3.14.27-server-1.mga4 Mageia Current Operating System: Linux localhost 3.19.0-desktop586-6.mga5 #1 SMP Sat Mar 7 11:19:10 UTC 2015 i686 Kernel command line: BOOT_IMAGE=linux root=UUID=2eb36955-a329-47ea- b3eb-0f097b3ce1bf splash quiet nokmsboot splash=silent resume=UUID=88a2b67f- 49b1-455b-9675-ee4d5e4cf5a3 vga=788 Build Date: 21 February 2015 05:47:29PM Current version of pixman: 0.32.6 Before reporting problems, check http://bugs.mageia.org to make sure that you have the latest version. $ Reproducible: Steps to Reproduce:
Created attachment 6013 [details] Listingf of USB Viewer program
Is Wacom driver installed? What's the output of the following command? rpm -qa 'x*wacom'
Keywords: (none) => NEEDINFOCC: (none) => thierry.vignaud
Also please attach (not paste) the output of "lspcidrake -v"
Created attachment 6014 [details] Listing of "lspcidrake -v"
Created attachment 6015 [details] Listing of "rpm -qa 'x*wacom'"
Created attachment 6016 [details] Listing of "lsmod | grep -i wacom"
Created attachment 6017 [details] wacom instaled RPM list
Can you attach your /root/drakx/report.bug.xz too? Then install x11-driver-input-wacom & reboot, and it should works.
Created attachment 6018 [details] "/root/drakx/report.bug.xz" file
Created attachment 6019 [details] The "x11-driver-input-wacom" RPM was already installed ... The "x11-driver-input-wacom" driver was already installed !
For your information I did not find file "xxxx.tablet" on the tablet "BAMBOO PAD CTH-301/K", in the directory "/usr/share/libwacom/" (libwacom-0.11.1.mga5). No file contains "DeviceMatch=usb:056A:0318" !!!
Can you attach your /var/log/Xorg.0.log file too? Could you try locally update libwacom to 0.12 & x11-driver-input-wacom to 0.28.0. But I've little hope. You could also try to duplicate one existing CTH data file & adapt it in /usr/share/libwacom/ for your USB ids (eg: bamboo-2fg-4x5.tablet). If that doesn't work, you should report it to the upstream project: http://sourceforge.net/projects/linuxwacom/
Source RPM: (none) => libwacom
But first check if the xinput command displays it. If not, try the instructions from: http://thottingal.in/blog/2014/10/26/howto-wacom-bamboo-cth301k-in-debian/ aka add "usbhid.quirks=0x056a:0x0318:0x40000000" to your boot command line (/boot/grub/menu.lst if you're using grub). You can use the "drakboot --boot" tool in order to do so graphically. It also suggests adding a /usr/share/X11/xorg.conf.d/50-wacom.conf file for the touch part
CC: (none) => tmb
Created attachment 6049 [details] The modified "/usr/share/X11/xorg.conf.d/50-wacom.conf" Xorg file.
Comment on attachment 6049 [details] The modified "/usr/share/X11/xorg.conf.d/50-wacom.conf" Xorg file. That's the original file...
Attachment 6049 is obsolete: 0 => 1
Created attachment 6050 [details] The modified "/etc/default/grub" GRUB file. The "/etc/default/grub" file was already modified.
(In reply to Thierry Vignaud from comment #15) > Comment on attachment 6049 [details] > The modified "/usr/share/X11/xorg.conf.d/50-wacom.conf" Xorg file. > > That's the original file... No, the first section, is add as indicated in "http://thottingal.in/blog/2014/10/26/howto-wacom-bamboo-cth301k-in-debian/": Section "InputClass" Identifier "Wacom USB device class" MatchUSBID "056a:*" MatchDevicePath "/dev/input/event*" Driver "wacom" EndSection
Comment on attachment 6050 [details] The modified "/etc/default/grub" GRUB file. Does it work better with that change?
Attachment 6050 mime type: application/octet-stream => text/plain
Created attachment 6051 [details] The "/var/log/Xorg.0.log" file.
The "Kernel command line" line shows that you didn't rebooed after altering grub2 cnofig
(In reply to Thierry Vignaud from comment #18) > Comment on attachment 6050 [details] > The modified "/etc/default/grub" GRUB file. > > Does it work better with that change? No, these changes had already been made (latest versions of mageia 4 and 5) ;-((
Can you attach the Xorg.0.log after the reboot?
I tested GRUB2 there are already several months when I was under "Mageia 4" but it had my machine malfunction during the boot process ;-(( So I am again, with "GRUB" (before updating to "Mageia 5"), and my computer was rebooted yesterday.
(In reply to Frédéric ACHARD from comment #19) > Created attachment 6051 [details] > The "/var/log/Xorg.0.log" file. It's the latest log created file for Xorg : Xorg.0.log created : March 12, 2015.
It explicitly contains: [ 77.525] Kernel command line: BOOT_IMAGE=linux root=UUID=2eb36955-a329-47ea-b3eb-0f097b3ce1bf splash quiet nokmsboot splash=silent resume=UUID=88a2b67f- and: [ 77.525] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 11 11:14:43 2015
[root@localhost log]# pwd /var/log [root@localhost log]# ll Xorg.0.log -rw-r--r-- 1 root root 35738 mars 12 14:08 Xorg.0.log [root@localhost log]#
The file you attached is 33534 bytes...
Attachment 6051 is obsolete: 0 => 1
Created attachment 6053 [details] The "/var/log/Xorg.0.log" file (new copy).
Why in the result of the command "Xorg -version", is it indicated a reference mga4 package? (Build Operating System: Linux_3.14.27-server-1.mga4 Mageia). See the list of mga5 x11 packages installed (there is no longer any mga4 package on my computer).
That only means it has been build on a mga4 machine. Our servers are running a stable release, so they're running mga4. This new log still shows that you're booting without the "usbhid.quirks=0x056a:0x0318:0x40000000" option...
Created attachment 6054 [details] list of mga5 x11 packages installed.
Comment on attachment 6054 [details] list of mga5 x11 packages installed. We don't need that list
Attachment 6054 is obsolete: 0 => 1
Created attachment 6055 [details] Default kernel boot option. In central control of mageia, should change, delete or replace the displayed option line (see screenshot in the attached file)?
You should just append at end...
Comment on attachment 6053 [details] The "/var/log/Xorg.0.log" file (new copy). Kernel Boot option without usbhid.quirks option.
Attachment 6053 is obsolete: 0 => 1
Created attachment 6061 [details] The "/var/log/Xorg.0.log" file (new with modified kernel Boot option). The "/var/log/Xorg.0.log" file contain now the kernel Boot option with "usbhid.quirks=0x056a:0x0318:0x40000000" add at end.
Assignee: bugsquad => frederic.achard
Hummm. The wacom xorg driver got unloaded... (EE) Wacom HID Pen: Invalid type 'stylus' for this device. (EE) Wacom HID Pen: Invalid type 'eraser' for this device. (EE) Wacom HID Pen: Invalid type 'cursor' for this device. (EE) Wacom HID Pen: Invalid type 'touch' for this device. (EE) Wacom HID Pen: Invalid type 'pad' for this device. (EE) Wacom HID Pen: No type specified (EE) PreInit returned 8 for "Wacom HID Pen" (II) UnloadModule: "wacom" Did xinput list your device (see comment #13)? Else could you open a bug report upstream (see comment #12)?
(In reply to Thierry Vignaud from comment #37) > Hummm. The wacom xorg driver got unloaded... > > (EE) Wacom HID Pen: Invalid type 'stylus' for this device. > (EE) Wacom HID Pen: Invalid type 'eraser' for this device. > (EE) Wacom HID Pen: Invalid type 'cursor' for this device. > (EE) Wacom HID Pen: Invalid type 'touch' for this device. > (EE) Wacom HID Pen: Invalid type 'pad' for this device. > (EE) Wacom HID Pen: No type specified > (EE) PreInit returned 8 for "Wacom HID Pen" > (II) UnloadModule: "wacom" > > Did xinput list your device (see comment #13)? > Else could you open a bug report upstream (see comment #12)? No, the wacom tablet is not in the xinput command output listing ! [frederic@localhost ~]$ xinput -list â¡ Virtual core pointer id=2 [master pointer (3)] â â³ Virtual core XTEST pointer id=4 [slave pointer (2)] â â³ PS2++ Logitech MX Mouse id=8 [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=9 [slave keyboard (3)] â³ CNF8215 id=10 [slave keyboard (3)] [frederic@localhost ~]$
(In reply to Frédéric ACHARD from comment #38) > (In reply to Thierry Vignaud from comment #37) > > Hummm. The wacom xorg driver got unloaded... > > > > (EE) Wacom HID Pen: Invalid type 'stylus' for this device. > > (EE) Wacom HID Pen: Invalid type 'eraser' for this device. > > (EE) Wacom HID Pen: Invalid type 'cursor' for this device. > > (EE) Wacom HID Pen: Invalid type 'touch' for this device. > > (EE) Wacom HID Pen: Invalid type 'pad' for this device. > > (EE) Wacom HID Pen: No type specified > > (EE) PreInit returned 8 for "Wacom HID Pen" > > (II) UnloadModule: "wacom" > > > > Did xinput list your device (see comment #13)? > > Else could you open a bug report upstream (see comment #12)? > > > No, the wacom tablet is not in the xinput command output listing ! > > [frederic@localhost ~]$ xinput -list > â¡ Virtual core pointer id=2 [master pointer (3)] > â â³ Virtual core XTEST pointer id=4 [slave pointer (2)] > â â³ PS2++ Logitech MX Mouse id=8 [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=9 [slave keyboard (3)] > â³ CNF8215 id=10 [slave keyboard (3)] > [frederic@localhost ~]$ [root@localhost frederic2]# lsmod | grep wacom wacom 74651 0 hid 95948 3 wacom,hid_generic,usbhid [root@localhost frederic2]#
Frédéric, have you reported your bug to http://sourceforge.net/projects/linuxwacom/ (see comment #12 and comment #37) ?
Keywords: (none) => UPSTREAM
Hello, the issue was deferred to the linuxwacom project. This project confirmed that the problem is with the HID driver and now expects Linus incorporates changes proposed by linuxwacom team in bramche 4.1 linux (see link: http://lkml.iu.edu/hypermail/linux/kernel/1504.1/04108.html) F. A.
Status: NEW => RESOLVEDResolution: (none) => FIXED
Reopening as the bug in itself is not fixed. It's not yet a WONTFIX either as there is a chance that we might be able to backport kernel patches (or do a kernel upgrade) during Mageia 5's lifecycle. It should probably be added to the errata for Mageia 5.
Keywords: NEEDINFO => (none)Status: RESOLVED => REOPENEDResolution: FIXED => (none)Whiteboard: (none) => MGA5TOO FOR_ERRATA
Assignee: frederic.achard => tmbSource RPM: libwacom => kernel, libwacom
Added to errata. https://wiki.mageia.org/en/Mageia_5_Errata#Wacom_Tablet_.22BAMBOO_PAD_CTH-301_.2F_K.22_does_not_work
CC: (none) => yves.brungard_mageiaWhiteboard: MGA5TOO FOR_ERRATA => MGA5TOO IN_ERRATA
There is now a 4.1.7 kernel in mga 5 testing
Depends on: (none) => 16655
With the 4.1.8 kernel (mga 5 testing), the Bamboo PAD tablet (CTH-301) is now operational ; PAD and PEN are OK :-))
The tablet seems to work but there is still some error in the Xorg file (see attached file Xorg.0.log) : X.Org X Server 1.16.4 Release Date: 2014-12-20 [ 95.016] X Protocol Version 11, Revision 0 [ 95.016] Build Operating System: Linux_3.19.8-server-3.mga5 Mageia [ 95.016] Current Operating System: Linux localhost 4.1.8-desktop-1.mga5 #1 SMP Sun Sep 20 12:33:42 UTC 2015 i686 [ 95.016] Kernel command line: BOOT_IMAGE=linux root=UUID=2eb36955-a329-47ea-b3eb-0f097b3ce1bf splash quiet nokmsboot splash=silent resume=UUID=88a2b67f-49b1-455b-9675-ee4d5e4cf5a3 usbhid.quirks=0x056a:0x0318:0x40000000 vga=788 [ 104.214] (EE) Stylus2: already have a tool with type/serial 1/0. [ 104.214] (EE) PreInit returned 8 for "Stylus2" [ 104.214] (EE) Eraser2: already have a tool with type/serial 8/0. [ 104.214] (EE) PreInit returned 8 for "Eraser2" [ 104.214] (EE) Cursor2: already have a tool with type/serial 4/0. [ 104.214] (EE) PreInit returned 8 for "Cursor2" [ 104.214] (EE) Pad2: already have a tool with type/serial 16/0. [ 104.214] (EE) PreInit returned 8 for "Pad2" [ 104.373] (EE) Wacom USB Bamboo PAD Pen stylus: Invalid type 'cursor' for this device. [ 104.373] (EE) Wacom USB Bamboo PAD Pen stylus: Invalid type 'pad' for this device.
Created attachment 7032 [details] The "/var/log/Xorg.0.log" file (new with 4.1.8 mga testing kernel)
Yes but it works
Status: REOPENED => RESOLVEDResolution: (none) => FIXED