MD300 - Sony Ericsson on FREEBSD
Hans Petter Selasky
hselasky at c2i.net
Thu Aug 20 05:00:11 UTC 2009
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
More information about the freebsd-usb
mailing list