Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Ghost CD

  1. #1
    Join Date
    Nov 2007
    Beans
    16

    Ghost CD

    Hi all,
    I got a problem with my cd reader: there is no CD inside, but there is a CD icon called "Bluebirds" on my desktop, as if it were a CD. I can "eject" it from the contextual menu and the cd case opens and the icon is gone; i close it again and it appears once more. When i introduce a CD, it works well, though, and the icon isn't there, just to reappear when the cd is ejected.
    After a bit of searching:
    Code:
    Blurebirds Drag & Burn is disc writing software. It is included in the drives memory instead of being on a separate disc. Only certain drives have it (refer to the specs).
    [http://lgknowledgebase.com/kb/index....y&EntryID=6271]
    I have a LG cd reader, so that must be it. How do i fix it/get it working all right?

    Thanks for the help.

  2. #2
    Join Date
    Apr 2008
    Beans
    200
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ghost CD

    Without a real CD inside and the 'ghost' CD icon on the desktop goto terminal and type:

    Code:
    lshal
    Your going to see a bunch of stuff, look for something like this:
    Code:
    udi = '/org/freedesktop/Hal/devices/volume_label_VMware_Tools'
      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_VMware_IDE_CDR10'  (string)
    
    ....
    
      volume.disc.type = 'dvd_rom'  (string)
      volume.label = 'VMware Tools'  (string)
    The "volume.label =" is the name given to the icon you see automounted on your desktop. What I need to know from your comp is what it has for "block.device =" parameter. So with no real cd, does block.device = '/dev/sr0'? When you have a real CD does the ghost CD still appear on desktop? If it is, does the parameter "block.device = '/dev/sr0'" still point to the 'ghost' disc? or does it change?

  3. #3
    Join Date
    Apr 2008
    Beans
    200
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ghost CD

    Easier yet do:

    Code:
    lshal > ~/Desktop/devicelist.txt
    gedit ~/Desktop/devicelist.txt
    Then search for BlueBirds, that will narrow the search to the right device entry..

  4. #4
    Join Date
    Apr 2008
    Beans
    200
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ghost CD

    Code:
    <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
    
    <deviceinfo version="0.2">
    
    <device>
    <match key="volume.label" string="Bluebirds">
    <merge key="volume.ignore" type="bool">true</merge>
    </match>
    </device>
    
    </deviceinfo>
    Open gedit, past that code into a new document.
    Save to Desktop as diebluebirds.fdi
    Open Terminal do:

    Code:
    sudo mv ~/Desktop/diebluebirds.fdi /etc/hal/fdi/policy
    sudo /etc/init.d/hal restart
    You may have to restart machine, I'm not sure what restarting hal will do when its already automounted on your desktop.

    Without more info from you, this will ignore anything with Bluebirds as a volume label. Its case sensitive so make sure it is Bluebirds and not bluebirds. Most likely nothing else will ever have this name, but the best solution would be narrow the filter down with more than just the volume label.

  5. #5
    Join Date
    Nov 2007
    Beans
    16

    Re: Ghost CD

    What I need to know from your comp is what it has for "block.device =" parameter. So with no real cd, does block.device = '/dev/sr0'?
    Yes
    When you have a real CD does the ghost CD still appear on desktop?
    No



    Without more info from you, this will ignore anything with Bluebirds as a volume label. Its case sensitive so make sure it is Bluebirds and not bluebirds. Most likely nothing else will ever have this name, but the best solution would be narrow the filter down with more than just the volume label.
    That means that there is no other way than to explicitly ignore anything called Blubirds?

  6. #6
    Join Date
    Apr 2008
    Beans
    200
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ghost CD

    No thats not the only way. You could match more than just one property. You would have to post your lshal output with an actual disc in and without for me to see if there is more properties that make the rule more unique.

  7. #7
    Join Date
    Oct 2008
    Beans
    81
    Distro
    Ubuntu 9.10 Karmic Koala

    Post Re: Ghost CD

    related: http://ubuntuforums.org/showthread.p...16#post7713016

    I'll post lshal for ya, meanwhile I'll research about that hal guy.

    I can also add one thing to you: the behavior is the exact same on windows. The bluebirds appears as a wandering ghost while no media is inserted on the drive. Quite annoying "added feature" from LG, but I guess it only disturbs ubuntu users and odd glassed people as myself (although I don't use 'em).

    Plus, I've tried mounting it as RW so I could freaking delete the files, but with no success... Here's what oddly happened:



    And next there are the parts of your interest on lshal's.

    mounted (as on the picture) lshal
    Code:
    udi = '/org/freedesktop/Hal/devices/volume_label_Bluebirds'
      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_DVDRAM_GH22NS50'  (string)
      info.capabilities = {'volume.disc', 'volume', 'block'} (string list)
      info.category = 'volume'  (string)
      info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GH22NS50'  (string)
      info.product = 'Bluebirds'  (string)
      info.udi = '/org/freedesktop/Hal/devices/volume_label_Bluebirds'  (string)
      linux.hotplug_type = 3  (0x3)  (int)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0/fakevolume'  (string)
      org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_options', 'extra_options', 'extra_options'} (string list)
      org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list)
      org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
      org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list)
      volume.block_size = 2048  (0x800)  (int)
      volume.disc.capacity = 6293504  (0x600800)  (uint64)
      volume.disc.has_audio = false  (bool)
      volume.disc.has_data = true  (bool)
      volume.disc.is_appendable = false  (bool)
      volume.disc.is_blank = false  (bool)
      volume.disc.is_blurayvideo = false  (bool)
      volume.disc.is_rewritable = false  (bool)
      volume.disc.is_svcd = false  (bool)
      volume.disc.is_vcd = false  (bool)
      volume.disc.is_videodvd = false  (bool)
      volume.disc.type = 'cd_rom'  (string)
      volume.fstype = 'iso9660'  (string)
      volume.fsusage = 'filesystem'  (string)
      volume.fsversion = ''  (string)
      volume.ignore = false  (bool)
      volume.is_disc = true  (bool)
      volume.is_mounted = true  (bool)
      volume.is_mounted_read_only = true  (bool)
      volume.is_partition = false  (bool)
      volume.label = 'Bluebirds'  (string)
      volume.linux.is_device_mapper = false  (bool)
      volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'uid=', 'mode=', 'iocharset='} (string list)
      volume.mount_point = '/media/cdrom0'  (string)
      volume.num_blocks = 12292  (0x3004)  (uint64)
      volume.size = 6293504  (0x600800)  (uint64)
      volume.unmount.valid_options = {'lazy'} (string list)
      volume.uuid = ''  (string)
    umounted lshal
    Code:
    udi = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GH22NS50'
      access_control.file = '/dev/sr0'  (string)
      access_control.type = 'cdrom'  (string)
      block.device = '/dev/sr0'  (string)
      block.is_volume = false  (bool)
      block.major = 11  (0xb)  (int)
      block.minor = 0  (0x0)  (int)
      block.storage_device = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GH22NS50'  (string)
      info.addons = {'hald-addon-storage'} (string list)
      info.callouts.add = {'hal-acl-tool --add-device'} (string list)
      info.callouts.remove = {'hal-acl-tool --remove-device'} (string list)
      info.capabilities = {'storage', 'block', 'storage.cdrom', 'access_control'} (string list)
      info.category = 'storage'  (string)
      info.interfaces = {'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage.Removable'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/pci_8086_2652_scsi_host_0_scsi_device_lun0'  (string)
      info.product = 'DVDRAM GH22NS50'  (string)
      info.udi = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GH22NS50'  (string)
      info.vendor = 'HL-DT-ST'  (string)
      linux.hotplug_type = 3  (0x3)  (int)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0'  (string)
      org.freedesktop.Hal.Device.Storage.method_argnames = {'extra_options', 'extra_options'} (string list)
      org.freedesktop.Hal.Device.Storage.method_execpaths = {'hal-storage-eject', 'hal-storage-closetray'} (string list)
      org.freedesktop.Hal.Device.Storage.method_names = {'Eject', 'CloseTray'} (string list)
      org.freedesktop.Hal.Device.Storage.method_signatures = {'as', 'as'} (string list)
      storage.automount_enabled_hint = true  (bool)
      storage.bus = 'pci'  (string)
      storage.cdrom.bd = false  (bool)
      storage.cdrom.bdr = false  (bool)
      storage.cdrom.bdre = false  (bool)
      storage.cdrom.cdr = true  (bool)
      storage.cdrom.cdrw = true  (bool)
      storage.cdrom.dvd = true  (bool)
      storage.cdrom.dvdplusr = true  (bool)
      storage.cdrom.dvdplusrdl = true  (bool)
      storage.cdrom.dvdplusrw = true  (bool)
      storage.cdrom.dvdplusrwdl = false  (bool)
      storage.cdrom.dvdr = true  (bool)
      storage.cdrom.dvdram = true  (bool)
      storage.cdrom.dvdrdl = true  (bool)
      storage.cdrom.dvdrw = true  (bool)
      storage.cdrom.hddvd = false  (bool)
      storage.cdrom.hddvdr = false  (bool)
      storage.cdrom.hddvdrw = false  (bool)
      storage.cdrom.mo = false  (bool)
      storage.cdrom.mrw = true  (bool)
      storage.cdrom.mrw_w = true  (bool)
      storage.cdrom.read_speed = 8467  (0x2113)  (int)
      storage.cdrom.support_media_changed = true  (bool)
      storage.cdrom.support_multisession = true  (bool)
      storage.cdrom.write_speed = 8468  (0x2114)  (int)
      storage.cdrom.write_speeds = {'8468', '8467', '7057', '7056', '5646', '5645', '4235', '4234', '2822', '1411', '706'} (string list)
      storage.drive_type = 'cdrom'  (string)
      storage.firmware_version = 'TN00'  (string)
      storage.hotpluggable = false  (bool)
      storage.lun = 0  (0x0)  (int)
      storage.media_check_enabled = true  (bool)
      storage.model = 'DVDRAM GH22NS50'  (string)
      storage.no_partitions_hint = true  (bool)
      storage.originating_device = '/org/freedesktop/Hal/devices/computer'  (string)
      storage.partitioning_scheme = ''  (string)
      storage.removable = true  (bool)
      storage.removable.media_available = false  (bool)
      storage.removable.media_size = 6293504  (0x600800)  (uint64)
      storage.removable.support_async_notification = false  (bool)
      storage.requires_eject = true  (bool)
      storage.size = 0  (0x0)  (uint64)
      storage.vendor = 'HL-DT-ST'  (string)
    
    udi = '/org/freedesktop/Hal/devices/pci_8086_2652_scsi_host_0_scsi_device_lun0_scsi_generic'
      access_control.file = '/dev/sg1'  (string)
      access_control.type = 'cdrom'  (string)
      info.callouts.add = {'hal-acl-tool --add-device'} (string list)
      info.callouts.remove = {'hal-acl-tool --remove-device'} (string list)
      info.capabilities = {'scsi_generic', 'access_control'} (string list)
      info.category = 'scsi_generic'  (string)
      info.parent = '/org/freedesktop/Hal/devices/pci_8086_2652_scsi_host_0_scsi_device_lun0'  (string)
      info.product = 'SCSI Generic Interface'  (string)
      info.subsystem = 'scsi_generic'  (string)
      info.udi = '/org/freedesktop/Hal/devices/pci_8086_2652_scsi_host_0_scsi_device_lun0_scsi_generic'  (string)
      linux.device_file = '/dev/sg1'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'scsi_generic'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/scsi_generic/sg1'  (string)
      scsi_generic.device = '/dev/sg1'  (string)
    I've only found difference on read_speed (from 8467 to 1764), partitioning_scheme (from existant to not there) and media_available (from false to true).
    Attached Images Attached Images

  8. #8
    Join Date
    Oct 2008
    Beans
    81
    Distro
    Ubuntu 9.10 Karmic Koala

    Wink Re: Ghost CD

    Quote Originally Posted by Jebtrix View Post
    Code:
    <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
    
    <deviceinfo version="0.2">
    
    <device>
    <match key="volume.label" string="Bluebirds">
    <merge key="volume.ignore" type="bool">true</merge>
    </match>
    </device>
    
    </deviceinfo>
    Open gedit, past that code into a new document.
    Save to Desktop as diebluebirds.fdi
    Open Terminal do:

    Code:
    sudo mv ~/Desktop/diebluebirds.fdi /etc/hal/fdi/policy
    sudo /etc/init.d/hal restart
    You may have to restart machine, I'm not sure what restarting hal will do when its already automounted on your desktop.

    Without more info from you, this will ignore anything with Bluebirds as a volume label. Its case sensitive so make sure it is Bluebirds and not bluebirds. Most likely nothing else will ever have this name, but the best solution would be narrow the filter down with more than just the volume label.
    By the way, you could use

    Code:
    sudo service hal restart
    And your patch worked! Both with the service restart, and after rebooting my machine. It's ugly as hell (developer-wise), but at least bluebirds is gone!

    Have fun with the lshal, tho.
    Last edited by caue.rego; August 1st, 2009 at 01:38 AM. Reason: adding info

  9. #9
    Join Date
    Nov 2007
    Location
    Ottawa, Canada
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ghost CD

    Assuming you have the LG GH22NS50, you can remove that stupid Bluebirds thing using the tool here:

    http://www.lge.com/us/support/produc...lCode=GH22NS50

    Also discussed here:

    http://www.msfn.org/board/lg-gh22ns5...l&#entry881021
    Last edited by Krallus; September 4th, 2009 at 06:40 AM.

  10. #10
    Join Date
    Oct 2008
    Beans
    81
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ghost CD

    Quote Originally Posted by Krallus View Post
    Assuming you have the LG GH22NS50, you can remove that stupid Bluebirds thing using the tool here:

    http://www.lge.com/us/support/produc...lCode=GH22NS50

    Also discussed here:

    http://www.msfn.org/board/lg-gh22ns5...l&#entry881021
    thank you, finally LG took a step!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •