Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Two major issues left: 1. touchscreen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1543

PostPosted: Sun May 12, 2019 10:48 am    Post subject: Two major issues left: 1. touchscreen Reply with quote

I have a HP ts_11-e004au laptop, which has a touchscreen. Gentoo has no specific wiki page for that, so I looked at https://wiki.archlinux.org/index.php/Touchscreen for hints.

I have (in the kernel) "Generic Driver Options / Input Device Support / Touchscreens" selected, and in the Touchscreens menu, every one of the touchscreen drivers selected, and of course, I have xf86-input-evdev installed.

In /proc/bus/input/devices, I have:

Code:

N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0

N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1

N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2

N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3

N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input5

N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input4

N: Name="HP Wireless hotkeys"
P: Phys=hpq6001/input0
S: Sysfs=/devices/virtual/input/input8

N: Name="HP Truevision HD: HP Truevision" [this is the webcam]
P: Phys=usb-0000:00:13.2-1/button
S: Sysfs=/devices/pci0000:00/0000:00:13.2/usb2/2-1/2-1:1.0/input/input10

N: Name="HP WMI hotkeys"
P: Phys=wmi/input0
S: Sysfs=/devices/virtual/input/input9

N: Name="PS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input7

N: Name="HDA ATI HDMI HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.1/sound/card0/input11

N: Name="HD-Audio Generic Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:14.2/sound/card1/input12

N: Name="HD-Audio Generic Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:14.2/sound/card1/input13


Nothing in there that looks remotely close to a touchscreen to me. Any idea what I have done wrong? Thank you in advance.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44037
Location: 56N 3W

PostPosted: Sun May 12, 2019 11:03 am    Post subject: Reply with quote

curmudgeon,

Touch screens can be on the I2C or SPI bus as they are low bandwidth devices.
Serial port works too but I've not seen that for a long time.

Post lspci and pastebin your kernel .config.
As well as correct I2C/SPI, there are a few other frilly bits you may need in the kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1543

PostPosted: Sun May 12, 2019 11:30 am    Post subject: Reply with quote

NeddySeagoon wrote:

Post lspci and pastebin your kernel .config.
As well as correct I2C/SPI, there are a few other frilly bits you may need in the kernel.


Okay, I can do that. You can find the .config here:

http://dpaste.com/0FQYBEN

Going to post a "hybrid" lspci (meaning I used "-v" but removed the "Memory," "Capabilities," and similar lines).

Code:

$ lspci -v
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Root Complex
        Subsystem: Hewlett-Packard Company Family 16h Processor Root Complex
        Flags: bus master, fast devsel, latency 0

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8210] (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Kabini [Radeon HD 8210]
        Flags: bus master, fast devsel, latency 0, IRQ 28
        Kernel driver in use: amdgpu

00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
        Subsystem: Hewlett-Packard Company Kabini HDMI/DP Audio
        Flags: bus master, fast devsel, latency 0, IRQ 39
        Kernel driver in use: snd_hda_intel

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
        Flags: fast devsel

00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 24
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Kernel driver in use: pcieport

00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 25
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Kernel driver in use: pcieport

00:02.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 26
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        Kernel driver in use: pcieport

00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 01) (prog-if 30 [XHCI])
        Subsystem: Hewlett-Packard Company FCH USB XHCI Controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Kernel driver in use: xhci_hcd

00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (prog-if 01 [AHCI 1.0])
        Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode]
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 31
        Kernel driver in use: ahci

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39) (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company FCH USB OHCI Controller
        Flags: 66MHz, medium devsel, IRQ 18

00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company FCH USB EHCI Controller
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
        Kernel driver in use: ehci-pci

00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39) (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company FCH USB OHCI Controller
        Flags: 66MHz, medium devsel, IRQ 18

00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company FCH USB EHCI Controller
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
        Kernel driver in use: ehci-pci

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 3a)
        Subsystem: Hewlett-Packard Company FCH SMBus Controller
        Flags: 66MHz, medium devsel

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
        Subsystem: Hewlett-Packard Company FCH Azalia Controller
        Flags: bus master, slow devsel, latency 32, IRQ 40
        Kernel driver in use: snd_hda_intel

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
        Subsystem: Hewlett-Packard Company FCH LPC Bridge
        Flags: bus master, 66MHz, medium devsel, latency 0

00:14.7 SD Host controller: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller (rev 01) (prog-if 01)
        Subsystem: Hewlett-Packard Company FCH SD Flash Controller
        Flags: bus master, 66MHz, medium devsel, latency 39, IRQ 7

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
        Flags: fast devsel

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 1
        Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 2
        Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 3
        Flags: fast devsel
        Capabilities: [f0] Secure device <?>
        Kernel driver in use: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 4
        Flags: fast devsel
        Kernel driver in use: fam15h_power

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 5
        Flags: fast devsel

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
        Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller
        Flags: bus master, fast devsel, latency 0, IRQ 32
        Kernel driver in use: r8169

02:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
        Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 34
        Kernel driver in use: rt2800pci

02:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
        Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 3

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
        Subsystem: Hewlett-Packard Company RTS5229 PCI Express Card Reader
        Flags: bus master, fast devsel, latency 0, IRQ 30
        Kernel driver in use: rtsx_pci
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44037
Location: 56N 3W

PostPosted: Sun May 12, 2019 12:49 pm    Post subject: Reply with quote

curmudgeon,

Code:
CONFIG_I2C_PIIX4=y
is for Intel.
You have anh AMD chipset so its one of
Code:
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set


Code:
# CONFIG_SPI is not set
is a whole menu. If its SPI, you need to enable that menu and any AMD looking items inside.

Code:
# CONFIG_PINCTRL is not set
may be useful. Its mostly used by low power System or a Chip (SoC) based systems.
That may get you
Code:
# CONFIG_GPIOLIB is not set
for free. Both are menu items. Poke about inside the menus too.

It looks like your
Code:
00:14.7 SD Host controller: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller (rev 01) (prog-if 01)
        Subsystem: Hewlett-Packard Company FCH SD Flash Controller
        Flags: bus master, 66MHz, medium devsel, latency 39, IRQ 7
doesn't work.
If so,
Code:
# CONFIG_MMC_SDHCI is not set
might be a good choice.

Likewise,
Code:
# CONFIG_USB_OHCI_HCD is not set

Code:
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39) (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company FCH USB OHCI Controller
        Flags: 66MHz, medium devsel, IRQ 18
is required for you USB1 ports.

Code:
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
will allow you to mix and match USB1 on your USB2 ports if your USB2 hardware supports that.

Your Bluetooth
Code:
02:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
        Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 3
is missing a kernel driver but you have another topic for that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1543

PostPosted: Tue May 14, 2019 11:27 pm    Post subject: Reply with quote

NeddySeagoon wrote:

Code:
CONFIG_I2C_PIIX4=y
is for Intel.
You have anh AMD chipset so its one of
Code:
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set



I am not so sure. I changed I2C_PIIX4 to a module, and then also compiled I2C_AMD756 and I2C_AMD8111 as modules. While I know very little about module loading (I usually try to just build everything into the kernel), the system chose the I2C_PIIX4 out of those:

Code:

$ lsmod
Module                  Size  Used by
i2c_piix4              24576  0


NeddySeagoon wrote:

Code:
# CONFIG_SPI is not set
is a whole menu. If its SPI, you need to enable that menu and any AMD looking items inside.

Code:
# CONFIG_PINCTRL is not set
may be useful. Its mostly used by low power System or a Chip (SoC) based systems.
That may get you
Code:
# CONFIG_GPIOLIB is not set
for free. Both are menu items. Poke about inside the menus too.


I enabled both of those, and compiled all of the options in the submenus and modules. The system didn't load any of them.

NeddySeagoon wrote:

It looks like your
Code:
00:14.7 SD Host controller: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller (rev 01) (prog-if 01)
        Subsystem: Hewlett-Packard Company FCH SD Flash Controller
        Flags: bus master, 66MHz, medium devsel, latency 39, IRQ 7
doesn't work.
If so,
Code:
# CONFIG_MMC_SDHCI is not set
might be a good choice.


That actually worked before (from above: Kernel driver in use: rtsx_pci and I have CONFIG_MMC_REALTEK_PCI=y), but it appears (don't really understand this well) that that flag might add extra capabilities, so I have enabled it (and CONFIG_MMC_CQHCI, as well).

NeddySeagoon wrote:

Likewise,
Code:
# CONFIG_USB_OHCI_HCD is not set

Code:
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39) (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company FCH USB OHCI Controller
        Flags: 66MHz, medium devsel, IRQ 18
is required for you USB1 ports.

Code:
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
will allow you to mix and match USB1 on your USB2 ports if your USB2 hardware supports that.


I have had some bad experiences in the past trying to mix USB1 and USB2. As far as I know, everything that I have now that I might use with this machine is USB2. I did make that choice deliberately, and know where to change it if I need to in the future.

Anyway, I still have no acknowledgement about any touch screen capabilities.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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