Re: [Kde-hardware-devel] API addition in Solid

2007-11-17 Thread Matthias Kretz
On Saturday 17 November 2007, Kevin Ottens wrote: > Le samedi 17 novembre 2007, Matthias Kretz a écrit : > > You mean if I have e.g. USB headsets of the same brand and type. Yes. But > > they get the same name, the same icon and have the same initialPreference > > anyway. There's nothing to tell th

Re: [Kde-hardware-devel] API addition in Solid

2007-11-17 Thread Kevin Ottens
Le samedi 17 novembre 2007, Matthias Kretz a écrit : > You mean if I have e.g. USB headsets of the same brand and type. Yes. But > they get the same name, the same icon and have the same initialPreference > anyway. There's nothing to tell them apart and for what I'm concerned I > actually want thos

Re: [Kde-hardware-devel] API addition in Solid

2007-11-17 Thread Matthias Kretz
On Saturday 17 November 2007, Kevin Ottens wrote: > It's unlikely that you can forge such an id though, for instance the way you > do it you'll get the same id for twin devices. You mean if I have e.g. USB headsets of the same brand and type. Yes. But they get the same name, the same icon and hav

Re: [Kde-hardware-devel] API addition in Solid

2007-11-17 Thread Kevin Ottens
Le samedi 17 novembre 2007, Matthias Kretz a écrit : > It is not globally unique, where globally == unique identifier I can use on > your computer and on mine. Ah right, skipped the globally part. It's unlikely that you can forge such an id though, for instance the way you do it you'll get the sa

Re: [Kde-hardware-devel] API addition in Solid

2007-11-17 Thread Matthias Kretz
On Saturday 17 November 2007, Kevin Ottens wrote: > Le samedi 17 novembre 2007, Matthias Kretz a écrit : > > I need a globally unique identifier for the devices listed by Solid. And > > Solid::Device::udi() is not that. > > It is. It is unique for a given system. It is not globally unique, where g

Re: [Kde-hardware-devel] API addition in Solid

2007-11-17 Thread Kevin Ottens
Le samedi 17 novembre 2007, Matthias Kretz a écrit : > I need a globally unique identifier for the devices listed by Solid. And > Solid::Device::udi() is not that. It is. It is unique for a given system. > So I added the API and implementation for it, but the HAL implementation > currently is jus