1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
systemd/extras
Kay Sievers bc913ce478 cdrom_id: set ID_CDROM_MEDIA=1 only for known media
On Sat, Apr 17, 2010 at 18:26, Mike Brudevold <mike@brudevold.com> wrote:
> My CD-RW drive experiences a problem in that it automatically closes
> after opening if there is media in the drive.  This only happens if
> there was media in the drive when it was last closed (an empty drive
> stays open).
...
> cd_profiles: current profile 0x02
> cd_profiles: profile 0x02 <ignored>
...

Do not pretend to have a media, when we receive a profile like 0x02,
which just means "Removable disk".

Thanks to Mike Brudevold for the initial patch.
2010-04-17 19:31:44 +02:00
..
ata_id Export ID_WWN_VENDOR_EXTENSION and ID_WWN_WITH_EXTENSION 2009-12-04 11:40:00 -05:00
cdrom_id cdrom_id: set ID_CDROM_MEDIA=1 only for known media 2010-04-17 19:31:44 +02:00
collect fix randonm findings from llvm-clang-analyzer 2009-09-08 22:11:04 +02:00
edd_id replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
firmware firmware: fix possible segfault when firmware device goes away while loading 2010-03-16 10:57:44 +01:00
floppy Fix reverted floppy-device permissions 2010-01-11 10:44:37 +01:00
fstab_import replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
gudev add LGPL COPYING to libudev and GUdev 2010-03-18 09:57:44 +01:00
hid2hci replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
input_id input_id: include limits.h 2010-01-21 08:46:17 +01:00
keymap replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
mobile-action-modeswitch extras: mobile-action-modeswitch - update gitignore 2010-04-07 09:16:47 +02:00
path_id fix spelling 2009-08-08 15:42:05 +02:00
rule_generator rule_generator: net - fix MATCHDEVID 2009-08-16 21:12:04 +02:00
scsi_id scsi_id: add rand() in retry loop 2010-04-07 09:22:30 +02:00
udev-acl replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
usb_id libudev: add udev_device_new_from_environment() 2010-03-17 17:42:35 +01:00
usb-db usb-db: remove double '/' 2010-04-12 16:10:05 +02:00
v4l_id replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00