LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-19-2020, 04:42 AM   #1
gusgorman
Member
 
Registered: Mar 2002
Location: uk
Distribution: slackware-9b, mandrake-8.1
Posts: 61

Rep: Reputation: 16
Touchpad works in Ubuntu but not Slackware Current


Hello,

Sorry for the duplicate thread, I originally started this in the laptop section before I had done a test with Ubuntu.

My touchpad on my laptop (PcSpecialist Fusion Series) isn't working after installing Slackware current, and nothing is showing up in /proc/bus/input/devices.

I tried booting from a Ubuntu live iso and it worked straight away. Ubuntu is on a slightly different kernel (5.4.0-26) comparent to Current (5.4.41).

/proc/bus/input/devices shows up as follows in Ubuntu: From this info is it possible to work out what I should do to get this working in slackware?

Code:
ubuntu@ubuntu:~$ cat /proc/bus/input/devices 
I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0
U: Uniq=
H: Handlers=kbd event0 
B: PROP=0
B: EV=3
B: KEY=4000 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
U: Uniq=
H: Handlers=event2 
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input4
U: Uniq=
H: Handlers=sysrq kbd event4 leds 
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input5
U: Uniq=
H: Handlers=kbd event5 
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:47/LNXVIDEO:01/input/input6
U: Uniq=
H: Handlers=kbd event6 
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0003 Vendor=5986 Product=9101 Version=4412
N: Name="HD Webcam: HD Webcam"
P: Phys=usb-0000:00:14.0-7/button
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input9
U: Uniq=
H: Handlers=kbd event7 
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0018 Vendor=093a Product=1336 Version=0100
N: Name="UNIW0001:00 093A:1336 Mouse"
P: Phys=i2c-UNIW0001:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-UNIW0001:00/0018:093A:1336.0001/input/input10
U: Uniq=
H: Handlers=mouse0 event8 
B: PROP=2
B: EV=17
B: KEY=1 30000 0 0 0 0
B: REL=3
B: MSC=10

I: Bus=0018 Vendor=093a Product=1336 Version=0100
N: Name="UNIW0001:00 093A:1336 Touchpad"
P: Phys=i2c-UNIW0001:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-UNIW0001:00/0018:093A:1336.0001/input/input11
U: Uniq=
H: Handlers=mouse1 event9 
B: PROP=5
B: EV=1b
B: KEY=e420 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input12
U: Uniq=
H: Handlers=event10 
B: PROP=0
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input13
U: Uniq=
H: Handlers=event11 
B: PROP=0
B: EV=21
B: SW=4

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input14
U: Uniq=
H: Handlers=event12 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input15
U: Uniq=
H: Handlers=event13 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=8"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input16
U: Uniq=
H: Handlers=event14 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=9"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input17
U: Uniq=
H: Handlers=event15 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=10"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input18
U: Uniq=
H: Handlers=event16 
B: PROP=0
B: EV=21
B: SW=140
Code:
ubuntu@ubuntu:~$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ UNIW0001:00 093A:1336 Mouse             	id=12	[slave  pointer  (2)]
⎜   ↳ UNIW0001:00 093A:1336 Touchpad          	id=13	[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)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Power Button                            	id=9	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=10	[slave  keyboard (3)]
    ↳ HD Webcam: HD Webcam                    	id=11	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
 
Old 05-19-2020, 09:16 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,134

Rep: Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365
Did you use huge or generic kernel?
i assume it's huge since it's a new installation.

please try with generic kernel first
 
Old 05-21-2020, 03:07 AM   #3
I.G.O.R
LQ Newbie
 
Registered: Dec 2017
Distribution: Slackware
Posts: 24

Rep: Reputation: Disabled
Did you install xf86-input-synaptics?
 
Old 05-21-2020, 03:58 AM   #4
gusgorman
Member
 
Registered: Mar 2002
Location: uk
Distribution: slackware-9b, mandrake-8.1
Posts: 61

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by willysr View Post
Did you use huge or generic kernel?
i assume it's huge since it's a new installation.

please try with generic kernel first
Quote:
Originally Posted by I.G.O.R View Post
Did you install xf86-input-synaptics?
Thanks for the replies. I've temporarily parked this, I've always loved Slackware but for the first time in years I've decided to try out some new distros.
 
Old 05-21-2020, 08:41 AM   #5
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,530

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
@willysr

There shouldn't be a difference on HW support between the two kernels. I've always used the scaremongering huge kernel because the improperly named "generic" is difficult to use and I had no actual usage for it until now (encrypted drive, etc).
https://www.kernel.org/doc/html/v4.1...de/initrd.html
Quote:
The key role of initrd here is to re-use the configuration data during normal system operation without requiring the use of a bloated “generic” kernel or re-compiling or re-linking the kernel.
@gusgorman

Sorry to see you go. It's not the distribution that caused your issue, but the kernel. It would have been beneficial for us to learn and fix the kernel support for your particular hardware. Maybe comparing the kernel config from Ubuntu with the one from Slackware would highlight the differences in HW support. Unfortunately I have no clue about Ubuntu and where I could find the kernel config file.
 
Old 05-22-2020, 03:36 PM   #6
gusgorman
Member
 
Registered: Mar 2002
Location: uk
Distribution: slackware-9b, mandrake-8.1
Posts: 61

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by abga View Post
@willysr

There shouldn't be a difference on HW support between the two kernels. I've always used the scaremongering huge kernel because the improperly named "generic" is difficult to use and I had no actual usage for it until now (encrypted drive, etc).
https://www.kernel.org/doc/html/v4.1...de/initrd.html


@gusgorman

