summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-09update gitignoreKay Sievers
2011-02-09ata_id: do not print empty serial numbers to avoid unwanted trailing '_'Kay Sievers
2011-02-09keymap: Add Acer Aspire 8930Jürgen Kaiser
http://bugs.debian.org/612512 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-01-25extras: qemu - fix typoKay Sievers
2011-01-25make: fix qemu rules file nameKay Sievers
2011-01-25extras: add rules for qemu guestsGerd Hoffmann
These patches enable usb autosuspend for the qemu emulated HID devices. This reduces the cpu load for idle guests with a hid device attached because the linux kernel will suspend the usb bus then and qemu can stop running a 1000 Hz to emulate the (active) UHCI controller. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2011-01-16keymap: Explain how to end the programMartin Pitt
Pressing Escape will only actually work if keymap is currently examining the primary keyboard. For other devices the user needs to press Control-C instead.
2011-01-16keymap: More robust state machineMartin Pitt
Some drivers, like thinkpad_acpi, do not send a scan code at all (for known keys), and some send the key code first, then the scan code. Implement a better state machine which acceps them in any order and wait until a SYN event. If the driver does not send SYN events, keymap will also handle this and print out that fact. Thanks to Seth Forshee for pointing out how this really works! https://launchpad.net/bugs/702407
2011-01-16keymap: Move reading of event in separate functionMartin Pitt
2011-01-13keymap: Add Lenovo ThinkPad X201 tabletMartin Pitt
https://launchpad.net/bugs/702426
2011-01-07keymap: Update README.keymap.txtMartin Pitt
Drop orig-map.txt requirement, we don't really use it in practice. Also ask for sending stuff to the mailing list instead of Launchpad.
2011-01-07keymap: Add Acer TravelMate C310Martin Pitt
Thanks to Dieter Herrmann for the report!
2011-01-04man: fix typoKay Sievers
Found by: Minh Ha-Duong.
2011-01-03Remap Eee PC touchpad toggle key to F21 used by XChris Bagwell
Currently, Eee PC have a hotkey that generates KEY_F13 but this will soon change to KEY_TOUCHPAD_TOOGLE. Both cases do not work well with X. X has defined F21 for the purpose of touchpad toggle and other udev keymaps align with this meaning. Patch aligns Eee PC hotkey drivers with F21. Tested on Eee PC 1005PE using both eeepc-wmi and eeepc-laptop driver (with acpi_osi="!Windows 2009"). Signed-off-by: Chris Bagwell <chris@cnpbagwell.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-12-26man: generate html pages for www.kernel.orgKay Sievers
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/
2010-12-16version bumpKay Sievers
2010-12-16release 165Kay Sievers
2010-12-16update NEWSKay Sievers
2010-12-15gudev: Add Device.get_usec_since_initializedDavid Zeuthen
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-15gudev: bump minor versionKay Sievers
2010-12-15libudev: record and export "age" of device recordKay Sievers
2010-12-15libudev: fix renamed device nodes detection logicKay Sievers
2010-12-14Add g_udev_device_get_is_initialized() methodDavid Zeuthen
Also nuke the "Index of deprecated symbols" since we have no deprecated symbols just yet. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-14Add GUdevEnumerator type and Device.get_tags() methodDavid Zeuthen
Also add JS example to check the added API works. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-14libudev: enumerate - allow to filter-out not-already-initialized devicesKay Sievers
2010-12-14check ifindex > 0 instead of subsystem == "net"Kay Sievers
2010-12-14udevd: write full database file for (unsupported) renamed device nodesKay Sievers
2010-12-12udevd: switch to common id_filename functionsKay Sievers
2010-12-11udevd: simplify udev database and fix DEVNAME handlingKay Sievers
2010-12-10udevd: always create /dev/{char,block}/$major:$minorKay Sievers
2010-12-10udevd: use dev_t or netif ifindex as database keyKay Sievers
We need to preserve the database of network interfaces while we rename them. Use the kernel's numbers wherever possible, instead of the device names. Fix wrong database filenames which contain a '/', translated from '!' in the kernel name. Fix segfault for kobject pathes where the subsystem can not be determined from sysfs.
2010-12-10udevadm: info - honor --export, --export-prefix=Kay Sievers
2010-12-10udevadm: info - honor --export and --export-prefix for property queryKay Sievers
The output will always be quoted: $ udevadm info --export --export-prefix=MY_ --query=property --name=sda MY_UDEV_LOG='3' MY_DEVPATH='/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' MY_MAJOR='259' MY_MINOR='0' MY_DEVNAME='sda' MY_DEVTYPE='disk' MY_SUBSYSTEM='block'
2010-12-10libudev: do not overwrite path with readlink() callKay Sievers
2010-12-08keymap: Fix struck Touchpad key on Dell Precision M seriesMartin Pitt
https://launchpad.net/bugs/686662
2010-12-08keymap: Fix struck Touchpad key on Dell Latitude E seriesMartin Pitt
https://launchpad.net/bugs/686662
2010-11-30rules: revert bsg use until the event ordering problem is sorted outKay Sievers
The bsg devices node are created after the LUN, so we fail in the hotplug case, but succeed at coldplug, and create inconsistent data that way. The bsg device event order will need to be sorted out, by changing the kernel.
2010-11-29rules: drop alsa jack-plug input devicesKay Sievers
2010-11-26Add ACLs for FFADO supported sound cardsDavid Henningsson
https://launchpad.net/bugs/681755 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-11-26keymap: Add release quirks for two Zepto Znote models and AMILO Xi 2428Andy Whitcroft
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-11-24rules: drop OSS audio ruleKay Sievers
2010-11-24rules: 78-sound-card - remove specific hardware matches, they do not belong hereKay Sievers
2010-11-22udevd: create static nodes before /dev/null is neededMichal Soltys
2010-11-22Add ACL for media player USB devicesMartin Pitt
Originally we added an ACL for some particular mobile phone product IDs to enable users to run e. g. the Android SDK as non-root. This was removed in 232f180 as we don't want to maintain product/vendor ID lists in udev. However, we already know from media-player-info that devices like this are media players. There is little reason to deny user access to those, so add back a generic rule which adds an ACL to media player raw USB devices. https://launchpad.net/bugs/316215
2010-11-1270-acl.rules: add ACLs for ID_PDA devicesHarald Hoyer
2010-11-12udev-rules.c: change import property buffer to 16384 bytesHarald Hoyer
import_program_into_properties() should have the same line length as import_file_into_properties() see also https://bugzilla.redhat.com/show_bug.cgi?id=652318
2010-11-10man: udev - workaraound -> workaroundJakub Wilk
2010-11-06extras/keymap: Make touchpad buttons consistentBastien Nocera
We'll need to standardise on the Touchpad related keys in udev, kernel, and X.org. I selected F21 for XF86TouchpadToggle, F22 for XF86TouchpadOn and F23 for XF86TouchpadOff. See: https://bugs.freedesktop.org/show_bug.cgi?id=31333 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-11-06keymap: Add force release for HP touchpad offBastien Nocera
Force the touchpad off/on keys getting released, as they usually only send a "repeat". https://bugzilla.redhat.com/show_bug.cgi?id=623239 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-11-04Use ata_id, not scsi_id, on ATAPI devicesDavid Zeuthen
The major benefit here, is that we get the ATAPI device serial number. With SCSI ID we didn't get this since it's not part of the SCSI INQUIRY command. Specifically this means that we get symlinks to empty optical drives, e.g. /dev/disk/by-id/ata-VBOX_CD-ROM_VB2-01700376 which we didn't get earlier. So this is a major win. Also make ata_id work on CD-ROM devices when using /dev/bsg nodes so this works on both the scsi_device as well as the block device. We do this, basically, by issuing the ATA IDENTIFY PACKET DEVICE command instead of the ATA IDENTIFY command. We also use 16-byte pass-through ATA passthrough instead of 12-byte passthrough to avoid clashing with the MMC BLANK command. This means that we get this output # udevadm info -q all -p /sys/devices/pci0000:00/0000:00:01.1/host3/target3:0:0/3:0:0:0 P: /devices/pci0000:00/0000:00:01.1/host3/target3:0:0/3:0:0:0 E: UDEV_LOG=3 E: DEVPATH=/devices/pci0000:00/0000:00:01.1/host3/target3:0:0/3:0:0:0 E: DEVTYPE=scsi_device E: DRIVER=sr E: MODALIAS=scsi:t-0x05 E: SUBSYSTEM=scsi E: ID_ATA=1 E: ID_TYPE=cd E: ID_BUS=ata E: ID_MODEL=VBOX_CD-ROM E: ID_MODEL_ENC=VBOX\x20CD-ROM\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x 20\x20\x20\x20\x20\x20\x20 E: ID_REVISION=1.0 E: ID_SERIAL=VBOX_CD-ROM_VB2-01700376 E: ID_SERIAL_SHORT=VB2-01700376 instead of just # udevadm info -q all -p /sys/devices/pci0000:00/0000:00:01.1/host3/target3:0:0/3:0:0:0 P: /devices/pci0000:00/0000:00:01.1/host3/target3:0:0/3:0:0:0 E: UDEV_LOG=3 E: DEVPATH=/devices/pci0000:00/0000:00:01.1/host3/target3:0:0/3:0:0:0 E: DEVTYPE=scsi_device E: DRIVER=sr E: MODALIAS=scsi:t-0x05 E: SUBSYSTEM=scsi E: ID_SCSI=1 E: ID_VENDOR=VBOX E: ID_VENDOR_ENC=VBOX\x20\x20\x20\x20 E: ID_MODEL=CD-ROM E: ID_MODEL_ENC=CD-ROM\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 E: ID_REVISION=1.0 E: ID_TYPE=cd Signed-off-by: David Zeuthen <davidz@redhat.com>