저는 Linux 컴퓨터(Ubuntu 22.04)만 가지고 있고 공식적으로 Linux를 지원하지 않는 3D Connexion CadMouse Pro를 방금 받았습니다. 하지만 제어 소프트웨어와 관련이 있는 것 같습니다. HID 마우스이므로 최소한 포인터를 움직여야 합니다.
혹시 불량이 아닐까 걱정됩니다. 마우스 자체가 제대로 작동하는지 알 수 있는 방법을 찾고 있습니다.
이것은 디버깅을 위해 내가 한 일입니다.
$ lsusb
Bus 002 Device 003: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash Card Reader
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 014: ID 1ea7:002c SHARKOON Technologies GmbH USB Gaming Mouse
Bus 003 Device 010: ID 0a5c:2148 Broadcom Corp. BCM92046DG-CL1ROM Bluetooth 2.1 Adapter
Bus 003 Device 009: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface Subclass)
Bus 003 Device 008: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass)
Bus 003 Device 006: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 003 Device 015: ID 256f:c656 3Dconnexion CadMouse Pro
Bus 003 Device 005: ID 04d9:a061 Holtek Semiconductor, Inc. USB Keyboard
Bus 003 Device 004: ID 256f:c635 3Dconnexion SpaceMouse Compact
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ HID 0a5c:4503 Mouse id=13 [slave pointer (2)]
⎜ ↳ USB Gaming Mouse id=15 [slave pointer (2)]
⎜ ↳ USB Gaming Mouse Consumer Control id=16 [slave pointer (2)]
⎜ ↳ 3Dconnexion CadMouse Pro id=19 [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)]
↳ Power Button id=8 [slave keyboard (3)]
↳ USB Keyboard id=9 [slave keyboard (3)]
↳ USB Keyboard System Control id=10 [slave keyboard (3)]
↳ USB Keyboard Consumer Control id=11 [slave keyboard (3)]
↳ HID 0a5c:4502 id=12 [slave keyboard (3)]
↳ USB Gaming Mouse id=14 [slave keyboard (3)]
↳ USB Gaming Mouse System Control id=17 [slave keyboard (3)]
↳ USB Gaming Mouse Consumer Control id=18 [slave keyboard (3)]
[10193.373908] usb 3-4.5: new full-speed USB device number 16 using xhci_hcd
[10193.488391] usb 3-4.5: New USB device found, idVendor=256f, idProduct=c656, bcdDevice= 1.08
[10193.488397] usb 3-4.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10193.488399] usb 3-4.5: Product: CadMouse Pro
[10193.488400] usb 3-4.5: Manufacturer: 3Dconnexion
[10193.497577] input: 3Dconnexion CadMouse Pro as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.5/3-4.5:1.0/0003:256F:C656.0015/input/input47
[10193.497760] hid-generic 0003:256F:C656.0015: input,hidraw8: USB HID v1.11 Mouse [3Dconnexion CadMouse Pro] on usb-0000:00:14.0-4.5/input0
[10193.499613] input: 3Dconnexion CadMouse Pro as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.5/3-4.5:1.1/0003:256F:C656.0016/input/input48
[10193.499687] hid-generic 0003:256F:C656.0016: input,hiddev2,hidraw9: USB HID v1.11 Multi-Axis Controller [3Dconnexion CadMouse Pro] on usb-0000:00:14.0-4.5/input1
$ ls -l /dev/input/by-id/
totale 0
lrwxrwxrwx 1 root root 9 mar 17 09:21 usb-04d9_USB_Keyboard-event-if01 -> ../event5
lrwxrwxrwx 1 root root 9 mar 17 09:21 usb-04d9_USB_Keyboard-event-kbd -> ../event4
lrwxrwxrwx 1 root root 10 mar 17 09:21 usb-0a5c_4502-event-kbd -> ../event12
lrwxrwxrwx 1 root root 10 mar 17 09:21 usb-0a5c_4503-event-mouse -> ../event13
lrwxrwxrwx 1 root root 9 mar 17 09:21 usb-0a5c_4503-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 mar 17 12:00 usb-1ea7_USB_Gaming_Mouse-event-if02 -> ../event9
lrwxrwxrwx 1 root root 9 mar 17 12:00 usb-1ea7_USB_Gaming_Mouse-event-kbd -> ../event7
lrwxrwxrwx 1 root root 9 mar 17 12:00 usb-1ea7_USB_Gaming_Mouse-if01-event-mouse -> ../event8
lrwxrwxrwx 1 root root 9 mar 17 12:00 usb-1ea7_USB_Gaming_Mouse-if01-mouse -> ../mouse0
lrwxrwxrwx 1 root root 10 mar 17 12:10 usb-3Dconnexion_CadMouse_Pro-event-if01 -> ../event24
lrwxrwxrwx 1 root root 10 mar 17 12:10 usb-3Dconnexion_CadMouse_Pro-event-mouse -> ../event23
lrwxrwxrwx 1 root root 9 mar 17 12:10 usb-3Dconnexion_CadMouse_Pro-mouse -> ../mouse2
lrwxrwxrwx 1 root root 9 mar 17 09:21 usb-3Dconnexion_SpaceMouse_Compact-event-if00 -> ../event3
/dev/input/mouse2
그래서 및 /dev/input/event23
/ 위에 있는 마우스를 인식하는 것 같습니다 /dev/input/event24
.
cat
마우스를 이동하면서 파일에 액세스하려고 시도했지만 출력이 없습니다. 대신에 sudo cat /dev/input/mouse0
(지금 마우스를 사용하고 있는 경우) 일부 출력이 표시됩니다.
マウスがまったく機能しないと仮定できますか?それとも私が試すことができる他のものがありますか?
答え1
@meuhユーザーの提案のおかげで、以下を実行してみました。
sudo evtest
マイマウス用のevent
ファイルを選択してください。出力は次のとおりです
デバイスは他のプロセスによって占められています。他のクロールが有効になっていると、evtestに使用できるイベントはありません。
したがって、私は以下を発行します。
$ sudo fuser -v /dev/input/event8
UTENTE PID ACCESSO COMANDO
/dev/input/event8: root 1405 F.... spacenavd
spacenavd
3Dナビゲーションデバイス用のドライバです(ls -l /dev/input/by-id/
上記の出力で見ることができます)。このサービスを停止した後、マウスが機能し始めました。
結論:マウスは正常に動作しますが、3D Connexion SpaceMouse用のドライバにはCadMouseが機能しないバグがあります。