serial console on USB ?

Mike Tancsa mike at sentex.net
Fri Oct 21 21:18:58 UTC 2011


I came across a thread mentioning potential patches being added a while
back to allow for the console to work with USB, but I am not able to get
it to work with RELENG_8

If I just add

ttyU0   "/usr/libexec/getty std.9600"   vt100   on secure

I can login to the box no problem.  But That does not show bootup access
via the serial console. Is there a way to enable that ?

I tried adding
console="comconsole,vidconsole"
hw.usb.ucom.cons_unit=0
hw.usb.ucom.cons_baud=9600

to /boot/loader.conf

but it did not work

# usbconfig
ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE
ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE
ugen0.2: <product 0x0024 vendor 0x8087> at usbus0, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE
ugen1.2: <product 0x0024 vendor 0x8087> at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE
ugen0.3: <usb serial converter ftdi> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
ugen0.4: <product 0x1400 vendor 0x04d9> at usbus0, cfg=0 md=HOST spd=LOW
(1.5Mbps) pwr=ON

# sysctl -a hw.usb
hw.usb.ehci.lostintrbug: 0
hw.usb.ehci.iaadbug: 0
hw.usb.ehci.no_hs: 0
hw.usb.ehci.debug: 0
hw.usb.ohci.debug: 0
hw.usb.uhci.loop: 0
hw.usb.uhci.debug: 0
hw.usb.no_boot_wait: 0
hw.usb.ctrl.debug: 0
hw.usb.umass.debug: 0
hw.usb.debug: 0
hw.usb.dev.debug: 0
hw.usb.usb_lang_mask: 255
hw.usb.usb_lang_id: 9
hw.usb.template: 0
hw.usb.ugen.debug: 0
hw.usb.power_timeout: 30
hw.usb.uhub.debug: 0
hw.usb.no_pf: 0
hw.usb.proc.debug: 0
hw.usb.pr_recovery_delay: 250
hw.usb.pr_poll_delay: 50
hw.usb.no_cs_fail: 0
hw.usb.uftdi.debug: 0
hw.usb.ucom.cons_baud: 9600
hw.usb.ucom.cons_subunit: 0
hw.usb.ucom.cons_unit: 0
hw.usb.ucom.debug: 0
hw.usb.uhid.debug: 0
hw.usb.ukbd.no_leds: 0
hw.usb.ukbd.debug: 0
hw.usb.ums.debug: 0


	---Mike

-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-usb mailing list