ubsa, ucom Problems

Markus Oestreicher m.oe at x-trader.de
Wed Oct 29 06:59:49 PST 2003


Good Day,

I am running FreeBSD 4.9-RC3 and have problems attaching
a couple of Belkin USB serial adaptors to the machine.

The kernel has been configured with all drivers necessary:

options         USB_DEBUG
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
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          uscanner        # Scanners
device          urio            # Diamond Rio MP3 Player
device          ubsa
device          ufm
device          umodem
device          ucom
device          uplcom
device          uvscom
device          uvisor
device          uftdi

During boot the 4-port USB hub and the three devices are
recognized properly:

uhub1: Genesys Logic USB Hub, class 9/0, rev 1.01/0.12, addr 2
uhub1: 4 ports with 4 removable, self powered
ubsa0: Belkin Components USB-232 Adapter, rev 1.10/2.08, addr 3
ubsa1: Belkin Components USB-232 Adapter, rev 1.10/2.08, addr 4
ubsa2: Belkin Components USB-232 Adapter, rev 1.10/2.08, addr 5

When attaching one adaptor after boot, ubsa is loaded:

Oct 29 17:27:48 router /kernel: usbd_new_device bus=0xc1e33000 port=1
depth=2 lowspeed=0
Oct 29 17:27:48 router /kernel: usbd_new_device: adding unit addr=3,
rev=110, class=0, subclass=0, protocol=0, maxpacket=8, len=18, ls=0
Oct 29 17:27:48 router /kernel: usbd_new_device: new dev (addr 3),
dev=0xc1e34280, parent=0xc1e34480
Oct 29 17:27:48 router /kernel: usbd_probe_and_attach: trying device
specific drivers
Oct 29 17:27:48 router /kernel: ubsa0: Belkin Components USB-232
Adapter, rev 1.10/2.08, addr 3
Oct 29 17:27:48 router /kernel: usbd_set_config_index: (addr 3)
attr=0xa0, selfpowered=0, power=100
Oct 29 17:27:48 router /kernel: usbd_set_config_index: set config 1
Oct 29 17:27:48 router /kernel: ucom_attach: tty_attach tp = 0xc20ccb00
Oct 29 17:27:48 router /kernel: ucom_attach: make_dev: ucom0


But the device cannot be used. /dev/ucom0 (and ucom1, ucom2) will
not be created even tough make_dev is called. 

Manually creating them via ./MAKEDEV doesn't work either:

root at ws02 /dev # cu -l /dev/ucom0
cu: open (/dev/ucom0): Device not configured
cu: /dev/ucom0: Line in use

root at ws02 /dev # echo xyz > /dev/ucom0
-bash: /dev/ucom0: Device not configured


Am I missing something?

Thank you!

Best Regards,
Markus



More information about the freebsd-stable mailing list