Does it work now? On Wed, Aug 26, 2015 at 2:13 PM, [email protected] <[email protected]> wrote:
> CENTOS 6.5 > > On Mon, Aug 10, 2015 at 6:23 PM, Frederick Ofosu-Darko < > [email protected]> wrote: > >> I mean OpenSUSE 13.2 >> >> On Mon, Aug 10, 2015 at 1:21 PM, Frederick Ofosu-Darko < >> [email protected]> wrote: >> >>> Hello Hamza, >>> >>> I had a similar issue with my Huawei modem last Friday. OpenSUSE could >>> not find the modem because only storage driver 'usb_storage' was loaded. I >>> solved the issue by upgrading to the latest version. >>> >>> I suggest you upgrade the current version of usb_modeswitch to the >>> latest version below: >>> >>> >>> * usb_modeswitch: handle USB devices with multiple modes >>> * Version 2.2.5 (C) Josua Dietze 2015 >>> * Based on libusb1/libusbx >>> >>> ! PLEASE REPORT NEW CONFIGURATIONS ! >>> >>> >>> and download usb_modeswitch-data package as well. >>> >>> Could you please state which Linux distro you are using now? >>> >>> Visit this link >>> <http://rpmfind.net/linux/rpm2html/search.php?query=usb_modeswitch> if >>> you use a RPM system e.g. CentOS, Fedora or OpenSUSE. >>> >>> R, >>> >>> >>> >>> On Mon, Aug 10, 2015 at 1:05 PM, Florian Schlums <[email protected]> >>> wrote: >>> >>>> Hello Hamza >>>> Have a look at the project page: >>>> http://www.draisberghof.de/usb_modeswitch/ >>>> >>>> */lib/udev/rules.d/40-usb_modeswitch.rules*- the udev rules starting >>>> the wrapper if a known device ID (vendor/product) is recognized. >>>> To add a trigger for a new modem for which you have a working config >>>> file, append a line with its USB ID as seen in the existing entries. >>>> If the switched device provides standard serial ports, a second rule >>>> calls the wrapper again and adds a symbolic link to the *correct*connection >>>> port (see below) >>>> >>>> Regards >>>> Florian >>>> >>>> >>>> Am 25.06.2015 um 16:10 schrieb [email protected]: >>>> >>>>> Husnain, >>>>> >>>>> Thank you. I know this config, but the next-step problem is that this >>>>> config does not kick in automatically when system reboots or modem is >>>>> plugged-out and in. I have even worked on this as well. But still, >>>>> life is much much simpler if a smoother way of working with these >>>>> modems could be found. >>>>> >>>>> I came across a post in which there was a method to permanently change >>>>> the default mode of these modems. Will try it and tell you if it >>>>> works. >>>>> >>>>> Regards, >>>>> Hamza >>>>> >>>>> On 6/24/15, Husnain Taseer <[email protected]> wrote: >>>>> >>>>>> Dear Hamza, >>>>>> I was working with Huawei GSM Modems and was facing the same issue. >>>>>> You >>>>>> can use following steps to switch the mode of your modem. >>>>>> >>>>>> 1. Use `lsusb` to list all the connected devices with your system. You >>>>>> will get the output like this : >>>>>> Bus 003 Device 004: ID 12d1:1f01 Huawei Technologies Co., >>>>>> Ltd. >>>>>> here *12d1 *is the Vendor Id and *1f01 *is the product id of >>>>>> this modem. For your case these values could be different. >>>>>> >>>>>> 2. If you have not installed `usb-modeswitch-data` then please >>>>>> install >>>>>> it by using `apt-get install usb-modeswitch-data`. After that find the >>>>>> message content of your device by using: >>>>>> tar -xzvf /usr/share/usb_modeswitch/configPack.tar.gz >>>>>> 12d1\:1f01 >>>>>> cat /usr/share/usb_modeswitch/12d1\:1f01 | grep >>>>>> "MessageContent=" >>>>>> Output will be like this: >>>>>> >>>>>> MessageContent="5553424312345678000000000000061e000000000000000000000000000000" >>>>>> >>>>>> 3. Now Finally use the following command to switch the mode of your >>>>>> device: >>>>>> sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -M >>>>>> "5553424312345678000000000000061e000000000000000000000000000000" >>>>>> >>>>>> Hope it will help. >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> *Husnain Taseer >>>>>> * Sr. VAS Engineer >>>>>> >>>>>> >>>>>> On 6/23/2015 1:01 AM, [email protected] wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> This is slightly off track, but more relevant here than in any Linux >>>>>>> forum. >>>>>>> >>>>>>> A lot of new GSM USB modems coming these days are identified by Linux >>>>>>> as in storage mode (CD Rom or memory storage, since they contain >>>>>>> their >>>>>>> own drivers). Anyone has any idea how to switch them to GSM mode, to >>>>>>> enable them to work as a modem with Kannel? I spent a LOT of time >>>>>>> with >>>>>>> usb_modeswitch package, but could not figure out a working way, since >>>>>>> it works pretty randomly with different modems. >>>>>>> >>>>>>> Any/every piece of help/info would be highly appreciated. >>>>>>> >>>>>>> Kind regards, >>>>>>> Hamza >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >>> -- >>> -- >>> >>> Frederick Ofosu-Darko >>> >>> Service Delivery Analyst >>> >>> >>> >>> Excellence. Integrity. Reliability. >>> >>> Web: www.rancard.com >>> >>> Email: [email protected] >>> >>> Office: +233.289.529.573, +233.0302.258.189 >>> >>> Mobile: +233.245.246.176 >>> >>> >>> >>> >> >> >> -- >> -- >> >> Frederick Ofosu-Darko >> >> Service Delivery Analyst >> >> >> >> Excellence. Integrity. Reliability. >> >> Web: www.rancard.com >> >> Email: [email protected] >> >> Office: +233.289.529.573, +233.0302.258.189 >> >> Mobile: +233.245.246.176 >> >> >> >> > -- -- Frederick Ofosu-Darko Service Delivery Analyst Excellence. Integrity. Reliability. Web: www.rancard.com Email: [email protected] Office: +233.289.529.573, +233.0302.258.189 Mobile: +233.245.246.176
