lkml.org 
[lkml]   [2009]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectNo Scancodes for "Logitech NuLOOQ"
From
Date
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




\
 
 \ /
  Last update: 2009-02-19 12:19    [W:0.101 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site