[Thunar-dev] thunar-volman 0.2.0

Jean-Philippe Guillemin jp.guillemin at free.fr
Mon Dec 3 14:25:10 CET 2007


Benedikt Meurer wrote:
> Jean-Philippe Guillemin wrote:
>   
>>>> I confirm the bug on another machine, hal, thunar and volman build 
>>>> cleanly, but no more CDROMS after install of new versions.
>>>>     
>>>>         
>>> Please post the hal-device output for the CD-ROM volume and drive
>>>       
>> Below, hal info with audio CD inserted :
>>     
>
> Audio CDs will not be shown by Thunar anymore.
>
>   
>> udi = '/org/freedesktop/Hal/devices/volume_part_1_size_732665856'
>>   block.device = '/dev/sr0'  (string)
>>   block.is_volume = true  (bool)
>>   block.major = 11  (0xb)  (int)
>>   block.minor = 0  (0x0)  (int)
>>   block.storage_device = 
>> '/org/freedesktop/Hal/devices/storage_model_DVD_LS_DW1655'  (string)
>>   info.capabilities = {'volume.disc', 'volume', 'block'} (string list)
>>   info.category = 'volume'  (string)
>>   info.interfaces = {'org.freedesktop.Hal.Device.Volume', 
>> 'org.freedesktop.Hal.Device.Volume'} (string list)
>>   info.parent = 
>> '/org/freedesktop/Hal/devices/storage_model_DVD_LS_DW1655'  (string)
>>   info.udi = 
>> '/org/freedesktop/Hal/devices/volume_part_1_size_732665856'  (string)
>>   linux.hotplug_type = 3  (0x3)  (int)
>>   linux.sysfs_path = '/sys/block/sr0/fakevolume'  (string)
>>   org.freedesktop.Hal.Device.Volume.method_argnames = {'extra_options', 
>> 'extra_options'} (string list)
>>   org.freedesktop.Hal.Device.Volume.method_execpaths = 
>> {'hal-storage-eject', 'hal-storage-eject'} (string list)
>>   org.freedesktop.Hal.Device.Volume.method_names = {'Eject', 'Eject'} 
>> (string list)
>>   org.freedesktop.Hal.Device.Volume.method_signatures = {'as', 'as'} 
>> (string list)
>>   storage.model = ''  (string)
>>   volume.block_size = 2048  (0x800)  (int)
>>   volume.disc.capacity = 735051776  (0x2bd00000)  (uint64)
>>   volume.disc.has_audio = true  (bool)
>>   volume.disc.has_data = false  (bool)
>>   volume.disc.is_appendable = false  (bool)
>>   volume.disc.is_blank = false  (bool)
>>   volume.disc.is_rewritable = false  (bool)
>>   volume.disc.type = 'cd_r'  (string)
>>   volume.fstype = ''  (string)
>>   volume.fsusage = ''  (string)
>>     
>
> Here's the cause: Thunar only shows volumes with mountable filesystems.
> Everything else is skipped.
>   

Ok , I understand now (I should read changelogs more carefully), sorry 
for the waste of time ;)

On the other side I will have to find another way to start the CD player 
when audio CDs are inserted ... or  patch Thunar to put audio CD support 
back ... any chance you would have this code somewhere ?

JP

> Benedikt
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
>   





More information about the Thunar-dev mailing list