[Bug 109763] Re: Insert a rewriteable or blank disc when trying to use CD/DVD Creator, with blank disc in CDR drive
David's patch applied to hal 0.5.8.1 worked for me too. My drive is a Lite-on LTR12101B Greetings Ulrich -- Insert a rewriteable or blank disc when trying to use CD/DVD Creator, with blank disc in CDR drive https://bugs.launchpad.net/bugs/109763 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66254] Re: empty CD not correctly recognized by hal
Thank you David. Your patch worked for me too. My own patches posted on 2007-07-07 and 2007-07-08 don't work. I'm still trying to make them work. Unfortunately ubuntu update notifier constantly suggests to replace the patched version with a more recent version because I applied the patch to version 0.5.8.1 of hal. I saw that you tried to draw the hal developers' attention to the bug and your patch on the hal mailing list and I am astonished that neither the hal nor the ubuntu developers seem to take notice of it. -- empty CD not correctly recognized by hal https://bugs.launchpad.net/bugs/66254 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66254] Re: empty CD not correctly recognized by hal
** Attachment added: "Changes uncommented" http://launchpadlibrarian.net/8335900/get_disc_type -- empty CD not correctly recognized by hal https://bugs.launchpad.net/bugs/66254 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66254] Re: empty CD not correctly recognized by hal
Hello! I tried to apply the suggested changes to the source code of hal, but even before this I didn't manage to compile hal. It always ends up with an error message like this: /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libpci.a(names.o): In function `pci_load_name_list': (.text+0x538): undefined reference to `gzopen' I have installed the package zlib1g-dev. So I will attach the changes I have applied to the file hald/linux/probing/linux_dvd_rw_utils.c in the function get_disc_type. Perhaps anyone else will succeed in applying these changes and compiling hal. ** Attachment added: "get_disc_type" http://launchpadlibrarian.net/8333623/get_disc_type -- empty CD not correctly recognized by hal https://bugs.launchpad.net/bugs/66254 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66254] Re: empty CD not correctly recognized by hal
Hello! I have the same problem with my Lite-on LTR-12101B CD burner since the upgrade from ubuntu 6.06 to 6.10. Interestingly hal under 6.06 didn't recognize inserted media either. So my first supposition was that a change in the code of nautilus-cd-burner was responsible for the error. I found out that nautilus-cd-burner under 6.06 contained a non-hal-fallback-code which missed under 6.10 and 7.04. I compared the source code of hal and nautilus-cd-burner (6.06) which detects the disc type of the inserted media which gave me a hint how a possible solution of this problem might work: Under nautilus-cd-burner (ubuntu 6.06) I found the function nautilus_burn_drive_get_medi_type_from_path_full which calls the subfuction get_mmc_profile which can be found in the source code file dvd_plus_rw_utils.c up from line 159. As far as I understand the code an the comments this function at first calls a certain SCSI function which is called GET CONFIGURATION. The comments say that "some older drives support MMC-1 but don't support the GET CONFIGURATION command (which is part of the MMC-2 spec)". Therefore there is a fallback routine up from line 240 which tries to determine the disc type from the information if the disc is blank and/or erasable. The comment says: "if the profile has not yet been set, we're dealing with an older CD-R or CD-RW burner (which doesn't know the GET CONFIGURATION command. Do some digging into the disc type to figure out what's in the drive". In the hal code (version 0.5.8.1) the source code file hald/linux/probing/probe_volume.c seems to be interesting. In "main" it calls the function get_disc_type to determine the disc type. This function is coded in the file hald/linux/probing/linux_dvd_rw_utils.c up from line 743. In this function apparantly only the SCSI function GET CONFIGURATION is called. It doesn't seem to contain any code for older cd drives which do not support this command. For me this seems to be the probable reason why hal cannot detect the disc type in my cd burner. My burner is quite old (about 6 or 7 years). So my idea is to incorporate the fallback code of nautilus-cd-burner into hal. Perhaps this would solve the problem. Has anyone in this forum contact to the hal developers and could suggest this to them? -- empty CD not correctly recognized by hal https://bugs.launchpad.net/bugs/66254 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs