Computer Science Canada

USB Access

Author:  Aziz [ Fri Jul 14, 2006 8:44 am ]
Post subject:  USB Access

I've been wondering, what USB cabalities do most languages have readily available as part of the standart libraries. I'm gonna look that up . . . anyone tried using it?

Author:  Mazer [ Fri Jul 14, 2006 11:44 am ]
Post subject: 

I don't know of any. I don't think there are any. It'd all be done through third party libraries; C and C++ have libusb, Python has bindings for that libary IIRC, and I'm sure there are others like it.

What are you trying to do with USB?

Author:  md [ Fri Jul 14, 2006 1:03 pm ]
Post subject: 

Most languages do not have any support for any kind of hardware in their standard libraries (reading/writing to the scren, files is not hardware). IIRC libusb is useable in most languages to get usb access on *nix.

Author:  Aziz [ Fri Jul 14, 2006 2:27 pm ]
Post subject: 

I didn't want to use it, I was just looking at a ParallelPort topic and wondered if USB was easy to access, considering USB is pretty much the periphal norm nowadays. Btw, on java.net there are 2 USB libraries, and a tutorial on how to make your own, so, hm.


: