Re: usb serial programming

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

 



On Mon, Jul 21, 2014 at 03:19:00AM +0000, Amadeus W.M. wrote:
> Not sure if this is the right venue for this question, please direct me to
> the right place if it's not.
> 
> I have a C program that opens the serial port /dev/ttyS0 and sends commands 
> (as strings) back and forth to a pan-tilt-zoom camera. That works very well,
> but I want to use the camera with a Raspberry Pi, which of course does not 
> have a serial port (RS232). One option is to use a RS232 to usb adapter and 
> rewrite the C code for the usb port. So how do I go about that? Is
> usb serial port programming possible and documented anywhere? 

Nothing to "rewrite", just point your code at /dev/ttyUSB0 instead, and
away you go...

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[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