From 7c07740ce7b0941844b15573449a730283d5bba5 Mon Sep 17 00:00:00 2001 From: Mike Brudevold Date: Thu, 15 Apr 2010 19:55:50 -0500 Subject: [PATCH] cdrom_id: add missing profiles to feature_profiles Signed-off-by: Mike Brudevold --- extras/cdrom_id/cdrom_id.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c index 722b8f8f4..da2785ee3 100644 --- a/extras/cdrom_id/cdrom_id.c +++ b/extras/cdrom_id/cdrom_id.c @@ -274,6 +274,18 @@ static int feature_profiles(struct udev *udev, const unsigned char *profiles, si info(udev, "profile 0x%02x mo\n", profile); cd_mo = 1; break; + case 0x08: + info(udev, "profile 0x%02x cd_rom\n", profile); + cd_cd_rom = 1; + break; + case 0x09: + info(udev, "profile 0x%02x cd_r\n", profile); + cd_cd_r = 1; + break; + case 0x0A: + info(udev, "profile 0x%02x cd_rw\n", profile); + cd_cd_rw = 1; + break; case 0x10: info(udev, "profile 0x%02x dvd_rom\n", profile); cd_dvd_rom = 1; -- 2.30.2