<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I have false posted to the app-devel group before, so here is the updated version:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have successfully compiled and installed usb_modeswitch, Networkmanager and ModemMager on snappy Ubuntu for Raspberry in order to get a 3G stick to work.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">3G connections work well and I am almost happy with the setup, but there is one problem:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">When I disconnect the 3G stick from the Raspberry while it is connected to the internet, it will produce an infinite loop of:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">option_instat_callback: error -71<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">This could of course happen with power failure, etc,... so I have to fix this problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have read through various forum posts and I could not find any fix. When I tested the same on an Ubuntu machine, it seemed to work more gracefully and the USB device<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">was detached successfully. What kind of USB driver is snappy ubuntu using?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have now found this commit: <a href="http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=f551e13529833e052f75ec628a8af7b034af20f9">
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=f551e13529833e052f75ec628a8af7b034af20f9</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">which seems to describe the problem pretty well and I am wondering what steps I would have to take to recompile the kernel / some driver, to include this patch.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">My snappy image is: ubuntu-15.04-snappy-armhf-raspi2.img<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#5E5E5E;mso-fareast-language:DE">Marius Heil</span></b><span style="mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F;mso-fareast-language:DE">Software Engineer<br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#7F7F7F;mso-fareast-language:DE"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F;mso-fareast-language:DE">M-Way Solutions GmbH<br>
</span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#7F7F7F;mso-fareast-language:DE"><br>
Sitz Stuttgart<br>
Firmenanschrift</span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#989898;mso-fareast-language:DE">:</span><span style="mso-fareast-language:DE"><br>
</span><span style="mso-fareast-language:DE">Stresemannstrasse 79</span><span style="mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-fareast-language:DE">D-70191 Stuttgart</span><span style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-fareast-language:DE">Tel: +49 151 22867416</span><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:DE"><br>
<img border="0" width="255" height="73" style="width:2.6562in;height:.7604in" id="_x0036_B0E76BB-BD3E-4903-8FC4-DE4D641E604D" src="cid:image001.png@01D1AAE9.6783D550" alt="cid:066E36B1-444E-4371-BB74-F89328B4E30E@office.mwaysolutions.com"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#6C6C6C;mso-fareast-language:DE"><br>
<br>
<br>
Registergericht Stuttgart HRB 25158</span><span style="font-size:12.0pt;color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#6C6C6C;mso-fareast-language:DE">Geschäftsführer: Volker Hahn, Richard Malley</span><span style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:gray;mso-fareast-language:DE">Web: </span><span style="font-size:10.0pt;color:black;mso-fareast-language:DE"><a href="http://www.mwaysolutions.com/" target="_blank" title="http://www.mwaysolutions.com Cmd+click or tap to follow link"><span style="color:#3366FF">http://www.mwaysolutions.com</span></a></span><span style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:gray;mso-fareast-language:DE">Blog: </span><span style="font-size:10.0pt;color:#3366FF;mso-fareast-language:DE">http//<a href="http://blog.mwaysolutions.com/"><span style="color:blue">blog.mwaysolutions.com</span></a></span><span style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:gray;mso-fareast-language:DE">@mwaysolutions</span><span style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:gray;mso-fareast-language:DE"><a href="http://facebook.com/mwaystuttgart"><span lang="EN-GB" style="color:blue">facebook.com/mwaystuttgart</span></a></span><span lang="EN-GB" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#666666;background:white;mso-fareast-language:DE">This message is confidential. It may also be privileged or otherwise protected by work product immunity or
 other legal rules. If you have received it by mistake, please let us know by e-mail reply and delete it from your system; you may not copy this message or disclose its contents to anyone. The integrity and security of this message cannot be guaranteed on the
 Internet.</span><span lang="EN-GB" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
</div>
</body>
</html>