From nobody@FreeBSD.org Thu Nov 30 15:31:58 2006 Return-Path: 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 Subject: devd recognizes ucom, but ttyU is the device actually X-Send-Pr-Version: www-3.0 >Number: 106070 >Category: usb >Synopsis: devd recognizes ucom, but ttyU is the device actually >Confidential: no >Severity: non-critical >Priority: medium >Responsible: imp >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 30 15:40:12 GMT 2006 >Closed-Date: Mon Apr 13 09:56:09 MDT 2009 >Last-Modified: Mon Apr 13 09:56:09 MDT 2009 >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: Adding to audit trail from misfiled PR usb/113290: Date: Sun, 3 Jun 2007 15:00:48 GMT From: Joao Rocha Braga Filho When a Palm is connected in USB, and hotsync button pressed, the devices /dev/cuaU0 and /dev/ttyU0 are created, but the usbd send as ${DEVNAME} ucom0. attach "/home/goffredo/pilot-sync.sh ${DEVNAME}" The ${DEVNAME} wil be ucom0 instead cuaU0 or ttyU0. It may be usb/106070 consequence. State-Changed-From-To: open->patched State-Changed-By: imp State-Changed-When: Sat Jun 30 08:37:03 MDT 2007 State-Changed-Why: Added a note to the ucom man page describing what happens. http://www.freebsd.org/cgi/query-pr.cgi?pr=106070 From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/106070: commit references a PR Date: Sat, 30 Jun 2007 14:36:46 +0000 (UTC) imp 2007-06-30 14:36:37 UTC FreeBSD src repository Modified files: share/man/man4 ucom.4 Log: Note the change in /dev name Submitted By: Kay Abendroth PR: usb/106070 Approved by: re (blanket) Revision Changes Path 1.8 +9 -0 src/share/man/man4/ucom.4 _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" Responsible-Changed-From-To: freebsd-usb->imp Responsible-Changed-By: linimon Responsible-Changed-When: Fri Jul 6 08:29:14 UTC 2007 Responsible-Changed-Why: imp committed the patch. http://www.freebsd.org/cgi/query-pr.cgi?pr=106070 State-Changed-From-To: patched->closed State-Changed-By: imp State-Changed-When: Mon Apr 13 09:56:06 MDT 2009 State-Changed-Why: These have been in a release... http://www.freebsd.org/cgi/query-pr.cgi?pr=106070 >Unformatted: