lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 19 Feb 2009 12:16:23 +0100
From:	Tobias Kaminsky <mail@...swimmer.de>
To:	linux-kernel@...r.kernel.org
Subject: No Scancodes for "Logitech NuLOOQ"

Hello,

I am trying to get the "Logitech NuLOOQ" USB jog/shuttle to work.
Here is a picture of it to see its capabilities:
http://technabob.com/blog/wp-content/uploads/2006/10/logitech_nulooq.jpg

getscancode gives me:

$./getscancodes /dev/input/event3
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x46d product 0xc640 version 0x110
Input device name: "3Dconnexion NuLOOQ Navigator"
589827 (0x90003)
589827 (0x90003)
589825 (0x90001)
589825 (0x90001)
589825 (0x90001)
589828 (0x90004)
589825 (0x90001)
589828 (0x90004)
589826 (0x90002)
589826 (0x90002)
589829 (0x90005)
589829 (0x90005) Button "II"

This represents the five buttons on top of it.
But the NuLOOQ has a "navring" which you can turn left/right.
This does not generates a scancode.

evbug gives me:
 Connected device: input3 (3Dconnexion NuLOOQ Navigator at 
usb-0000:00:02.0-2/input0)

Button "II" is represented like this:
 Event. Dev: input3, Type: 4, Code: 4, Value: 589829
 Event. Dev: input3, Type: 1, Code: 260, Value: 1
 Event. Dev: input3, Type: 0, Code: 0, Value: 0
 Event. Dev: input3, Type: 4, Code: 4, Value: 589829
 Event. Dev: input3, Type: 1, Code: 260, Value: 0
 Event. Dev: input3, Type: 0, Code: 0, Value: 0

For this one it seems as if the "value" is the scancode.

Turning the "navring" to the right results in:

 Event. Dev: input3, Type: 2, Code: 1, Value: 125
 Event. Dev: input3, Type: 2, Code: 5, Value: -148
 Event. Dev: input3, Type: 0, Code: 0, Value: 0
 Event. Dev: input3, Type: 2, Code: 0, Value: 71
 Event. Dev: input3, Type: 2, Code: 1, Value: 79
 Event. Dev: input3, Type: 2, Code: 5, Value: -86
 Event. Dev: input3, Type: 0, Code: 0, Value: 0
 Event. Dev: input3, Type: 2, Code: 0, Value: 71
 Event. Dev: input3, Type: 2, Code: 1, Value: 39
 Event. Dev: input3, Type: 2, Code: 5, Value: -56
 Event. Dev: input3, Type: 0, Code: 0, Value: 0
 Event. Dev: input3, Type: 2, Code: 0, Value: 32
 Event. Dev: input3, Type: 2, Code: 1, Value: 21
 Event. Dev: input3, Type: 2, Code: 5, Value: -23
 Event. Dev: input3, Type: 0, Code: 0, Value: 0
 Event. Dev: input3, Type: 2, Code: 0, Value: 10
 Event. Dev: input3, Type: 2, Code: 1, Value: 9
 Event. Dev: input3, Type: 2, Code: 5, Value: -3
 Event. Dev: input3, Type: 0, Code: 0, Value: 0


How can I verify these scancodes and get them into the kernel?

I have searched the web, but not found a howto/tutorial on getting/creating 
new scancodes.

Thanks in advance!

Tobias Kaminsky


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