Ubuntu

lp:ubuntu/lucid-proposed/udev

Created by James Westby on 2010-08-23 and last modified on 2010-11-12
Get this branch:
bzr branch lp:ubuntu/lucid-proposed/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:
Mature

Recent revisions

175. By Martin Pitt on 2010-11-12

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)

174. By Martin Pitt on 2010-10-21

* 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.)

173. By Martin Pitt on 2010-08-20

* 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 on 2010-04-19

* 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 on 2010-04-15

* 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 on 2010-04-13

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 on 2010-04-13

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).

168. By Martin Pitt on 2010-04-09

* Merge some fixes from GIT HEAD:
  - Fix keymaps for upcoming Dell laptops.
  - cdrom_id: Retry to open the device if it's EBUSY. (LP: #554433)

167. By Martin Pitt on 2010-03-29

* Fix key map for Acer TravelMate 6593G and Acer Aspire 1640. (From GIT
  HEAD). (LP: #536914)
* extras/cdrom_id/60-cdrom_id.rules: Probe hd[a-z] as well, to cover CD
  drives on platforms (like powerpc) which still use IDE driver, like
  ide-pmac. (LP: #534912)

166. By Martin Pitt on 2010-03-24

* Merge some fixes from GIT HEAD:
  - key release quirk for Fujitsu Amilo 1848+u (LP: #530089)
  - key release quirk for Samsung Q210/P210 (LP: #530093)
  - key maps for Acer TravelMate 6593G and Acer Aspire 1640 (LP: #536914)
  - Decrease buffer size when advancing past NUL byte, to fix a buffer
    overflow the buffer if space is tight.
  - udev-acl: Correctly handle ENV{ACL_MANAGE}==0
  - input_id: Fix linking
  - firmware: fix possible segfault when firmware device goes away while
    loading
  - Fix switching Logitech bluetooth adapters into HCI mode. (LP: #444420)
  - cdrom_id: Open non-mounted optical media with O_EXCL. This should
    prevent confusing drives during CD burning sessions.

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