Date: Thu, 20 Aug 2009 07:00:12 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org Subject: Re: MD300 - Sony Ericsson on FREEBSD Message-ID: <200908200700.14900.hselasky@c2i.net> In-Reply-To: <1a008f20908192137r3f152c84y27e89f975a4a3428@mail.gmail.com> References: <1a008f20908192133h3afa691ct7862d029141c40bc@mail.gmail.com> <1a008f20908192137r3f152c84y27e89f975a4a3428@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 20 August 2009 06:37:30 Guillermo Paredes - EDDAS wrote: > Good night Good morning :-) > > i want run the MD300 on FREEBSD and i fail but i have a question > > i plug my modem on windows, and when i connect with putty directly to the > serial port and send the next command > > AT+CFUN=1 > AT*ENAP=1,1 > > the led of the modem go to blue and one network adapter wake up and have a > DHCP resolution, and i have INTERNET without the sony ericsson program and > without any kind of dialer in my FREEBSD i do the same (first i was disable > the umass controller in the kernel) , when i plug the modem on my freebsd i > see two devices the ucom0 (serial port) and the cdce0 like: > > ucom0: <Sony Ericsson Sony Ericsson MD300, class 2/0, rev 2.00/0.00, addr > 2> on uhub6 > ucom0: iclass 2/2 > ucom0: data interface 4, has CM over data, has break > ucom0: status change notification available > cdce0: <Sony Ericsson Sony Ericsson MD300, class 2/0, rev 2.00/0.00, addr > 2> on uhub6 > cdce0: could not find data bulk in > device_attach: cdce0 attach returned 6 > > well to write directly to serial port i use the next python script with > pyserial (conect directly to cuaU0) > > import time; > time.sleep(5); > import serial; > s=serial.Serial("/dev/cuaU0" ); > s.write("AT+CFUN=1\r" ); > time.sleep(10); > s.write("AT*ENAP=1,1\r" ); > > and voila the modem up and send me a blue light, this means that the modem > link to the provider, but the network card dont found because the cdce0 > driver dont support it, well i do the same in linux and work fine, i guess > the driver cdce dont up the virtual network card because this dont have > carrier signal, but if this driver just only create the device and wait the > commands all will work fine, This has been fixed in FreeBSD-8 I think. Could you try to boot FreeBSD 8- BETA2? You are using FreeBSD-7, right? > > well, the question is IN THIS CASE I DONT NEED THE PPP DIALER TO MAKE A > TUNNEL LINK. TO CONNECT TO PROVIDER WHY ??????????????? > this because the new u3g driver use a dialer, in this case i dont use the > dialer in windows and linux, The ethernet part should work with CDC-ethernet. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908200700.14900.hselasky>