On 09/07/15 15:40, Axel Davy wrote:
> On 09/07/2015 15:33, Emil Velikov wrote :
>>
>> Yakes forgot about that one. From a quick look we can (I know it feels
>> durty) use readlink(
>> /sys/dev/char/$(major):$(minor)).
>>
>> Everything seems to be there - bus type and exact location of the
>> device on the bus. It's limited to sysfs users, but they are more than
>> the libudev ones (perhaps not by much). How does that sound ?
>>
>> Cheers,
>> Emil
>>
> The idea behind using udev for the tag was that arbitrary tag could be
> used,
> especially to identify usb devices.
> 
So avoid breaking peoples' setup the above example can be used to
produce the very same tag(s). Regardles if it's a device on the pci or
usb bus. Speaking of usb, are there any devices supported with upstream
mesa ?

-Emil

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to