Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-22 Thread Martin Pitt
FrenchNux [2009-04-22 7:45 -]: > upstream fix don't fix bug ! Can you please copy&paste the output of sudo udevadm monitor --udev --environment with the PPA package installed, and when you open the drive? (and it auto-closes again). Thanks! -- CD-ROM tray closes automatically after ejec

Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-21 Thread Scott James Remnant
On Tue, 2009-04-21 at 07:11 +, Martin Pitt wrote: > Scott James Remnant [2009-04-21 1:41 -]: > > But does the attribute you point to only indicate that there is no CD in > > the drive? The cursory examination I've done, along with the very name > > of the setting, suggests that a CD _in_

Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-21 Thread Martin Pitt
Scott James Remnant [2009-04-21 1:41 -]: > But does the attribute you point to only indicate that there is no CD in > the drive? The cursory examination I've done, along with the very name > of the setting, suggests that a CD _in_the_drive_ may be "blank". *Nod* But then the CD still wouldn'

Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-20 Thread Scott James Remnant
On Mon, 2009-04-20 at 15:07 +, Martin Pitt wrote: > Scott James Remnant [2009-04-20 14:38 -]: > > But the hack fix is not going to go upstream, and you specifically > > suggested sending it upstream. > > I don't consider it a hack at all. It's a matter of style or opinion > whether you ex

Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-20 Thread Martin Pitt
Scott James Remnant [2009-04-20 14:38 -]: > But the hack fix is not going to go upstream, and you specifically > suggested sending it upstream. I don't consider it a hack at all. It's a matter of style or opinion whether you expect the track/session counts to have any meaning if there is no CD

Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-20 Thread Scott James Remnant
On Mon, 2009-04-20 at 11:34 +, Martin Pitt wrote: > Scott James Remnant [2009-04-20 10:47 -]: > > Why is this better than fixing the kernel to set those counts to 0 for > > blank media rather than returning initialised data? > > An SRU which just adds one obvious udev rule is easier to re

Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-20 Thread Martin Pitt
Scott James Remnant [2009-04-20 10:47 -]: > Why is this better than fixing the kernel to set those counts to 0 for > blank media rather than returning initialised data? An SRU which just adds one obvious udev rule is easier to review and get through as SRU than a kernel update? Also, we have a

Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-20 Thread Scott James Remnant
On Mon, 2009-04-20 at 06:51 +, Martin Pitt wrote: > So the kernel bug is that the SCSI command to read CD information does > not set those counts to 0 for blank media. I leave it open. > > Instead of modifying the udev rules, ./extras/cdrom_id/cdrom_id.c, > cd_media_info() could also zero tho

Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-08 Thread Scott James Remnant
On Wed, 2009-04-08 at 16:29 +, FrenchNux wrote: > i disabled > > # probe filesystem metadata of optical drives which have a media inserted > # KERNEL=="sr*", ENV{ID_CDROM_MEDIA_TRACK_COUNT}=="?*", > IMPORT{program}="vol_id --export --skip-raid > --offset=$env{ID_CDROM_MEDIA_SESSION_LAST_OFF

Re: [Bug 356631] Re: CD-ROM tray closes automatically after eject

2009-04-07 Thread Scott James Remnant
On Wed, 2009-04-08 at 01:11 +, Brian Murray wrote: > bug 353657 may be a duplicate of this > Is there any evidence that udev is causing this? Scott -- Scott James Remnant sc...@canonical.com -- CD-ROM tray closes automatically after eject https://bugs.launchpad.net/bugs/356631 You receiv