~ubuntu-core-dev/ubuntu/maverick/udev/ubuntu

Viewing all changes in revision 2622.

  • Committer: Martin Pitt
  • Date: 2010-10-08 20:25:02 UTC
  • Revision ID: martin.pitt@canonical.com-20101008202502-nf73klumhvakwd9m
* cdrom_id: Backport two fixes from upstream git head to fix media detection
  of drives:
  - Fall back to CDROM_DRIVE_STATUS if the drive neither support the SCSI
    "GET CONFIGURATION" nor the older (pre-MMC2) "READ DISC INFORMATION"
    command. This fixes media detection on the IronKey and similar encrypted
    USB sticks.
  - Don't read beyond "last track" in TOC. Read the first and last track
    from the TOC header, and do not go beyond that stated number of tracks
    when reading the TOC. Otherwise we interpret random data which leads to
    bogus tracks. (Reported on an IronKey, which reported 1 data track, and
    4 audio tracks which weren't actually present.)
  - LP: #653568

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: