Any USB Experts?
markw at mohawksoft.com
markw at mohawksoft.com
Thu Mar 2 13:34:02 EST 2006
> markw at mohawksoft.com wrote:
>> I am looking for a way to use a USB mouse in useland. I am able to open
>> it, and read from it, so far so good.
>>
>> If you are familiar with mice, I want to write reset, resolution, and
>> report mode to the USB mouse, but all writes just get an error.
>
> What's the error? On my machine, the permissions for /dev/input/mouse0
> is:
> crw-r--r-- 1 root root
>
> (ie no write access for anyone but root)
It isn't a permissions issue. It is finding a way to send data to the
mouse. Simply wrting with usb_interrupt_write() doesn't work. I suspect I
have to send a control message but I'm not sure.
More information about the Discuss
mailing list