kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: amadeus84@verizon.net (Amadeus W.M.)
To: kernelnewbies@lists.kernelnewbies.org
Subject: usb serial programming
Date: Mon, 21 Jul 2014 03:19:00 +0000 (UTC)	[thread overview]
Message-ID: <pan.2014.07.21.03.19.00@verizon.net> (raw)

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? 

Thanks!

             reply	other threads:[~2014-07-21  3:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-21  3:19 Amadeus W.M. [this message]
2014-07-21 18:18 ` usb serial programming Greg KH
2014-07-21 18:27   ` Bruce Rowen
2014-07-21 19:05     ` Amadeus W.M.
2014-07-21 19:42       ` Bruce Rowen
2014-07-21 18:55   ` Amadeus W.M.
2014-07-21 19:06     ` Greg KH
2014-07-21 19:25       ` Amadeus W.M.
2014-07-21 19:46         ` Greg KH
2014-07-23  0:26           ` Amadeus W.M.
2014-07-22  5:12 ` Sudip Mukherjee
2014-07-23  0:29   ` Amadeus W.M.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2014.07.21.03.19.00@verizon.net \
    --to=amadeus84@verizon.net \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).