On Mon, Oct 22, 2001 at 10:13:38AM +0200, O.Beaudoux wrote:
> > > I try to get a HID report descriptor using lsusb from usbutils-0.8
> package
> > > for 3 devices:
> > ...
> > > and all is ok except on the HID report descriptor.
> > ...
> > > cannot get report descriptor
> > ...
> > > So what's going wrong ?
> > Let me guess: You have "hid.o" or "mousedev.o" loaded?
> 
> Yes......
> 
> Ok. I see that my question is a beginner's one. When I watch my linux
> console output, I effectively read that the interface 0 must be claimed. So
> I have added some code to do that (from libusb package) but the problem
> remains the same: the device remains busy.
> 
> So, I will try not to load hid and mousedev modules... and use my standard
> keyboard and mouse...
> 
> I'm really desapointed by the fact that there is no simple way to dialog
> with USB devices from the application level, assuming that all is build for
> "standard" things (for instance, we want to show 2 cursors onto the screen
> when 2 mouses are plugged...).

You don't need to talk to the USB devices directly for that - just open
/dev/input/mouse0 and /dev/input/mouse1 and read the data ...

-- 
Vojtech Pavlik
SuSE Labs

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to