Re: Cellular Phone with USB on Laptop

Martin Hasenbein <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Fr 5 Jul (20:50:42), Nick Sayer <[email protected]> wrote:

Hi Nick, hi list,

it's me again ;-)

I still have the problem connecting a cellular phone via USB
to dial out.

Now I've bought such a USB -> Serial-Adapter. I've compiled
the following into the kernel:

# USB support
device          uhci            # UHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          ucom
device          uplcom
device          uvscom

I also configured /dev/cuaU0 like you told me. When I now connect
everything and boot, these messages appear:

uhci0: <VIA 83C572 USB controller> port 0x1020-0x103f irq 11 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uplcom0: ATEN International Serial adapter, rev 1.10/0.01, addr 2

usbd has found this:

Jul 18 21:08:54 <console.info> mobile /kernel: usbd: opened /dev/usb0
Jul 18 21:08:54 <console.info> mobile /kernel: usbd: reading configuration file /etc/usbd.conf
Jul 18 21:08:54 <console.info> mobile /kernel: usbd: opened /dev/usb
Jul 18 21:08:54 <console.info> mobile /kernel: usbd: attach event at 0.013681000, UHCI root hub, VIA:
Jul 18 21:08:54 <console.info> mobile /kernel: vndr=0x0000 prdct=0x0000 rlse=0x0100 clss=0x0009 subclss=0x0000 prtcl=0x0000
Jul 18 21:08:54 <console.info> mobile /kernel: device names: uhub0
Jul 18 21:08:54 <console.info> mobile /kernel: usbd: attach event at 0.023309000, Serial adapter, ATEN International:
Jul 18 21:08:54 <console.info> mobile /kernel: vndr=0x0557 prdct=0x2008 rlse=0x0001 clss=0x0000 subclss=0x0000 prtcl=0x0000
Jul 18 21:08:54 <console.info> mobile /kernel: device names: uplcom0

But when I now try to connect via /dev/cuaU0 I get the following error Message:

Jul 18 21:09:50 <daemon.notice> mobile pppd[2448]: pppd 2.3.5 started by mh, uid 0
Jul 18 21:09:50 <daemon.err> mobile pppd[2448]: Failed to open /dev/cuaU0: Device not configured
Jul 18 21:09:50 <daemon.info> mobile pppd[2448]: Exit.
Jul 18 21:16:48 <daemon.notice> mobile pppd[2885]: pppd 2.3.5 started by mh, uid 0
Jul 18 21:16:48 <daemon.err> mobile pppd[2885]: Failed to open /dev/cuaU0: Device not configured
Jul 18 21:16:48 <daemon.info> mobile pppd[2885]: Exit.


Any ideas, whats wrong now?

Thank you,

	/mh

-- 
Martin Hasenbein  --  [email protected]  --  http://bsd.net
 UNIX, a way of life. FreeBSD, my choice of living.

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.