From 93a411ee54646d858bdcf2eb004fdfd1d5be21e9 Mon Sep 17 00:00:00 2001 From: Andrew Baxter Date: Thu, 6 Jul 2023 19:42:33 +0900 Subject: [PATCH] Hwdb: Add Sanwa Direct 400-MA128 external trackpad (#28272) * Hwdb: Add Sanwa Direct 400-MA128 external trackpad ``` $ udevadm info /dev/input/by-path/pci-0000:28:00.3-usb-0:1.4.4.1:1.1-event-mouse P: /devices/pci0000:00/0000:00:07.1/0000:28:00.3/usb5/5-1/5-1.4/5-1.4.4/5-1.4.4.1/5-1.4.4.1:1.1/0003:258A:0501.0097/input/input256/event15 M: event15 R: 15 U: input D: c 13:79 N: input/event15 L: 0 S: input/by-id/usb-SINO_WEALTH_USB_TOUCHPAD-if01-event-mouse S: input/by-path/pci-0000:28:00.3-usb-0:1.4.4.1:1.1-event-mouse E: DEVPATH=/devices/pci0000:00/0000:00:07.1/0000:28:00.3/usb5/5-1/5-1.4/5-1.4.4/5-1.4.4.1/5-1.4.4.1:1.1/0003:258A:0501.0097/input/input256/event15 E: DEVNAME=/dev/input/event15 E: MAJOR=13 E: MINOR=79 E: SUBSYSTEM=input E: USEC_INITIALIZED=3436890430330 E: ID_INPUT=1 E: ID_INPUT_TOUCHPAD=1 E: ID_INPUT_WIDTH_MM=106 E: ID_INPUT_HEIGHT_MM=77 E: ID_BUS=usb E: ID_MODEL=USB_TOUCHPAD E: ID_MODEL_ENC=USB\x20TOUCHPAD E: ID_MODEL_ID=0501 E: ID_SERIAL=SINO_WEALTH_USB_TOUCHPAD E: ID_VENDOR=SINO_WEALTH E: ID_VENDOR_ENC=SINO\x20WEALTH E: ID_VENDOR_ID=258a E: ID_REVISION=0521 E: ID_TYPE=hid E: ID_USB_MODEL=USB_TOUCHPAD E: ID_USB_MODEL_ENC=USB\x20TOUCHPAD E: ID_USB_MODEL_ID=0501 E: ID_USB_SERIAL=SINO_WEALTH_USB_TOUCHPAD E: ID_USB_VENDOR=SINO_WEALTH E: ID_USB_VENDOR_ENC=SINO\x20WEALTH E: ID_USB_VENDOR_ID=258a E: ID_USB_REVISION=0521 E: ID_USB_TYPE=hid E: ID_USB_INTERFACES=:030101:030000: E: ID_USB_INTERFACE_NUM=01 E: ID_USB_DRIVER=usbhid E: ID_PATH=pci-0000:28:00.3-usb-0:1.4.4.1:1.1 E: ID_PATH_TAG=pci-0000_28_00_3-usb-0_1_4_4_1_1_1 E: ID_INPUT_TOUCHPAD_INTEGRATION=internal E: LIBINPUT_DEVICE_GROUP=3/258a/501:usb-0000:28:00.3-1.4.4 E: DEVLINKS=/dev/input/by-id/usb-SINO_WEALTH_USB_TOUCHPAD-if01-event-mouse /dev/input/by-path/pci-0000:28:00.3-usb-0:1.4.4.1:1.1-event-mouse ``` Link to product: https://www.amazon.co.jp/gp/product/B07Z5HCMFP (cherry picked from commit 1b91662ca0968f7a7ed3a069b7990b73d750ac51) Related: RHEL-5950 --- hwdb.d/60-evdev.hwdb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb index 56cb3d3636..a9ce4e2862 100644 --- a/hwdb.d/60-evdev.hwdb +++ b/hwdb.d/60-evdev.hwdb @@ -811,6 +811,17 @@ evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnSAMSUNGELECTRONICSCO.,LTD.:pn870Z5E/ EVDEV_ABS_35=::30 EVDEV_ABS_36=::29 +######################################### +# Sanwa Direct +######################################### + +# Sanwa Direct 400-MA128 Trackpad +evdev:input:b0003v258Ap0501* + EVDEV_ABS_00=::16 + EVDEV_ABS_01=::10 + EVDEV_ABS_35=::16 + EVDEV_ABS_36=::10 + ######################################### # Star Labs #########################################