You are not logged in.

#1 2023-12-23 19:02:23

nix999
Member
Registered: 2023-12-23
Posts: 2

uhid device mice not working

Hi,

I have an issue getting a trackball and spinner configured as mice working in Arch.
I searched a lot but I cannot sort it out myself. The device itself works under windows. I configured it like 10 years ago.
It can function as a keyboard, joystick or mouse all combined. Keyboard works, joystick works, mouse doesn't.
It is a https://www.ultimarc.com/control-interf … -en/u-hid/

The OS is barebone. I use KMSDRM. It is fully up to date as of writing.

[    0.000000] Linux version 6.6.7-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Thu, 14 Dec 2023 03:45:42 +0000

The, as far as I know, relevant dmesg output:

[    1.411118] usb 1-1.3: New USB device found, idVendor=d209, idProduct=1501, bcdDevice= 0.36
[    1.411126] usb 1-1.3: New USB device strings: Mfr=1, Product=1, SerialNumber=5
[    1.411131] usb 1-1.3: Product: Universal Human Interface Device
[    1.411134] usb 1-1.3: Manufacturer: Universal Human Interface Device
[    1.411136] usb 1-1.3: SerialNumber: 9
....
[    2.304908] input: Universal Human Interface Device Universal Human Interface Device as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:D209:1700.0001/input/input2
[    2.306425] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[    2.306653] scsi host6: usb-storage 2-1.2:1.0
[    2.306786] usbcore: registered new interface driver usb-storage
[    2.314975] usbcore: registered new interface driver uas
[    2.361540] hid-generic 0003:D209:1700.0001: input,hidraw0: USB HID v1.11 Device [Universal Human Interface Device Universal Human Interface Device] on usb-0000:00:1a.0-1.1/input0
[    2.363207] input: Universal Human Interface Device Universal Human Interface Device as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:D209:1501.0002/input/input3
[    2.418273] hid-generic 0003:D209:1501.0002: input,hidraw1: USB HID v1.11 Device [Universal Human Interface Device Universal Human Interface Device] on usb-0000:00:1a.0-1.3/input0
[    2.420732] input: Universal Human Interface Device Universal Human Interface Device as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:D209:1501.0003/input/input4
[    2.420976] hid-generic 0003:D209:1501.0003: input,hidraw2: USB HID v1.11 Joystick [Universal Human Interface Device Universal Human Interface Device] on usb-0000:00:1a.0-1.3/input1
[    2.423382] input: Universal Human Interface Device Universal Human Interface Device as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:D209:1501.0004/input/input5
[    2.478147] hid-generic 0003:D209:1501.0004: input,hidraw3: USB HID v1.11 Keyboard [Universal Human Interface Device Universal Human Interface Device] on usb-0000:00:1a.0-1.3/input2
[    2.481072] input: Universal Human Interface Device Universal Human Interface Device Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.3/0003:D209:1501.0005/input/input6
[    2.481360] hid-generic 0003:D209:1501.0005: input,hidraw4: USB HID v1.11 Mouse [Universal Human Interface Device Universal Human Interface Device] on usb-0000:00:1a.0-1.3/input3
[    2.483360] input: Ultimarc Ultimarc as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:D209:1401.0006/input/input7
[    2.538345] hid-generic 0003:D209:1401.0006: input,hidraw5: USB HID v1.11 Device [Ultimarc Ultimarc] on usb-0000:00:1a.0-1.4/input0
[    2.538384] usbcore: registered new interface driver usbhid

contents of /dev/input

by-id    event1   event12  event15  event18  event4  event7  js0     mouse1
by-path  event10  event13  event16  event2   event5  event8  mice
event0   event11  event14  event17  event3   event6  event9  mouse0

When I boot the system I always have a mouse0. mouse0 doesn't do a thing. Perhaps that is the U-hid device I don't know.
When I attach the Dell mouse I get a mouse1 and if I do cat ./mouse1 and move it I get characters so that one works. It also works in programs.

contents of /dev/input/by-id

usb-0461_USB_Optical_Mouse-event-mouse
usb-0461_USB_Optical_Mouse-mouse
usb-Dell_Dell_USB_Keyboard-event-kbd
usb-Universal_Human_Interface_Device_Universal_Human_Interface_Device_9-event-mouse
usb-Universal_Human_Interface_Device_Universal_Human_Interface_Device_9-if01-event-joystick
usb-Universal_Human_Interface_Device_Universal_Human_Interface_Device_9-if01-joystick
usb-Universal_Human_Interface_Device_Universal_Human_Interface_Device_9-if02-event-kbd
usb-Universal_Human_Interface_Device_Universal_Human_Interface_Device_9-if03-event-mouse
usb-Universal_Human_Interface_Device_Universal_Human_Interface_Device_9-if03-mouse

contents of /dev/input/by-path

pci-0000:00:1a.0-usb-0:1.1:1.0-event-mouse	 pci-0000:00:1a.0-usbv2-0:1.3:1.1-joystick
pci-0000:00:1a.0-usb-0:1.3:1.0-event-mouse	 pci-0000:00:1a.0-usbv2-0:1.3:1.2-event-kbd
pci-0000:00:1a.0-usb-0:1.3:1.1-event-joystick	 pci-0000:00:1a.0-usbv2-0:1.3:1.3-event-mouse
pci-0000:00:1a.0-usb-0:1.3:1.1-joystick		 pci-0000:00:1a.0-usbv2-0:1.3:1.3-mouse
pci-0000:00:1a.0-usb-0:1.3:1.2-event-kbd	 pci-0000:00:1d.0-usb-0:1.3:1.0-event-kbd
pci-0000:00:1a.0-usb-0:1.3:1.3-event-mouse	 pci-0000:00:1d.0-usb-0:1.4:1.0-event-mouse
pci-0000:00:1a.0-usb-0:1.3:1.3-mouse		 pci-0000:00:1d.0-usb-0:1.4:1.0-mouse
pci-0000:00:1a.0-usbv2-0:1.1:1.0-event-mouse	 pci-0000:00:1d.0-usbv2-0:1.3:1.0-event-kbd
pci-0000:00:1a.0-usbv2-0:1.3:1.0-event-mouse	 pci-0000:00:1d.0-usbv2-0:1.4:1.0-event-mouse
pci-0000:00:1a.0-usbv2-0:1.3:1.1-event-joystick  pci-0000:00:1d.0-usbv2-0:1.4:1.0-mouse

I also have the following in /etc/udev/rules.d/99-ultimarc.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="d209", MODE="0666"

Can anyone shed a light on this please as I have no clue how to solve it.
Tell me what info is required and I'll provide it.

Best regards.

Last edited by nix999 (2023-12-23 19:05:17)

Offline

Board footer

Powered by FluxBB