USB Modem fun and games

Brian Somers brian at Awfulhak.org
Fri Dec 31 14:40:39 GMT 2004


I think you need usbd_enable=YES in /etc/rc.conf so that usbd starts up
and notices the arrival of usb devices.

If it doesn't recognise your modem, I think it tells you the device name
that can be used in usbd.conf, but I think it should ``just work'' once
usbd is enabled.

On Thu, 30 Dec 2004 17:44:05 +0000, Charles Brewster <charles-brewster at ntlworld.com> wrote:
> Hello again
> 
> Many thanks Brian for your helpful suggestions.
> 
> Although I've included "ucom" and "umodem" in my kernel configuration file 
> (see relevant lines here):
> --
> <preceding 224 lines snipped>
> # USB support
> device		uhci		# UHCI PCI->USB interface
> device		ohci		# OHCI PCI->USB interface
> device		usb		# USB Bus (required)
> #device		udbp		# USB Double Bulk Pipe devices
> device		ugen		# Generic
> device		uhid		# "Human Interface Devices"
> device		ukbd		# Keyboard
> device		ulpt		# Printer
> device		umass		# Disks/Mass storage - Requires scbus and da
> device		ums		# Mouse
> device		urio		# Diamond Rio 500 MP3 player
> device		uscanner	# Scanners
> device		ucom		# added for USB modem support
> device		umodem		# added for USB modem support
> # USB Ethernet, requires mii
> device		aue		# ADMtek USB Ethernet
> device		axe		# ASIX Electronics USB Ethernet
> device		cue		# CATC USB Ethernet
> device		kue		# Kawasaki LSI USB Ethernet
> device		rue		# RealTek RTL8150 USB Ethernet
> 
> # FireWire support
> device		firewire	# FireWire bus code
> device		sbp		# SCSI over FireWire (Requires scbus and da)
> device		fwe		# Ethernet over FireWire (non-standard!)
> --
> 
> I can see in the contents of /boot/kernel that the "ucom.ko" and 
> "umodem.ko" files are present:
> --
> <preceding 230 lines snipped>
> -r-xr-xr-x  1 root  wheel    10360 Dec 30 13:43 ubtbcmfw.ko
> -r-xr-xr-x  1 root  wheel    14144 Dec 30 13:43 ucom.ko
> -r-xr-xr-x  1 root  wheel    19368 Dec 30 13:43 udbp.ko
> -r-xr-xr-x  1 root  wheel    33648 Dec 30 13:43 udf.ko
> -r-xr-xr-x  1 root  wheel     3856 Dec 30 13:43 udf_iconv.ko
> -r-xr-xr-x  1 root  wheel     7648 Dec 30 13:43 ufm.ko
> -r-xr-xr-x  1 root  wheel     9736 Dec 30 13:43 uftdi.ko
> -r-xr-xr-x  1 root  wheel    20912 Dec 30 13:43 ugen.ko
> -r-xr-xr-x  1 root  wheel    12072 Dec 30 13:43 uhid.ko
> -r-xr-xr-x  1 root  wheel    24152 Dec 30 13:43 ukbd.ko
> -r-xr-xr-x  1 root  wheel    12432 Dec 30 13:43 ulpt.ko
> -r-xr-xr-x  1 root  wheel    35520 Dec 30 13:43 umass.ko
> -r-xr-xr-x  1 root  wheel    10728 Dec 30 13:43 umct.ko
> -r-xr-xr-x  1 root  wheel    11696 Dec 30 13:43 umodem.ko
> -r-xr-xr-x  1 root  wheel    13432 Dec 30 13:43 ums.ko
> -r-xr-xr-x  1 root  wheel    57712 Dec 30 13:43 unionfs.ko
> -r-xr-xr-x  1 root  wheel    14064 Dec 30 13:43 uplcom.ko
> -r-xr-xr-x  1 root  wheel     8864 Dec 30 13:43 urio.ko
> -r-xr-xr-x  1 root  wheel   250032 Dec 30 13:43 usb.ko
> -r-xr-xr-x  1 root  wheel    10840 Dec 30 13:43 uscanner.ko
> -r-xr-xr-x  1 root  wheel    22984 Dec 30 13:43 utopia.ko
> -r-xr-xr-x  1 root  wheel     8560 Dec 30 13:43 uvisor.ko
> -r-xr-xr-x  1 root  wheel    15032 Dec 30 13:43 uvscom.ko
> -r-xr-xr-x  1 root  wheel   139112 Dec 30 13:43 vinum.ko
> -r-xr-xr-x  1 root  wheel    28912 Dec 30 13:43 vpo.ko
> -r-xr-xr-x  1 root  wheel     6216 Dec 30 13:43 warp_saver.ko
> -r-xr-xr-x  1 root  wheel    77632 Dec 30 13:43 wlan.ko
> --
> 
> This gives some confidence that the kernel rebuild worked OK.
> 
> I'm booting from the default /boot/kernel but in the dmesg output I'm 
> seeing nothing referring to "ucom" or "umodem".
> I do get
> --
> ugen0: Conexant Systems, Inc. V.90 Modem with USB Interface, rev 1.00/0.01, 
> addr 2
> --
> 
> When I try starting PPP with "set device /dev/ugen0" in the ppp.conf file I 
> just get the error
> --
> ugenpoll: no edesc
> --
> Checking on the newsgroups for this error suggests that somehow "ucom" and 
> "umodem" aren't being loaded/started/recognised during the bootup process.
> 
> When I run "usbdevs" I get the following:
> --
> addr 1: UHCI root hub, VIA
> addr 1: UHCI root hub, VIA
>   addr 2: V.90 Modem with USB Interface, Conexant Systems, Inc.
> addr 1: UHCI root hub, VIA
> addr 1: UHCI root hub, VIA
> --
> so it looks as if the USB modem is being seen by the system.
> 
> Brian - I'm not entirely sure I know what you mean when you suggest "You 
> might want to have usbd run ppp when your modem is probed too (see usbd(8) 
> and usbd.conf(5))." I've checked those man pages and I can see that I might 
> include some device parameters for the USB modem in usbd.conf - but I've no 
> idea what the product or vendor hex codes would need to be.
> 
> I'm considering sacrificing a PCI slot in the box to get serial com ports 
> and a parallel port to support my existing printer, but it would be nice to 
> get the USB modem working with FreeBSD in the meantime.
> 
> Many thanks for any further illumination anyone can offer.
> 
> Charles B
> 
> 
> ------ FreeBSD UK Users' Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
> 


-- 
Brian Somers                                          <brian at Awfulhak.org>
Don't _EVER_ lose your sense of humour !               <brian at FreeBSD.org>




More information about the Ukfreebsd mailing list