From owner-freebsd-usb@FreeBSD.ORG Thu Nov 30 15:41:11 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C557716A47B for ; Thu, 30 Nov 2006 15:41:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id C537243DB7 for ; Thu, 30 Nov 2006 15:40:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kAUFeDDD084387 for ; Thu, 30 Nov 2006 15:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kAUFeD7o084384; Thu, 30 Nov 2006 15:40:13 GMT (envelope-from gnats) Resent-Date: Thu, 30 Nov 2006 15:40:13 GMT Resent-Message-Id: <200611301540.kAUFeD7o084384@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kay Abendroth Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 681CD16A403 for ; Thu, 30 Nov 2006 15:31:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ABD343CA3 for ; Thu, 30 Nov 2006 15:31:44 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kAUFVqxV048664 for ; Thu, 30 Nov 2006 15:31:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kAUFVqHF048663; Thu, 30 Nov 2006 15:31:52 GMT (envelope-from nobody) Message-Id: <200611301531.kAUFVqHF048663@www.freebsd.org> Date: Thu, 30 Nov 2006 15:31:52 GMT From: Kay Abendroth To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: usb/106070: devd recognizes ucom, but ttyU is the device actually X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 15:41:11 -0000 >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: