* usb endpoint devices
@ 2006-08-13 17:07 Marco d'Itri
2006-08-13 17:21 ` Kay Sievers
2006-08-14 20:50 ` Greg KH
0 siblings, 2 replies; 3+ messages in thread
From: Marco d'Itri @ 2006-08-13 17:07 UTC (permalink / raw)
To: linux-hotplug
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
...
--
ciao,
Marco
-------------------------------------------------------------------------
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: usb endpoint devices
2006-08-13 17:07 usb endpoint devices Marco d'Itri
@ 2006-08-13 17:21 ` Kay Sievers
2006-08-14 20:50 ` Greg KH
1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2006-08-13 17:21 UTC (permalink / raw)
To: linux-hotplug
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.
Kay
-------------------------------------------------------------------------
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: usb endpoint devices
2006-08-13 17:07 usb endpoint devices Marco d'Itri
2006-08-13 17:21 ` Kay Sievers
@ 2006-08-14 20:50 ` Greg KH
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2006-08-14 20:50 UTC (permalink / raw)
To: linux-hotplug
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-14 20:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-13 17:07 usb endpoint devices Marco d'Itri
2006-08-13 17:21 ` Kay Sievers
2006-08-14 20:50 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).