As a side note I think we should do something about making javax.usb easier to use. I see Dan is the only one answering questions and we should have this functionality and all kinds of hardware related functionality with the jVM just like other VMs have such capabilities too.
-- http://www.google.com/notebook/public/10805764568326014595/BDQ18DAoQ1rKkzucj?hl=en -- [] looked at ibm's javax.usb (not working on windows) https://sourceforge.net/project/showfiles.php?group_id=21114 https://sourceforge.net/projects/javax-usb http://javax-usb.org/ [] jusb (incomplete with little docs) http://www.steelbrothers.ch/jusb/ http://www.steelbrothers.ch/jusb/api/usb/windows/sources/JavaUSB.zip [] http://forums.java.net/jive/thread.jspa?messageID=314795 (options listed) [] http://www.serialio.com/products/adaptors/usb_serial_WinDesk.php (something to do with serial to usb hardware) [] http://www.icaste.com/jcommusb.htm (downloading and most appropriate) [] http://www.icaste.com/JCommUSB/JCommUSB_3_0_Win32_TrialEd.zip jcommusb hardware id of dlp rfid1 USB\Vid_0403&Pid_fbfc&Rev_0600 USB\Vid_0403&Pid_fbfc C:\Program Files\JCommUSB_3_0_tr\ dlprfidrw1 C:\Program Files\JCommUSB_3_0_tr>java -jar JCommUSB_3_0_tr.jar Start USBTester! Device Path of Device at index 0 = \\?\usb#vid_0403&pid_fbfc#12345678#{5a44bde9- d92c-4a97-b2b8-63ba19e74635} Device Desc Data Device Class 0 Device Sub Class 0 Device E0 max packet size 8 Device Manufacturer String index 1 DLP Design Device Num Configs 1 Device Vendor ID 1027 Device Product ID -1028 Device Product String Index 2 DLP-RFID1 Device Protocol 0 Device Version 1536 Device Serial Number String Index 3 12345678 Config Desc Data Conf Current Index 1 Conf Max Power 200 Conf Num Interfaces 1 Conf String Desc Index 0 Interface Index 0 Current Setting 0 Interface Data for Interface index 0, Setting Index 0 Interface Class -1 Interface SubClass -1 Interface Num Alternate Settings 1 Interface Num Endpoints 2 Interface Protocol -1 Interface String Index 2 DLP-RFID1 Endpoint Info for Interface Index 0, Setting Index 0, Endpoint Index 0 Endpoint Address -127 Endpoint Interval 0 Endpoint MaxPacket Size 64 Endpoint Pipe Type: 3 BULK PIPE Endpoint Info for Interface Index 0, Setting Index 0, Endpoint Index 1 Endpoint Address 2 Endpoint Interval 0 Endpoint MaxPacket Size 64 Endpoint Pipe Type: 3 BULK PIPE Other Data Supported Languages LangID 0 1033 ReadWrite Time Out 100000000 Control Time Out 100000000 Max Iso Frame Range = 1024 Get Current Frame Number =15188033 END! C:\Program Files\JCommUSB_3_0_tr>PAUSE Press any key to continue . . . On Wed, Dec 31, 2008 at 3:06 PM, Mike Crowe <[email protected]> wrote: > I was unable to bring up these notes. Could you post them to this > group? Thanks > > On Tue, 2008-12-30 at 21:47 -0500, Athar Shiraz Siddiqui wrote: >> These are my notes and my research on this topic: >> >> http://www.google.com/notebook/?hl=en#b=BDQ18DAoQ1rKkzucj >> >> On Tue, Dec 30, 2008 at 9:46 PM, Athar Shiraz Siddiqui >> <[email protected]> wrote: >> > I have gone with alternate offerings. >> > Which was really easy to use. It took under 15 minutes to have me >> > reading the configuration/setting/ endpoint of the usb device. >> > >> > Why am I posting to your group even though I have gone with an >> > alternate offering? I think having java natively support hardware >> > device if imperative. >> > >> > I cannot believe you guys managed to get a javax designation! Either >> > a) you dont give a hoot about usability or developer friendliness with >> > your api ("developer friendliness" has lower standards than "user >> > friendliness") >> > b) you seriously want help and no one is helping you. >> > c) or the outlandish: you are secretly still supporting MS and would >> > like to see java and javax.usb fail therefore you have setup a >> > completely useless web page to waste people's time. >> > >> > On Sun, Dec 28, 2008 at 6:07 PM, Dan Streetman <[email protected]> wrote: >> >>> remember none of this is in any docs >> >>> and certainly not the FAQ >> >> >> >> Not in the FAQ? >> >> >> >> http://javax-usb.org/faq.html#what_is_windows_imp >> >> http://javax-usb.org/faq.html#what_is_properties_file >> >> http://javax-usb.org/faq.html#get_properties_file >> >> >> >> >> >> On Fri, Dec 26, 2008 at 11:51 PM, Athar Shiraz Siddiqui >> >> <[email protected]> wrote: >> >>> Ok I had to read the archived questions in the mailing list to figure >> >>> out that I needed to add jrs80-1.0.1.jar as well as >> >>> jrs80_ri-1.0.1.jar. I guess I need for windows but I can neither >> >>> locate this nor is there any doc telling me that I need this except >> >>> one conjecture on the mailing list. >> >>> >> >>> Are things so horrifyingly bad at device driver level? You would think >> >>> that people would have beaten a well trod path there making it easier >> >>> for the rest. I got it to compile now but it gave another error saying >> >>> it was looking for javax.usb.properties file (!wow!). So somehow I >> >>> added this folder to the build path that contains the .properties >> >>> file. My new problem is this error : The property javax.usb.services >> >>> is not defined as the implementation class of UsbServices >> >>> >> >>> When I open the .properties file (remember none of this is in any docs >> >>> and certainly not the FAQ). Reading the file it says that I am >> >>> supposed to set this value. Set it to what value? >> >>> >> >>> # This is required by the API, this is the class that the API will create >> >>> # to implement UsbServices. >> >>> >> >>> What class is that? just any random name like abc? This is quite >> >>> difficult just to get a simple example working. >> >>> >> >>> >> >>> On Fri, Dec 26, 2008 at 11:23 PM, Athar Shiraz Siddiqui >> > >> >> >> > > -- Shiraz 500 Riverside Drive #425 New York, NY 10027 (703) 879-8342 (skype prefer) (703) 862 4796 (cell) (212) 316 8630 (landline) (extn 8630) ------------------------------------------------------------------------------ _______________________________________________ javax-usb-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
