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: Environment woes
Date: Tue, 10 Aug 2010 19:30:24 +0000	[thread overview]
Message-ID: <20100810193024.GA11417@kroah.com> (raw)
In-Reply-To: <4C608323.5010502@draisberghof.de>

On Tue, Aug 10, 2010 at 12:37:23AM +0200, Josua Dietze wrote:
> Hi everyone,
> 
> I am in need of a friendly hint regarding a delicate matter ...
> 
> I maintain a Linux tool to put USB devices from one mode (or state)
> to the other.

What program, usb-modeswitch?

> Usually there is more than one interface exposed after the mode
> switch, but only one is suitable for a wireless connection; binding
> the GSM driver ("option") or the generic serial driver will add
> multiple ports though (ttyUSB).

Let the modem-manager program handle knowing which tty device to use,
that type of logic can usually only be detected after talking to the
device.

And what happens with your tool when in the near future, we want to talk
to those other device nodes because modem-manager knows what thoes ports
do and how to get the data out of them?

In short, you shouldn't have to do any of this.

thanks,

greg k-h

  parent reply	other threads:[~2010-08-10 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-09 22:37 Environment woes Josua Dietze
2010-08-10  4:37 ` Kay Sievers
2010-08-10  6:28 ` Josua Dietze
2010-08-10 19:30 ` Greg KH [this message]
2010-08-10 20:02 ` Josua Dietze
2010-08-10 20:14 ` Greg KH

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=20100810193024.GA11417@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).