On Thu, 12 Nov 2009 15:21:18 -0500, Carmel <carmel...@hotmail.com> wrote:
> 'moused' was running. I have no idea why though.  I did not start it.

It surely was usbd.



> Anyway, I killed it, confirmed it was dead, and then ran the command:
> 
>       moused -f -d -p /dev/ums0
> 
> It failed again with a 'device busy' message.

Then there's something wrong. It should look like this:

# moused -f -d -p /dev/ums0
moused: unable to open /dev/ums0: Device busy

# ps ax | grep mouse
  646  ??  Is     0:03.63 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/mou

# kill -9 646

# moused -f -d -p /dev/ums0
moused: proto params: f8 80 00 00 8 00 ff
moused: port: /dev/ums0  interface: usb  type: sysmouse  model: generic
moused: received char 0x87
moused: received char 0x0
moused: received char 0xff
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x7f
moused: assembled full packet (len 8) 87,0,ff,0,0,0,0,7f
moused: ts:  5396 251403094
moused: flags:80000000 buttons:00000000 obuttons:00000000
moused: activity : buttons 0x00000000  dx 0  dy 1  dz 0
moused: received char 0x87
moused: received char 0x0
moused: received char 0xff
moused: received char 0x0
moused: received char 0xff
moused: received char 0x0
moused: received char 0x0
moused: received char 0x7f
moused: assembled full packet (len 8) 87,0,ff,0,ff,0,0,7f
moused: ts:  5396 261402131
moused: flags:80000000 buttons:00000000 obuttons:00000000
moused: activity : buttons 0x00000000  dx 0  dy 2  dz 0
[...]
moused: assembled full packet (len 8) 86,0,0,0,0,0,0,7f
moused: ts:  5397 608884283
moused:   :  5395 429419435
moused: flags:00000004 buttons:00000004 obuttons:00000000
moused: activity : buttons 0x00000004  dx 0  dy 0  dz 0
moused: mstate[2]->count:1
moused: button 3  count 1
moused: received char 0x87
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x7f
moused: assembled full packet (len 8) 87,0,0,0,0,0,0,7f
moused: ts:  5397 756882422
moused: flags:00000004 buttons:00000000 obuttons:00000004
moused: activity : buttons 0x00000000  dx 0  dy 0  dz 0
moused: mstate[2]->count:1
moused: button 3  count 0
^C

# moused -p /dev/ums0

(I just started moused again manually, sufficient.)

Everything is done as root, of course.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to