Discussion:
touchpad mouse not working
(too old to reply)
Anton Shterenlikht
2018-04-15 20:38:18 UTC
Permalink
Please help get a touchpad mouse working.
I've moused_enable="YES" in /etc/rc.conf
which should be enough.
However, I don't see psm in dmesg.
What am I missing?

A usb attached mouse works fine.

Thanks

Anton
Polytropon
2018-04-15 22:21:36 UTC
Permalink
Post by Anton Shterenlikht
Please help get a touchpad mouse working.
I've moused_enable="YES" in /etc/rc.conf
which should be enough.
However, I don't see psm in dmesg.
What am I missing?
Check if the built-in touchpad has been deactivated
in the CMOS setup (sometimes possible). If it does
not appear in dmesg as psm0, check if it _might_ be
connected to USB internally, so ums0 should be visitble
(and moused should be started fot it automatically).
Also check if there is a hardware switch for deactivating
the touchpad (probably not, but I don't know what
hardware you're using).
Post by Anton Shterenlikht
A usb attached mouse works fine.
Yes, because the USB subsystem can recognize it and will
launch a moused instance automatically. With psm, it
usually is not the case; you will have to specify at
least the mouse port:

moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"

The "auto" type should work fine, though.

However, if you don't have a psm0 device, it won't help. :-(
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
Anton Shterenlikht
2018-04-20 19:02:51 UTC
Permalink
Post by Polytropon
Post by Anton Shterenlikht
Please help get a touchpad mouse working.
I've moused_enable="YES" in /etc/rc.conf
which should be enough.
However, I don't see psm in dmesg.
What am I missing?
Check if the built-in touchpad has been deactivated
in the CMOS setup (sometimes possible). If it does
not appear in dmesg as psm0, check if it _might_ be
connected to USB internally, so ums0 should be visitble
(and moused should be started fot it automatically).
Also check if there is a hardware switch for deactivating
the touchpad (probably not, but I don't know what
hardware you're using).
There 3 options in BIOS: (1) no touchpad, (2) PS2 mouse
and (3) Touchpad. I tried all of them - no luck.
No psm or ums.

This is my pciconf -lv.
Does it contain any hints?


***@pci0:0:0:0: class=0x060000 card=0x07a91028 chip=0x19108086 rev=0x07 hdr=0x00
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers'
class = bridge
subclass = HOST-PCI
***@pci0:0:1:0: class=0x060400 card=0x07a91028 chip=0x19018086 rev=0x07 hdr=0x01
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)'
class = bridge
subclass = PCI-PCI
***@pci0:0:2:0: class=0x030000 card=0x07a91028 chip=0x191b8086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = 'HD Graphics 530'
class = display
subclass = VGA
***@pci0:0:4:0: class=0x118000 card=0x07a91028 chip=0x19038086 rev=0x07 hdr=0x00
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem'
class = dasp
***@pci0:0:20:0: class=0x0c0330 card=0x07a91028 chip=0xa12f8086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-H USB 3.0 xHCI Controller'
class = serial bus
subclass = USB
***@pci0:0:20:2: class=0x118000 card=0x07a91028 chip=0xa1318086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-H Thermal subsystem'
class = dasp
***@pci0:0:21:0: class=0x118000 card=0x07a91028 chip=0xa1608086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-H Serial IO I2C Controller'
class = dasp
***@pci0:0:21:1: class=0x118000 card=0x07a91028 chip=0xa1618086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-H Serial IO I2C Controller'
class = dasp
***@pci0:0:22:0: class=0x078000 card=0x07a91028 chip=0xa13a8086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-H CSME HECI'
class = simple comms
***@pci0:0:23:0: class=0x010601 card=0x07a91028 chip=0xa1028086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-H SATA controller [AHCI mode]'
class = mass storage
subclass = SATA
***@pci0:0:28:0: class=0x060400 card=0x07a91028 chip=0xa1118086 rev=0xf1 hdr=0x01
vendor = 'Intel Corporation'
device = 'Sunrise Point-H PCI Express Root Port'
class = bridge
subclass = PCI-PCI
***@pci0:0:28:2: class=0x060400 card=0x07a91028 chip=0xa1128086 rev=0xf1 hdr=0x01
vendor = 'Intel Corporation'
device = 'Sunrise Point-H PCI Express Root Port'
class = bridge
subclass = PCI-PCI
***@pci0:0:28:4: class=0x060400 card=0x07a91028 chip=0xa1148086 rev=0xf1 hdr=0x01
vendor = 'Intel Corporation'
device = 'Sunrise Point-H PCI Express Root Port'
class = bridge
subclass = PCI-PCI
***@pci0:0:29:0: class=0x060400 card=0x07a91028 chip=0xa1188086 rev=0xf1 hdr=0x01
vendor = 'Intel Corporation'
device = 'Sunrise Point-H PCI Express Root Port'
class = bridge
subclass = PCI-PCI
***@pci0:0:31:0: class=0x060100 card=0x07a91028 chip=0xa1548086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-H LPC Controller'
class = bridge
subclass = PCI-ISA
***@pci0:0:31:2: class=0x058000 card=0x07a91028 chip=0xa1218086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-H PMC'
class = memory
***@pci0:0:31:3: class=0x040300 card=0x07a91028 chip=0xa1718086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'CM238 HD Audio Controller'
class = multimedia
subclass = HDA
***@pci0:0:31:4: class=0x0c0500 card=0x07a91028 chip=0xa1238086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-H SMBus'
class = serial bus
subclass = SMBus
***@pci0:0:31:6: class=0x020000 card=0x07a91028 chip=0x15e38086 rev=0x31 hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Connection (5) I219-LM'
class = network
subclass = ethernet
***@pci0:1:0:0: class=0x030200 card=0x07a91028 chip=0x13b410de rev=0xa2 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'GM107GLM [Quadro M620 Mobile]'
class = display
subclass = 3D
***@pci0:2:0:0: class=0x028000 card=0x00508086 chip=0x24fd8086 rev=0x78 hdr=0x00
vendor = 'Intel Corporation'
device = 'Wireless 8265 / 8275'
class = network
***@pci0:3:0:0: class=0xff0000 card=0x07a91028 chip=0x525a10ec rev=0x01 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTS525A PCI Express Card Reader'
***@pci0:61:0:0: class=0x010802 card=0x00001c5c chip=0x12841c5c rev=0x00 hdr=0x00
vendor = 'SK hynix'
class = mass storage
subclass = NVM

Thanks

Anton
Polytropon
2018-04-22 09:16:59 UTC
Permalink
Post by Anton Shterenlikht
Post by Polytropon
Post by Anton Shterenlikht
Please help get a touchpad mouse working.
I've moused_enable="YES" in /etc/rc.conf
which should be enough.
However, I don't see psm in dmesg.
What am I missing?
Check if the built-in touchpad has been deactivated
in the CMOS setup (sometimes possible). If it does
not appear in dmesg as psm0, check if it _might_ be
connected to USB internally, so ums0 should be visitble
(and moused should be started fot it automatically).
Also check if there is a hardware switch for deactivating
the touchpad (probably not, but I don't know what
hardware you're using).
There 3 options in BIOS: (1) no touchpad, (2) PS2 mouse
and (3) Touchpad. I tried all of them - no luck.
That is really strange. At least a corresponding driver entry
should appear, even if the device itself is "dead" (no reaction
when being touched).
Post by Anton Shterenlikht
No psm or ums.
This sounds really strange...

On my Lenovo R61i laptop, the touchpad and the TrackPoint
(the "nub") are conbined into the same device, i. e., they
usually act in parallel. They then appear as _one_ device:
a PS/2 mouse.

Example from dmesg:

atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0 <---
psm0: [GIANT-LOCKED] <---
psm0: model Generic PS/2 mouse, device ID 0 <---

The CMOS setup allows the following configuration that can
disable the stupid touchpad, but leave the TrackPoint:

TrackPoint [ Automatic* / Disabled ]
Touch Pad [ Automatic / Disabled* ]

Now the one psm0 device only represents the TrackPoint, while
the touchpad can serve as a coffee cup warmer. :-)
Post by Anton Shterenlikht
This is my pciconf -lv.
Does it contain any hints?
No. You should check:

# dmesg | grep psm

and

# dmesg | grep ums

or

# usbconfig list

to check for USB device entries explicitely (because modern
laptops sometimes utilize an "internal USB mouse" for the
touchpad rather than a PS/2-style device).

No matter how the manufacturer implemented the touchpad
device, it should appear in dmesg.

By the way, is there a /boot/kernel/acpi_<something>.ko
related to your hardware? If yes, try to load it - it might
enable "hidden hardware" that won't show up normally.

Also check if you have a "Synaptics Touchpad":

https://wiki.freebsd.org/SynapticsTouchpad

https://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#idp59957608

https://forums.freebsd.org/threads/how-to-use-synaptics-driver-for-better-touchpad-features.54872/

Again, this assumes that some device entry is already present
for the touchpad (usually psm).
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
Anton Shterenlikht
2018-04-22 18:32:00 UTC
Permalink
Post by Polytropon
Post by Anton Shterenlikht
This is my pciconf -lv.
Does it contain any hints?
# dmesg | grep psm
empty
Post by Polytropon
and
# dmesg | grep ums
empty, until I plug in an external usb mouse
Post by Polytropon
or
# usbconfig list
***@z:~ # usbconfig list
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.3: <CN0K49W1LOG007C4A4RHA01 Integrated WebcamHD> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.2: <PIXART USB OPTICAL MOUSE> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)
***@z:~ #

where pixart is the external mouse.
Post by Polytropon
By the way, is there a /boot/kernel/acpi_<something>.ko
related to your hardware? If yes, try to load it - it might
enable "hidden hardware" that won't show up normally.
***@z:~ # ls /boot/kernel/acpi*ko
/boot/kernel/acpi_asus.ko /boot/kernel/acpi_hp.ko /boot/kernel/acpi_toshiba.ko
/boot/kernel/acpi_asus_wmi.ko /boot/kernel/acpi_ibm.ko /boot/kernel/acpi_video.ko
/boot/kernel/acpi_dock.ko /boot/kernel/acpi_panasonic.ko /boot/kernel/acpi_wmi.ko
/boot/kernel/acpi_fujitsu.ko /boot/kernel/acpi_sony.ko

The laptop is DEll precision 3250,
so not sure if any of these modules
apply. Perhaps acpi_wmi?
Post by Polytropon
https://wiki.freebsd.org/SynapticsTouchpad
https://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#idp59957608
https://forums.freebsd.org/threads/how-to-use-synaptics-driver-for-better-touchpad-features.54872/
Again, this assumes that some device entry is already present
for the touchpad (usually psm).
Yes, I've looked at these, but as you say,
this is just making sure the touchpad device
can be used with some extra capabilities.
But I cannot even get the basics working.

Thanks anyway

Anton
Polytropon
2018-04-22 19:51:18 UTC
Permalink
Post by Anton Shterenlikht
Post by Polytropon
Post by Anton Shterenlikht
This is my pciconf -lv.
Does it contain any hints?
# dmesg | grep psm
empty
Post by Polytropon
and
# dmesg | grep ums
empty, until I plug in an external usb mouse
As expected: The internal touch device is _not_ accessible
by the OS in any way.
Post by Anton Shterenlikht
Post by Polytropon
By the way, is there a /boot/kernel/acpi_<something>.ko
related to your hardware? If yes, try to load it - it might
enable "hidden hardware" that won't show up normally.
/boot/kernel/acpi_asus.ko /boot/kernel/acpi_hp.ko /boot/kernel/acpi_toshiba.ko
/boot/kernel/acpi_asus_wmi.ko /boot/kernel/acpi_ibm.ko /boot/kernel/acpi_video.ko
/boot/kernel/acpi_dock.ko /boot/kernel/acpi_panasonic.ko /boot/kernel/acpi_wmi.ko
/boot/kernel/acpi_fujitsu.ko /boot/kernel/acpi_sony.ko
The laptop is DEll precision 3250,
so not sure if any of these modules
apply. Perhaps acpi_wmi?
You can try to load them one by one, and then check the
console messages (or dmesg output) if any new devices
appear. There is nothing specific that says "Dell", but
acpi_wmi doesn't sound convincing:

The acpi_wmi driver provides an interface for
vendor specific WMI implementations (e.g. HP
and Acer laptops). It creates /dev/wmistat,
which can be read to get information about
GUIDs found in the system.

Maybe still worth a try.
Post by Anton Shterenlikht
Post by Polytropon
https://wiki.freebsd.org/SynapticsTouchpad
https://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#idp59957608
https://forums.freebsd.org/threads/how-to-use-synaptics-driver-for-better-touchpad-features.54872/
Again, this assumes that some device entry is already present
for the touchpad (usually psm).
Yes, I've looked at these, but as you say,
this is just making sure the touchpad device
can be used with some extra capabilities.
But I cannot even get the basics working.
It's quite strange that you have a BIOS setting that
doesn't seem to do anything...
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
Loading...