openSUSE / hwinfo

Hardware information tool
GNU General Public License v2.0
256 stars 69 forks source link

feat: add touchpad information from input #139

Open jeffshuai opened 11 months ago

jeffshuai commented 11 months ago

some proc file handle no mouse may miss touchpad

Log: add touchpad information from input

jeffshuai commented 11 months ago

I have do the test ad : :~$ hwinfo --mouse 14: Serial 00.0: 10502 Bus Mouse
[Created at input.335] Unique ID: cU2J.i1fn6SHzTRE SysFS ID: /devices/platform/amba/fa04e000.i2c/i2c-6/6-0015/0018:04F3:30F5.0001/input/input3 Hardware Class: mouse Model: "elan-clickpad 04F3:30F5 Touchpad" Vendor: 0x04f3 Device: 0x30f5 "elan-clickpad 04F3:30F5 Touchpad" Device Files: /dev/input/event1, /dev/input/by-path/platform-fa04e000.i2c-event-mouse Config Status: cfg=new, avail=yes, need=no, active=unknown

@wfeldt Please review the code give your comments ,thanks

jeffshuai commented 11 months ago

@andreas-schwab @bmwiedemann @zhuyaliang review the code pls give your comments ,thanks

Mic92 commented 3 weeks ago

cc @brianmcgee can we cherry-pick this?