On 2/16/22 17:33, Udo Grabowski (IMK) wrote:
On 16/02/2022 17:06, Stephan Althaus wrote:
Hello!

I am looking for hints to diagnose the builtin touchpad.

It should work on the device node  /dev/kdmouse  and the old PS/2 driver mouse8042

On an older laptop (HP Elitebook 2530p) with OI 2021.10 booted from usb,
the following dtrace script shows "fbt::mouse8042_intr" events:

fbt::mouse8042_intr:return,
fbt::mouse8042_process_msg:return
{
     printf("%s returned %d \n", probefunc, arg1);
}

on the newer laptop (Dell Precision 7720) there are no events..


What can i do to dig deeper ?


Any hints are welcome!

Stephan

Under Linux, they appear as a I2C HID device.


_______________________________________________
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Hello Udo!

prtconf -vd shows that there are devices with 'ISA' in their device paths. dtrace shows that the keyboard events are passed, the mouse events are missing.

These modules are loaded:

# modinfo|grep -i 8042
 96 fffffffff7cef000   19d0 107   1  i8042 (i8042 nexus driver)
109 fffffffff9b25000   38c0 139   1  kb8042 (PS/2 keyboard driver)
110 fffffffff7897288   1028 155   1  mouse8042 (PS/2 Mouse)

# modinfo|grep mouse
110 fffffffff7897288   1028 155   1  mouse8042 (PS/2 Mouse)
111 fffffffff9b27000   1d90   -   1  vuid3ps2 (mouse events to vuid events)
158 fffffffff9d14000   2528   -   1  usbms (USB mouse streams)

root@dell6510:/home1/home/steven/DTrace# modunload -i 110 && modload -p drv/mouse8042 && dtrace -s mouse.d

i get no mouse8042 events with mouse.d now looking like this

fbt::mouse8042_open:return,
fbt::mouse8042_close:return,
fbt::mouse8042_wput:return,
fbt::mouse8042_wsrv:return,
fbt::mouse8042_getinfo:return,
fbt::mouse8042_attach:return,
fbt::mouse8042_detach:return,
fbt::mouse8042_intr:return,
fbt::mouse8042_iocnack:return,
fbt::mouse8042_reset_timeout:return,
fbt::mouse8042_initiate_reset:return,
fbt::mouse8042_process_data_msg:return,
fbt::mouse8042_process_msg:return,
fbt::mouse8042_reset_fsm:return
{
    printf("%s returned %d \n", probefunc, arg1);
}


snipplet from prtconf -vd

          i8042, instance #0
                Hardware properties:
                    name='unit-address' type=string items=1
                        value='1,60'
                    name='interrupts' type=int items=2
                        value=00000001.0000000c
                    name='reg' type=int items=6
value=00000001.00000060.00000001.00000001.00000064.00000001
                Register Specifications:
                    Bus Type=0x1, Address=0x60, Size=0x1
                    Bus Type=0x1, Address=0x64, Size=0x1
                Interrupt Specifications:
                    Interrupt Priority=0x5 (ipl 5), vector=0x1 (1)
                    Interrupt Priority=0x5 (ipl 5), vector=0xc (12)
                keyboard, instance #0
                    Driver properties:
                        name='ddi-no-autodetach' type=int items=1 dev=none
                            value=00000001
                    Hardware properties:
                        name='compatible' type=string items=1
                            value='pnpPNP,303'
                        name='device-type' type=string items=1
                            value='keyboard'
                        name='interrupts' type=int items=2
                            value=00000001.0000000c
                        name='reg' type=int items=1
                            value=00000000
                        name='acpi-namespace' type=string items=1
                            value='\_SB_.PCI0.LPCB.PS2K'
                        name='model' type=string items=1
                            value='System keyboard'
                    Device Minor Nodes:
                        dev=(139,0)
dev_path=/pci@0,0/isa@1f/i8042@1,60/keyboard@0:kb8042
                                spectype=chr type=minor
                            Device Minor Layered Under:
                                mod=conskbd accesstype=chr
                                    dev_path=/pseudo/conskbd@0
                mouse, instance #0
                    Driver properties:
                        name='ddi-no-autodetach' type=int items=1 dev=none
                            value=00000001
                    Hardware properties:
                        name='compatible' type=string items=1
                            value='pnpPNP,f03'
                        name='device-type' type=string items=1
                            value='mouse'
                        name='reg' type=int items=1
                            value=00000001
                        name='interrupts' type=int items=1
                            value=0000000c
                        name='acpi-namespace' type=string items=1
                            value='\_SB_.PCI0.LPCB.PS2M'
                        name='model' type=string items=1
                            value='PS/2 Port for PS/2-style Mice'
                    Device Minor Nodes:
                        dev=(155,0)
dev_path=/pci@0,0/isa@1f/i8042@1,60/mouse@1:mouse
                                spectype=chr type=minor
                                dev_link=/dev/kdmouse
                        dev=(155,1)
dev_path=/pci@0,0/isa@1f/i8042@1,60/mouse@1:internal_mouse
                                spectype=chr type=internal
                            Device Minor Layered Under:
                                mod=consms accesstype=chr
                                    dev_path=/pseudo/consms@0


Hm. The keyboard light turns on when i press a mouse button on the pad btw..

Any hints are welcome!

Stephan



_______________________________________________
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to