View Issue Details

IDProjectCategoryView StatusLast Update
0000791channel: elrepo/el7kmod-wacompublic2017-10-07 05:01
Reportertcharette Assigned Topperry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000791: kmod-wacom broken under new Centos 7.4 kernel
DescriptionHey guys,

I recently updated a few floor machines from CentOS 7.3 to 7.4 and all my new Intuous Pro II stopped working. Building the latest input-wacom supposedly fixes it (I'm testing now, no luck yet)

New kernel:
3.10.0-693.2.2.el7.x86_64

Errors:
[69239.608983] wacom 0003:056A:0357.0019: hidraw2: USB HID v1.10 Mouse [Wacom Co.,Ltd. Wacom Intuos Pro M] on usb-0000:00:1a.0-1.5/input0
[69239.611364] wacom 0003:056A:0357.001A: Unknown device_type for 'Wacom Co.,Ltd. Wacom Intuos Pro M'. Ignoring.


Related mailing lists:
http://www.studiosysadmins.com/board/threadview/6454/

Cheers



TagsNo tags attached.
Reported upstream

Activities

tcharette

2017-10-04 10:06

reporter   ~0005538

I should specify, the wacom model is PTH-660

tcharette

2017-10-04 10:24

reporter   ~0005539

Confirmed that rebuilding input-wacom makes it function

http://linuxwacom.sourceforge.net/wiki/index.php/Input-wacom

pperry

2017-10-04 14:01

administrator   ~0005540

Acknowledged.

I'll look to update the package to the latest 0.37.0 upstream release and get it rebuilt for you. I'll post back here when we have a package to test.

tcharette

2017-10-04 14:05

reporter   ~0005541

Thank you!

pperry

2017-10-04 14:35

administrator   ~0005542

OK, that looked fairly straightforward. I've built the following package and pushed it to the elrepo testing repository. It should show up on our mirror sites shortly:

kmod-wacom-0.37.0-1.el7_4.elrepo.x86_64.rpm

To test, please do:

yum --enablerepo-elrepo-testing update kmod-wacom

and reboot to a el7.4 kernel

Please note the driver is not backward compatible with earlier RHEL releases. If you can confirm the driver works as expected, I'll move it from testing to the main repository.

Thanks

tcharette

2017-10-05 07:20

reporter   ~0005548

Can I just mention that you're giving me better and quicker support for an open source repo than I usually get for expensive paid support? Really appreciated.

I just reproduced the test. Took an untouched machine where the Wacom pen wasn't working(rhel 7.4), installed the new kmod wacom, rebooted.

Unfortunately, that didn't do it. Still get the same error. (Again with the no device type error)

pperry

2017-10-05 13:39

administrator   ~0005549

Hmm, I've no idea.

Above in #5539 you mentioned " Confirmed that rebuilding input-wacom makes it function". What did you rebuild and how did you rebuild it to confirm it was working?

I pulled the sourceforge source you mentioned and used that (version 0.37.0). Our spec file uses the source in the "3.7" dir (presumably referring to kernel-3.7 ??), but I noted when building, some output also mentioned "3.17". Not sure what the difference between these is?

I note there is also source on: https://github.com/linuxwacom/input-wacom

but this source is similar but not the same as the source I pulled from sourceforge.

Anyway, any fix will have to come from you as I don't have the hardware to test. If you can point me in the right direction as to what we are getting wrong?

tcharette

2017-10-05 14:02

reporter   ~0005550

I did in fact use the tar from sourceforge here: (0.37)

https://sourceforge.net/projects/linuxwacom/files/xf86-input-wacom/input-wacom/

And built following these steps

./configure
make
sudo make install
dracut -f

reboot.

NOTE: This is with the kmod-wacom 0.35 package installed as well.

This has worked on both machines I've tested, but I could try some more.

I'm using the latest 7.4 kernel:
3.10.0-693.2.2.el7.x86_64

pperry

2017-10-05 14:11

administrator   ~0005551

OK, thanks. I think I see a problem, not sure if it the problem.

Looking at recent commits on the github tree:

https://github.com/linuxwacom/input-wacom/commit/102891af018e3c600ab1f7e891044987f9122749

mentions a special case for RHEL7.4 where a hid-wacom module is built. Our package does not contain this module:

$ rpm -qlp kmod-wacom-0.37.0-1.el7_4.elrepo.x86_64.rpm
/etc/depmod.d/kmod-wacom.conf
/lib/modules/3.10.0-693.el7.x86_64
/lib/modules/3.10.0-693.el7.x86_64/extra
/lib/modules/3.10.0-693.el7.x86_64/extra/wacom
/lib/modules/3.10.0-693.el7.x86_64/extra/wacom/wacom.ko
/lib/modules/3.10.0-693.el7.x86_64/extra/wacom/wacom_w8001.ko
/usr/share/doc/kmod-wacom-0.37.0
/usr/share/doc/kmod-wacom-0.37.0/AUTHORS
/usr/share/doc/kmod-wacom-0.37.0/COPYING
/usr/share/doc/kmod-wacom-0.37.0/ChangeLog
/usr/share/doc/kmod-wacom-0.37.0/GPL-v2.0.txt
/usr/share/doc/kmod-wacom-0.37.0/NEWS
/usr/share/doc/kmod-wacom-0.37.0/README
/usr/share/doc/kmod-wacom-0.37.0/version

On a system where you have done a working install from source, please could you show me what wacom modules you have installed. So if this was built on kernel-3.10.0-693.2.2.el7.x86_64

find /lib/modules/3.10.0-693.2.2.el7.x86_64/ -name *wacom*

For a clean RHEL7.4 system, I see the following distro drivers:

$ find /lib/modules/3.10.0-693.2.2.el7.x86_64/ -name *wacom*
/lib/modules/3.10.0-693.2.2.el7.x86_64/kernel/drivers/hid/hid-wacom.ko.xz
/lib/modules/3.10.0-693.2.2.el7.x86_64/kernel/drivers/input/touchscreen/wacom_i2c.ko.xz
/lib/modules/3.10.0-693.2.2.el7.x86_64/kernel/drivers/input/touchscreen/wacom_w8001.ko.xz
/lib/modules/3.10.0-693.2.2.el7.x86_64/kernel/drivers/input/tablet/wacom.ko.xz

So presumably our package should be shipping:

hid-wacom.ko
wacom_w8001.ko
wacom.ko

tcharette

2017-10-05 14:14

reporter   ~0005552

I think you're right!

Here's my listing:

find /lib/modules/3.10.0-693.2.2.el7.x86_64/ -name *wacom*
/lib/modules/3.10.0-693.2.2.el7.x86_64/extra/wacom.ko
/lib/modules/3.10.0-693.2.2.el7.x86_64/extra/wacom_w8001.ko
/lib/modules/3.10.0-693.2.2.el7.x86_64/extra/hid-wacom.ko
/lib/modules/3.10.0-693.2.2.el7.x86_64/kernel/drivers/hid/hid-wacom.ko.xz
/lib/modules/3.10.0-693.2.2.el7.x86_64/kernel/drivers/input/tablet/wacom.ko.xz
/lib/modules/3.10.0-693.2.2.el7.x86_64/kernel/drivers/input/touchscreen/wacom_i2c.ko.xz
/lib/modules/3.10.0-693.2.2.el7.x86_64/kernel/drivers/input/touchscreen/wacom_w8001.ko.xz

pperry

2017-10-05 15:16

administrator   ~0005553

Great, thank you for confirming that.

I've built a new package for you to test based on that which provides the 3 wacom modules above. I've just pushed it to the elrepo testing repository so it should show up soon on our mirrors:

kmod-wacom-0.37.0-2.el7_4.elrepo.x86_64.rpm

Please test and let me know if you have any more success.

Thanks

tcharette

2017-10-06 09:35

reporter   ~0005554

Confirmed working!

Thanks a lot my dude

pperry

2017-10-07 05:00

administrator   ~0005555

Last edited: 2017-10-07 09:24

Excellent. Thanks for the feedback and assistance.

I've promoted the package to the main elrepo repository.

Marking this fixed. Feel free to reopen or or file a new bug if you have any issues.

Issue History

Date Modified Username Field Change
2017-10-04 10:00 tcharette New Issue
2017-10-04 10:00 tcharette Status new => assigned
2017-10-04 10:00 tcharette Assigned To => stindall
2017-10-04 10:06 tcharette Note Added: 0005538
2017-10-04 10:24 tcharette Note Added: 0005539
2017-10-04 13:58 pperry Category --elrepo--OTHER-- => kmod-wacom
2017-10-04 14:00 pperry Assigned To stindall => pperry
2017-10-04 14:01 pperry Note Added: 0005540
2017-10-04 14:05 tcharette Note Added: 0005541
2017-10-04 14:35 pperry Note Added: 0005542
2017-10-05 07:20 tcharette Note Added: 0005548
2017-10-05 13:39 pperry Note Added: 0005549
2017-10-05 14:02 tcharette Note Added: 0005550
2017-10-05 14:11 pperry Note Added: 0005551
2017-10-05 14:14 tcharette Note Added: 0005552
2017-10-05 15:16 pperry Note Added: 0005553
2017-10-06 09:35 tcharette Note Added: 0005554
2017-10-07 05:00 pperry Note Added: 0005555
2017-10-07 05:01 pperry Status assigned => resolved
2017-10-07 05:01 pperry Resolution open => fixed
2017-10-07 09:24 burakkucat Note Edited: 0005555