Sorry to see you go. It's not the distribution that caused your issue, but the kernel. It would have been beneficial for us to learn and fix the kernel support for your particular hardware. Maybe comparing the kernel config from Ubuntu with the one from Slackware would highlight the differences in HW support. Unfortunately I have no clue about Ubuntu and where I could find the kernel config file.
I've actually got Manjaro running on this machine at the moment. I can send you any config you want. Its my first time on any arch related distro so off the top of my head I don't know where the kernel config file is... but I'll have a look.
 
Old 05-22-2020, 04:24 PM   #7
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,530

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by gusgorman View Post
I've actually got Manjaro running on this machine at the moment. I can send you any config you want. Its my first time on any arch related distro so off the top of my head I don't know where the kernel config file is... but I'll have a look.
I don't know what kernel you're running on Manjaro, but I found where they store the config files:
https://gitlab.manjaro.org/packages/core
For the latest 5.7rc6-1 kernel the config file is here:
https://gitlab.manjaro.org/packages/.../config.x86_64
The latest Slackware -current kernel config file is here:
https://mirror.de.leaseweb.net/slack...ernels/huge.s/

In the outputs from your first post it appears you're using the i2c_designware_pci driver, which is supported by both the Slackware & Manjaro kernels. And, it looks to be a problematic driver (some issues are reported starting with the 5.4 kernel):
https://bbs.archlinux.org/viewtopic.php?id=252711
- from the outputs in your first post - your Touchpad, apparently connected throgh I2C and using i2c_designware (highlighted in bold):
Code:
I: Bus=0018 Vendor=093a Product=1336 Version=0100
N: Name="UNIW0001:00 093A:1336 Mouse"
P: Phys=i2c-UNIW0001:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-UNIW0001:00/0018:093A:1336.0001/input/input10
U: Uniq=
H: Handlers=mouse0 event8 
B: PROP=2
B: EV=17
B: KEY=1 30000 0 0 0 0
B: REL=3
B: MSC=10

I: Bus=0018 Vendor=093a Product=1336 Version=0100
N: Name="UNIW0001:00 093A:1336 Touchpad"
P: Phys=i2c-UNIW0001:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-UNIW0001:00/0018:093A:1336.0001/input/input11
U: Uniq=
H: Handlers=mouse1 event9 
B: PROP=5
B: EV=1b
B: KEY=e420 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20
Now, there are some slight differences between the Slackware(5.4.42) and Manjaro(5.7rc6-1) kernels (there could be options available only in the newer 5.7 kernel):
- in the I2C support sections, Manjaro has some additional options enabled:
Code:
#
# I2C support
#
CONFIG_ACPI_I2C_OPREGION=y
#
# Multiplexer I2C Chip support
#
CONFIG_I2C_ARB_GPIO_CHALLENGE=m
CONFIG_I2C_MUX_GPMUX=m
CONFIG_I2C_MUX_PINCTRL=m
CONFIG_I2C_DEMUX_PINCTRL=m
#
# PC SMBus host controller drivers
#
CONFIG_I2C_CHT_WC=m
#
# I2C system bus drivers (mostly embedded / system-on-chip) 
- this is the section where the CONFIG_I2C_DESIGNWARE_CORE is also enabled (modular in Slackware and in-kernel in Manjaro)
#
CONFIG_I2C_CBUS_GPIO=m
CONFIG_I2C_KEMPLD=m
CONFIG_I2C_RK3X=m
It would be interesting to boot Slackware, if you still have it installed, or a Slackware Live system (USB stick) and provide the I2C related kernel boot messages (dmesg).
 
Old 05-23-2020, 04:04 AM   #8
gusgorman
Member
 
Registered: Mar 2002
Location: uk
Distribution: slackware-9b, mandrake-8.1
Posts: 61

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by abga View Post
It would be interesting to boot Slackware, if you still have it installed, or a Slackware Live system (USB stick) and provide the I2C related kernel boot messages (dmesg).

I don't still have Slackware installed, but I'll give booting off a USB stick a go later today.

Fyi i'm using the following kernel:

Code:
$ uname -r
5.6.12-1-MANJARO

and have checked /proc/bus/input/devices on my Manjaro installation and its the same driver.

Code:
I: Bus=0018 Vendor=093a Product=1336 Version=0100
N: Name="UNIW0001:00 093A:1336 Mouse"
P: Phys=i2c-UNIW0001:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-UNIW0001:00/0018:093A:1336.0001/input/input18
U: Uniq=
H: Handlers=event8 mouse0 
B: PROP=2
B: EV=17
B: KEY=1 30000 0 0 0 0
B: REL=3
B: MSC=10

I: Bus=0018 Vendor=093a Product=1336 Version=0100
N: Name="UNIW0001:00 093A:1336 Touchpad"
P: Phys=i2c-UNIW0001:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-UNIW0001:00/0018:093A:1336.0001/input/input19
U: Uniq=
H: Handlers=event9 mouse1 
B: PROP=5
B: EV=1b
B: KEY=e420 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20
 
  


Reply

Tags
laptop, slackware -current, touchpad


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Manager not working in 14.2/current, Wicd works in 14.2 but not -current? linus72 Slackware 6 04-30-2019 03:04 AM
[SOLVED] No longer able to add multiple TC rules on same handle in current kernels (4.5.5 works, but anything current does not) herbalbert Linux - Networking 1 01-24-2019 10:08 AM
[SOLVED] Touchpad recognized as "PS/2 Elantech Touchpad", multitouch - not working on latest Linux distros (Mint,Ubuntu,Fedora,Manjaro) Chripcikas Linux - Hardware 13 09-28-2017 03:04 AM
[SOLVED] Help My Mouse Does Not Work But My Touchpad Works hitmen Linux - Newbie 2 07-09-2011 05:49 AM
XAWTV works, videodog works, motion works but how to code my own? rylan76 Linux - Hardware 0 01-06-2006 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration