[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnokii-users
Subject:    [FIXED]Re: kernel 3.14 and Huawei 160
From:       Noel Butler <noel.butler () ausics ! net>
Date:       2014-08-04 0:46:32
Message-ID: bac2beaafb435031ab0b87f88a0a2204 () ausics ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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
 


[Attachment #5 (unknown)]

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt'>
<p><span style="font-size: 12px;">This is caused by a change in \
kernel-&gt;drivers-&gt;usb-&gt;serial-&gt;options.c , thie fix should be in next \
kernel</span></p> <p>in the meantime, patch attached.</p>
<p>&nbsp;</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; \
margin-left:5px"> <pre>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

<br />
</pre>
</blockquote>
</body></html>


["3G.patch" (text/x-diff)]

--- 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);
 


_______________________________________________
gnokii-users mailing list
gnokii-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnokii-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic