Date: Thu, 30 Nov 2006 15:31:52 GMT From: Kay Abendroth<kay.abendroth@raxion.net> To: freebsd-gnats-submit@FreeBSD.org Subject: usb/106070: devd recognizes ucom, but ttyU is the device actually Message-ID: <200611301531.kAUFVqHF048663@www.freebsd.org> Resent-Message-ID: <200611301540.kAUFeD7o084384@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106070
>Category: usb
>Synopsis: devd recognizes ucom, but ttyU is the device actually
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 30 15:40:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Kay Abendroth
>Release: 6.2
>Organization:
>Environment:
FreeBSD halo 6.2-RC1 FreeBSD 6.2-RC1 #0: Thu Nov 16 22:50:15 CET 2006 root@halo:/usr/obj/usr/src/sys/HALO i386
>Description:
I was trying to sync my (USB) Palm Zire with FreeBSD, but had problems doing so. devd creates a ttyU[0-9]+ and cuaU[0-9]+ device but devd.conf-settings only work with devicename ucom[0-9]+, because devd's recognizing only ucom[0-9]+.
This should - at least - be mentioned elsewhere (man page of devd devd.conf) or changed to be more consistent with the real device-name(s).
>How-To-Repeat:
1.) Add the following to your devd.conf:
attach 0 {
device-name "ttyU[0-9]+";
action "ln -s /dev/$device-name /dev/pilot";
};
2.) Start devd.
3.) HotSync your USB-Palm. No link will be created.
4.) Change your entry in devd.conf to the following instead:
attach 0 {
device-name "ucom[0-9]+";
action "ln -s /dev/ttyU0 /dev/pilot";
};
5.) Now everything works fine.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611301531.kAUFVqHF048663>
