summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
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-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-23hid2hci: fix for Logitech diNovo Edge keyboardMarco 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-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-05keymap: Add Logitech Cordless Wave ProMartin Pitt
https://launchpad.net/bugs/592371
2010-07-02keymap: Add support for IBM-branded USB devicesMatthew Garrett
These seem to use a different layout to the Lenovo-branded devices Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-06-29Add virtio-blk support to path_idRyan Harper
This patch adds a case handling path_id invoked on a virtio-blk device. Currently path_id walks the parent path to virtio-pci but doesn't know that it's the end of the path and exits without building the path (providing no output resulting in no disk/by-path symlinks to virtio-blk devices). This patch handles the virtio-pci path and updates the path accordingly. /lib/udev/path_id --debug /block/vda udev_device_new_from_syspath: device 0x2300120 has devpath '/devices/virtio-pci/virtio1/block/vda' udev_device_new_from_syspath: device 0x2300380 has devpath '/devices/virtio-pci/virtio1' udev_device_new_from_syspath: device 0x2300670 has devpath '/devices/virtio-pci' ID_PATH=virtio-pci-virtio1 And with the current persistent-storage rules generates: % ls -al /dev/disk/by-path | grep vda lrwxrwxrwx. 1 root root 9 Jun 1 22:09 virtio-pci-virtio1 -> ../../vda Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2010-06-28Fix stuck volume key presses for Toshiba Satellite U300 & U305modelsJerone Young
This patch fixes stuck volume keys for Toshiba Satellite models U300 & U305. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-06-25switch a few left-over from GPLv2 to GPLv2 or laterKay Sievers
2010-06-25make: pre-process and install systemd service files when neededKay Sievers
2010-06-23mtd_probe: add needed include, modprobe blacklist flag, and change some ↵Kay Sievers
whitespace
2010-06-23mtd_probe: add autodetection for xD cardsMaxim Levitsky
commit 2599cabd36770785a13bf884049d649d385fd80c Author: Maxim Levitsky <maximlevitsky@gmail.com> Date: Fri Jun 18 02:08:48 2010 +0300 Add autodetection for xD/smartmedia cards This can easily be extended for other types of FTL Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
2010-06-21remove a few comments in file headersKay Sievers
2010-06-21extras/keymap: add Samsung N210 to keymap rulesHarald Hoyer
https://bugzilla.redhat.com/show_bug.cgi?id=606302 Thanks to John Floyd!
2010-06-13Revert "add Vala vapi for gudev-1.0"Martin Pitt
Argh, recent vala already ships with a gudev vapi. This reverts commit 6a7b5ec7712ea53fd756b07036e23ac0d751cec4.
2010-06-13add Vala vapi for gudev-1.0Martin Pitt
Add gudev-1.0.vapi. This is based on the output of vapigen --library gudev-1.0 GUdev-1.0.gir with fixes to array/list semantics and include file names.
2010-06-11Fix hid2hci rules harderMartin Pitt
Commit 2b463cb0 changed the rules to match against hiddev* for all devices in an attempt to fix Debian #567237/LP #444420. However, this caused regressions with other devices (e. g. LP #550288) and thus was reverted in commit 8b56ba. Now use hidraw* for the devices where it's confirmed that they only work with that, and hiddev* for the others. https://launchpad.net/bugs/444420
2010-06-02Fix wlan key on Inspiron 1010 & 1110Jerone Young
This fixes wlan key on Inspirion 1010 & 1110. This patch depends on previous patches sent. The issue with all of these is that they were all Dell mini & it wasn't noticed till recent that they all did not follow the standard that the rest of Dell machines follow. Also to note while this fixes the wlan key sending the proper key press, work is still needed at the kernel level for complete support. This is the last patch all the Dell minis have been verified to all have this issue, and are now covered. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-05-30Fix wlan key on Inspiron 910Jerone Young
This fixes the wlan key on Inspiron 910. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-05-29Fix wlan key on Inspirion 1210Jerone Young
This fixed wlan key on Inspirion 1210 machines. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-05-25cdrom_id: do not export ID_CDROM_MEDIA_SESSION_LAST_OFFSET= for single ↵Kay Sievers
session media
2010-05-09keymap: Add keymap quirk of WebCam key for MSI netbooks.Yin Kangkai
I've verified that this patch fixes MSI U100, N014, U135 http://bugs.meego.com/show_bug.cgi?id=1741 Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-05-06keymap: Add keymap and force-release quirk for Samsung N128Yin Kangkai
http://bugs.meego.com/show_bug.cgi?id=1530 Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-05-04cdrom_id: only mark sr[0-9]* as ID_CDROMHarald Hoyer
we cannot be sure for xvd*
2010-04-26keymap: Fix Bluetooth key on Acer TravelMate 4720Martin Pitt
https://launchpad.net/bugs/569815
2010-04-22use the usual TAG+=, TAG= logicKay Sievers
2010-04-22udev-acl: use a tag instead of a property to mark devicesKay Sievers
2010-04-21Fix volume keys not releasing for Pegatron platformJerone Young
Pegatron has a new platform coming out being sold by many small manufacturers. This platform has volume keys that are not sending a key release. This patch ensures those keys send release. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-20configure.ac: ddd --with-firmware-path optionYury G. Kudryashov
In NixOS we need to use non-standard firmware path: we have no /lib.
2010-04-20hid2hci: include linux/types.h for __u32Yury G. Kudryashov
2010-04-19Revert "Fix switching Logitech bluetooth adapters into hci mode."Kay Sievers
This reverts commit 2b463cb050cbf77d9c6b51e0f5a9d89bf7eb1bc3.
2010-04-19keymap: Add force-release quirk for Mitac 8050QDAKamal Mostafa
https://launchpad.net/bugs/374884 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-19keymap: Add force-release quirk for Coolbox QBook 270-02Kamal Mostafa
https://launchpad.net/bugs/420473 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-19keymap: Unite laptop models needing common volume-key release quirkKamal Mostafa
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. There is no obvious DMI commonality between the models needing the quirk (i.e. they do not all share the same BIOS), so it will remain necessary to scan for each model separately in 95-keyboard-force-release.rules. https://launchpad.net/bugs/565459 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-17cdrom_id: set ID_CDROM_MEDIA=1 only for known mediaKay Sievers
On Sat, Apr 17, 2010 at 18:26, Mike Brudevold <mike@brudevold.com> wrote: > My CD-RW drive experiences a problem in that it automatically closes > after opening if there is media in the drive. This only happens if > there was media in the drive when it was last closed (an empty drive > stays open). ... > cd_profiles: current profile 0x02 > cd_profiles: profile 0x02 <ignored> ... Do not pretend to have a media, when we receive a profile like 0x02, which just means "Removable disk". Thanks to Mike Brudevold for the initial patch.
2010-04-16cdrom_id: add missing profiles to feature_profilesMike Brudevold
Signed-off-by: Mike Brudevold <mike@brudevold.com>
2010-04-15cdrom_id: Swap media state and TOC info probingMartin Pitt
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.
2010-04-15cdrom_id: Do not ignore errors from scsi_cmd_run()Martin Pitt
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 should fix another cause for "phantom" media in empty CD-ROM drives. Thanks to Mike Brudevold <mike@brudevold.com> for spotting this! https://launchpad.net/bugs/562978
2010-04-15cdrom_id: debug - print feature values in hexKay Sievers
2010-04-15cdrom_id: debug - print feature values in hexKay Sievers
2010-04-15cdrom_id: print more debug messagesKay Sievers
2010-04-15cdrom_id: rework feature/profiles buffer parsingKay Sievers