hid-mouse in Ubuntu
Posted: Mon Oct 27, 2008 7:03 pm
I have successfully tried the hid-mouse example under Windows XP; the device is recognized and the mouse pointer starts to move in a big circle.
However, in Ubuntu nothing seems to happen when i plug it in; dmesg says nothing, and no messages are appended in the log files. I'm quite new to both Linux and Ubuntu so i don't really know how to proceed from here.
I activated DEBUG_LEVEL 2. Here is a command log:
Then it just keeps iterating the main loop; "02: <CR> <LF>" is written in a fast rate. (Actually so fast that dmesg shows a bunch of: "[ 4588.651402] ttyS0: 1 input overrun(s)".)
However, in Ubuntu nothing seems to happen when i plug it in; dmesg says nothing, and no messages are appended in the log files. I'm quite new to both Linux and Ubuntu so i don't really know how to proceed from here.
I activated DEBUG_LEVEL 2. Here is a command log:
Code: Select all
bjn@bjn:~/avr/avrusb-20081022/examples/hid-mouse/firmware$ stty -F /dev/ttyS0 19200
bjn@bjn:~/avr/avrusb-20081022/examples/hid-mouse/firmware$ stty -F /dev/ttyS0
speed 19200 baud; line = 0;
-brkint -imaxbel
bjn@bjn:~/avr/avrusb-20081022/examples/hid-mouse/firmware$ cat /dev/ttyS0
(then I plug it in and get the following:)
�01:
02:
03:
23: c3 00 ff 07 00 cd db
02:
02:
...
Then it just keeps iterating the main loop; "02: <CR> <LF>" is written in a fast rate. (Actually so fast that dmesg shows a bunch of: "[ 4588.651402] ttyS0: 1 input overrun(s)".)