Date: Wed, 14 Nov 2001 20:46:33 +0000 (GMT) From: Nick Hibma <n_hibma@webweaving.org> To: Peter Wemm <peter@wemm.org> Cc: Julian Elischer <julian@elischer.org>, <current@FreeBSD.ORG> Subject: Re: USB and -current Message-ID: <20011114204445.K567-100000@heather.plazza.uk> In-Reply-To: <20011114044328.CCB8C38CC@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
It would be trivial to write a driver, like uscanner, that does the collection of two endpoints into one bidirectional file descriptor. Endpoints are the pipes that USB communicates over, and due to sloppy documentation in the USB spec. implementors of firmware didn't realise that 1-in and 1-out are different endpoints. If 1-in and 1-out would have been used, ugen0.1 could have been used bidirectionally and all would have been well. Nick On Tue, 13 Nov 2001, Peter Wemm wrote: > Julian Elischer wrote: > > I haven't been able to find the usb mailing list.... > > where's it gone? > > > > I've been trying ot run some USB programs > > specifically gphoto2 > > and I came to the conclusion that there may be some incompatibility > > in the libusb layer.. > > > > since then I discovered that there are TWO libusb's.. > > > > One from NetBSD and one from the world of pinguins (Actually sourcforge) > > > > It seems to me that our libusb needs to be called libusb-hid > > since it only supports the HID compatible devices and the one at sourceforge > > should probably be called libusb. > > > > Has anyone managed to get the libusb (gpl) to work under freeBSD -current? > > More specifically has anyone managed to get the gphoto2 library to work? > > Yes. There are fundamental differences between our usb kernel stack and > gphoto's assumptions. I know of one person who has made it work, I think > it was Daniel O'Connor (If I remember the name right). The biggest problem > was that you have to open *two* fd's to the camera (one for send, one for > recieve) vs. the single fd that serial and linux use. > > Cheers, > -Peter > -- > Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au > "All of this is for nothing if we don't go to the stars" - JMS/B5 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011114204445.K567-100000>