Linux USB read/write

Hello, I'm trying to create code that sends and receives characters on USB port.
I two days searching in google, but without result. can anybody has example about USB communications in linux c.

I will use it to make programs that comunicate with microcontrollers and frequency inverters and etc devices.

and sorry my English. :)
if you are looking to directly build something in low level you can see http://www.beyondlogic.org/ for information about specs...

If you want some examples of code you can look at http://www.libusb.org/wiki/libusb-1.0 ... It's in C though.

If you just want to communicate with the USB in linux, you can just have linux mount it and write to it as a regular drive without having to deal with all the other stuff...
Oh, here is a good site for specs and stuff about usb (they have serial and other things too): http://www.lvr.com/usb.htm
Topic archived. No new replies allowed.