public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Oliver Martin <oliver.martin@student.tuwien.ac.at>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Policy re. cellular USB modem mode switch
Date: Fri, 8 Aug 2008 21:38:25 -0700	[thread overview]
Message-ID: <20080809043825.GA27176@kroah.com> (raw)
In-Reply-To: <20080809044530.193a077a@ors.home>

On Sat, Aug 09, 2008 at 04:45:30AM +0200, Oliver Martin wrote:
> Hello,
> 
> trying to get my ZTE MF628 HSDPA modem to work left me wondering if
> there is an established policy whether or not to include the "mode
> switch" code most cellular USB modems need in the kernel or not.

Questions like this have been hashed out numerous times already on the
linux-usb mailing list.

> Currently, the MF628 requires a userspace helper called usb_modeswitch
> to be called [1] to change from mass storage mode to serial mode.
> After, that it can be used with the usbserial driver or preferably,
> after one adds the right vendor and product id, with the option driver.

Never use the usbserial generic driver with a device you actually want
to go fast :)

The option driver is better.

For switching modes, use the userspace program, it's not going to be
done within the kernel.  See the linux-usb archives for details.

thanks,

greg k-h

      parent reply	other threads:[~2008-08-09  4:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-09  2:45 Policy re. cellular USB modem mode switch Oliver Martin
2008-08-09  2:49 ` [PATCH] Add vendor/product id of ZTE MF628 to option Oliver Martin
2008-08-09  4:53   ` Greg KH
2008-08-09  4:38 ` 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=20080809043825.GA27176@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver.martin@student.tuwien.ac.at \
    /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