summaryrefslogtreecommitdiff
path: root/extras/gudev
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-10-05 14:34:55 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2010-10-05 14:34:55 +0200
commitea88774a922c734afd751a59d8102bfa4806a1a6 (patch)
tree2486db5063a0b81bdad396f69f25e9fcbf3b9e41 /extras/gudev
parent0bd77e2acd0dc58c6eba16bb3c4c01865d090855 (diff)
cdrom_id: Try reading the medium if all MMC commands fail
Reportedly, some "when I'm grown up I want to be a CD drive" fake USB CD sticks like the IronKey neither support the SCSI "GET CONFIGURATION" nor the older (pre-MMC2) "READ DISC INFORMATION" command. In that case, check if we can read data from the drive, and assume that we have a CD-ROM medium if it succeeds.
Diffstat (limited to 'extras/gudev')
0 files changed, 0 insertions, 0 deletions