From: Bhartiya V. <bbv...@ya...> - 2002-12-03 08:25:40
|
Hi, I am developing a user level application which will detect and communicate with a USB device. The project is to be developed in Solaris.In this scenario using "libusb" seems to be the best choice but unfortunately it is not supported for Solaris right now. 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. 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. Apart from this my project duration is just 22 working days, so pressure will be very high. So I urgently need your help on the same at the earliest. Eagarly waiting for your reply. Thanks in advance. Regards, Vishwa __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
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. |
From: Johannes E. <joh...@er...> - 2002-12-03 17:23:38
|
On Tue, Dec 03, 2002, Bhartiya Vishwa <bbv...@ya...> wrote: > I am developing a user level application which will > detect and communicate with a USB device. The project > is to be developed in Solaris.In this scenario using > "libusb" seems to be the best choice but unfortunately > it is not supported for Solaris right now. > 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. > 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. Apart from > this my project duration is just 22 working days, so > pressure will be very high. > So I urgently need your help on the same at the > earliest. > Eagarly waiting for your reply. Thanks in advance. libusb does not currently support Solaris. However, I have received some email about it and I know some work is being done, but there isn't much information on when it will be done. I'd be willing to bet not in the next 22 days. Sorry. JE |
From: Pete B. <pe...@so...> - 2002-12-03 17:47:04
|
On Tue, Dec 03, 2002 at 12:22:34PM -0500, Johannes Erdfelt wrote: > libusb does not currently support Solaris. > > However, I have received some email about it and I know some work is > being done, but there isn't much information on when it will be done. I did a bit more research into this myself, and it seems that Sun have not been very forthcoming with programming information for the USB drivers. I've not managed to find much apart from complaints about the lack of information... But if you do find anyone working on a Solaris driver for libusb, Johannes, please feel free to give them my email address as a potential coder/tester. Pete. |