Martin Pitt <email address hidden> писал(а) в своём письме 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 /dev/sr0 [sudo] password for d: main: probing: '/dev/sr0' cd_media_compat: CDROM_DRIVE_STATUS != CDS_DISC_OK cd_inquiry: INQUIRY: [HL-DT-ST][DVDRAM GSA-T20N ][WP03] cd_profiles: GET CONFIGURATION: size of features buffer 0x0158 cd_profiles: GET CONFIGURATION: feature 'profiles', with 14 entries feature_profiles: profile 0x12 dvd_ram feature_profiles: profile 0x11 <ignored> feature_profiles: profile 0x15 <ignored> feature_profiles: profile 0x16 <ignored> feature_profiles: profile 0x14 dvd_rw feature_profiles: profile 0x13 dvd_rw feature_profiles: profile 0x1a dvd_plus_rw feature_profiles: profile 0x1b dvd_plus_r feature_profiles: profile 0x2b dvd_plus_r_dl feature_profiles: profile 0x10 dvd_rom feature_profiles: profile 0x09 cd_r feature_profiles: profile 0x0a cd_rw feature_profiles: profile 0x08 cd_rom feature_profiles: profile 0x02 <ignored> cd_profiles: GET CONFIGURATION: feature 0x0001 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0002 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0003 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0004 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0010 <ignored>, with 0x08 bytes cd_profiles: GET CONFIGURATION: feature 0x001d <ignored>, with 0x00 bytes cd_profiles: GET CONFIGURATION: feature 0x001e <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x001f <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0020 <ignored>, with 0x0c bytes cd_profiles: GET CONFIGURATION: feature 0x0021 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0023 <ignored>, with 0x00 bytes cd_profiles: GET CONFIGURATION: feature 0x0024 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0026 <ignored>, with 0x00 bytes cd_profiles: GET CONFIGURATION: feature 0x002a <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x002b <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x002c <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x002d <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x002e <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x002f <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0033 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0037 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x003b <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0100 <ignored>, with 0x00 bytes cd_profiles: GET CONFIGURATION: feature 0x0101 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0103 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0104 <ignored>, with 0x00 bytes cd_profiles: GET CONFIGURATION: feature 0x0105 <ignored>, with 0x00 bytes cd_profiles: GET CONFIGURATION: feature 0x0106 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0107 <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x0108 <ignored>, with 0x0c bytes cd_profiles: GET CONFIGURATION: feature 0x010a <ignored>, with 0x0c bytes cd_profiles: GET CONFIGURATION: feature 0x010b <ignored>, with 0x04 bytes cd_profiles: GET CONFIGURATION: feature 0x010c <ignored>, with 0x10 bytes cd_profiles: no current profile, assuming no media ID_CDROM=1 ID_CDROM_CD=1 ID_CDROM_CD_R=1 ID_CDROM_CD_RW=1 ID_CDROM_DVD=1 ID_CDROM_DVD_R=1 ID_CDROM_DVD_RW=1 ID_CDROM_DVD_RAM=1 ID_CDROM_DVD_PLUS_R=1 ID_CDROM_DVD_PLUS_RW=1 ID_CDROM_DVD_PLUS_R_DL=1 ID_CDROM_MRW=1 ID_CDROM_MRW_W=1
Yours, Dmitriy Kodanev
Martin Pitt <email address hidden> писал(а) в своём письме 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 /dev/sr0 DVD_PLUS_ R=1 DVD_PLUS_ RW=1 DVD_PLUS_ R_DL=1
[sudo] password for d:
main: probing: '/dev/sr0'
cd_media_compat: CDROM_DRIVE_STATUS != CDS_DISC_OK
cd_inquiry: INQUIRY: [HL-DT-ST][DVDRAM GSA-T20N ][WP03]
cd_profiles: GET CONFIGURATION: size of features buffer 0x0158
cd_profiles: GET CONFIGURATION: feature 'profiles', with 14 entries
feature_profiles: profile 0x12 dvd_ram
feature_profiles: profile 0x11 <ignored>
feature_profiles: profile 0x15 <ignored>
feature_profiles: profile 0x16 <ignored>
feature_profiles: profile 0x14 dvd_rw
feature_profiles: profile 0x13 dvd_rw
feature_profiles: profile 0x1a dvd_plus_rw
feature_profiles: profile 0x1b dvd_plus_r
feature_profiles: profile 0x2b dvd_plus_r_dl
feature_profiles: profile 0x10 dvd_rom
feature_profiles: profile 0x09 cd_r
feature_profiles: profile 0x0a cd_rw
feature_profiles: profile 0x08 cd_rom
feature_profiles: profile 0x02 <ignored>
cd_profiles: GET CONFIGURATION: feature 0x0001 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0002 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0003 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0004 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0010 <ignored>, with 0x08 bytes
cd_profiles: GET CONFIGURATION: feature 0x001d <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x001e <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x001f <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0020 <ignored>, with 0x0c bytes
cd_profiles: GET CONFIGURATION: feature 0x0021 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0023 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0024 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0026 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x002a <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002b <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002c <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002d <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002e <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002f <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0033 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0037 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x003b <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0100 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0101 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0103 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0104 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0105 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0106 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0107 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0108 <ignored>, with 0x0c bytes
cd_profiles: GET CONFIGURATION: feature 0x010a <ignored>, with 0x0c bytes
cd_profiles: GET CONFIGURATION: feature 0x010b <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x010c <ignored>, with 0x10 bytes
cd_profiles: no current profile, assuming no media
ID_CDROM=1
ID_CDROM_CD=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_RAM=1
ID_CDROM_
ID_CDROM_
ID_CDROM_
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
Yours,
Dmitriy Kodanev