summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-25keymap: Add alternate MSI vendor nameLee, Chun-Yi
Add new vendor name "Micro-Star International" in 95-keymap.rules. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-09-21Add automatic rules syntax checkMartin Pitt
Add test/rule-syntax-check.py, a script for checking the syntax of all udev rules files passed as command line arguments. Add a wrapper test/rules-test.sh which calls rule-syntax-check.py on all udev rules that we ship, but does nothing if Python is not available. Integrate this into make check/distcheck.
2010-09-21fix various syntax errors in rulesMartin Pitt
2010-09-21Clarify WAIT_FOR documentationMartin Pitt
The path is relative to the sysfs device, so this provides an easy way to wait for an attribute to appear.
2010-09-20gudev: add a few annotations that newer gobject-introspection versions demandTorsten Schoenfeld
2010-09-14keymap: Add Lenovo Y550Martin Pitt
https://launchpad.net/bugs/543065
2010-09-07Bump required GLib version to 2.22David Zeuthen
This is needed for g_main_context_get_thread_default(). Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-07gudev: Deliver ::uevent signal in the thread-default main loopDavid Zeuthen
... that the GUdevClient object was constructed in. This change makes GUdev follow the GLib guidelines and, more importantly, makes it possible to actually use the library in a multi-threaded application. Prior to this patch, signals were emitted in the thread that ran the "default" main loop. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-07scsi_id: fix compiler warningsKay Sievers
2010-09-07scsi_id: export target port groupHannes Reinecke
For ALUA support it's useful to have the target port group number of a device. Signed-off-by: Hannes Reinecke <hare@suse.de>
2010-09-03version bumpKay Sievers
2010-09-03release 162Kay Sievers
2010-09-03Revert "Add alternative KVM MAC address blacklist"Kay Sievers
This reverts commit 634afac119bbe6bc21719ae3daa45805b1cf3334. 54:52:00 was just a bug in libvirt, and that's better fixed locally, and we should not carry it in udev rules.
2010-09-03systemd: enable all udev services unconditionallyKay Sievers
2010-09-03ChangeLog fixMichal Soltys
In v141 -> v142 entry, there's a note about udevd creating /dev/{null,kmsg,console}. It was added in commit 540f46698dd5a3b, but shortly after that removed in a00bdfa16b9bac7 before v142 release. Signed-off-by: Michal Soltys <soltys@ziu.info>
2010-09-02Add alternative KVM MAC address blacklistMartin Pitt
Reportedly, older KVM/Qemu instances indeed do use 54:52:00:*, so add this as an alternative.
2010-09-02Don't install systemd scripts with --without-systemdsystemunitdirMichael Forney
Currently, the scripts get installed to /no/ if that option is specified. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-09-02do not create persistent name rules for VMWare network interfacesMartin Pitt
Not generating persistent MAC address rules will significantly ease cloning of VMs. The kernel reliably sorts eth* enumeration by bus number, so as long as you only have cards from one vendor (or more precisely, drivers), the enumeration will be stable. Having cards from different vendors is very unlikely in VMs. KVM was already covered in the previous commit, this is the equivalent blacklist for VMWare: http://www.coffer.com/mac_find/?string=005056 http://www.coffer.com/mac_find/?string=000c29 https://launchpad.net/bugs/341006
2010-09-02Fix KVM MAC address rangeMartin Pitt
KVM uses 52:54:00:* MACs: http://git.savannah.gnu.org/cgit/qemu.git/tree/net.c#n796
2010-08-31do not create persistent name rules for KVM network interfacesMarco d'Itri
The virtual interfaces created by KVM are stable, 54:52:00 is the MAC-48 range of KVM.
2010-08-31set SELinux context on 'add' but not on 'change' eventsKay Sievers
2010-08-31cdrom_id: Fix DVD blank detection for sloppy firmwareJan Drzewiecki
Reportedly, many CD drive firmwares will only consider the MSB in a READ command, thus if we request 17 blocks to be read, we'll actually only get 16 in many cases, and thus miss out the interesting sector #17. This would lead to falsely considering nonempty DVDs as blank. Fetch 32 blocks now, which should work everywhere. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-30cdrom_id: Fix DVD-RW media detectionMartin Pitt
Commit cf2205a19 applied the "restricted overwrite" vs. "sequential" DVD-RW test to feature_profiles() (which reads the drive capabilities), which caused every DVD medium to be detected as ID_CDROM_MEDIA_DVD_RW. Now apply it to cd_profiles() instead, to just check the current profile.
2010-08-27keymap: Fix Acer TravelMate 4720Martin Pitt
The previous change just fixed the Bluetooth key, but Screen Lock and Browser also need to be changed. https://launchpad.net/bugs/569815
2010-08-27gudev: fix crash if netlink is not availableMartin Pitt
gudev_client_new() assumes that priv->monitor is never NULL, but this happens on older kernels. Let's not crash client programs because of that. https://launchpad.net/bugs/581527
2010-08-27udev(7) manpage: Fix description of $attrMartin Pitt
Fix the manpage to describe the real behaviour of $attr: It doesn't search all parent devices any more, just the one selected by KERNELS etc. https://launchpad.net/bugs/348513
2010-08-25keymap: Fix Sony VAIO VGN-SZ2HP/BMartin Pitt
Reportedly this needs the module-sony keymap, not the -old one. https://launchpad.net/bugs/613578
2010-08-25Add support for oom_score_adjLuca Tettamanti
/proc/<pid>/oom_adj has been deprecated (kernel v2.6.36) due to the rework of the badness heuristic; oom_score_adj is the replacement. Keep a fallback to the old interface for compatibility with older kernels. See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a63d83f427fbce97a6cea0db2e64b0eb8435cd10 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-25udevd: remove unneeded credential passing from init_notify()Kay Sievers
2010-08-23keymap: Add HP G60Martin Pitt
https://launchpad.net/bugs/554944
2010-08-22keymap: Add Onkyo PCMartin Pitt
Thanks to Pau Oliva! https://launchpad.net/bugs/612529
2010-08-20udev(7): Point out required extension, and remove some confusionMartin Pitt
Rules files must end in .rules. Also drop the redundant and confusing sentence about "file names must be unique". What is really meant is explained in a better way in the paragraph above. https://launchpad.net/bugs/616108
2010-08-19version bumpKay Sievers
2010-08-19init: edit systemd service descriptionsKay Sievers
2010-08-19udevd: add pid to kmsg logsKay Sievers
2010-08-19init: add 'udev -' to description in systemd service filesKay Sievers
2010-08-18udev-acl: do not mistake all SCSI "processor" devices for scannerMarco d'Itri
Both rules can be removed since now libsane sets libsane_matched also for SCSI scanners. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589751
2010-08-17init: update systemd service filesKay Sievers
2010-08-17init: update systemd service filesKay Sievers
2010-08-13cdrom_id: Drop MEDIA_SESSION_NEXT for DVD-RW-ROJan Drzewiecki
Commit cf2205a fixed the media status for fresh DVD-RW in restricted overwrite mode, but missed a detail: We should not report the ID_CDROM_MEDIA_SESSION_NEXT property either, since in that mode you can never append tracks/sessions; this just works in sequential mode. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-12Add keymap for Lenovo IdeaPad S10-3David Woodhouse
Tested on S10-3, but presumably applicable to all IdeaPads. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
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"