[mythtv] Ticket #3077: Default CD Device selection

Matthew Wire devel at mrwire.co.uk
Wed Mar 7 11:11:16 UTC 2007

> Even better, for those of us with sysfs:
>     QFile file("/sys/block/"+devname+"/device/model");
> This should work for any block device.
Interesting.  None of my systems have that file "model" under sysfs.
None of the files under sysfs for me return the model name, only info
like cdrom, hdb etc.
What distro/kernel are you using which provides "model" under sysfs?

Mine are all versions of Ubuntu, from Dapper to Feisty.


More information about the mythtv-dev mailing list