From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 09:04:09 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E6BF1065670 for ; Mon, 14 Dec 2009 09:04:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 30A4B8FC0C for ; Mon, 14 Dec 2009 09:04:08 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=vBAHag5i4-WVGLsJKq8A:9 a=PJ7jiR6wcTtt0hNgjx3jYcnTcxkA:4 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 290350874; Mon, 14 Dec 2009 10:04:07 +0100 From: Hans Petter Selasky To: Ed Schouten Date: Mon, 14 Dec 2009 10:06:00 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <200912140948.08171.hselasky@c2i.net> <20091214085351.GX64905@hoeg.nl> In-Reply-To: <20091214085351.GX64905@hoeg.nl> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912141006.01480.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming 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: Mon, 14 Dec 2009 09:04:09 -0000 On Monday 14 December 2009 09:53:51 Ed Schouten wrote: > * Hans Petter Selasky wrote: > > Also TTY should have a printout in dmesg, which unit is create if this > > string is specified. > > Just patch your ucom driver to print that information. It doesn't belong > in the TTY layer. Can't you just extend usbconfig to also dump that > information? Hi, A printout in USB is OK for the user, but what about applications? Probably I could extend with an USB IOCTL for the TTY device to do what I want, in addition to a printout. USB_IOCTL_GET_PARENT_NAME --HPS