Best vendor/product info

Jeff Mitchell kde-dev at emailgoeshere.com
Fri Jun 8 20:48:42 PDT 2007


I've got a best-practices question.

Although the info namespace is specified as the location for metadata for all 
devices, info.vendor and info.product often seem to return results that are 
very...empty...or very generic.  While 
value_of(linux.subsystem).vendor/product often (in my experience, always) 
return far more useful and correct information.

So what is best practices here?  Determine the subsystem, then get .vendor 
and .product from that?  Someone I'm working with thinks that this is 
something that should be fixed on the HAL end -- that info.product and/or 
info.vendor should be populated with the best available information.  But I 
presume there's a reason that things are how they are (maybe "best available" 
is hard to really determine or something).

Advice would be appreciated!

Thanks,
Jeff


More information about the hal mailing list