visiontek 3g usb data card

hi i am using open suse 11 i am from india

i buy 3g visiontek data card with bsnl sim card but i cant use on my suselinux

i am new in opensuse linux how to conect usb data card & how to configure usb modem please help me i cant use internet in suse linux throu usb visiontek data card
help me…

i have visiontek 3g HSDPA. data card
VISIONTEK wireless GSM modem, CDMA Modem, Satellite Modem, M2M, GPRS, Din Rail Mounting,
& i use bsnl internet service from india so if u can find configuration pleas help me i am new in suse linux. this card work in ubuntu
so if you found any solution please help me this card is new so no help on net i serch most of site

visiontek only give driver for ubuntu but i am using suse linux i have no idea about ubuntu i like work on suse linux but i cant use net in linux i also try configure vi /etc/wvdial.conf but i cant sucess. when i go to terminal & type lsusb then i cant se mount 3g modem.

please give me step-by-step answer

thanks for my help friend

i am waiting for your replay.

How is it not working? NetworkManager doesn’t detect anything? Or you’re trying to use a program to dial out?
I used a command line utility “wvdial” for my 3G access.
I modified /etc/wvdial.conf and entered my modem’s number and the login credentials for my ISP in “username” and “password”. Do you know what yours are?

sudo wvdialconf
sudo wvdial

hi thanks for replay
when i type without data-card plug i see this

king@linux-kpw8:~> lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
then i connect data card in usb i see this massage in terminal

king@linux-kpw8:~> lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 008: ID 230d:0007
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
king@linux-kpw8:~>

when i configure /etc/wvdial.conf manually then i see this massage

linux-kpw8:/home/king # wvdial
→ WvDial: Internet dialer version 1.60
→ Cannot open /dev/ttyUSB0: No such file or directory
→ Cannot open /dev/ttyUSB0: No such file or directory
→ Cannot open /dev/ttyUSB0: No such file or directory

i think my data card setting is this i am not sure about bsnl network setting for suse linux

india bsnl

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = at+cgdcont=1,“ip”,“bsnlnet”
Init3 =
Area Code =
Phone = *99#
Username =
Password =
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

please send me answer what should i do i dont know how to configure i serch all this step by online serch

VISIONTEK 82GH 3G Modem Installer.deb

No matter what I do, I seriously doubt you will be able to connect without knowing your username and password. I doubt their network is unauthorized. Call the ISP if you have to.

Steps:

  1. Shutdown
  2. Plug in Modem
  3. Turn on
sudo wvdialconf
sudo vi /etc/wvdial.conf
sudo wvdial

In vi you need to put something for your username and password.
The reboot with the modem plugged in should get rid of the /dev/ error.

it is by-default in bsnl in wireless device no need username or password
i see it is only need when we use wireless modem or wired line but i have usb data card so in mobile or data card no need to username or password

i cant run wvdial too see my post upper post all configuration with detail what should i need to connect usb device which file to be need edit
wvdial
usb_modeswitch then any other file i need ?
i dont know anything tell me all with step by step what should i do please

Did you try a restart with the modem plugged in?
& editing usb_modeswitch needs to happen before wvdial. If you know about the switch you probably have a wiki article telling you how.

Please perform a search before you ask questions. Google, Yahoo!, and Bing are all good choices. You do indeed need something in your wvidal for username and password:
Using the BSNL 3G Data Card on Linux at Harsh J

BSNL 3G in linux …
have you seen this?

i check all thing but i think my usb_modeswitch is not work when i type usb_modeswitch command i see error when i type wdial then i see also error

linux-kpw8:/home/king # wvdial
→ WvDial: Internet dialer version 1.60
→ Cannot open /dev/ttyUSB0: No such file or directory
→ Cannot open /dev/ttyUSB0: No such file or directory
→ Cannot open /dev/ttyUSB0: No such file or directory
so i think i cant switch usb proparly i try sakis3g also but it also not work

You may want to switch over to the hardware forum then.

this is my all file configuration with terminal command or detail

usb_modeswitch file

Configuration for the usb_modeswitch package, a mode switching tool for

USB devices providing multiple states or modes

