[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2011-01-17 Thread Robert Toole
Sadly, this still affects me.. I have the LG USB DVD drive, model LGPC-ODD dmesg reports it like this: usb-storage: device found at 5 usb-storage: waiting for device to settle before scanning usb-storage: device scan complete scsi 8:0:0:0: CD-ROMHL-DT-ST DVDRAM GSA-T20N WH01 PQ: 0

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2011-01-09 Thread Ron_
If there are any Karmic users still subscribed to this bug, I could use some help over at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/676351 . As far as I can tell, it differs from this bug only by Ubuntu release. Karmic is supposed to be supported for another 10 months. -- You

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-12-05 Thread jonie
Jordie9: It looks like your drive reports that either: - there is optical media inside but it matches no known hardware profile - or the drive falsely claims there is media inserted when in fact there is none So please tell us which of the above is true, i.e. whether the log was done with or

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-12-04 Thread jordie9
I have the same problem. Here is the output: '/dev/sr0' cd_inquiry: INQUIRY: [PIONEER ][BD-ROM BDC-TD01][1.01] cd_profiles: GET CONFIGURATION: size of features buffer 0x018c cd_profiles: GET CONFIGURATION: feature 'profiles', with 15 entries feature_profiles: profile 0x40 bd feature_profiles:

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-11-09 Thread Launchpad Bug Tracker
This bug was fixed in the package udev - 151-12.2 --- udev (151-12.2) lucid-proposed; urgency=low * Backport cdrom_id from maverick: - Fix detection of reblanked DVD+RW and DVD-RAM. Once formatted, DVD+RW and DVD-RAM discs are always reported complete by t drive. Check

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-11-02 Thread oryan_dunn
Upgraded from lucid-proposed and it fixed the issue for me. Blanked DVD+RWs are now detected properly. It'd be nice if this was also backported to hardy as I still use that on a couple machines. -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-11-02 Thread Jean-Baptiste Lallement
Thanks for testing. Marking as verification-done ** Tags added: verification-done ** Tags removed: verification-needed -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-29 Thread jonie
Sorry, that was another copy of udev-151. Of course SRU package is ok. -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-29 Thread Ron_
Now that a fix has been released for Lucid, please consider issuing a release for those of us still using Karmic. This bug was first reported over a year ago. That is the amount of time that I have been soldiering on with a crippled system. I hope you can understand that, for a beginner,

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-29 Thread Colin Watson
Accepted udev into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed --

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-29 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/udev -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-27 Thread jonie
Martin, the code submitted to SRU PPA still contains the bug we discussed in the turn of August / September, i.e. the distinction between DWD-RW modes is put into feature_profiles instead of cd_profiles, so the testers will be affected in the same way Arch users were. -- cdrom_id: Does not

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-26 Thread jonie
Martin, Yet another patch. If the disc is unreadable and reading of the first 32 blocks fails set the cd_media status to 0 (not present). This will prevent udev from executing blkid next that tries to determine fs on the disc and which in this case may seem to hang forever locking the drive. **

Re: [Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-26 Thread Martin Pitt
jonie, jonie [2010-10-26 9:36 -]: Yet another patch. Nice catch, thanks! Pushed to upstream git master. -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- cdrom_id: Does not recognize reblanked DVD+RW,

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid/udev -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-21 Thread Martin Pitt
@ubuntu-sru: I just uploaded an updated udev to lucid-proposed which fixes this. Please see bug 653568 for the detailled SRU information. ** Changed in: udev (Ubuntu Lucid) Milestone: None = ubuntu-10.04.2 ** Changed in: udev (Ubuntu Lucid) Milestone: ubuntu-10.04.2 = ubuntu-10.04.3 **

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-11 Thread Amatriain
The problems with my optical drives have disappeared since upgrading to Meerkat. Thanks for looking into this. -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs,

Re: [Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-08 Thread Martin Pitt
Hello timroll, timroll [2010-10-07 17:56 -]: d...@d-l:~$ sudo /lib/udev/cdrom_id --debug /dev/sr0 [...] cd_profiles: profile 0x1a media_dvd_plus_rw cd_media_toc: READ TOC: len: 20, start track: 1, end track: 1 cd_media_toc: track=1 info=0x4(data) start_block=0 cd_media_toc: last track 1

Re: [Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-08 Thread timroll
Martin Pitt martin.p...@ubuntu.com писал(а) в своём письме Fri, 08 Oct 2010 10:21:28 +0400: There should have been a lot of ID_CDROM_...=... lines. And just once again. With DVD+RW inserted. d...@d-l:~$ sudo /lib/udev/cdrom_id --debug /dev/sr0 main: probing: '/dev/sr0' cd_inquiry: INQUIRY:

Re: [Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-08 Thread timroll
Martin Pitt martin.p...@ubuntu.com писал(а) в своём письме Fri, 08 Oct 2010 10:21:28 +0400: This looks good so far, but was that really everything? There should have been a lot of ID_CDROM_...=... lines. I suppose you wish to see this, don't you? d...@d-l:~$ sudo /lib/udev/cdrom_id --debug

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-08 Thread Martin Pitt
Splendid, thanks! -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

Re: [Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-07 Thread timroll
Excuse me for my English, Martin. I'll tell you what I've done. I use Ubuntu Lucid. I've updated udev, libudev0 and libgudev-1.0-0 packages from your ppa. Then I've inserted DVD+RW with an information recorded on it. Then I typed in terminal the command 'sudo /lib/udev/cdrom_id --debug

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-10-06 Thread Martin Pitt
For people who are affected by this and are using 10.04: Can you please add my sru-test PPA at https://launchpad.net/~pitti/+archive/sru-test and upgrade to the udev there? This should fix the issue. Can you please give me the output of sudo /lib/udev/cdrom_id --debug /dev/sr0 again, together

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-09-04 Thread jonie
Martin, It looks like Arch is using hald simultaneously with udev. I tested the flawed build from Arch in Ubuntu on three different drives and see no issues. Although 17 sectors is very unusual, it mostly works. Couldn't be that a race condition with hald, that is deprecated in Ubuntu since

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-09-04 Thread jonie
Caught red-handed! The issue occurs if the media is appendable (status 1): because of the improperly applied DVD-RW media variable (in features instead of profiles) , everything is DVD-RW restricted overwrite just if the device is DVD recorder and if the disk is appendable (CD-R, CD-RW or DVD-RW

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-30 Thread Martin Pitt
jonie, there is a regression report at http://bugs.archlinux.org/task/20550?string=udevproject=1type[0]=sev[0]=pri[0]=due[0]=reported[0]=cat[0]=status[0]=openpercent[0]=opened=dev=closed=duedatefrom=duedateto=changedfrom=changedto=openedfrom=openedto=closedfrom=closedto= and

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-30 Thread jonie
Martin, the regressions snug in someway - the patch to tell dwd-rw in sequential mode from restricted overwrite mode posted in comment #63 is correct and is exactly the same as your proposed fix, but I can take the blame for not having revised the committed code thoroughly - I don't know, where

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-30 Thread jonie
Now it seems clear to me that if you request 17 blocks, many if not most of firmwares will check only the MSB and make it 16 blocks, what means that just sector 0 will be checked, which is non-empty solely in case of rewritable DVD formatted to a filesystem such as fat32/ext2, all ISO and UDF

Re: [Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-30 Thread Martin Pitt
jonie [2010-08-30 14:31 -]: - the patch to tell dwd-rw in sequential mode from restricted overwrite mode posted in comment #63 is correct and is exactly the same as your proposed fix, but I can take the blame for not having revised the committed code thoroughly Then it was probably me

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-30 Thread jonie
I think there's nothing to worry, just to be exact the commit http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=1ef6c9e9f0f405d1fed403c13c57a233a484bed7 is wrong in that it should be 32 where there is 17 (I didn't notice that you changed it) Thanks for your report jonie --

Re: [Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-30 Thread Martin Pitt
jonie [2010-08-30 16:28 -]: Now it seems clear to me that if you request 17 blocks, many if not most of firmwares will check only the MSB and make it 16 blocks Ah, I didn't consider this, thanks for pointing out! Seems my CD drive is unhelpfully correct then :) Committed to trunk. Thanks,

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-23 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/maverick/udev/ubuntu -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-21 Thread Launchpad Bug Tracker
This bug was fixed in the package udev - 161+git20100820-1 --- udev (161+git20100820-1) maverick; urgency=low * New upstream release 161, plus fixes from git head: (LP: #620977) - udevadm trigger now defaults to change instead of add. - modem modeswitch removed, use

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/udev -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-20 Thread Martin Pitt
Eventually we should backport this to lucid, but let's give it some time to bake in Maverick first (see bug 620977). ** Also affects: udev (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: udev (Ubuntu Maverick) Importance: Medium Status: Fix Committed **

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-12 Thread jonie
Yet another fix: no next session for appendable DVD-RW 13h, this fixes the aforementioned iso burning bug: - if ((header[2] 3) 2) + if ((header[2] 3) 2 !cd_media_dvd_rw_ro) cd_media_session_next = header[10] 8 | header[5]; -- cdrom_id: Does not recognize

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-12 Thread Martin Pitt
Just to be sure, by aforementioned burning bug, do you mean the second paragraph in comment 62, right? That was supposed to be fixed in http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=cf2205a1986222fdc0238190f5742f54d943cd23 , so that it reports the correct state blank. So brasero

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-12 Thread jonie
You're right. I meant comment #62 - the disc was recognized and it was possible to burn a data compilation, but Brasero choked when burning an iso image. I thought initially that it is a problem with Brasero, but after patching ID_CDROM_MEDIA_SESSION_NEXT it works well in both modes. The fix you

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-12 Thread jonie
There are two elements that need to be put together as I figured it out: - are there any usable data we want to preserve, if not set the status to blank - can we append a session - for rewritable DVD we can't with two exceptions: a virgin DVD+RW (that is reported blank by the drive) and DVD-RW

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-12 Thread Martin Pitt
Thanks jonie, pushed upstream in commit b367a1c9d8a0f565effcdb45f86a365be1c8b622. -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-11 Thread jonie
Also thanks! I hope this includes all scenarios, what about printing the original status for debugging information, just to eat a cake and still have a cake? info(udev, hardware disk status: %s\n, media_status[header[2] 3]); -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

Re: [Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-11 Thread Martin Pitt
jonie [2010-08-11 13:41 -]: I hope this includes all scenarios, what about printing the original status for debugging information Sure, committed to trunk. Thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-10 Thread jonie
** Summary changed: - cdrom_id: Does not recognize reblanked DVD+RW and DVD-RAM + cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug notification

[Bug 581925] Re: cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM

2010-08-10 Thread Martin Pitt
I applied that in http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=cf2205a1986222fdc0238190f5742f54d943cd23 . Thanks for all your work on this! -- cdrom_id: Does not recognize reblanked DVD+RW, DVD-RW and DVD-RAM https://bugs.launchpad.net/bugs/581925 You received this bug