lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 8 Aug 2008 21:38:25 -0700
From:	Greg KH <greg@...ah.com>
To:	Oliver Martin <oliver.martin@...dent.tuwien.ac.at>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Policy re. cellular USB modem mode switch

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