From owner-freebsd-current@FreeBSD.ORG Fri Jul 17 13:18:39 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BC0B1065670 for ; Fri, 17 Jul 2009 13:18:39 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.tele2.se [212.247.155.1]) by mx1.freebsd.org (Postfix) with ESMTP id D41218FC08 for ; Fri, 17 Jul 2009 13:18:38 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ToYnosd5lh0A:10 a=gg2W7PyvkLb8p4ie143lBA==:17 a=f9n66hXnnIKhvF81CjAA:9 a=9L6cyOGRxCL0Q5nMAVvAlU9j_kwA:4 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe09.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 933650184; Fri, 17 Jul 2009 15:18:35 +0200 From: Hans Petter Selasky To: "Sagara Wijetunga" Date: Fri, 17 Jul 2009 15:18:19 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <20090714123509.16504.qmail@us1.tomahawkonline.net> <200907171322.54942.hselasky@c2i.net> <20090717085556.1810.qmail@us1.tomahawkonline.net> In-Reply-To: <20090717085556.1810.qmail@us1.tomahawkonline.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907171518.20959.hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: Is extra USB event possible in FreeBSD 8? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2009 13:18:39 -0000 On Friday 17 July 2009 10:55:56 Sagara Wijetunga wrote: > If it is, this option is out. Almost all of the USB mass storage devices, > eg. USB flash disks, cameras, audio players, etc. are already formatted. We > cannot ask users to format first (ie. in FreeBSD terms create disk lables, > create files systems, etc) before use as it make no sense at all. Eg. One > buy a camera at the airport, take photos on a tour, after the tour wants to > transfer photos to the computer. Now its too late to create labels. > > Therefore, your first option sounds interesting. I'm not sure is it the > correct way forward. As you are the USB expert, could you recommend the > correct solution? Hi, Seems to me like this is not an USB problem, at first. USB does not have any place to put the information. The CAM API needs to be extended first, to be able to pass along the kind of information you want, that is my recommendation. What is your solution for multi-card-readers, where multiple hardware units will get the same vendor ID, product ID and serial number? --HPS