From: Stephen H. W. <we...@gr...> - 2003-12-10 22:07:43
|
> From: Johannes Erdfelt <joh...@er...> > Date: Wed, 10 Dec 2003 15:07:22 -0500 > > On Wed, Dec 10, 2003, Stephen H. Westin <we...@gr...> wrote: > > > Date: Wed, 10 Dec 2003 18:32:47 +0100 > > > From: Daniele Bellucci <bel...@ti...> > > > Cc: lib...@li... > > > Content-Disposition: inline > > > X-UIDL: aX7e9W')e9aWB!!_Vbd9 > > > X-Text-Classification: personal > > > X-POPFile-Link: http://ralph:8080/jump_to_message?view=popfile607=1.msg > > > > > > > > > |For Mac OS X (Darwin), simply call usb_bulk_read on an endpoint that > > > |happens to be an interrupt endpoint. Don't know about others. > > > > > > about others: i've found many definitions for Linux with no code... is there > > > any work in progress/idea ... > > > i would like to hack in that, but i didn't receive any feedbacks > > > on previous works/attempts. > > > > Well, looking at the libgphoto2 code, that seems to be the way libusb > > works on all platforms. Here's the actual code from > > libgphoto2/libgphoto2_port/usb/libusb.c: <snip> > It won't work on all platforms, hence the reason I started implementing > usb_interrupt_read in libusb CVS. Ah, but it's OK on vanilla Linux; I've been using it in libgphoto2 on RH9 for some time now. -Stephen H. Westin Any information or opinions in this message are mine: they do not represent the position of Cornell University or any of its sponsors. |