Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Any USB Experts?



> 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.




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org