Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] x200T no xorg wacom output
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
darkii
n00b
n00b


Joined: 26 Aug 2021
Posts: 37

PostPosted: Tue Aug 30, 2022 9:03 am    Post subject: [SOLVED] x200T no xorg wacom output Reply with quote

hello everyone, i have broken(softwarewise) my wacom screen on x200t and it doesn't work
lsmod doesn't show wacom or wacom_w8001 yet
/dev/ttyS0 exists and
Code:
cat /dev/ttyS0
prints output pseudocode if i move digitizer to screen
also xorg shows this error both under root and regular user
Code:

[   104.630] (EE) systemd-logind: failed to take device /dev/ttyS0: No such device
[   104.630] (**) Serial Wacom Tablet WACf008: always reports core events
[   104.630] (**) Option "Device" "/dev/ttyS0"
[   104.630] (**) Option "StopBits" "1"
[   104.630] (**) Option "DataBits" "8"
[   104.630] (**) Option "Parity" "None"
[   104.630] (**) Option "Vmin" "1"
[   104.631] (**) Option "Vtime" "10"
[   104.631] (**) Option "FlowControl" "Xoff"
[   104.631] (EE) wacom: Serial Wacom Tablet WACf008: usbDetect: can not ioctl version
[   104.631] (EE) wacom: Serial Wacom Tablet WACf008: cannot identify device class.
[   104.631] (EE) PreInit returned 8 for "Serial Wacom Tablet WACf008"

i have INPUT_DEVICES="wacom libinput" in make.conf
lsusb and lspci both do not show any wacom-related output, all(i think) relevant kernel configs enabled and im completely lost :cry:


Last edited by darkii on Sat Sep 03, 2022 4:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Wed Aug 31, 2022 11:47 am    Post subject: Reply with quote

Hi do you see something like
Code:

CONFIG_TABLET_SERIAL_WACOM4=m
CONFIG_TOUCHSCREEN_WACOM_W8001=m
CONFIG_TOUCHSCREEN_WACOM_I2C=m
CONFIG_HID_WACOM=m


in your .config?
Do you see your touchscreen by
Code:

udevadm info --export-db | grep -i touchscreen

?
_________________
:)
Back to top
View user's profile Send private message
darkii
n00b
n00b


Joined: 26 Aug 2021
Posts: 37

PostPosted: Wed Aug 31, 2022 1:13 pm    Post subject: Reply with quote

Thanks for the reply, and yes, all wacom drivers compiled modules, is that the problem?
Code:

CONFIG_TABLET_SERIAL_WACOM4=m
CONFIG_TOUCHSCREEN_WACOM_W8001=m
CONFIG_TOUCHSCREEN_WACOM_I2C=m
CONFIG_HID_WACOM=m

there is no output of this command though
alamahant wrote:

Do you see your touchscreen by
Code:

udevadm info --export-db | grep -i touchscreen

?

so even udev can't see it
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Wed Aug 31, 2022 1:23 pm    Post subject: Reply with quote

Plz see also
Code:

You should also create Xorg config file so that Xorg knows which driver should be used for the tablet. Example:

FILE /etc/X11/xorg.conf.d/42-libinput.conf
Section "InputClass"
        Identifier "Tablet"
        Driver "wacom"
        MatchIsTablet "on"
EndSection

from
https://wiki.gentoo.org/wiki/Wacom#Kernel
_________________
:)
Back to top
View user's profile Send private message
darkii
n00b
n00b


Joined: 26 Aug 2021
Posts: 37

PostPosted: Wed Aug 31, 2022 2:37 pm    Post subject: Reply with quote

i have that exactly copied, and there's still nothing, that's also super weird that i can't see module autoloading after rebooting
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Wed Aug 31, 2022 2:43 pm    Post subject: Reply with quote

Try
Code:

modprobe -v wacom

and plz look the dmesg also for hints.
_________________
:)
Back to top
View user's profile Send private message
darkii
n00b
n00b


Joined: 26 Aug 2021
Posts: 37

PostPosted: Sat Sep 03, 2022 4:26 pm    Post subject: Reply with quote

i repaired it :) thishttps://documentation.fandom.com/wiki/Wacom_Linux site helped a lot, i needed to reconfigure x and it's input devices
Back to top
View user's profile Send private message
shmerps
n00b
n00b


Joined: 22 Apr 2023
Posts: 32

PostPosted: Wed Jul 17, 2024 1:23 am    Post subject: Reply with quote

Do you happen to still have the configurations on you? I've been struggling to set up my x200t

thanks in advance
Back to top
View user's profile Send private message
darkii
n00b
n00b


Joined: 26 Aug 2021
Posts: 37

PostPosted: Wed Jul 17, 2024 2:05 pm    Post subject: Reply with quote

sure i forgot to post the actual solution :oops: i'll do that a little later
for now a little rough draft from what i recall from memory: apparently you dont need to set up any custom driver setup, non-multitocuch regular /dev/ttyS0 serial console works with inputattach sourced from games-util/joystick atom, so i reverced all cutom patches and non-working configs fwom wacom, uninstalled libwacom, and linuxwacom, and just reemerged games-util/joystick, and added (i think it was) inputattach --noinit --daemon --w8001 /dev/ttyS0 to my xinitrc

PS i dont quite rememeber all the specifics, i'll elaborate, a little later, when i get access to x200T machine
Back to top
View user's profile Send private message
shmerps
n00b
n00b


Joined: 22 Apr 2023
Posts: 32

PostPosted: Fri Jul 19, 2024 12:53 am    Post subject: Reply with quote

Thanks for your quick reply! ill try messing with what you mentioned before you get back to your x200.
Back to top
View user's profile Send private message
darkii
n00b
n00b


Joined: 26 Aug 2021
Posts: 37

PostPosted: Fri Jul 19, 2024 7:17 pm    Post subject: Reply with quote

as of kernel 6.1.10 i have
Code:
CONFIG_TABLET_SERIAL_WACOM=M
CONFIG_TOUCHSCREEN_WACOM_W8001=m

both dev-libs/libwacom x11-drivers/xf86-input-wacom are uninstalled, inputattach is sourced from games-util/joystick
make.confs' INPUT_DEVICES="libinput"
as i dont use a dm, i added
Code:
inputattach --daemon --noinit --w8001 /dev/ttyS0 &

to .xinitrc

that is all i think !
Back to top
View user's profile Send private message
shmerps
n00b
n00b


Joined: 22 Apr 2023
Posts: 32

PostPosted: Fri Jul 19, 2024 11:51 pm    Post subject: Reply with quote

thanks!

I'll give it a spin and report back on how it goes!
Back to top
View user's profile Send private message
shmerps
n00b
n00b


Joined: 22 Apr 2023
Posts: 32

PostPosted: Sat Jul 20, 2024 1:38 am    Post subject: Reply with quote

Just an update: I used what you recommended and now I have no errors in my xorg log! but xorg still fails to start for some reason so I'll trouble shoot that and post what happens with that sometime a week from now.

Probably not the source of the problem but is your VIDEO_CARDS also set to "intel"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum