Re: USB read and write operation.. How?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 20, 2006 at 01:20:26PM +0530, AsHwAtH wrote:
> Hi
> 
> I am totally new to USB.
> Is it like writing to a serial port COM1, COM2... ?

Not at all, see the previously mentioned LDD3 book chapter for details
on why not.

> I am writing an application to read and write data to a USB port, Can anyone
> help me,

There is no such thing from an application (or even from an OS) view of
a "USB port".

> 1.what library/ API do i need to use?
> 2.can i have a generic USB read and write function (C/C++ function) that can
> be ported to any platform?

Look at libusb, it's been ported to all sorts of different oses, and
should do what you want.

good luck,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux