[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: md300 modem 3g en lenny



buen dia disculpen la demora y  aqui tengo las salidas.. del dmesg | tail
 
Inicio debian
remuevo el usb-core y el usbserial y el airprime
agrego el modulo usbserial con el id y vendor del procucto.
modprobe usbserial vendor=0x0fce product=0xd0cf
 
dummies# dmesg | tail
usbcore: deregistering interface driver usb-storage
usbcore: deregistering interface driver airprime
drivers/usb/serial/usb-serial.c: USB Serial deregistering driver airprime
usbcore: deregistering interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
usbcore: deregistering interface driver usbserial
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
 
Conecto el modem MD300 y hago dmesg|tail
dummies# dmesg | tail
sd 1:0:0:0: [sda] Mode Sense: 00 c0 00 00
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] 503521 512-byte hardware sectors (258 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 c0 00 00
sd 1:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 1:0:0:0: [sda] Attached SCSI removable disk
UDF-fs: No VRS found
ISOFS: Unable to identify CD-ROM format.

dummies#

remuevo el usb-core y el usbserial
agrego el id y vendor del producto
modprobe usbserial vendor=0x0fce product=0xd0cf
 y el dmesg em dice :

usbcore: registered new interface driver usbserial

drivers/usb/serial/usb-serial.c: USB Serial support registered for generic

usbserial_generic 1-2:1.0: generic converter detected

usb 1-2: generic converter now attached to ttyUSB0

usbcore: registered new interface driver usbserial_generic

drivers/usb/serial/usb-serial.c: USB Serial Driver core

 
y me genera el ttyUSB0  .  Lei en una rticulo que para que s e conecte debe crear al menos tres dispositivos  ttyUSB0 ttyUSB1 ttyUSB2 pero no se. si es verdad. Espero que estos datos sean suficientes.

Ejecuto gnome-ppp como root y esta es la salida

gnome-ppp

WVCONF: /root/.wvdial.conf
GNOME PPP: Connecting...
GNOME PPP: STDERR: --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
GNOME PPP: STDERR: --> WvDial: Internet dialer version 1.56
GNOME PPP: STDERR: --> Cannot get information for serial port.
GNOME PPP: STDERR: --> Initializing modem.
GNOME PPP: STDERR: --> Sending: ATZ
GNOME PPP: STDERR: --> Sending: ATQ0
GNOME PPP: STDERR: --> Re-Sending: ATZ
GNOME PPP: STDERR: --> Modem not responding.
GNOME PPP: Unable to KILL wvdial process!
 
--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

Ejecuto como user normal y esta es la salida

dummies:~$ gnome-ppp

WVCONF: /home/javier/.wvdial.conf
GNOME PPP: STDOUT: Editing `/dev/null'.
GNOME PPP: STDERR: WvModem<*1>: Cannot set information for serial port.
GNOME PPP: STDOUT:
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
GNOME PPP: STDOUT: Scanning your serial ports for a modem.
GNOME PPP: STDOUT:
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
GNOME PPP: STDERR: Modem Port Scan<*1>: S1 S2 S3
GNOME PPP: STDERR: WvModem<*1>: Cannot get information for serial port.
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
GNOME PPP: STDOUT:
GNOME PPP: STDOUT:
GNOME PPP: STDOUT: Sorry, no modem was detected! Is it in use by another program?
GNOME PPP: STDOUT: Did you configure it properly with setserial?
GNOME PPP: STDOUT:
GNOME PPP: STDOUT: Please read the FAQ at http://open.nit.ca/wiki/?WvDial
GNOME PPP: STDOUT:
GNOME PPP: STDOUT: If you still have problems, send mail to <wvdial-list@lists.nit.ca>.
 
wvdial.conf
===========
[Dialer Defaults]
Modem = /dev/ttyUSB0
ISDN = off
Modem Type = USB Modem
Baud = 115200
Init = ATX3
Init2 =
Init3 =
Init4 =
Init5 =
Init6 =
Init7 =
Init8 =
Init9 =
Phone = *99***1#
Phone1 =
Phone2 =
Phone3 =
Phone4 =
Dial Prefix =
Dial Attempts = 1
Dial Command = ATM1L3DT
Ask Password = off
Password = 3616
Username = ctigprs
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = on
Stupid Mode = off
Idle Seconds = 0
Auto DNS = on
;Minimize = off
;Dock = off
;Do NOT edit this file by hand!


 
El día 22/08/08, Jorge Barreiro Gonzalez <yortx.barry@gmail.com> escribió:
O Xoves 21 Agosto 2008 21:52, javier barcena escribiu:
> buenas tardes.. hace casi 14 dias que intento hacer funcionar el modem usb
> 3g de sony ericsson MD300 en debian lenny pero por distintos caminos
> llegoal mismo resultado.. el dispositivo ttyUSB0 no es reconocido.
>
> Entre las cosas que hice fue crear reglas udev,  agregar el id y vendor del
> modem al modulo usbserial y crear los dispositivos con .. mknod.. ttyUSB0,
> 1,2.
>
> Lei casi todos los tutoriales de las distintas distribuciones.. pero nodi
> con la solucion correcta..
>
> Mi kernel es 2.6.24-1  para  un  amd k7
> Saludos javier

No deberias tener que crear reglas udev, ni hacer nada con mknod (y mucho
menos hacer las dos al mismo tiempo).

Si efectivamente el módulo usbserial hace funcionar tu modem y al enchufarlo
no aparece automáticamente el dispositivo ttyUSB0, tienes que indicarle al
módulo usbserial el id de vendedor y producto. Si ni con esas, igual tu
dispositivo no se puede usar así.

Dices que ya agregado el id de vendedor y producto al modulo, pero no dices
cómo. Yo lo hice para un MPX200 con los parámetros del módulo, de esta forma:

# rmmod usbserial
#modprobe usbserial vendor=0x0000 product=0x0000

Enchufa ahora tu aparato  y comprueba si aparece el dispositivo ttyUSB0

Si sigues teniendo problemas danos más detalles: salida de dmesg, ids del
dispositivo, etc...

Suerte.


--
To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: