You are not logged in.

I have a presenter (laser pointer with two buttons for switching presentation slides with a USB dongle) here which I cannot get working although the manual says it's supposed to just work (ok, on Windows and Mac).
When I plug-in the dongle, that's what dmesg reports:
[35013.198106] usb 3-6: new low-speed USB device number 13 using xhci_hcd
[35013.376725] usb 3-6: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[35013.376730] usb 3-6: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframeslsusb says
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
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 003: ID 138a:0017 Validity Sensors, Inc. Fingerprint Reader
Bus 003 Device 013: ID 05b8:3223 Agiler, Inc. 
Bus 003 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 003 Device 005: ID 04ca:7035 Lite-On Technology Corp. 
Bus 003 Device 004: ID 8087:07dc Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root huband lshw -c input shows
  *-usb:1 UNCLAIMED       
       description: Keyboard
       product: Wireless Presenter
       vendor: Agiler, Inc.
       physical id: 6
       bus info: usb@3:6
       version: 0.01
       capabilities: usb-2.00
       configuration: maxpower=98mA speed=1Mbit/sPressing the buttons on the pointer with an active presentation and the dongle plugged in doesn't seem to have any effect.
I've already run
udevadm hwdb --updatewhich doesn't change anything.
Any idea how to debug what's the problem?
Last edited by tsdh (2015-07-17 20:59:20)
Offline

it's supposed to just work (ok, on Windows and Mac).
Are you attempting humour here, or do you really think this means it should also "just work" with linux systems?
Anyway... lshw seems to think it's a keyboard, so see if it shows up under xinput, and/or use xev to see if its button generate any events. If you're lucky and they do, use xbindkeys or similar to map the actions you require to them.
Offline

tsdh wrote:it's supposed to just work (ok, on Windows and Mac).
Are you attempting humour here, or do you really think this means it should also "just work" with linux systems?
No, not at all. I've already used several borrowed presenters at conferences, and they really all just worked without any configs needed.
Anyway... lshw seems to think it's a keyboard, so see if it shows up under xinput, and/or use xev to see if its button generate any events. If you're lucky and they do, use xbindkeys or similar to map the actions you require to them.
Yes, that it registers as keyboard is correct. Its buttons should theoretically trigger PageUp/Down or Up/Down events.
xinput says
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=12	[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	id=14	[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)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ Integrated Camera                       	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=13	[slave  keyboard (3)]so it's not in there, and xev doesn't show any events when I press the buttons. :-(
Offline

I've already used several borrowed presenters at conferences, and they really all just worked without any configs needed.
With Arch, or with some more preconfigured system e.g. Ubuntu etc?
Offline

tsdh wrote:I've already used several borrowed presenters at conferences, and they really all just worked without any configs needed.
With Arch, or with some more preconfigured system e.g. Ubuntu etc?
Yes, both with Arch (since about a year) and Gentoo (before).
Offline

I've solved it. The USB device ID wasn't listed in /usr/share/hwdata/usb.ids so I've added it there at the right manufacturer with "Wireless Presenter" as description, and after a reboot, plugging in the dongle gives:
[   39.654231] usb 3-1: new low-speed USB device number 6 using xhci_hcd
[   39.832441] usb 3-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[   39.832446] usb 3-1: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[   39.847626] hidraw: raw HID events driver (C) Jiri Kosina
[   39.857321] usbcore: registered new interface driver usbhid
[   39.857323] usbhid: USB HID core driver
[   39.859164] input: Wireless Presenter as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:05B8:3223.0001/input/input20
[   39.911205] hid-generic 0003:05B8:3223.0001: input,hidraw0: USB HID v1.11 Keyboard [Wireless Presenter] on usb-0000:00:14.0-1/input0
[   39.911482] input: Wireless Presenter as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1/0003:05B8:3223.0002/input/input21
[   39.964618] hid-generic 0003:05B8:3223.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Wireless Presenter] on usb-0000:00:14.0-1/input1So tomk, you see, if that device would have been registered in the linux USB database, then it would have worked out of the box.
Offline

Glad you got it working. Have you submitted the device info for inclusion upstream?
Offline

Yes, I have sent it for inclusion. See https://usb-ids.gowdy.us/read/UD/05b8/3223. It seems it has not been officially added yet.
Offline