summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-12cdrom_id: Add media status debuggingMartin Pitt
Show which media status the hardware originally reports, since we mangle it in some cases.
2010-08-11release 161Kay Sievers
2010-08-11cdrom_id: do not bail out when we can not read the TOC like for empty CDRWKay Sievers
2010-08-11cdrom_id: READ TOC before READ DISC INFORMATION fixes qemuHarald Hoyer
2010-08-11cdrom_id: whitespace fixKay Sievers
2010-08-11do not rename the database on device renameKay Sievers
Harald Hoyer discovered some incorrect behavior while debugging problems with network interface renaming: Udev events might be queued for devices which are renamed. A new device registered the same time may claime the old name and create a database entry for it. The current rename logic would move over this databse entry to the wrong device.
2010-08-11always log error when renaming a network interface failsKay Sievers
2010-08-10cdrom_id: Fix state for fresh DVD-RWJan Drzewiecki
Fresh DVD-RW in restricted overwite mode reports itself as "appendable"; change it to "blank" to make it consistent with what gets reported after blanking, and what userspace expects. For the exotic case where some uses multi-track recording on a DVD-RW in sequential mode, we need to tell apart sequential and restricted overwrite modes, so keep separate states for them internally. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-10rule_generator/write_net_rules: prevent interface to be named "eth"Harald Hoyer
find_next_available() would return "eth" instead of "eth0"
2010-08-10udev-event.c: rename interface to <src>-<dest>, if <dest> takenHarald Hoyer
e.g. if eth0 should be eth3 and eth3 is waiting to be renamed, eth0 was renamed to eth0_rename. The kernel would take eth0 as the name for a new interface and this new eth0 could also become eth0_rename, if the target name is also taken. To prevent this name clash, the interfaces are now renamed to <src>-<dest> and the rename is logged.
2010-08-10fix broken "compile warning fix"Kay Sievers
2010-08-10udev-acl: add DDC_DEVICE to the types that are managedRichard Hughes
DDC_DEVICEs are control points for high-end monitors such as the HP DreamColor. The DDC/CI interface allows userspace applications to upload custom colorspaces and interact with the display without using the monitor hardware controls.
2010-08-08udev: fix compile warningYin Kangkai
CC udev/udevd.o In file included from udev/udev.h:27, from udev/udevd.c:47: ./libudev/libudev-private.h: In function ‘udev_selinux_setfscreateconat’: ./libudev/libudev-private.h:230: warning: declaration of ‘dirfd’ shadows a global declaration /usr/include/dirent.h:224: warning: shadowed declaration is here Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-08udevd: create static device links only when the target existsYin Kangkai
For example, not all systems have PROC_KCORE enabled. Avoid a broken symbolic link in those cases. Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-08udevd: fix unref'ing of device in error pathYin Kangkai
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-08cdrom_id: No "next session" for "other" media stateJan Drzewiecki
"other" is known to apply to DVD-RAMs, where sessions can't be appended. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-08cdrom_id: Also apply format check to DVD-RWJan Drzewiecki
Extend the DVD+RW/DVD-RAM check in commit 1ef6c9e to also cover DVD-RW, since in "restricted overwrite" mode they behave similar to DVD+RW. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-08cdrom_id: Handle pre-MMC2 drivesJan Drzewiecki
Those do not yet support the 0x46 "GET CONFIGURATION" support. 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 complete detection failure, and second, those old drives likely don't support more modern media in the first place. https://launchpad.net/bugs/502143 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-08cdrom_id: Fix detection of reblanked DVD+RW and DVD-RAMJan Drzewiecki
Once formatted, DVD+RW and DVD-RAM discs are always reported "complete" by the drive. Check the if the Volume Descriptor or Volume Descriptor Anchor sectors are empty, and if so, set the status to blank. If the disc is unformatted the blank status is maintained and no reads are issued. If the disc is formatted and read command fails, the status remains set to complete to avoid accidental blanking. Bug-Ubuntu: https://launchpad.net/bugs/581925 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-05udev-acl: remove specific device matches from the rules fileKay Sievers
We should do only do classes of devices, not individual pieces of hardware. There is no way for us to manage this in the long term, and it needs to be thought through what we want here, but it surely isn't a list of smartphones in the udev source tarball installed on all systems.
2010-08-04udev-acl: really fix ACL assignment in CK eventsMichal Schmidt
The previous fix for udev-acl was incomplete. The ACL were not properly assigned to the new user when switching from root's session because of the test for 'uid != 0'. Centralize the special handling of root to a single place (in set_facl). https://bugzilla.redhat.com/show_bug.cgi?id=608712
2010-08-03udev-acl: properly handle CK change events for root userKay Sievers
mschmidt@redhat.com writes: > since root is treated specially, it does not do anything! > udev-acl may want to prevent removing ACLs from root, but > it must not stop the ACLs being granted to the user of the > new session. https://bugzilla.redhat.com/show_bug.cgi?id=608712
2010-08-03call util_delete_path() only when we actually deleted stuffKay Sievers
2010-08-03udevd: fix short options in getopt()Yin Kangkai
2010-08-03malloc()+memset() -> calloc()Yin Kangkai
2010-08-02udevd: fix some memory leaks in error pathYin Kangkai
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2010-08-01keymap: Add force-release quirks for a lot more Samsung modelsFortunato Ventre
https://launchpad.net/bugs/554066
2010-08-01keymap: Generalize Samsung keymapsMartin Pitt
Fortunato Ventre (voRia) <vorione@gmail.com> reports a lot more Samsung models which need the "samsung-other" keymap. Instead of eternally playing catchup, apply it to all Samsung models for now, and keep the two known special cases. https://launchpad.net/bugs/554066
2010-07-28udevadm: fix short options in getopt()Yin Kangkai
2010-07-23hid2hci: fix for Logitech diNovo Edge keyboardMarco d'Itri
2010-07-19libudev: bump minor so version after adding symbolsKay Sievers
2010-07-19log an error when a message from the wrong version of udevadm is ignoredMarco d'Itri
2010-07-19hid2hci: fix Logitech diNovo, MX5500 and other keyboardsMarco d'Itri
2010-07-16Fix volume keys not releasing on Mivvy G310Jerone Young
keymap: add My Mivvy G310 Fixes volume keys not sending key release on My Mivvy G310 laptop. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-07-15udev-acl: update firewire matches to recent rule changesKay Sievers
2010-07-12rules: remove firewire rules for deprecated driversKay Sievers
2010-07-12rules: add more FireWire IDs: Point Grey IIDC; AV/C + vendor uniqueStefan Richter
1. IIDC cameras from Point Grey use the vendor OUI as Specifier_ID instead of the 1394 TA's OUI but are otherwise fully compliant to the IIDC spec. Their device files should be accessible like those of any other IIDC cameras. 2. Originally, the Software_Version of devices that implement FCP (IEC 61883-1 Function Control Protocol) was meant to be a bitmap of all command sets that an FCP capable unit supports. Bitmap flags are defined for AV/C, CAL, EHS, HAVi, and vendor unique command sets. Software_Version was revised to be a simple identifier instead, and devices that support several command sets were meant to instantiate one unit directory for each command set. Still, some devices with the flags for AV/C and vendor unique command sets combined were released (but apparently no devices with any other flag combinations). These rare but existing AV/C + vendor unique devices need to be accessible just like plain AV/C devices. Side notes: - Many AV/C devices make use of the Vendor Dependent AV/C command, but this is unrelated to vendor unique FCP command sets. - Here are all standardized FireWire protocol identifiers that I know of, listed as Specifier_ID:Software_Version | specifier | protocol. 0x00005e:0x000001 | IANA | IPv4 over 1394 (RFC 2734) 0x00005e:0x000002 | IANA | IPv6 over 1394 (RFC 3146) 0x00609e:0x010483 | INCITS | SBP-2 (or SCSI command sets over SBP-3) 0x00609e:0x0105bb | INCITS | AV/C over SBP-3 0x00a02d:0x010001 | 1394 TA | AV/C (over FCP) 0x00a02d:0x010002 | 1394 TA | CAL 0x00a02d:0x010004 | 1394 TA | EHS 0x00a02d:0x010008 | 1394 TA | HAVi 0x00a02d:0x014000 | 1394 TA | Vendor Unique 0x00a02d:0x014001 | 1394 TA | Vendor Unique and AV/C (over FCP) 0x00a02d:0x000100 | 1394 TA | IIDC 1.04 0x00a02d:0x000101 | 1394 TA | IIDC 1.20 0x00a02d:0x000102 | 1394 TA | IIDC 1.30 0x00a02d:0x0A6BE2 | 1394 TA | DPP 1.0 0x00a02d:0x4B661F | 1394 TA | IICP 1.0 For now we are only interested in udev rules for AV/C and IIDC. Reported-by: Damien Douxchamps <ddsf@douxchamps.net> (Point Grey IIDC ID) Reported-by: Clemens Ladisch <clemens@ladisch.de> (AV/C + vendor unique ID) Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2010-07-12version bumpKay Sievers
2010-07-11release 160Kay Sievers
2010-07-11udevd: init_notify() fix abstract namespace name handlingKay Sievers
2010-07-08systemd: make service files readable by GKeyFileLennart Poettering
2010-07-0860-persistent-storage-tape.rules: make own by-path symlink for nst tapesHarald Hoyer
2010-07-07keymap: Add Lenovo ThinkPad SL Series extra buttonsMartin Pitt
Sent by Quentin Denis <quentin.denis@gmail.com> via private mail.
2010-07-07keymap: Find alternate Lenovo moduleMartin Pitt
Newer Lenovos apparently have a lower case "extra buttons" module, cover this as well. Sent by Quentin Denis <quentin.denis@gmail.com> via private mail.
2010-07-07allow final assignment for OPTIONS:="nowatch"Kay Sievers
A final assignemnt operator will disable any device watching by inotify, and any possible later rules setting "watch" again will be ignored.
2010-07-0760-persistent-storage-tape: s/path_id.sh/path_id/Harald Hoyer
2010-07-07rules: tape - remove WAIT_FOR instruction and don't export BSG_DEVKay Sievers
2010-07-07version bumpKay Sievers
2010-07-07release 159Kay Sievers
2010-07-05keymap: Add Logitech Cordless Wave ProMartin Pitt
https://launchpad.net/bugs/592371