What do i name the hwdb file?

  • Hi all,


    I have an Chinese made generic remote USB/Bluetooth, the OK / Select button doesn't work. I'm trying to remap the button. I have the hwdb file created with the help from this post, the only thing i'm not sure about is what to name the file. Could something help me.


    below is the info from the device.


    # udevadm info /dev/input/event3

    P: /devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.2/0003:7545:2804.0001/input/input3/event3

    N: input/event3

    L: 0

    S: input/by-id/usb-NANO_IC_NANOSIC_USB_Dongle_WNF150U-if02-event-mouse

    S: input/by-path/platform-xhci-hcd.0.auto-usb-0:1:1.2-event-mouse

    E: DEVPATH=/devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.2/0003:7545:2804.0001/input/input3/event3

    E: DEVNAME=/dev/input/event3

    E: MAJOR=13

    E: MINOR=67

    E: SUBSYSTEM=input

    E: USEC_INITIALIZED=9969308

    E: ID_INPUT=1

    E: ID_INPUT_MOUSE=1

    E: ID_INPUT_KEY=1

    E: ID_INPUT_KEYBOARD=1

    E: ID_VENDOR=NANO_IC

    E: ID_VENDOR_ENC=NANO\x20IC

    E: ID_VENDOR_ID=7545

    E: ID_MODEL=NANOSIC_USB_Dongle

    E: ID_MODEL_ENC=NANOSIC\x20USB\x20Dongle

    E: ID_MODEL_ID=2804

    E: ID_REVISION=0100

    E: ID_SERIAL=NANO_IC_NANOSIC_USB_Dongle_WNF150U

    E: ID_SERIAL_SHORT=WNF150U

    E: ID_TYPE=hid

    E: ID_BUS=usb

    E: ID_USB_INTERFACES=:010100:010200:030001:030000:

    E: ID_USB_INTERFACE_NUM=02

    E: ID_USB_DRIVER=usbhid

    E: ID_PATH=platform-xhci-hcd.0.auto-usb-0:1:1.2

    E: ID_PATH_TAG=platform-xhci-hcd_0_auto-usb-0_1_1_2

    E: LIBINPUT_DEVICE_GROUP=3/7545/2804:usb-xhci-hcd.0.auto-1

    E: DEVLINKS=/dev/input/by-id/usb-NANO_IC_NANOSIC_USB_Dongle_WNF150U-if02-event-mouse /dev/input/by-path/platform-xhci-hcd.0.auto-usb-0:1:1.2-event-mouse

    E: TAGS=:power-switch:


    I: Bus=0003 Vendor=7545 Product=2804 Version=0111

    N: Name="NANO IC NANOSIC USB Dongle"

    P: Phys=usb-xhci-hcd.0.auto-1/input2

    S: Sysfs=/devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.2/0003:7545:2804.0001/input/input3

    U: Uniq=WNF150U

    H: Handlers=kbd mouse1 event3

    B: PROP=0

    B: EV=12001f

    B: KEY=3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1f0001 130f93 8b17c007 ffff7bfa d9415fff febeffdf ffefffff ffffffff fffffffe

    B: REL=143

    B: ABS=1 0

    B: MSC=10

    B: LED=1f