<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Adeel<br>
      <br>
      30.1.2013 8:27, Adeel Nafis kirjoitti:<br>
    </div>
    <blockquote cite="mid:5108BD5B.3050001@linkwisetech.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Dear All,<br>
      I have a kit2416 (<a moz-do-not-send="true"
        class="moz-txt-link-freetext"
        href="http://www.armdesigner.com/KIT2416.html">http://www.armdesigner.com/KIT2416.html</a>)
      module with <font face="Arial">Samsung ARM926EJS<strong>. </strong>I
        have configured buildroot with static device table, and added
        the ttyUSB0,1,2,3 to with major 188 and minor 0,1,2,3 to the
        file. <br>
        I also added the line to /etc/fstab<br>
        <br>
        none    /dev/bus/usb    usbfs    defaults,devmode=0666    0    0<br>
        <br>
        After attaching a 3G Modem USB  I am able to successfully use
        'usb_modeswitch" and get the device to switch with messages
        indicating that the device is connected to /dev/ttyUSB0,1,2.
        However, after this I can not open the /dev/ttyUSBx any more. If
        i use gnokii for arm it prints out some messages indicating that
        it failed to open the port.<br>
        <br>
        Gnokii output<br>
        GNOKII Version 0.6.26<br>
        Gnokii serial_open: open: No such device        <----- the
        port here is set to /dev/ttyUSB0<br>
        Couldn't open ATBUS device: No such device<br>
        Telephone interface init failed: Command failed.<br>
        Quitting.<br>
        Cannot unlock device.<br>
        Command failed.<br>
        <br>
        I have tested the thing out with Ubuntu for arm on the same
        platform and can verify that it works.<br>
        <br>
        If I do `cat /dev/bus/usb/devices` output is<br>
        # cat /dev/bus/usb/devices <br>
        <br>
        T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh=
        2<br>
        B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0<br>
        D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1<br>
        P:  Vendor=0000 ProdID=0000 Rev= 2.06<br>
        S:  Manufacturer=Linux 2.6.21.5-cfs-v19 ohci_hcd<br>
        S:  Product=S3C24XX OHCI<br>
        S:  SerialNumber=s3c24xx<br>
        C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA<br>
        I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00
        Driver=hub<br>
        E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms<br>
        <br>
        T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh=
        0<br>
        D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1<br>
        P:  Vendor=12d1 ProdID=1446 Rev= 0.00<br>
        S:  Manufacturer=HUAWEI Technology<br>
        S:  Product=HUAWEI Mobile<br>
        S:  SerialNumber=1234567890ABCDEF<br>
        C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA<br>
        I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
        Driver=(none)<br>
        E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms<br>
        E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms<br>
        I:* If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
        Driver=usb-storage<br>
        E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms<br>
        E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms<br>
        <br>
        <br>
        Any pointers?<br>
      </font> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
buildroot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:buildroot@busybox.net">buildroot@busybox.net</a>
<a class="moz-txt-link-freetext" href="http://lists.busybox.net/mailman/listinfo/buildroot">http://lists.busybox.net/mailman/listinfo/buildroot</a></pre>
    </blockquote>
    <br>
    If I remember correctly those Huawei modems (I had one once) detect
    allright at the boot but then they switch to usb storage because
    all(?) 3G modems have some memory reserved<br>
    to work as regular USB stick (all "CD-ROM" in windows).<br>
    <br>
    So it might be that your modem detected ok at boot but then
    immediately switched to that storage mode and you have to switch it
    back by playing with usb_modeswitch <br>
    command parameters.<br>
    <br>
    There is a meniton of that in "Troubleshooting, Kernel related
    issues" in usb_modeswitch makers pages:<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://www.draisberghof.de/usb_modeswitch/#trouble">http://www.draisberghof.de/usb_modeswitch/#trouble</a><br>
    <br>
    Regards<br>
    Stefan<br>
    <br>
    <br>
    <br>
  </body>
</html>