lp:ubuntu/lucid/udev

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/lucid/udev
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

178. By Martin Pitt

releasing version 151-12.3

177. By Martin Pitt

debian/udev.initramfs-hook: If /sbin/udevadm.upgrade exists, copy that
into the initramfs instead of the shell script wrapper that we have during
udev upgrades. (LP: #672964)

176. By Martin Pitt

releasing version 151-12.2

175. By Martin Pitt

* Backport cdrom_id from maverick:
  - Fix detection of reblanked DVD+RW and DVD-RAM. Once formatted, DVD+RW
    and DVD-RAM discs are always reported "complete" by t drive. Check the
    if the Volume Descriptor or Volume Descriptor Anchor sector are empty,
    and if so, set the status to blank. (Regression from Ubuntu 9.10)
    (LP: #581925)
  - cdrom_id: Handle pre-MMC2 drives which do not yet support the 0x46 "GET
    CONFIGURATION" SCSI command. If we have those, fall back to the 0x51
    "READ DISC INFORMATION" call. This can only differentiate between CD-RW
    and CD-R, but first that's better than a complet detection failure, and
    second, those old drives likely don't support more modern media in the
    first place. (LP: #502143)
  - Fall back to CDROM_DRIVE_STATUS if all MMC commands fail. Reportedly,
    some 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 cd_media_compat() detected that there is a disc
    present, and assume that we have a CD-ROM medium. (Regression from
    Ubuntu 9.10). (LP: #653568)
  - READ TOC before READ DISC INFORMATION, to fix CD drives in qemu.
  - Don't read beyond "last track" in TOC. 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.)

174. By Martin Pitt

releasing version 151-12.1

173. By Martin Pitt

* Pull latest keymaps from trunk. These include the following LP bugs:
  - Toshiba Satellite U300 volume keys (LP: #271706)
  - Samsung N220 and many other models (LP: #554066)
  - Acer travelmate 4720 (LP: #569815)
  - Logitech Cordless Wave Pro (LP: #592371)

172. By Martin Pitt

* Cherrypick keymap fixes from trunk:
  - Unite laptop models needing common volume-key release quirk. Many laptop
    models need the same volume-key release quirk. Currently, two models
    have identical force-release-maps/ keymap files (dell-studio-1557 and
    fujitsu-amilo-si1848) and two more need to be added (Mitac and Coolbox
    QBook). This replaces the identical force-release-maps files with one
    'common-volume-keys' file to make adding new models easier.
    (LP: #565459)
  - Add force-release quirk for Coolbox QBook 270-02 (LP: #420473)
  - Add force-release quirk for Mitac 8050QDA (LP: #374884)

171. By Martin Pitt

* Fix cdrom_id even harder to correctly detecting media. (Committed to
  and cherrypicked from upstream git head):
  - Rework feature/profiles buffer parsing: Previously we were ignoring many
    profiles, which could lead to misdetecting the content types.
  - Print more debug messages with -d.
  - Do not ignore errors from scsi_cmd_run(). scsi_cmd_run() can return
    positive error messages if we have CHECK_CONDITION set and get the error
    code from the SCSI command result. So check the result for non-zero, not
    for being negative. This fix another common cause for "phantom" media
    in empty CD-ROM drives. (LP: #562978)
  - Swap media state and TOC info probing. Blank CDs do not have a TOC, thus
    will fail cd_media_toc() (at least with the "Do not ignore errors from
    scsi_cmd_run()" fix). Thus probe the media state first, so that we can
    properly detect blank media.

170. By Martin Pitt

cdrom_id: Turns out that some ioctls do not actually touch the result
buffer in some cases, so we need to zero the result buffers to avoid
interpreting random da CD properties. (LP: #559723, LP: #561585) Patch
also committed to upstream (2b861)

169. By Martin Pitt

cdrom_id: In cases where cdrom_id does not go through the entire code path
and one of the probing functions returns -1 or exits early, the remaining
variables were never initialized. This caused effects like "phantom" audio
CDs on empty drives, or bogus data like ID_CDROM_MEDIA_TRACK_COUNT=22528.
Initialize the variables right away to avoid that. (LP: #559723) Patch
committed to upstream git as well (816e6bf).

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/maverick/udev
This branch contains Public information 
Everyone can see this information.

Subscribers