silverstone :
> Hi All,
>
> In my application,I need to develop the code for USB bywhich I can monitor 
> the UPS devices via my application on openSolaris on x86.
> I have two questions regarding it--
> 1.)Its first time,i am going to develop the USB code and I I don't know from 
> where I will start it.So Please help me on it.
>   
I think that you may start from the libopenusb(3LIB).
The reference materials:
Man page: libopenusb(3LIB)
OpenUSB page: http://sourceforge.net/projects/openusb/develop
> 2.)how to know which protocol(hid or hiddev or any other) opensolaris uses on 
> x86 Intel box?
>   
In opensolaris, the USB/HID class is supported. I think what you care is 
probably which protocol your UPS device uses. You may get the info of 
the device descriptors by the command line,  echo ::prtusb -tv | mdb -k.

Regards,
Strony

> Please guide me so that I can move forward.
> Thanks in Advance...
>   

Reply via email to