Video DVD filsystem not detected [was:Re: (no subject)]

Roderick Greening roderick_greening at hotmail.com
Wed Nov 2 08:46:53 PST 2005


>On Wed, Nov 02, 2005 at 12:21:27PM -0330, Roderick Greening wrote:
> > Ok, so I have downloaded and compiled HAL from CVS today. I have a 
>DVD-ROM
> > that I'm trying to get working with KDE Media Manager, and trying to 
>track
> > down the issue. Can someone look at the output from HAL below for the 
>UDI
> > specific to my DVD-ROM and tell me if it looks correct and if everything 
>is
> > being reported that should be.
> >
> > Questionable things are
> >
> >  volume.label = ''  (string)
> >  volume.uuid = ''  (string)
> >  volume.fsversion = ''  (string)
> >  volume.fsusage = ''  (string)
> >  volume.fstype = ''  (string)
> >
> > Shouldn't the above have some values? At least shouldn't volume.fstype 
>be
> > 'udf' or 'iso9660' or whatever for the mounted volume? I currently have 
>a
> > Video DVD mounted and it's type is udf by HAL didn't report that in 
>lshal.
>
>Seems like a firmware bug in your drive. We got several of these reports
>recently. Try to comment out the CDROMREADTOCHDR block at:
>   hald/linux2/probing/probe-volume.c (line 470-487)
>
>and see if that works?
>
>Kay
>

Is the firmware bug specific to DVD media/volumes or would something like 
this affect any CD inserted?

The reason I ask is that if I insert a regular iso9660 CD-R disk, it is 
detected correctly by HAL, IVMAN, and KDE (I get the nice CD Icon on my 
desktop). Seems this happens only if I insert a DVD-R.

Here's the relevant lshal section (notice fstype and fsusage is correctly 
detected):

udi = '/org/freedesktop/Hal/devices/volume_label_000913_1339'
  info.udi = '/org/freedesktop/Hal/devices/volume_label_000913_1339'  
(string)
  info.product = '000913_1339'  (string)
  volume.disc.is_svcd = false  (bool)
  volume.disc.is_vcd = false  (bool)
  volume.disc.is_videodvd = false  (bool)
  volume.disc.is_rewritable = false  (bool)
  volume.disc.is_appendable = true  (bool)
  volume.disc.is_blank = false  (bool)
  volume.disc.has_data = true  (bool)
  volume.disc.has_audio = false  (bool)
  volume.disc.type = 'cd_r'  (string)
  volume.size = 24743936  (0x1799000)  (uint64)
  volume.num_blocks = 48328  (0xbcc8)  (int)
  volume.block_size = 2048  (0x800)  (int)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  volume.is_partition = true  (bool)
  volume.is_disc = true  (bool)
  volume.is_mounted = true  (bool)
  volume.mount_point = '/media/hdc'  (string)
  volume.label = '000913_1339'  (string)
  volume.uuid = ''  (string)
  volume.fsversion = ''  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fstype = 'iso9660'  (string)
  block.storage_device = 
'/org/freedesktop/Hal/devices/storage_model_QSI_CD_RW/DVD_ROM_SBW242C'  
(string)
  block.is_volume = true  (bool)
  block.minor = 0  (0x0)  (int)
  block.major = 22  (0x16)  (int)
  block.device = '/dev/hdc'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  info.parent = 
'/org/freedesktop/Hal/devices/storage_model_QSI_CD_RW/DVD_ROM_SBW242C'  
(string)
  linux.sysfs_path_device = '/sys/block/hdc/fakevolume'  (string)
  linux.sysfs_path = '/sys/block/hdc/fakevolume'  (string)

If this is a DVD specific firmware issue, I can certainly try commenting out 
and recompiling to see what happens. If it isn't specific to DVD, then 
perhaps something else is broken in the HAL software?

Thanks




More information about the hal mailing list