This file is evaluated by the wrapper script “usb_modeswitch_dispatcher”

in /usr/sbin

To enable an option, set it to “1”, “yes” or “true” (case doesn’t matter)

Everything else counts as “disable”

Disable automatic mode switching globally (e.g. to access the original

install storage)

DisableSwitching=1

Enable logging (results in a extensive report file in /var/log, named

“usb_modeswitch_<interface-name>” (and probably others)

EnableLogging=1
################################################## ######

visiontek hsdpu

DefaultVendor= 230d
DefaultProduct= 0007

TargetVendor= 230d
TargetProduct= 0007

MessageContent=“55534243123456788000000080000606f5 0402527000000000000000000000”

Error show

linux-kpw8:/home/king # usb_modeswitch
Usage: usb_modeswitch -hvpVPmMrdHn] -c filename]

-h, --help this help
-e, --version print version information and exit
-v, --default-vendor NUM vendor ID of original mode (mandatory)
-p, --default-product NUM product ID of original mode (mandatory)
-V, --target-vendor NUM target mode vendor ID (optional)
-P, --target-product NUM target mode product ID (optional)
-C, --target-class NUM target mode device class (optional)
-m, --message-endpoint NUM direct the message transfer there (optional)
-M, --message-content <msg> message to send (hex number as string)
-2 <msg>, -3 <msg> additional messages to send (-n recommended)
-n, --need-response read response to the message transfer (CSW)
-r, --response-endpoint NUM read response from there (optional)
-d, --detach-only detach the active driver, no further action
-H, --huawei-mode apply a special procedure
-S, --sierra-mode apply a special procedure
-O, --sony-mode apply a special procedure
-G, --gct-mode apply a special procedure
-T, --kobil-mode apply a special procedure
-R, --reset-usb reset the device after all other actions
-Q, --quiet don’t show progress or error messages
-W, --verbose print all settings and debug output
-D, --sysmode specific result and syslog message
-s, --success NUM check switching result after NUM secs
-I, --no-inquire do not get SCSI attributes (default on)

-c, --config-file <filename> load configuration from file

-i, --interface NUM select initial USB interface (default 0)
-u, --configuration NUM select USB configuration
-a, --altsetting NUM select alternative USB interface setting

  • usb_modeswitch: handle USB devices with multiple modes
  • Version 1.1.6 (C) Josua Dietze 2010
  • Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

wvdial.conf

[Dialer bsnlnet]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = at+cgdcont=1,“ip”,“bsnlnet”
Init3 =
Area Code =
Phone = 99**1#
Username =" "
Password =" "
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
Modem Type = Analog Modem

dmesg | tail

linux-kpw8:/home/king # dmesg | tail
scsi 5:0:0:0: CD-ROM HSPAData CD-ROM 0000 PQ: 0 ANSI: 0
sr2: scsi3-mmc drive: 0x/0x caddy
sr 5:0:0:0: Attached scsi CD-ROM sr2
sr 5:0:0:0: Attached scsi generic sg3 type 5
scsi 5:0:0:1: Direct-Access HSPAData SD Card 0000 PQ: 0 ANSI: 0
sd 5:0:0:1: [sdb] Attached SCSI removable disk
sd 5:0:0:1: Attached scsi generic sg4 type 0
usb-storage: device scan complete
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: IEEE_P1282
linux-kpw8:/home/king #

linux-kpw8:/home/king # lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 230d:0007
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

linux-kpw8:/home/king # ls /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory

linux-kpw8:/home/king # usb_modeswitch --verbose

  • usb_modeswitch: handle USB devices with multiple modes
  • Version 1.1.6 (C) Josua Dietze 2010
  • Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= not set
DefaultProduct= not set
TargetVendor= not set
TargetProduct= not set
TargetClass= not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint= not set
MessageContent=""
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 001
usb_os_find_busses: Found 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 005 on 002
skipped 3 class/vendor specific interface descriptors
skipped 4 class/vendor specific interface descriptors
skipped 4 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 7 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 3 class/vendor specific interface descriptors
skipped 4 class/vendor specific interface descriptors
skipped 4 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 7 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
No default vendor/product ID given. Aborting.

linux-kpw8:~ # wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf’.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 – failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 – failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 – and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3
ttyS4<Info>: No such device or address
Modem Port Scan<*1>: S4
ttyS5<Info>: No such device or address
Modem Port Scan<*1>: S5
ttyS6<Info>: No such device or address
Modem Port Scan<*1>: S6
ttyS7<Info>: No such device or address
Modem Port Scan<*1>: S7

Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at nit.ca

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.

I think your 3G broadband modem device (230d:0007) may be too new for usb_modeswitch to work with. The nearest I’ve found (from searching online) is a Linktop LW272/LW273 (BSNL Teracom) which has a a different product code (0001). In any case your usb_modeswitch output showed that you had the same ‘Default’ and ‘Target’ product codes, so that will definitely not work.

Your best bet will be to get support from here:

Draisberghof - Software - USB_ModeSwitch

(They have a modeswitch forum too).

Read the ‘Troubleshooting’ section too.

If all this has no effect you can try this approach:
Note the device’s Vendor and Product ID from /proc/bus/usb/devices (or from the output of “lsusb”); the assigned driver is usually “usb-storage”. Then spy out the USB communication to the device with the same ID inside M$ Windoze, with the on-board driver installed. The device must be switched there too, and you want to log that moment.
I recommend this tool: “SniffUSB” ( SniffUSB 2.0 for Windows XP).

Edit: I just noticed this ‘dmesg|tail’ output (which I had requested, then realised it was already provided)

linux-kpw8:/home/king # dmesg | tail
scsi 5:0:0:0: CD-ROM HSPAData CD-ROM 0000 PQ: 0 ANSI: 0
sr2: scsi3-mmc drive: 0x/0x caddy
sr 5:0:0:0: Attached scsi CD-ROM sr2
sr 5:0:0:0: Attached scsi generic sg3 type 5
scsi 5:0:0:1: Direct-Access HSPAData SD Card 0000 PQ: 0 ANSI: 0
sd 5:0:0:1: [sdb] Attached SCSI removable disk
sd 5:0:0:1: Attached scsi generic sg4 type 0
usb-storage: device scan complete
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: IEEE_P1282

It might be possible to remove this attached storage device and expose the modem interface with this command

eject /dev/sr2

Then type

lsusb

Has the product code for your device changed (ie is the modem chipset now present)? If so, check if /dev/ttyUSB0 is present

ls -l /dev/ttyUSB*

Try this solution for your mode switch:How to connect 3g gsm data card to internet in opensuse 11.3(Gnome)

hi i setup all thing but i cant switching usb can you tell me how to find

TargetVendor= 230d
TargetProduct= 0007
MessageContent=

when i type lsusb i see this massage

king@linux-kpw8:~> lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 008: ID 230d:0007
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I don’t think that the target product ID (0007) is correct. I think that is the storage device that is activated when first plugged in.

With the device plugged in, type this command

ls -l /dev/sr*

Ignoring the devices that relate to your CD/DVD drive, there may be another that relates to your modem storage device. The trick will be to disable it (as explained previously). Sometimes, it is as simple as issuing the eject command. For example, if /dev/sr2 exists, then

eject /dev/sr2

then hopefully, ‘lsusb’ should show the new (target) product ID.

This is my configuration files which is edited by this all is for reference end all error are bellow after configuration files if any mistake found please infourm me I am waiting for replay and I am waiting to connect usb net end enjoy net in open suse linux

/etc/usb_modeswitch.d/230d:0007

Linktop LW272/LW273 (BSNL VISIONTEK )

DefaultVendor= 0x230d
DefaultProduct=0x0007

TargetClass=0xff

Configuration=3

CheckSuccess=20

/etc/usb_modeswitch.conf

Configuration for the usb_modeswitch package, a mode switching tool for

USB devices providing multiple states or modes

This file is evaluated by the wrapper script “usb_modeswitch_dispatcher”

in /usr/sbin

To enable an option, set it to “1”, “yes” or “true” (case doesn’t matter)

Everything else counts as “disable”

Disable automatic mode switching globally (e.g. to access the original

install storage)

DisableSwitching=0

Enable logging (results in a extensive report file in /var/log, named

“usb_modeswitch_<interface-name>” (and probably others)

EnableLogging=1

DefaultVendor= 0x230d
DefaultProduct= 0x0007

TargetVendor= 0x230d
TargetProduct= 0x0007

/etc/wvdial.conf

[Dialer bsnlnet]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = at+cgdcont=1,“ip”,“bsnlnet”
Init3 =
Area Code =
Phone = 99**1#
Username =gaurav
Password =gaurav
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
Modem Type = Analog Modem

/etc/udev/rules.d/95-visiontek-udev.rules

SUBSYSTEM==“usb”, SYSFS{idProduct}==“product”, SYSFS{idVendor}==“vendor”,

RUN+="/sbin/modprobe usbserial vendor=0xproduct product=0xvendor"

So for your hardware (vendor=0x230d product=0x0007),

you could create a file called /etc/udev/rules.d/95-ZTE-MF636.rules with this line contained:

SUBSYSTEM=="usb", SYSFS{idProduct}=="0x0007", SYSFS{idVendor}=="0x230d", RUN+="/sbin/modprobe usbserial vendor=0x230d product=0x0007"

/lib/udev/rules.d/40-usb_modeswitch.rules

Part of usb-modeswitch-data, version 20101222

This file is intended for USB_ModeSwitch version >= 1.1.2

but will not break anything if used with versions >= 1.0.3

ACTION!=“add”, GOTO=“modeswitch_rules_end”

This adds a symlink “gsmmodem[n]” to ttyUSB ports with interrupt transfer;

will work only with wrapper from 1.1.4 and above (otherwise ignored)

KERNEL==“ttyUSB*”, ATTRS{bNumConfigurations}=="*", PROGRAM=“usb_modeswitch --symlink-name %p %s{idVendor} %s{idProduct} %E{PRODUCT}”, SYMLINK="%c"

SUBSYSTEM!=“usb”, GOTO=“modeswitch_rules_end”

This adds the device ID to the “option” driver after a warm boot

in cases when the device is yet unknown to the driver

ATTR{bInterfaceClass}==“ff”, ATTR{bInterfaceNumber}==“00”, ATTRS{bNumConfigurations}=="*", RUN+=“usb_modeswitch --driver-bind %p %s{idVendor} %s{idProduct} %E{PRODUCT}”

Most known install partitions are on interface 0, one on 5, one on 9

ATTRS{bInterfaceNumber}!=“0[059]”, GOTO=“modeswitch_rules_end”

only storage class devices are handled; negative

filtering here would exclude some quirky devices

ATTRS{bDeviceClass}==“08”, GOTO=“modeswitch_rules_begin”
ATTRS{bInterfaceClass}==“08”, GOTO=“modeswitch_rules_begin”
GOTO=“modeswitch_rules_end”

LABEL=“modeswitch_rules_begin”

Linktop LW272/LW273 (BSNL Teracom)

ATTRS{idVendor}==“230d”, ATTRS{idProduct}==“0001”, RUN+=“usb_modeswitch ‘%b/%k’”

Linktop LW272/LW273 (BSNL VISIONTEK )

ATTRS{idVendor}==“230d”, ATTRS{idProduct}==“0007”, RUN+=“usb_modeswitch ‘%b/%k’”

LABEL=“modeswitch_rules_end”

OUTPUT IN TERMINAL

rose:/home/king # usb_modeswitch -c /etc/usb_modeswitch.conf

Looking for target devices …
Found devices in target mode or class (1)
Looking for default devices …
Found devices in default mode, class or configuration (1)
Accessing device 053 on bus 001 …
Getting the current device configuration …
OK, got current device configuration (1)
Ambiguous Class/InterfaceClass: 0x02/0x08
Using endpoints 0x05 (out) and 0x85 (in)
Using endpoints 0x05 (out) and 0x85 (in)
Inquiring device details; driver will be detached …
Looking for active driver …
OK, driver found (“dummy”)
OK, driver “dummy” detached

SCSI inquiry data (for identification)

Vendor String: HSPAData
Model String: CD-ROM
Revision String: 0000

USB description data (for identification)

Manufacturer: HSPADataCard
Product: HSPADataCard
Serial No.: 8444311594054030

Warning: no switching method given.
-> Run lsusb to note any changes. Bye.

(where can I give switching method? In which file ? )

==========================================================================
rose:/home/king # modprobe -v option
insmod /lib/modules/2.6.37.1-1.2-desktop/kernel/drivers/usb/serial/usb_wwan.ko
insmod /lib/modules/2.6.37.1-1.2-desktop/kernel/drivers/usb/serial/option.ko

=============================================================================
rose:~ # usb_modeswitch
Usage: usb_modeswitch -hvpVPmMrdHn] -c filename]

-h, --help this help
-e, --version print version information and exit
-v, --default-vendor NUM vendor ID of original mode (mandatory)
-p, --default-product NUM product ID of original mode (mandatory)
-V, --target-vendor NUM target mode vendor ID (optional)
-P, --target-product NUM target mode product ID (optional)
-C, --target-class NUM target mode device class (optional)
-m, --message-endpoint NUM direct the message transfer there (optional)
-M, --message-content <msg> message to send (hex number as string)
-2 <msg>, -3 <msg> additional messages to send (-n recommended)
-n, --need-response read response to the message transfer (CSW)
-r, --response-endpoint NUM read response from there (optional)
-d, --detach-only detach the active driver, no further action
-H, --huawei-mode apply a special procedure
-S, --sierra-mode apply a special procedure
-O, --sony-mode apply a special procedure
-G, --gct-mode apply a special procedure
-T, --kobil-mode apply a special procedure
-R, --reset-usb reset the device after all other actions
-Q, --quiet don’t show progress or error messages
-W, --verbose print all settings and debug output
-D, --sysmode specific result and syslog message
-s, --success NUM check switching result after NUM secs
-I, --no-inquire do not get SCSI attributes (default on)

-c, --config-file <filename> load configuration from file

-i, --interface NUM select initial USB interface (default 0)
-u, --configuration NUM select USB configuration
-a, --altsetting NUM select alternative USB interface setting

  • usb_modeswitch: handle USB devices with multiple modes
  • Version 1.1.6 (C) Josua Dietze 2010
  • Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

rose:~ # modprobe -v option

rose:~ # modprobe usbserial vendor=0x230d product=0x0007

rose:~ # dmesg | tail -n10
38.414353] powernow: This module only works with AMD K7 CPUs
39.110143] eth0: link down
39.111325] ADDRCONF(NETDEV_UP): eth0: link is not ready
44.220938] start_kdeinit (1937): /proc/1937/oom_adj is deprecated, please use /proc/1937/oom_score_adj instead.
47.460922] EXT4-fs (sda8): re-mounted. Opts: acl,user_xattr,commit=0
47.477173] EXT4-fs (sda9): re-mounted. Opts: acl,user_xattr,commit=0
67.118082] usb 1-5: reset high speed USB device using ehci_hcd and address 3
171.788523] USB Serial support registered for GSM modem (1-port)
171.789151] usbcore: registered new interface driver option
171.789155] option: v0.7.2:USB Driver for GSM modems

rose:~ # echo “230d 0007” > /sys/bus/usb-serial/drivers/option1/new_id

rose:~ # wvdial bsnlnet
→ WvDial: Internet dialer version 1.60
→ Cannot get information for serial port.
→ Initializing modem.
→ Sending: ATZ
→ Sending: ATQ0
→ Re-Sending: ATZ
→ Modem not responding.
rose:~ #

==============----------------===========================----------------------=========================

