From owner-freebsd-usb@FreeBSD.ORG Thu Aug 20 05:00:11 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAC931065693 for ; Thu, 20 Aug 2009 05:00:11 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swipnet.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id B0B658FC61 for ; Thu, 20 Aug 2009 05:00:10 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=gg2W7PyvkLb8p4ie143lBA==:17 a=vswHz4TQvOYTfQ4JSPYA:9 a=oaQ7WspE2EablnSI65lnNfd26ZUA:4 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 556227948; Thu, 20 Aug 2009 07:00:04 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 20 Aug 2009 07:00:12 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <1a008f20908192133h3afa691ct7862d029141c40bc@mail.gmail.com> <1a008f20908192137r3f152c84y27e89f975a4a3428@mail.gmail.com> In-Reply-To: <1a008f20908192137r3f152c84y27e89f975a4a3428@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908200700.14900.hselasky@c2i.net> Cc: Subject: Re: MD300 - Sony Ericsson on FREEBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 05:00:11 -0000 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: 2> on uhub6 > ucom0: iclass 2/2 > ucom0: data interface 4, has CM over data, has break > ucom0: status change notification available > cdce0: 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