Button on Microscope QX3
Hi,
I'm working on a Java software for using the microscope QX3 in the primary school and I need a way to figure out when the user press the button on the microscope. I can't get this from V4L2 library, so reading the CPiA(1) - gspca driver[1] I found the var button on the struct qx3: Code:
struct { Could someone kindly tell me if there is a way to read this value? Thank you for your time. [1] http://lxr.free-electrons.com/source...a/cpia1.c#L335 |
Hi.
At a glance to the cpia1.c, the button pressing event is processed here: Code:
1758 #if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE) |
Sorry but I don't understand which /dev/input/eventX I have to use with evtest.
Here some output: Code:
ll /dev/input/ Code:
ll /dev/input/by-id/ Code:
ll /dev/input/by-path/ Code:
dmesg |
Hi.
Quote:
Code:
$ cat /sys/class/input/event*/device/name | nl -v0 If nothing helps, try to compile kernel module yourself and insert printk("<1>..."); where appropriate to see what's happening (messages go to system log). |
I tried to (un)plug but the list doesn't change, I also tried all the /dev/input/eventX but no one is the microscope.
In the meantime I write a mail to the driver's writers and one of theme reply me this: Quote:
|
All times are GMT -5. The time now is 04:47 AM. |