summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
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
2010-04-14update NEWSKay Sievers
2010-04-13cdrom_id: Fix uninitialized buffersMartin Pitt
Commit 5c6954f is actually a no-op, since static variables are already zero'ed by default anyway (but we keep it for clarity). The real difference was that a build with -O0 wor while a build with -O2 didn't. 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 as CD properties. https://launchpad.net/bugs/559723 https://launchpad.net/bugs/561585
2010-04-13cdrom_id: Fix uninitialized variablesMartin Pitt
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. Bug-Ubuntu: https://launchpad.net/bugs/559723
2010-04-12replace "add|change" with "!remove"Kay Sievers
2010-04-12usb-db: remove double '/'Kay Sievers
2010-04-12cdrom_id: always set ID_CDROM regardless if we can run cdrom_idKay Sievers
2010-04-07cdrom_id: check mount state in retry loopKay Sievers
Based on a patch from Harald Hoyer.
2010-04-07cdrom_id: retry to open the device, if EBUSYKay Sievers
We might fight about the device with polling processes, or other users who probe the device. Retry a few times if the other one goes away in the meantime. Based on a patch from Harald Hoyer.
2010-04-07cdrom_id: remove debugging codeHarald Hoyer
2010-04-07scsi_id: add rand() in retry loopKay Sievers
2010-04-07extras: mobile-action-modeswitch - update gitignoreKay Sievers
2010-04-07Add support for another Dell touchpad toggle keyJerone Young
There is another keycode that some Dell machines that are about to ship, or shipping are using for touchpad toggle. That code is 0x9E. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-06Fix Dell Studio 1558 volume keys not releasingJerone Young
This patch fixes the Dell Studio 1558 to give a key release when a volume key is pressed. This is the same as the 1557. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-06Revert special casing 0xD8 to latitude XT onlyJerone Young
Now that Dell has changed the functionality of upcoming machines with touchpad toggle to only use keycode 0xD9 .. and not 0xD8 & 0xD9. It seems best to add this back to the general map of Dell buttons. Just incase a machine in the future uses this later. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-06Add new Dell touchpad keycodeJerone Young
After working very closely with Dell. They have now completely changed the way they have implemented there touchpad hotkey for upcoming machines. It now only generates a single keycode (0xD9). It nolonger does anything in hardware, nor does it generate more then this keycode. This patch properly maps this keycode. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-03-28Fix Keymapping for upcoming Dell LaptopsJerone Young
This patch fixes it so that new upcoming Dell machines will work correctly if users presses the touchpad toggle key. Currently 0xD8 is being mapped to sleep. Though this is only done by the Latitude XT* laptops. Many upcoming Laptops from Dell are mapping this key to "toogle touchpad off" .. giving the OS notification that it has just turned off the touchpad. Though their is an issue in that if this key is mapped the hardware first toogles .. then the software tries to do the samething after, if they fall out of sync ... no more touchpad. So leave out mapping these keys for now. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-03-24keymap: Fix another key for Acer TravelMate 6593Martin Pitt
https://launchpad.net/bugs/536914
2010-03-24keymap: Add Acer TravelMate 6593G and Acer Aspire 1640Martin Pitt
https://launchpad.net/bugs/536914
2010-03-18modeswitch: morph into tool that only switches Mobile Action cablesDan Williams
Remove option modeswitching code; use usb_modeswitch already, people.
2010-03-18cdrom_id: open non-mounted optical media with O_EXCLKay Sievers
This should prevent confusing drives during CD burning sessions. Based on a patch from Harald Hoyer.
2010-03-18add LGPL COPYING to libudev and GUdevKay Sievers
2010-03-17libudev: add udev_device_new_from_environment()Kay Sievers
2010-03-16Fix switching Logitech bluetooth adapters into hci mode.Marco d'Itri
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567237 https://bugs.launchpad.net/ubuntu/+source/udev/+bug/444420
2010-03-16firmware: fix possible segfault when firmware device goes away while loadingKay Sievers
Thanks to Ruediger Oertel.
2010-03-07udev-acl: no not encourage use of ACL_MANAGE outside of rules fileKay Sievers
2010-03-04udev-acl: Correctly handle ENV{ACL_MANAGE}==0Martin Pitt
When a custom rule sets ACL_MANAGE to 0 to disable ACL management for a particular device, handle this as "disabled", by explicitly checking against "1" instead of "nonempty". Thanks to Rafał Rzepecki for pointing this out.
2010-03-02keymap: Add Fujitsu Amilo 1848+u force-release quirkAndy Whitcroft
The Fujitsu Amilo Si 1848+u laptop requires the volume and mute keys quirking. https://launchpad.net/bugs/530089 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-03-02keymap: Add Samsung Q210/P210 force-release quirkAndy Whitcroft
The Samsung Q210/P210 laptop also needs all of its function keys quirked. https://launchpad.net/bugs/530093 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-02-15keymap: Add Toshiba Satellite M30XMartin Pitt
Thanks to Alessio Gaeta! https://launchpad.net/bugs/510019
2010-02-13Force key release for volume keys on Dell Studio 1557Jerone Young
Dell Studio 1557 does not generate a release code when the volume keys are pressed, causing them to generate infinite key presses. This forces key release of these keys. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-02-12keymap: Fix LG X110Martin Pitt
The LG X110 is not a perfect clone of the MSI Wind after all, and needs its own keymap. Thanks to Konstantin Lavrov! https://launchpad.net/bugs/520650
2010-02-10keymap: Add support for Gateway AOA110/AOA150 clones.Robert Hooker
https://launchpad.net/bugs/518496 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-02-09Fix brightness keys on MSI Wind U-100Martin Pitt
The MSI Wind 100 generates ACPI/input events on the LNXVIDEO input device. On top of that, the video module/BIOS synthesize some extra event on atkbd as an echo of actually changing the brightness. Ignore the wrong and useless atkbd ones, to avoid event loops. Many thanks to Hans de Goede for tracking this down! https://launchpad.net/bugs/415023
2010-02-01keymap: Add Dell Inspiron 1011 (Mini 10)Martin Pitt
This fixes the broken WLAN key.
2010-01-31firmware: fix error reporting on missing firmware filesThomas Bächler
The new firmware loader does not report an error to the kernel if a firmware file is missing. This results in modprobe stalling for 60 seconds for each firmware a module tries to load.
2010-01-25keymap: include linux/limits.hKay Sievers