linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: How to configure the tty with a usb serial device
Date: Tue, 28 Nov 2006 08:24:44 +0000	[thread overview]
Message-ID: <20061128082444.GA19237@kroah.com> (raw)
In-Reply-To: <456A2837.7050109@waye.co.uk>

On Sun, Nov 26, 2006 at 11:50:15PM +0000, scott wrote:
> Hello,
> 
> Is hotplug the right place to set up (e.g. stty ispeed 4800) a USB 
> serial device?

Probably not, as most modern distros don't even use hotplug anymore :)

> I can see that after udev runs and creates the 
> /dev/tts/USB0, the only call left to hotplug is with a type of tty.  But 
> I have no tty.agent (of course I can cp usb.agent tty.agent which I've 
> done), but what would be the equivalent of usbmodules?  Also how can 
> hotplug "know" the /dev/tts/USBx device that was created by the udev 
> rule, there doesn't seem to be any environment variable for that?

udev can handle this properly, try that instead.

good luck,

greg k-h

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

      reply	other threads:[~2006-11-28  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-26 23:50 How to configure the tty with a usb serial device scott
2006-11-28  8:24 ` Greg KH [this message]

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=20061128082444.GA19237@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.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).