[kwlug-disc] Presentation Pointer
peter_melse at gto.net
peter_melse at gto.net
Fri Mar 16 14:30:44 EDT 2018
Assuming the presence of xorg, perhaps xmodmap is the next place to
look?
~Peter
-------------------------
SUBJECT: [kwlug-disc]
Presentation Pointer
DATE: Fri, 16 Mar 2018 12:14:22 -0400
FROM: Khalid
Baheyeldin
TO: KWLUG discussion
REPLY-TO: kb at 2bits.com, KWLUG
discussion
I got a 2.4GHz Presentation Laser Pointer from eBay. It has
a small USB dongle, and 4
keys.
https://www.ebay.ca/itm/2-4GHz-Wireless-Presenter-USB-Remote-Control-Presentation-Mouse-Laser-Pointer-CA/112366784517
[1]
The same pointer is sold under known brand names, such as Targus,
...etc.
When I plug it in, it is recognized as a
keyboard:
[831101.349593] usb 2-1.2: new low-speed USB device number 62
using ehci-pci
[831101.449908] usb 2-1.2: New USB device found,
idVendor=2571, idProduct=4101
[831101.449917] usb 2-1.2: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
[831101.449921] usb 2-1.2:
Product: HAS HS304
[831101.449925] usb 2-1.2: Manufacturer:
HAS
[831101.457195] input: HAS HAS HS304 as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:2571:4101.0019/input/input57
[831101.509901]
hid-generic 0003:2571:4101.0019: input,hidraw2: USB HID v1.11 Keyboard
[HAS HAS HS304] on usb-0000:00:1d.0-1.2/input0
[831101.514417] input:
HAS HAS HS304 as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:2571:4101.001A/input/input58
[831101.570063]
hid-generic 0003:2571:4101.001A: input,hidraw3: USB HID v1.11 Mouse
[HAS HAS HS304] on usb-0000:00:1d.0-1.2/input1
When I start LibreOffice
and press the buttons, nothing happens.
When I open a Terminal from
XFCE, nothing happens.
But when I press Ctrl-Alt-F2 and login to a
native terminal, the escape codes do show up in that terminal.
Here is
a hex dump of the four buttons, separated by some dashes. All four
buttons do send stuff. Three send escape codes, and one sends just a
plain lower case b.
00000000 1b 5b 35 7e 2d 2d 2d 2d 2d 62 2d 2d 2d 2d
2d 1b |.[5~-----b-----.|
00000010 5b 36 7e 2d 2d 2d 2d 2d 1b 5b 33 31 7e
2d 2d 2d |[6~-----.[31~---|
00000020 2d 2d 0a |--.|
So, my question is,
how to make such a 'keyboard' work from LibreOffice under XFCE?
--
Khalid M. Baheyeldin
2bits.com [2], Inc.
Fast Reliable Drupal
Drupal
optimization, development, customization and consulting.
Simplicity is
prerequisite for reliability. -- Edsger W.Dijkstra
Simplicity is the
ultimate sophistication. -- anonymous
Links:
------
[1]
https://www.ebay.ca/itm/2-4GHz-Wireless-Presenter-USB-Remote-Control-Presentation-Mouse-Laser-Pointer-CA/112366784517
[2]
http://2bits.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20180316/6f9768e5/attachment.htm>
More information about the kwlug-disc
mailing list