Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37513949
en ru br
ALT Linux repos
S:2.6.1-alt3
4.1: 1.1.8-alt0.M41.1

Group :: System/Configuration/Hardware
RPM: usb-modeswitch

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: usb_modeswitch_dispatcher-old-kernels.patch
Download


--- usb_modeswitch.tcl.orig	2012-10-22 09:05:42.000000000 +0400
+++ usb_modeswitch.tcl	2012-10-22 09:55:24.085928707 +0400
@@ -822,6 +822,10 @@
 } else {
 	Log " \"$idfile\" not found, check if kernel version is at least 2.6.27"
 	Log "Fall back to \"usbserial\""
+	Log "\nTry to unload driver \"option\""
+	if [catch {exec $loader -r option} err] {
+		Log " Running \"$loader -r option\" gave an error:\n  $err"
+	}
 	set config(driverModule) usbserial
 	Log "\nTry to unload driver \"usbserial\""
 	if [catch {exec $loader -r usbserial} err] {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin