From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 14 Aug 2006 20:50:02 +0000 Subject: Re: usb endpoint devices Message-Id: <20060814205002.GC11673@kroah.com> List-Id: References: <20060813170755.GA4408@wonderland.linux.it> In-Reply-To: <20060813170755.GA4408@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Aug 13, 2006 at 07:21:44PM +0200, Kay Sievers wrote: > On Sun, 2006-08-13 at 19:07 +0200, Marco d'Itri wrote: > > They are in 2.6.18-rc4, which names should they use? > > What do you think about this rule? > > > > SUBSYSTEM="usb_endpoint", PROGRAM="/bin/sh -c 'K=%k; E=$${K#*_}; K=$${K#usbdev}; K=$${K%%%%_*}; printf bus/usb/%%03i/%%03i_%%s $${K%%%%.*} $${K#*.} $$E'", \ > > NAME="%c" > > > > > > DEVNAME='/dev/usbdev1.1_ep81' > > DEVPATH='/devices/pci0000:00/0000:00:10.0/usb1/1-0:1.0/usbdev1.1_ep81' > > SUBSYSTEM='usb_endpoint' > > > > /dev/bus/usb/ > > |-- 001 > > | |-- 001 > > | `-- 001_ep81 > > They are not functional now, it's work-in-progress. And are you sure, > that this will not confuse libusb access? We should probably leave them > where they are, and not move them into the weird usbfs directory layout. I agree, please leave them alone for now, we have not fully determined how these will be used, and the kernel doesn't let you use those device nodes at all just yet :) thanks, greg k-h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel