Bug 1046912 - Serial wacom tablet not recognized (systemd)
Summary: Serial wacom tablet not recognized (systemd)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 20
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-27 11:17 UTC by Putzi81
Modified: 2014-03-30 06:15 UTC (History)
13 users (show)

Fixed In Version: xorg-x11-drv-wacom-0.23.0-5.fc20
Clone Of:
Environment:
Last Closed: 2014-03-30 06:15:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Output of isd4-serial-debugger (6.00 KB, text/plain)
2014-03-12 09:18 UTC, Peter Ludikovsky
no flags Details

Description Putzi81 2013-12-27 11:17:05 UTC
Description of problem:
On an IBM Thinkpad X60t tablet-pc the serial wacom input device is not recognized on startup.

Unloading the kernel module "wacom_w8001" by modprobe -r, inserting the kernel module "wacom" and restarting X makes the wacom tablet work.

Blacklisting wacom_w8001 was not successful.

Version-Release number of selected component (if applicable):
Fedora 20
Kernel 3.12.5-302.fc20.i686
xorg-x11-drv-wacom-0.23.0-2.fc20.i686

output of udevadm:
looking at device '/devices/pnp0/00:0a/tty/ttyS0':
    KERNEL=="ttyS0"
    SUBSYSTEM=="tty"
    DRIVER==""

  looking at parent device '/devices/pnp0/00:0a':
    KERNELS=="00:0a"
    SUBSYSTEMS=="pnp"
    DRIVERS=="serial"
    ATTRS{id}=="WACf004"

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

How reproducible:
always on fedora 20

Steps to Reproduce:
1. normal startup

Actual results:
Stylus input not working.

Expected results:
Input device working out of the box.

Additional info:
There seems to be a solution described at
http://who-t.blogspot.de/2013/12/wacom-serial-devices-and-inputattach-in.html

Comment 1 Putzi81 2013-12-27 11:29:25 UTC
If I try

inputattach --daemon --w8001 /dev/ttyS0

after normal startup - without manually changing the loaded modules -
I get the error message:

inputattach: can't set line discipline


After unloading wacom_w8001 by modprobe -r inputattach works.

Comment 2 Peter Hutterer 2014-01-17 01:11:21 UTC
*** Bug 1048516 has been marked as a duplicate of this bug. ***

Comment 3 Peter Hutterer 2014-01-17 01:20:27 UTC
two questions: did you run inputattach as root?

when it works, is the wacom_w8001 module loaded? should be auto-loaded when triggered by inputattach?

Comment 4 Fedora Update System 2014-01-17 02:58:41 UTC
xorg-x11-drv-wacom-0.23.0-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/xorg-x11-drv-wacom-0.23.0-3.fc20

Comment 5 Fedora Update System 2014-01-18 04:24:47 UTC
Package xorg-x11-drv-wacom-0.23.0-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xorg-x11-drv-wacom-0.23.0-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1058/xorg-x11-drv-wacom-0.23.0-3.fc20
then log in and leave karma (feedback).

Comment 6 a.kassiteridis 2014-01-18 18:50:17 UTC
I do not think this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1048516 !!!

the steps to reproduce are not the same and also the wacom model. I am talking here also about touch (multitouch with finger)!!!.

Comment 7 Fedora Update System 2014-01-20 01:41:13 UTC
xorg-x11-drv-wacom-0.23.0-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/xorg-x11-drv-wacom-0.23.0-4.fc20

Comment 8 a.kassiteridis 2014-01-20 18:48:39 UTC
did anyone test this update? does it fix the problem?

Comment 9 a.kassiteridis 2014-01-30 16:33:50 UTC
Will someone ever fix this bug?

Comment 10 Peter Hutterer 2014-01-30 23:05:01 UTC
still in needinfo from reporter, see comment #3

Comment 11 Putzi81 2014-02-01 22:22:44 UTC
Sorry guys,
In Decemeber I switched on my X60t to openSuse. (needed the stylus to work for school...)
But just last week I installed Heisenbug on my X41t with quite similar hardware.

root@localhost# udevadm info /dev/ttyS0
P: /devices/pnp0/00:09/tty/ttyS0
N: ttyS0
E: DEVNAME=/dev/ttyS0
E: DEVPATH=/devices/pnp0/00:09/tty/ttyS0
E: ID_INPUT=1
E: ID_INPUT_TABLET=1
E: ID_MM_CANDIDATE=1
E: ID_MODEL=Serial Wacom Tablet WACf004
E: MAJOR=4
E: MINOR=64
E: NAME=Serial Wacom Tablet WACf004
E: SUBSYSTEM=tty
E: SYSTEMD_WANTS=wacom-inputattach
E: TAGS=:systemd:
E: USEC_INITIALIZED=770070

I updated the xorg-wacom-driver to the latest version 0.23.0-4.fc20 on testing.
But still no success.

The module "wacom_w8001" is being loaded on startup, module "wacom" is missing in output of lsmod.

Executing inputattach as root still gives me:
root@localhost# inputattach --daemon --w8001 /dev/ttyS0
inputattach: can't set line discipline

Sorry, for my answer on needinfo-request being late.
Any more information you need?
Thanks in advance,
martin.

Comment 12 Putzi81 2014-02-01 22:36:00 UTC
One thing is different now with xorg-x11-drv-wacom-0.23.0-4.fc20 :

After unloading module wacom_w8001 by
root@localhost# modprobe -r wacom_w8001

The wacom_w8001 module is immediately being re-inserted and the device is recognized as a new input device.

root@localhostr# dmesg | tail
[  886.420069] usbcore: registered new interface driver wacom
[ 1696.351493] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[ 1748.705414] serio: Serial port ttyS0
[ 1750.966282] input: Wacom Serial Touchscreen as /devices/pnp0/00:09/tty/ttyS0/serio4/input/input10
[ 1773.915088] serio: Serial port ttyS0
[ 1776.190281] input: Wacom Serial Touchscreen as /devices/pnp0/00:09/tty/ttyS0/serio5/input/input11
[ 1811.765942] SELinux: initialized (dev proc, type proc), uses genfs_contexts
[ 1839.676235] perf samples too long (2508 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[ 1923.559202] serio: Serial port ttyS0
[ 1925.834318] input: Wacom Serial Touchscreen as /devices/pnp0/00:09/tty/ttyS0/serio6/input/input12

So unloading the wacom_w8001 doesn't bring the stylus-input to life.

Comment 13 mezzanotte34 2014-02-02 11:59:59 UTC
I can confirm this behavior with F20 on a x201t after boot:

xinput list does not show any wacom-related device
(neither as normal user nor as root)
same with gnome-settings => wacom:  'No Tablet detected!"

After sudo modprobe -r wacom_w8001
and modprobe wacom and restarting xserver
  ('sudo init 3' than login as root and 'init 5')

xinput list see's:
⎜   ↳ Serial Wacom Tablet WACf004 stylus        id=14   [slave  pointer  (2)]
⎜   ↳ Serial Wacom Tablet WACf004 eraser        id=15   [slave  pointer  (2)]

same with gnome-settings: Now wacom see's tablet, but stylus not working.

...

Meanwhile I updated xorg-x11-drv-wacom to 0.23.0-4.fc20

Now after:
sudo modprobe -r wacom_w8001, then loading wacom and restarting xserver:

It's working:
xinput see's the stylus and gnome-settings=>wacom detects
 - Wacom Serial Tablet WACf004

Stylus and Eraser work as expected :-)

Comment 14 Peter Hutterer 2014-02-05 05:46:55 UTC
huh, weird. is there anything in the journal that hints at the previous attempt failing? 

systemctl status wacom-inputattach

should show some info

Comment 15 beat 2014-03-03 21:34:12 UTC
I have the same error on my HP 2730p. with Fedora 20
No tablet detected!

The solution from mezzanotte34 is working

As Admin..

Init 3
Init 5

And the tablet is working .. strange

Comment 16 Fedora Update System 2014-03-04 06:43:31 UTC
xorg-x11-drv-wacom-0.23.0-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Putzi81 2014-03-04 16:59:14 UTC
Just updated to new version 0.23.0-4.fc20 of xorg-x11-drv-wacom.

Same problem still persists.
as root:
init 3
init 5
after startup resolvs the problem, just as beat described.

~$ systemctl status wacom-inputattach

wacom-inputattach - inputattach for Wacom ISDv4-compatible serial devices
   Loaded: loaded (/usr/lib/systemd/system/wacom-inputattach@.service; static)
   Active: inactive (dead) since Di 2014-03-04 17:46:02 CET; 8min ago
  Process: 549 ExecStart=/usr/bin/inputattach -w8001 /dev/%I (code=killed, signal=TERM)
 Main PID: 549 (code=killed, signal=TERM)

Mär 04 17:46:02 localhost.localdomain systemd[1]: Stopping inputattach for Wacom ISDv4-compatible serial devices...

Seems like killing 549 made the tablet-input work.

Sorry for not answering more promptly.

Comment 18 beat 2014-03-04 19:30:06 UTC
I can confirm 
xorg-x11-drv-wacom-0.23.0-4.fc20

still the same error.

Comment 19 Peter Ludikovsky 2014-03-05 13:35:34 UTC
xorg-x11-drv-wacom-0.23.0-4.fc20 on Lenovo X200 Tablet here. Pen is not working right after boot. After issuing
  sudo systemctl stop wacom-inputattach@ttyS0
and logging off and on again the pen is working as expected. Seems that with these devices, the inputattach daemon is actually preventing the X11 driver from receiving data.

Comment 20 Tyler B 2014-03-05 20:51:30 UTC
(In reply to Fedora Update System from comment #16)
> xorg-x11-drv-wacom-0.23.0-4.fc20 has been pushed to the Fedora 20 stable
> repository.  If problems still persist, please make note of it in this bug
> report.

Can confirm issue still exists. Can confirm on Fedora 20 KDE, Gnome, and Korora Cinnamon. All latest updates as of March 5, 2014 made.

Machine is an HP TC4400 Tablet with Wacom Tablet Screen

Previously mentioned solution
Init 3
Init 5
works on this machine as well.

Comment 21 Peter Hutterer 2014-03-06 08:03:33 UTC
if stopping the inputattach service works, then the problem is with inputattach (and should show up in journactl). Please run inputattach as root with the following options:

  inputattach --w8001 --baud 19200 /dev/ttyS0
  inputattach --w8001 --baud 38400 /dev/ttyS0

does either of those work?

until we fix this bug, disabling the inputattach service will be a workaround, the driver will then init the device itself (systemctl disable wacom-inputattach@.service)

Comment 22 Putzi81 2014-03-06 12:43:56 UTC
   systemctl disable wacom-inputattach@.service
does not work and results in no output (even no error).

Whereas  systemctl stop wacom-inputattach@.service
clearly states
Failed to issue method call: Unit name wacom-inputattach@.service is not valid.

Maybe it should be
   systemctl disable wacom-inputattach
? ;)

Even after disabling and reboot 
   systemctl | grep wacom
reports

wacom-inputattach                                                           loaded active running   inputattach for Wacom ISDv4-compatible serial devices
system-wacom\x2dinputattach.slice                                                         loaded active active    system-wacom\x2dinputattach.slice

So disabling wacom-inputattach doesn't disable the service ??

--

   systemctl stop wacom-inputattach
   systemctl | grep wacom

still gives

system-wacom\x2dinputattach.slice                                                         loaded active active    system-wacom\x2dinputattach.slice

and the tablet doesn't work..


--

   inputattach  --baud 38400 --w8001 /dev/ttyS0
and
   inputattach  --baud 19200 --w8001 /dev/ttyS0
give the same output:
 inputattach: can't set line discipline

Comment 23 Tyler B 2014-03-06 15:39:54 UTC
(In reply to Peter Hutterer from comment #21)
> if stopping the inputattach service works, then the problem is with
> inputattach (and should show up in journactl). Please run inputattach as
> root with the following options:
> 
>   inputattach --w8001 --baud 19200 /dev/ttyS0
>   inputattach --w8001 --baud 38400 /dev/ttyS0
> 
> does either of those work?
> 
> until we fix this bug, disabling the inputattach service will be a
> workaround, the driver will then init the device itself (systemctl disable
> wacom-inputattach@.service)

Commands return the following output without working on my HP TC4400

[10:37] root@COMP ~ # inputattach --w8001 --baud 19200 /dev/ttyS0
inputattach: '19200' - only one mode allowed
[10:37] root@COMP ~ # inputattach --w8001 --baud 38400 /dev/ttyS0
inputattach: '38400' - only one mode allowed


Running
systemctl disable wacom-inputattach@.service
As root produces no output, but also no fix.

[10:37] root@COMP ~ # systemctl disable wacom-inputattach@.service
[10:37] root@COMP ~ #

Comment 24 Peter Hutterer 2014-03-07 03:44:45 UTC
huh, apparently inputattach only allows --baud to be specified first, so please try again
  inputattach --baud 19200 --w8001 /dev/ttyS0
  inputattach --baud 38400 --w8001 /dev/ttyS0

Comment 25 beat 2014-03-07 05:27:53 UTC
[root@acolade ~]#  inputattach --baud 38400 --w8001 /dev/ttyS0
inputattach: can't set line discipline
[root@acolade ~]#  inputattach --baud 38400 --w8001 /dev/ttyS0
inputattach: can't set line discipline

has no effect on my system.


some additional informations..
After a new install of  Fedora 20 live CD on a second tablet the tablet was working "out of the box". After installing all programms (same programms as actual pc) including *wacom* the tablet lost his wacom activity

Comment 26 beat 2014-03-11 19:09:14 UTC
update..

after LiveCD Install

with Linux Kernel 3.11.10-301.fc20.x86_64 ->> wacom is activated

after update without adding extra packages

with Linux Kernel 3.13.6-200.fc20.x86_64 ->> wacom can only be activated with the init procedure

Comment 27 Peter Hutterer 2014-03-11 23:16:06 UTC
please install xorg-x11-drv-wacom-devel, then run the isd4-serial-debugger tool. See if you can make it work and print out the events the device sends you. If so, let me know the command you need for that.

Please also grab a test version of inputattach from here and see if that works now (and if not, what the error message is):
http://people.redhat.com/phuttere/rpms/1046912/

Comment 28 Peter Ludikovsky 2014-03-12 09:18:21 UTC
Created attachment 873373 [details]
Output of isd4-serial-debugger

Updated to current packages as of 2014-03-12 08:30 UTC, rebooted, and ran the debugger tool. Complete output attached as wacom-debug-20140312_0.log

Rebooted again after installing linuxconsoletools-1.4.6-2.bz1046912.fc20.x86_64.rpm
Pen was unresponsive after reboot.
Stopped wacom-inputattach and ran inputattach manually from the console. Results:
 * inputattach -w8001 /dev/ttyS0
   Pen responds, but not in any meaningful way (Cursor jumps around unpredictably)
 * inputattach --baud 19200 -w8001 /dev/ttyS0
   Pen responds, with cursor location matching pen input
 * inputattach --baud 38400 -w8001 /dev/ttyS0
   Pen does not respond

Comment 29 beat 2014-03-12 10:54:53 UTC
I confirm Peter's comment

After a reboot..

[root@acolade ~]# isdv4-serial-debugger -v -b 38400 /dev/ttyS0 >> wacom.log
Failed to get serial attributes.: Invalid argument
[root@acolade ~]# systemctl list-units|grep inputa
wacom-inputattach                                                           loaded active running   inputattach for Wacom ISDv4-compatible serial devices
system-wacom\x2dinputattach.slice                                                         loaded active active    system-wacom\x2dinputattach.slice
[root@acolade ~]# systemctl stop wacom-inputattach 
[root@acolade ~]# isdv4-serial-debugger -v -b 38400 /dev/ttyS0 >> wacom.log
parsing error code -1
error during query.
[root@acolade ~]# isdv4-serial-debugger -v -b 38400 /dev/ttyS0 >> wacom1.log
parsing error code -1
error during query.
[root@acolade ~]# isdv4-serial-debugger -v -b 38400 /dev/ttyS0 
... Opening device '/dev/ttyS0'.
... Baud rate is 38400
... Querying tablet.
... Writing STOP command.
... Written '0'.
... Written '*'.
... Reading 11 bytes from device.
^C
[root@acolade ~]# isdv4-serial-debugger -v -b 38400 /dev/ttyS0 >> wacom2.log
touch parsing error code -1
^C
[root@acolade ~]# systemctl start wacom-inputattach
[root@acolade ~]# isdv4-serial-debugger -v -b 38400 /dev/ttyS0 >> wacom3.log
Failed to get serial attributes.: Invalid argument

-- wacom.log
... Opening device '/dev/ttyS0'.
... Opening device '/dev/ttyS0'.
... Baud rate is 38400
... Querying tablet.
... Writing STOP command.
... Written '0'.
... Written '*'.
... Reading 11 bytes from device.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... read 8 bytes in one chunk.
... read 1 bytes in one chunk.
... Read 11 bytes.
... skipping over 2 bytes.
... 2 bytes garbage.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... Read 11 bytes.
... +++ out of cheese error +++ redo from start +++
... Reading 11 bytes from device.
... read 1 bytes in one chunk.
... read 9 bytes in one chunk.
... read 1 bytes in one chunk.
... Read 11 bytes.
... skipping over 1 bytes.
... 1 bytes garbage.
... read 1 bytes in one chunk.
... Read 11 bytes.
... Parsing query reply.

-- wacom1.log
... Opening device '/dev/ttyS0'.
... Baud rate is 38400
... Querying tablet.
... Writing STOP command.
... Written '0'.
... Written '*'.
... Reading 11 bytes from device.
... read 1 bytes in one chunk.
... read 8 bytes in one chunk.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... Read 11 bytes.
... skipping over 1 bytes.
... 1 bytes garbage.
... read 1 bytes in one chunk.
... Read 11 bytes.
... +++ out of cheese error +++ redo from start +++
... Reading 11 bytes from device.
... read 8 bytes in one chunk.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... Read 11 bytes.
... Parsing query reply.

-- wacom2.log
... Opening device '/dev/ttyS0'.
... Baud rate is 38400
... Querying tablet.
... Writing STOP command.
... Written '0'.
... Written '*'.
... Reading 11 bytes from device.
... read 1 bytes in one chunk.
... read 9 bytes in one chunk.
... read 1 bytes in one chunk.
... Read 11 bytes.
... skipping over 1 bytes.
... 1 bytes garbage.
... read 1 bytes in one chunk.
... Read 11 bytes.
... +++ out of cheese error +++ redo from start +++
... Reading 11 bytes from device.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... read 8 bytes in one chunk.
... read 1 bytes in one chunk.
... Read 11 bytes.
... skipping over 2 bytes.
... 2 bytes garbage.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... Read 11 bytes.
... Parsing query reply.
TABLET: version: 3864
TABLET: x max: 52251 y max 52320
TABLET: tilt_x max: 0 tilt_y max 0
TABLET: pressure max: 0
... Trying touch query
... Writing STOP command.
... Written '0'.
... garbage flushed
... garbage flushed
... garbage flushed
... garbage flushed
... garbage flushed
... garbage flushed
... garbage flushed
... garbage flushed
... garbage flushed
... garbage flushed
... garbage flushed
... garbage flushed
... Written '%'.
... Reading 11 bytes from device.
... read 4 bytes in one chunk.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... read 1 bytes in one chunk.
... Read 11 bytes.
... Parsing touch query reply.
... Writing SAMPLING command.
... Written '1'.
... Waiting for events
... Expecting packet sized 5
TOUCH	1394620389: 3078/16224 | capacity:   0 | 0 | 
... skipping over -1 bytes.
... skipping over -1 bytes.
... skipping over -1 bytes.
... skipping over -1 bytes.
... skipping over -1 bytes.
... skipping over -1 bytes.
... skipping over 6 bytes.
... Expecting packet sized 5
TOUCH	1394620389: 3078/16224 | capacity:   0 | 0 | 
... Expecting packet sized 5
TOUCH	1394620389:29574/  774 | capacity:   0 | 0 | 
and do on...

* inputattach -w8001 /dev/ttyS0
   Pen responds, but not in any meaningful way (Cursor jumps around unpredictably)

PEN DOES NOT RESPOND AT ALL 

 * inputattach --baud 19200 -w8001 /dev/ttyS0
   Pen responds, with cursor location matching pen input

I CONFIRM

 * inputattach --baud 38400 -w8001 /dev/ttyS0
   Pen does not respond

I CONFIRM

Comment 30 Peter Hutterer 2014-03-17 00:35:47 UTC
I've put a temporary COPR up for this bug here:
https://copr.fedoraproject.org/coprs/whot/wacom-inputattach-1046912-/

Please update xorg-x11-drv-wacom, restart and let me know if that works for you now.

Comment 31 Peter Ludikovsky 2014-03-17 09:00:23 UTC
Installed the new build. Pen is not responsive until after stopping the inputattach unit and restarting X11.

Comment 32 beat 2014-03-17 09:14:29 UTC
How did you install xorg-x11-drv-wacom ? 
Found no new wacom driver in this repo 

yum --disablerepo=* --enablerepo=whot-wacom-inputattach-1046912- reinstall xorg-x11-drv-wacom*
Modules complémentaires chargés : langpacks
Résolution des dépendances
--> Lancement de la transaction de test
---> Le paquet xorg-x11-drv-wacom-debuginfo.x86_64 0:0.23.0-4.bz1046912.fc20 sera réinstallé
--> Résolution des dépendances terminée

Dépendances résolues

================================================================================
 Package                      Architecture
                                     Version                 Dépôt        Taille
================================================================================
Réinstallation :
 xorg-x11-drv-wacom-debuginfo x86_64 0.23.0-4.bz1046912.fc20 whot-wacom-inputattach-1046912-
                                                                          249 k
Indisponible:
 xorg-x11-drv-wacom-devel     x86_64 0.23.0-4.fc20           -            0.0  
 xorg-x11-drv-wacom           x86_64 0.23.0-4.fc20           -            0.0  

Résumé de la transaction
================================================================================
Réinstallation  1 Paquet
Indisponible    2 Paquets

Comment 33 Peter Hutterer 2014-03-17 09:15:27 UTC
Peter: you need to install the package, then run systemctl daemon-reload followed by a restart of the wacom-inputattach@.service. so easier to just reboot to make sure you have everything running correctly. is that what you did?

I replaced inputattach with a version that should work on the tablet now. If you don't have a tablet show up in /proc/bus/input/devices, then please run
sudo /usr/bin/isdv4-serial-inputattach --verbose /dev/ttyS0 and post the output here (if any). make sure the service is stopped before doing so.

also, does journalctl show anything after boot?

Comment 34 Peter Hutterer 2014-03-17 09:16:27 UTC
beat: don't use reinstall (it'll try to install the same package), use update instead.

Comment 35 Peter Ludikovsky 2014-03-17 09:50:11 UTC
Sorry, forgot to metion that I did reboot, as I do that automatically whenever something driver-related changes (as it's simpler).

/proc/bus/input/devices shows no matching entry once the service is stopped.

Output of isdv4-serial-inputattach:
[peter@rose ~]$ sudo /usr/bin/isdv4-serial-inputattach --verbose /dev/ttyS0
... Opening device '/dev/ttyS0'.
... Baud rate is 38400
^C[peter@rose ~]$ sudo /usr/bin/isdv4-serial-inputattach --baudrate 19200 --verbose /dev/ttyS0
... Opening device '/dev/ttyS0'.
... Baud rate is 19200
^C[peter@rose ~]$

journalctl:
[peter@rose ~]$ journalctl -x -l -b |grep -iE 'wacom|inputattach|ttyS0'
Mär 17 10:26:01 rose.vortex.local kernel: 00:09: ttyS0 at I/O 0x200 (irq = 5, base_baud = 115200) is a 16550A
Mär 17 10:26:09 rose.vortex.local systemd[1]: Starting system-wacom\x2dinputattach.slice.
-- Subject: Unit system-wacom\x2dinputattach.slice has begun with start-up
-- Unit system-wacom\x2dinputattach.slice has begun starting up.
Mär 17 10:26:09 rose.vortex.local systemd[1]: Created slice system-wacom\x2dinputattach.slice.
-- Subject: Unit system-wacom\x2dinputattach.slice has finished start-up
-- Unit system-wacom\x2dinputattach.slice has finished starting up.
Mär 17 10:26:42 rose.vortex.local kernel: serio: Serial port ttyS0
Mär 17 10:26:42 rose.vortex.local kernel: input: Wacom Serial Touchscreen as /devices/pnp0/00:09/tty/ttyS0/serio2/input/input13
Mär 17 10:38:25 rose.vortex.local sudo[2153]: peter : TTY=pts/0 ; PWD=/home/peter ; USER=root ; COMMAND=/bin/systemctl stop wacom-inputattach@ttyS0
Mär 17 10:38:25 rose.vortex.local systemd[1]: Stopping inputattach for Wacom ISDv4-compatible serial devices...
-- Subject: Unit wacom-inputattach has begun shutting down
-- Unit wacom-inputattach has begun shutting down.
Mär 17 10:38:25 rose.vortex.local systemd[1]: Stopped inputattach for Wacom ISDv4-compatible serial devices.
-- Subject: Unit wacom-inputattach has finished shutting down
-- Unit wacom-inputattach has finished shutting down.
Mär 17 10:39:05 rose.vortex.local sudo[2172]: peter : TTY=pts/0 ; PWD=/home/peter ; USER=root ; COMMAND=/usr/bin/isdv4-serial-inputattach --verbose /dev/ttyS0
Mär 17 10:39:05 rose.vortex.local kernel: serio: Serial port ttyS0
Mär 17 10:39:07 rose.vortex.local kernel: input: Wacom Serial Touchscreen as /devices/pnp0/00:09/tty/ttyS0/serio3/input/input14
Mär 17 10:39:42 rose.vortex.local sudo[2183]: peter : TTY=pts/0 ; PWD=/home/peter ; USER=root ; COMMAND=/usr/bin/isdv4-serial-inputattach --baudrate 19200 --verbose /dev/ttyS0
Mär 17 10:39:42 rose.vortex.local kernel: serio: Serial port ttyS0
Mär 17 10:39:42 rose.vortex.local kernel: input: Wacom Serial Penabled 1FG Touchscreen as /devices/pnp0/00:09/tty/ttyS0/serio4/input/input15
Mär 17 10:40:47 rose.vortex.local sudo[2195]: peter : TTY=pts/0 ; PWD=/home/peter ; USER=root ; COMMAND=/usr/bin/isdv4-serial-inputattach --verbose /dev/ttyS0
Mär 17 10:40:47 rose.vortex.local kernel: serio: Serial port ttyS0
Mär 17 10:40:50 rose.vortex.local kernel: input: Wacom Serial Touchscreen as /devices/pnp0/00:09/tty/ttyS0/serio5/input/input16
Mär 17 10:41:00 rose.vortex.local sudo[2204]: peter : TTY=pts/0 ; PWD=/home/peter ; USER=root ; COMMAND=/usr/bin/isdv4-serial-inputattach --baudrate 19200 --verbose /dev/ttyS0
Mär 17 10:41:00 rose.vortex.local kernel: serio: Serial port ttyS0
Mär 17 10:41:00 rose.vortex.local kernel: input: Wacom Serial Penabled 1FG Touchscreen as /devices/pnp0/00:09/tty/ttyS0/serio6/input/input17

Comment 36 Peter Hutterer 2014-03-17 10:30:45 UTC
huh, how weird. when you start with 19200 (which is what it should pick automatically anyway) it looks like it initializes just fine. except that judging by the journal output every time you run the command it gets a different name... weird. when you run with 19200, do you see anything added to /proc/bus/input/devices? if you run evtest or evemu-record, do you see output on the new device? and can you confirm it really changes the name?

also, just for some background: inputattach or the new isd4-serial-inputattach must be running for a device to show up in /proc. it binds the tty to the driver, so the kernel initializes an input device. that's why it is a service, as soon as you terminate it the device goes away again. once the device shows up though it should also be picked up by X and be visible in xinput list, you don't need to restart for that.

Comment 37 Peter Ludikovsky 2014-03-17 10:55:19 UTC
/proc/bus/input/devices with wacom-inputattach:
I: Bus=0013 Vendor=056a Product=0000 Version=0100
N: Name="Wacom Serial Touchscreen"
P: Phys=ttyS0/serio0/input0
S: Sysfs=/devices/pnp0/00:09/tty/ttyS0/serio9/input/input20
U: Uniq=
H: Handlers=event12 
B: PROP=2
B: EV=b
B: KEY=0
B: ABS=0

/proc/bus/input/devices with isdv4-serial-inputattach:
I: Bus=0013 Vendor=056a Product=0093 Version=0100
N: Name="Wacom Serial Penabled 1FG Touchscreen"
P: Phys=ttyS0/serio0/input0
S: Sysfs=/devices/pnp0/00:09/tty/ttyS0/serio7/input/input18
U: Uniq=
H: Handlers=mouse1 event12 
B: PROP=2
B: EV=b
B: KEY=1c23 0 0 0 0 0
B: ABS=1000003

At 19200 evtest lists events without a hitch, at 38400 (both with the system service and isdv4-serial-inpuattach) it remains silent.

Comment 38 Peter Hutterer 2014-03-17 11:24:24 UTC
right, so the second one looks good. now the question is why you don't get the same thing when started through the service. Maybe the baud-rate guesswork is off. You can edit the unit file to add --baudrate yourself in the exec command. does that work? if so, run udevadm info --export-db | grep WACf and tell me what ID the tablet has.

Comment 39 Peter Ludikovsky 2014-03-17 11:50:45 UTC
Added the baud parameter, and the pen works as expected.
udevadm:
[peter@rose ~]$ udevadm info --export-db|grep WACf
E: ID_MODEL=Serial Wacom Tablet WACf00c
E: NAME=Serial Wacom Tablet WACf00c
E: ID_MODEL=Serial Wacom Tablet WACf00c
E: NAME=Serial Wacom Tablet WACf00c
[peter@rose ~]$ udevadm info --export-db|grep -i wacom
E: ID_VENDOR_FROM_DATABASE=Wacom Tech
E: ID_MODEL=Serial Wacom Tablet WACf00c
E: NAME=Serial Wacom Tablet WACf00c
E: ID_MODEL=Serial Wacom Tablet WACf00c
E: NAME=Serial Wacom Tablet WACf00c
E: SYSTEMD_WANTS=wacom-inputattach
E: NAME="Wacom Serial Penabled 1FG Touchscreen"

Comment 40 beat 2014-03-17 13:22:40 UTC
i'm sorry i was trying to update with your package and did a reinstall to show you as it did not install the driver. After the erase of the original driver the install went verry well. 

after the reboot my stylo is working just PERFECT!

thank's a lot peter & peter

Comment 41 Peter Hutterer 2014-03-18 05:17:21 UTC
please update from the same repo as above, I pushed out version .3. This one automatically adjusts the baud rate until successful and should now work on your devices. xorg-x11-drv-wacom-0.23.0-4.bz1046912.3.fc20.src.rpm

(copr is down at the moment, not sure this build got through before)

Comment 42 Peter Ludikovsky 2014-03-18 15:14:36 UTC
Copr back up. Installed the .3 version, rebooted, pen is working as expected!

Thanks for the help!

Comment 43 Fedora Update System 2014-03-19 11:05:26 UTC
xorg-x11-drv-wacom-0.23.0-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/xorg-x11-drv-wacom-0.23.0-5.fc20

Comment 44 Peter Hutterer 2014-03-20 00:12:24 UTC
just as a heads up, I'll be deleting the copr now that a proper update is in place. Thanks for testing, please do give karma to get the update into F20 asap.

Comment 45 Fedora Update System 2014-03-20 03:06:15 UTC
Package xorg-x11-drv-wacom-0.23.0-5.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xorg-x11-drv-wacom-0.23.0-5.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4092/xorg-x11-drv-wacom-0.23.0-5.fc20
then log in and leave karma (feedback).

Comment 46 Tyler B 2014-03-27 16:01:55 UTC
(In reply to Fedora Update System from comment #45)
> Package xorg-x11-drv-wacom-0.23.0-5.fc20:
> * should fix your issue,
> * was pushed to the Fedora 20 testing repository,
> * should be available at your local mirror within two days.
> Update it with:
> # su -c 'yum update --enablerepo=updates-testing
> xorg-x11-drv-wacom-0.23.0-5.fc20'
> as soon as you are able to.
> Please go to the following url:
> https://admin.fedoraproject.org/updates/FEDORA-2014-4092/xorg-x11-drv-wacom-
> 0.23.0-5.fc20
> then log in and leave karma (feedback).

Will do. Package update fixed my TC4400 serial wacom as well. The work is very appreciated, and I apologize about my late response (distro hopped in the meantime).

Comment 47 Fedora Update System 2014-03-30 06:15:52 UTC
xorg-x11-drv-wacom-0.23.0-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.