[FIXED]Re: kernel 3.14 and Huawei 160

Noel Butler <[email protected]> Mon, 04 Aug 2014 10:46:32 +1000
Newsgroups gmane.linux.drivers.gnokii
Message-ID <[email protected]>
 

This is caused by a change in kernel->drivers->usb->serial->options.c ,
thie fix should be in next kernel 

in the meantime, patch attached. 

> So, this has been working fine for years, in fact still does, despite the latest kernel upgrade from 3.12.x to 3.14.(10|12)
> 
> However since using 3.14.x kernel and dmesg are flooded with
> 
> option1 ttyUSB0: option_instat_callback: error -2

_______________________________________________
gnokii-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/gnokii-users
3G.patch (text/x-diff, 446 B)
--- option.c	2014-08-01 07:51:43.000000000 +1000
+++ /usr/local/src/linux/drivers/usb/serial/option.c	2014-07-30 21:13:26.000000000 +1000
@@ -1917,6 +1917,8 @@
 			dev_dbg(dev, "%s: type %x req %x\n", __func__,
 				req_pkt->bRequestType, req_pkt->bRequest);
 		}
+	} else if (status == -ENOENT || status == -ESHUTDOWN) {
+		dev_dbg(dev, "%s: urb stopped: %d\n", __func__, status);
 	} else
 		dev_err(dev, "%s: error %d\n", __func__, status);