Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

touch pad not driven – Ergo Vista 631 #52

Closed
grahamperrin opened this issue Dec 27, 2020 · 18 comments
Closed

touch pad not driven – Ergo Vista 631 #52

grahamperrin opened this issue Dec 27, 2020 · 18 comments

Comments

@grahamperrin
Copy link
Contributor

momh167-gjp4-ev% date ; uname -v           
Sun Dec 27 05:22:49 EST 2020
FreeBSD 13.0-CURRENT #0 3cc0c0d66a0-c255241(main)-dirty: Thu Dec 24 06:21:50 UTC 2020     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 
momh167-gjp4-ev% lsblk                     
DEVICE         MAJ:MIN SIZE TYPE                              LABEL MOUNT
ada0             0:127 298G GPT                                   - -
  ada0p1         0:129 512K freebsd-boot               gpt/gptboot0 -
  <FREE>         -:-   492K -                                     - -
  ada0p2         0:131 298G freebsd-zfs                    gpt/zfs0 <ZFS>
  <FREE>         -:-   324K -                                     - -
momh167-gjp4-ev% kldstat                   
Id Refs Address                Size Name
 1   99 0xffffffff80200000  1f16f08 kernel
 2    1 0xffffffff82117000   65f388 zfs.ko
 3    1 0xffffffff82777000     af48 cryptodev.ko
 4    1 0xffffffff82920000     5730 cuse.ko
 5    1 0xffffffff82926000     5bdc ig4.ko
 6    2 0xffffffff8292c000     433c iicbus.ko
 7    1 0xffffffff82931000    1c0d0 iichid.ko
 8    1 0xffffffff8294e000     21c0 utouch.ko
 9    1 0xffffffff82951000     4b60 ng_ubt.ko
10    6 0xffffffff82956000     aac8 netgraph.ko
11    2 0xffffffff82961000     a238 ng_hci.ko
12    3 0xffffffff8296c000     25a8 ng_bluetooth.ko
13    1 0xffffffff8296f000     f250 ng_l2cap.ko
14    1 0xffffffff8297f000    1ae48 ng_btsocket.ko
15    1 0xffffffff8299a000     3980 ng_socket.ko
16    1 0xffffffff8299e000    389e8 linux.ko
17    2 0xffffffff829d7000     db70 linux_common.ko
18    1 0xffffffff829e5000    31bb8 linux64.ko
19    1 0xffffffff82a17000     2260 pty.ko
20    1 0xffffffff82a1a000     2320 uhid.ko
21    1 0xffffffff82a1d000     4328 ums.ko
momh167-gjp4-ev% sudo service moused status
moused is running as pid 63000.
momh167-gjp4-ev% sudo lsusb | sort         
Bus /dev/usb Device /dev/ugen0.1: ID 0000:0000  
Bus /dev/usb Device /dev/ugen1.1: ID 0000:0000  
Bus /dev/usb Device /dev/ugen2.1: ID 0000:0000  
Bus /dev/usb Device /dev/ugen2.2: ID 0b05:1751 ASUSTek Computer, Inc. BT-253 Bluetooth Adapter
Bus /dev/usb Device /dev/ugen3.1: ID 0000:0000  
Bus /dev/usb Device /dev/ugen4.1: ID 0000:0000  
Bus /dev/usb Device /dev/ugen5.1: ID 0000:0000  
Bus /dev/usb Device /dev/ugen5.2: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus /dev/usb Device /dev/ugen6.1: ID 0000:0000  
Bus /dev/usb Device /dev/ugen7.1: ID 0000:0000  
Bus /dev/usb Device /dev/ugen7.2: ID 064e:a111 Suyin Corp. 
momh167-gjp4-ev% pciconf -lv
hostb0@pci0:0:0:0:      class=0x060000 rev=0x07 hdr=0x00 vendor=0x8086 device=0x2a40 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = 'Mobile 4 Series Chipset Memory Controller Hub'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:     class=0x030000 rev=0x07 hdr=0x00 vendor=0x8086 device=0x2a42 subvendor=0x1b0a subdevice=0x2009
    vendor     = 'Intel Corporation'
    device     = 'Mobile 4 Series Chipset Integrated Graphics Controller'
    class      = display
    subclass   = VGA
vgapci1@pci0:0:2:1:     class=0x038000 rev=0x07 hdr=0x00 vendor=0x8086 device=0x2a43 subvendor=0x1b0a subdevice=0x2009
    vendor     = 'Intel Corporation'
    device     = 'Mobile 4 Series Chipset Integrated Graphics Controller'
    class      = display
uhci0@pci0:0:26:0:      class=0x0c0300 rev=0x03 hdr=0x00 vendor=0x8086 device=0x2937 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:26:1:      class=0x0c0300 rev=0x03 hdr=0x00 vendor=0x8086 device=0x2938 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:26:2:      class=0x0c0300 rev=0x03 hdr=0x00 vendor=0x8086 device=0x2939 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:26:7:      class=0x0c0320 rev=0x03 hdr=0x00 vendor=0x8086 device=0x293c subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
hdac0@pci0:0:27:0:      class=0x040300 rev=0x03 hdr=0x00 vendor=0x8086 device=0x293e subvendor=0x1b0a subdevice=0x200a
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) HD Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib1@pci0:0:28:0:      class=0x060400 rev=0x03 hdr=0x01 vendor=0x8086 device=0x2940 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:1:      class=0x060400 rev=0x03 hdr=0x01 vendor=0x8086 device=0x2942 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 2'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:2:      class=0x060400 rev=0x03 hdr=0x01 vendor=0x8086 device=0x2944 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 3'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:0:28:3:      class=0x060400 rev=0x03 hdr=0x01 vendor=0x8086 device=0x2946 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 4'
    class      = bridge
    subclass   = PCI-PCI
pcib5@pci0:0:28:4:      class=0x060400 rev=0x03 hdr=0x01 vendor=0x8086 device=0x2948 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 5'
    class      = bridge
    subclass   = PCI-PCI
pcib6@pci0:0:28:5:      class=0x060400 rev=0x03 hdr=0x01 vendor=0x8086 device=0x294a subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 6'
    class      = bridge
    subclass   = PCI-PCI
uhci3@pci0:0:29:0:      class=0x0c0300 rev=0x03 hdr=0x00 vendor=0x8086 device=0x2934 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci4@pci0:0:29:1:      class=0x0c0300 rev=0x03 hdr=0x00 vendor=0x8086 device=0x2935 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci5@pci0:0:29:2:      class=0x0c0300 rev=0x03 hdr=0x00 vendor=0x8086 device=0x2936 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
ehci1@pci0:0:29:7:      class=0x0c0320 rev=0x03 hdr=0x00 vendor=0x8086 device=0x293a subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib7@pci0:0:30:0:      class=0x060401 rev=0x93 hdr=0x01 vendor=0x8086 device=0x2448 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801 Mobile PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 rev=0x03 hdr=0x00 vendor=0x8086 device=0x2919 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = 'ICH9M LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci0@pci0:0:31:2:      class=0x010601 rev=0x03 hdr=0x00 vendor=0x8086 device=0x2929 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Intel Corporation'
    device     = '82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode]'
    class      = mass storage
    subclass   = SATA
iwn0@pci0:2:0:0:        class=0x028000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x4232 subvendor=0x8086 subdevice=0x1201
    vendor     = 'Intel Corporation'
    device     = 'WiFi Link 5100'
    class      = network
re0@pci0:7:0:0: class=0x020000 rev=0x02 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x1b0a subdevice=0x200b
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
none0@pci0:8:1:0:       class=0x0c0010 rev=0x05 hdr=0x00 vendor=0x1180 device=0x0832 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Ricoh Co Ltd'
    device     = 'R5C832 IEEE 1394 Controller'
    class      = serial bus
    subclass   = FireWire
sdhci_pci0@pci0:8:1:1:  class=0x080500 rev=0x22 hdr=0x00 vendor=0x1180 device=0x0822 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Ricoh Co Ltd'
    device     = 'R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter'
    class      = base peripheral
    subclass   = SD host controller
none1@pci0:8:1:2:       class=0x088000 rev=0x12 hdr=0x00 vendor=0x1180 device=0x0843 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Ricoh Co Ltd'
    device     = 'R5C843 MMC Host Controller'
    class      = base peripheral
none2@pci0:8:1:3:       class=0x088000 rev=0x12 hdr=0x00 vendor=0x1180 device=0x0592 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Ricoh Co Ltd'
    device     = 'R5C592 Memory Stick Bus Host Adapter'
    class      = base peripheral
none3@pci0:8:1:4:       class=0x088000 rev=0x12 hdr=0x00 vendor=0x1180 device=0x0852 subvendor=0x1b0a subdevice=0x200d
    vendor     = 'Ricoh Co Ltd'
    device     = 'xD-Picture Card Controller'
    class      = base peripheral
momh167-gjp4-ev% 
@grahamperrin
Copy link
Contributor Author

Xorg.0.log

@probonopd
Copy link
Member

Do you know the manufacturer of the touchpad, such as Synaptics, Elan, etc.?

@grahamperrin
Copy link
Contributor Author

Good question. I imagined that output from pciconf would tell us but I couldn't see it before raising the issue, and I can't see it now.

Now probed: https://bsd-hardware.info/?probe=427bb18c90

@probonopd
Copy link
Member

Maybe I am blind but I still don't see any touchpad related hardware. Is it attached as a PS/2 device internally?

@grahamperrin
Copy link
Contributor Author

We're not blind :-)

Here's a log from a boot of NomadBSD from a USB flash drive:

…
[    64.742] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event3)
[    64.742] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput pointer catchall"
[    64.742] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    64.742] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Touchpad"
[    64.742] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    64.742] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    64.742] (**) Option "Device" "/dev/input/event3"
[    64.742] (**) Option "_source" "server/udev"
[    64.743] (II) event3  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Mouse Touchpad
[    64.743] (EE) event3  - SynPS/2 Synaptics TouchPad: kernel bug: device has min == max on ABS_X
[    64.743] (II) event3  - SynPS/2 Synaptics TouchPad: was rejected
[    64.743] (II) event3  - not using input device '/dev/input/event3'.
[    64.743] (EE) libinput: SynPS/2 Synaptics TouchPad: Failed to create a device for /dev/input/event3
[    64.743] (EE) PreInit returned 2 for "SynPS/2 Synaptics TouchPad"
[    64.743] (II) UnloadModule: "libinput"
…

– but the touch pad does work (I'm using it whilst composing this comment).

@probonopd
Copy link
Member

So we have a SynPS/2 Synaptics TouchPad, and NomadBSD is doing something cool using libinput to make ti work.

@probonopd
Copy link
Member

Let's see whether the next https://github.com/helloSystem/ISO/releases/tag/12.1-experimental build has it working.

@grahamperrin

This comment has been minimized.

@grahamperrin

This comment has been minimized.

@grahamperrin

This comment has been minimized.

@probonopd
Copy link
Member

Thanks @grahamperrin. Unfortunately since I don't have the device to test with I cannot do much on this; maybe you can find out with other FreeBSD based Live Systems what they are doing to make it work.

@grahamperrin
Copy link
Contributor Author

@probonopd
Copy link
Member

Possibly related to https://github.com/nomadbsd/NomadBSD/blob/master/config/etc/rc.d/load_iichid

What happens if you load

kldload iicbus
kldload iichid

@grahamperrin
Copy link
Contributor Author

Both already loaded or in kernel.

@probonopd probonopd reopened this Jan 8, 2021
@probonopd
Copy link
Member

Please try the next build, I added a couple of things from NomadBSD.

@grahamperrin
Copy link
Contributor Author

hello-0.3.0_0C155-FreeBSD-12.1-amd64.iso no better for this issue, as far as I can tell.

Not a priority (this Ergo is solely for test purposes). Thanks for the efforts.

@grahamperrin
Copy link
Contributor Author

grahamperrin commented Jan 23, 2021

0.4.0 (0D9)

Not reproducible.

@probonopd
Copy link
Member

Thanks for retesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants