Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Detecting PS/2 devices
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
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2617

PostPosted: Sat Oct 07, 2017 7:11 am    Post subject: Detecting PS/2 devices Reply with quote

Neither lspci nor lsusb could detect the ALPS DualPoint TouchPad.
Is there another non-X tool available which could detect these input devices (and tell me about Vendor ID / Device ID)?
xinput:
$ xinput

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint Stick             id=15   [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad          id=16   [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)]
    ↳ AT Translated Set 2 keyboard              id=14   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=17   [slave  keyboard (3)]
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2325
Location: Germania

PostPosted: Sat Oct 07, 2017 8:33 am    Post subject: Reply with quote

I have a SynPS/2 TouchPad. But the necessary packages are the same, the wiki states.
Either install old synaptics[0] driver, or newer libinput[1] driver. Each show kernel settings and necessary packages and make.conf settings.

I guess I try to move to libinput. Let's see.


Arch's wiki[2] has some console tools listed to test.


[0] https://wiki.gentoo.org/wiki/Synaptics
[1] https://wiki.gentoo.org/wiki/Libinput
[2] https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Console_tools
_________________
boost|select libs to build|slotable|python-buildid

hear hear
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2617

PostPosted: Sat Oct 07, 2017 8:59 am    Post subject: Reply with quote

I got the ALPS PS/2 working already. The point is hardware detection without xinput or libinput-list-devices and getting Vendor ID / Device ID for better description in Gentoo wiki.
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2325
Location: Germania

PostPosted: Sat Oct 07, 2017 9:26 am    Post subject: Reply with quote

Hah, Gentoo does not install tools/libevdev-events.c of dev-libs/libevdev.
That prints bus, vendor and product id[0].

[0] https://cgit.freedesktop.org/libevdev/tree/tools/libevdev-events.c#n162
_________________
boost|select libs to build|slotable|python-buildid

hear hear
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5769

PostPosted: Sat Oct 07, 2017 8:18 pm    Post subject: Reply with quote

Try dmidecode.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2617

PostPosted: Sun Oct 08, 2017 6:41 am    Post subject: Reply with quote

Ant P. wrote:
Try dmidecode.

Very much information, but not so much about these certain devices.
Code:
# dmidecode

Handle 0x0004, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J1A1
        Internal Connector Type: None
        External Reference Designator: PS2Mouse
        External Connector Type: PS/2
        Port Type: Mouse Port

Handle 0x0005, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J1A1
        Internal Connector Type: None
        External Reference Designator: Keyboard
        External Connector Type: PS/2
        Port Type: Keyboard Port

...

Handle 0x0027, DMI type 21, 7 bytes
Built-in Pointing Device
        Type: Touch Pad
        Interface: Bus Mouse
        Buttons: 2

Looks like libinput-list-devices is the easiest to get useful information
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2617

PostPosted: Sun Oct 08, 2017 6:52 am    Post subject: Reply with quote

geki wrote:
Hah, Gentoo does not install tools/libevdev-events.c of dev-libs/libevdev.
That prints bus, vendor and product id[0].

[0] https://cgit.freedesktop.org/libevdev/tree/tools/libevdev-events.c#n162

Need to check dev-libs/libevdev version and see if it could be enabled in the ebuild.
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