rose:~ # modprobe -v option
rose:~ # echo “230d 0007” > /sys/bus/usb-serial/drivers/option1/new_id
rose:~ # dmesg | tail -n10
558.923179] sr 9:0:0:0: Attached scsi generic sg3 type 5
558.924297] scsi 9:0:0:1: Direct-Access HSPAData SD Card 0000 PQ: 0 ANSI: 0
558.924533] sd 9:0:0:1: Attached scsi generic sg4 type 0
558.926528] sd 9:0:0:1: [sdc] Attached SCSI removable disk
567.960395] EXT4-fs (sda8): re-mounted. Opts: acl,user_xattr,commit=0
567.964453] EXT4-fs (sda9): re-mounted. Opts: acl,user_xattr,commit=0
568.175179] eth0: link down
568.176964] ADDRCONF(NETDEV_UP): eth0: link is not ready
1297.750515] option 1-3:1.0: GSM modem (1-port) converter detected
1297.755169] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0

rose:~ # wvdial bsnlnet
→ WvDial: Internet dialer version 1.60
→ Cannot get information for serial port.
→ Initializing modem.
→ Sending: ATZ
→ Sending: ATQ0
→ Re-Sending: ATZ
→ Modem not responding.
rose:~ #

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@22
usb_modeswitch
usb_modeswitch -c /etc/usb_modeswitch.conf
usb_modeswitch --i /dev/ttyUSB0
wvdial
wvdial bsnlnet
wvdial /etc/wvdial.conf
usb_modeswitch
modprobe -v option
echo “230d 0007” > /sys/bus/usb-serial/drivers/option1/new_id
modprobe usbserial vendor=0x230d product=0x0007
dmesg | tail -n10
ls /dev/sr*
ls /dev/sr0
ls -l /dev/sr*

================================================================================================
rose:~ # ls /dev/sr*
/dev/sr0 /dev/sr1

/dev/sr0 is cdrom
/dev/sr1 is usb modem device

rose:~ # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 001 Device 003: ID 174f:5212 Syntek USB 2.0 UVC PC Camera
Bus 001 Device 007: ID 230d:0007

I check command as your suggestion & I see this output

rose:~ # ls /dev/sr*
/dev/sr0 /dev/sr1
rose:~ # eject /dev/sr0
rose:~ # eject /dev/sr1
rose:~ # ls /dev/sr*
/dev/sr0 /dev/sr1
rose:~ # eject /dev/sr1
rose:~ # ls /dev/sr*
/dev/sr0 /dev/sr1

rose:~ # eject /dev/sr1

rose:~ # ls /dev/sr*
/dev/sr0 /dev/sr1

I cant eject but when I run some modem switch command it automatic eject & switch to /dev/ttyUSB0

rose:~ # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 001 Device 003: ID 174f:5212 Syntek USB 2.0 UVC PC Camera
Bus 001 Device 007: ID 230d:0007

rose:~ # ls /dev/sr*
/dev/sr0

I cant eject but when I run some modem switch command it automatic eject & switch to /dev/ttyUSB0

So ,are you saying usb_modemswitch is working for your device? Do you see /dev/ttyUSB0 present?

ls -l /dev/ttyUSB*

If so, then we can probably proceed to trying to dial with wvdial…

Even if you’re not posting code, but log/output files, please wrap <CODE> </CODE> tags around them, substituting ] for <>. It makes things easier to read and thus debug.

** please see my all command am i going right way ?

i use this command i search from some site like google or yahoo or this suse fouram
then after your support i able to mount modem /dev/ttyUSB0**

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 001 Device 003: ID 174f:5212 Syntek USB 2.0 UVC PC Camera
Bus 001 Device 004: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 001 Device 005: ID 230d:0007 (this is my data card id )

rose:/ # usb_modeswitch -c /etc/usb_modeswitch.conf

Looking for target devices …
Found devices in target mode or class (1)
Looking for default devices …
Found devices in default mode, class or configuration (1)
Accessing device 005 on bus 001 …
Getting the current device configuration …
OK, got current device configuration (1)
Ambiguous Class/InterfaceClass: 0x02/0x08
Using endpoints 0x05 (out) and 0x85 (in)
Using endpoints 0x05 (out) and 0x85 (in)
Inquiring device details; driver will be detached …
Looking for active driver …
OK, driver found (“dummy”)
OK, driver “dummy” detached

SCSI inquiry data (for identification)

Vendor String: HSPAData
Model String: CD-ROM
Revision String: 0000

USB description data (for identification)

Manufacturer: HSPADataCard
Product: HSPADataCard
Serial No.: 8444311594054030

Warning: no switching method given.
-> Run lsusb to note any changes. Bye.

rose:/ # modprobe -v option
rose:/ # modprobe usbserial vendor=0x230d product=0x0007
rose:/ # echo “230d 0007” > /sys/bus/usb-serial/drivers/option1/new_id
rose:/ # dmesg | tail -n10
750.083624] scsi7 : usb-storage 1-3:1.0
751.085698] scsi 7:0:0:0: CD-ROM HSPAData CD-ROM 0000 PQ: 0 ANSI: 0
751.090175] sr1: scsi3-mmc drive: 0x/0x caddy
751.090360] sr 7:0:0:0: Attached scsi CD-ROM sr1
751.090484] sr 7:0:0:0: Attached scsi generic sg4 type 5
751.091461] scsi 7:0:0:1: Direct-Access HSPAData SD Card 0000 PQ: 0 ANSI: 0
751.091709] sd 7:0:0:1: Attached scsi generic sg5 type 0
751.093301] sd 7:0:0:1: [sdd] Attached SCSI removable disk
817.714429] option 1-3:1.0: GSM modem (1-port) converter detected
817.714595] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0 (i think my modem is switch to /dev/ttyUSB0)

rose:/ # wvdial 3g
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
–> Sending: ATQ0
–> Re-Sending: ATZ
–> Modem not responding.

rose:/ # ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Apr 23 17:28 /dev/ttyUSB0

rose:/ # ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Apr 23 17:28 /dev/ttyUSB0

OK i send you all error or configuration on this page i also call to visiontek for support but they have only package of Ubuntu.
so as your best support i can mount usb but still not able to connect internet i hope you help me for this visiontek configuration.
i don’t know about more command so what you tell me i do in my pc or laptop

waiting for replay

rose:/ # ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Apr 23 17:28 /dev/ttyUSB0

Unfortunately, this is all experimentation. I see you have issued

rose:/ # modprobe -v option
rose:/ # modprobe usbserial vendor=0x230d product=0x0007
rose:/ # echo "230d 0007" > /sys/bus/usb-serial/drivers/option1/new_id

and your dmesg results then shows


 817.714429] option 1-3:1.0: GSM modem (1-port) converter detected
 817.714595] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0

but that doesn’t mean that the option driver is compatible with you phone. However, remaining optimistic, I would try wvdialconf again (as root with ‘su -’ command)

wvdialconf

to see if any ‘real’ modem is detected. (It should respond if the option driver is ok with it). If successful with detecting a modem, then you can edit /etc/wvdial.conf with entries for your network.

i search on internet & i try also everything from help or support but i think i cant connect thru data card

i dont know which my command is right
you are right when i type this command

rose:/ # echo “230d 0007” > /sys/bus/usb-serial/drivers/option1/new_id

then i see my modem on switch to /dev/ttyUSB0

but i cant connect internet so i think, i switch on usb to ttyUSB0.
but still i cant access modem device.
modem device also not give any response
i check on open suse 11 on my desktop
or open suse 11.4 to Compaq leptop

i use SniffUSB-x86-2.0.0006 & run on xp then see this massage

USB\Vid_d&Pid_0777&Rev_0000

i am waiting for all kind of replay if you tell me i can reinstall suse & i can goo step by step as your direction.

how to find
TargetVendor=
TargetProduct=

i use this file for example

**
Modify the file /etc/usb_modeswitch.conf

    Comment all except the following lines, I added the ZTE MF636 line, to make comments place a # or ; character at the beginning of the line.

    ########################################################
    ZTE MF628+ (tested version from Telia / Sweden)
    #
    ZTE MF636
    # Contributor: Joakim Wennergren

    DefaultVendor= 0x19d2
    DefaultProduct= 0x2000

TargetVendor= 0x19d2
TargetProduct= 0x0031

    MessageEndpoint=0x01

    MessageContent="55534243123456782000000080000c85010101180101010101000000000000"

**

i see is post but i cant find so i cant complete my config file how to find message content or end point also ok i am waiting for rply 24x7