linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: IDs
@ 2001-09-29 19:00 Tim Jansen
  2001-09-29 19:56 ` IDs Vojtech Pavlik
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Jansen @ 2001-09-29 19:00 UTC (permalink / raw)
  To: linux-hotplug

On Saturday 29 September 2001 20:04, you wrote:
> Ok. Though I'd prefer PRODUCT;UNIQ;PHYS or PHYS;PRODUCT;UNIQ. Because
> PRODUCT and UNIQ are bound together. UNIQ is only defined to be unique
> in the PRODUCT class of devices, not globally.

PHYS;PRODUCT;UNIQ is ok for me. It has the (very small) advantage that you 
can have any character in UNIQ, so you don't need to excape semicolons when 
you get the string from usb.

> There really is no reason to set the serial number taken from the SAPROM
> on the PCI device ...

In my old scheme there was no difference between the device itself and its 
functional units, this is why it was neccessary.

bye...

_______________________________________________
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] 2+ messages in thread

* Re: IDs
  2001-09-29 19:00 IDs Tim Jansen
@ 2001-09-29 19:56 ` Vojtech Pavlik
  0 siblings, 0 replies; 2+ messages in thread
From: Vojtech Pavlik @ 2001-09-29 19:56 UTC (permalink / raw)
  To: linux-hotplug

On Sat, Sep 29, 2001 at 09:00:50PM +0200, Tim Jansen wrote:

> On Saturday 29 September 2001 20:04, you wrote:
> > Ok. Though I'd prefer PRODUCT;UNIQ;PHYS or PHYS;PRODUCT;UNIQ. Because
> > PRODUCT and UNIQ are bound together. UNIQ is only defined to be unique
> > in the PRODUCT class of devices, not globally.
> 
> PHYS;PRODUCT;UNIQ is ok for me. It has the (very small) advantage that you 
> can have any character in UNIQ, so you don't need to excape semicolons when 
> you get the string from usb.

Ok.

> > There really is no reason to set the serial number taken from the SAPROM
> > on the PCI device ...
> 
> In my old scheme there was no difference between the device itself and its 
> functional units, this is why it was neccessary.

I see. I think this is cleaner design, though.

-- 
Vojtech Pavlik
SuSE Labs

_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2001-09-29 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-29 19:00 IDs Tim Jansen
2001-09-29 19:56 ` IDs Vojtech Pavlik

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).