Re: How to make EDGE USB Modem work in Linux?

Marvin Stodolsky <[email protected]> Thu, 3 Nov 2011 11:05:31 -0400
Newsgroups gmane.linux.linmodem
Message-ID <CAH_ma5+M+uwS+UmbTKoyHPbHmCOoufGdYWTicT3XbkOrYZp2bw@mail.gmail.com>
Dehqan

1) Have you tried a simple:
$ sudo wvdialconf
or
$ sudo wvdialconf create
to check for modem detection?

2)
$ sudo modprobe usbserial vendor=3D0x05c6 product=3D0=C3=970015
Something is wrong with the syntax here.
The 0x symbol pairs as displayed in my GMAIL are not identical: 0x  versus =
 0=C3=97
They should both be the same. My guess would be the 0x is correct
On my System:
$ sudo modprobe usbserial vendor=3D0x05c6 product=3D0x0015
is successful, though I don't have the matching USB hardware.
while your ERROR is reproduced with:
$ sudo modprobe usbserial vendor=3D0x05c6 product=3D0=C3=970015

MarvS

On Thu, Nov 3, 2011 at 2:50 AM, a dehqan <[email protected]> wrote:
>
> In The Name Of Allah The compassionate merciful
>
> Good day all ;
> Have a EDGE USB Modem and want to connect internet with it .
> It has a drive that contain a driver and windows users install it and go =
..
>
> Someone told me use usb_modeswitch :
>
> > mode switching data for usb-modeswitch
> >
> > Several new USB devices have their proprietary Windows drivers onboard,
> > especially WAN dongles. When plugged in for the first time, they act
> > like a flash storage and start installing the driver from there. If
> > the driver is already installed, the storage device vanishes and
> > a new device, such as an USB modem, shows up. This is called the
> > "ZeroCD" feature.
> >
> > On Debian, this is not needed, since the driver is included as a
> > Linux kernel module, such as "usbserial". However, the device still
> > shows up as "usb-storage" by default. usb-modeswitch solves that
> > issue by sending the command which actually performs the switching
> > of the device from "usb-storage" to "usbserial".
>
> Now , don't know how to use usb_modeswitch ?
> have read man and did so > sudo usb_modeswitch -v 05c6 -p 0015
> =C2=A0but result says #
> Warning: no switching method given.
> [url]http://pastebin.com/20XTpZVk[/url]
> =C2=A0or
> Did so but lsusb does not show anything changed :
>
>
> > sudo usb_modeswitch -v 05c6 -p 0015 -V 05c7 -P 0016 -H -s -R
> >
> > Looking for target devices ...
> > =C2=A0No devices in target mode or class found
> > Looking for default devices ...
> > =C2=A0Found devices in default mode or class (1)
> > Accessing device 005 on bus 004 ...
> > Using endpoints 0x01 (out) and 0x81 (in)
> > Using endpoints 0x01 (out) and 0x81 (in)
> > Not a storage device, skipping SCSI inquiry
> >
> > USB description data (for identification)
> > -------------------------
> > Manufacturer: Global Mobile
> > =C2=A0=C2=A0=C2=A0=C2=A0 Product: Global Mobile
> > =C2=A0 Serial No.: 1234567890ABCDEF
> > -------------------------
> > Sending Huawei control message ...
> > =C2=A0OK, Huawei control message sent
> > -> Run lsusb to note any changes. Bye.
> >
>
> Also tried this guide but have error at >
> $ sudo modprobe usbserial vendor=3D0x05c6 product=3D0=C3=970015
> [sudo] password for alabd:
> FATAL: Error inserting usbserial
> (/lib/modules/2.6.35-22-generic/kernel/drivers/usb/serial/usbserial.ko):
> Invalid argument
>
> Will be thankful if you guide me .
>
> Regards Dehqan