From: Pete B. <pe...@so...> - 2002-12-03 12:44:18
|
On Tue, Dec 03, 2002 at 12:25:37AM -0800, Bhartiya Vishwa wrote: > So I have two choices here: > 1) Search out for any other equivalent library that is > compatible with Solaris. But I dont know whether it is > there. So in case you know any please do tell me. The only guys I am aware of are http://www.jungo.com/wd-solaris.html But they're commercial (and pricey) and I'm not sure they support USB on Solaris. I'm reliably informed that their Windows products are excellent though (not that this helps you) > 2) Modify the "linux.c" file that comes with "libusb" > so that it works for Solaris too. But I dont know how > much effort it will require to do so for a novice > user(for Solaris as well as USB) like me. Solaris 2.8 and above do have a 'generic' USB driver (see the manual page for usb_mid) however I cannot find anything but the sparsest documentation so I suspect you will have trouble figuring out how to program it. And that's the key point, it is likely to be very different from the Linux USB APIs, so it won't be a case of simply modifying linux.c, it would be a case of rewriting all the usb_os_* functions in it so that they worked with usb_mid. > Apart from > this my project duration is just 22 working days, so > pressure will be very high. If you were familiar with Solaris and USB and able to get good documentation then you *might* be able to get a working (but probably buggy) port of libusb in 5 to 7 days with luck... that's going to leave you short of time for writing your actual application. Personally I'd be interested in a Solaris port of libusb and be willing to spend some time on it, but I'm pretty busy with work stuff right now, so probably not going to be able to help you hit your deadline (well, unless you want to pay me commercial rates --- Solaris is probably the platform I know best ;) Pete. |