chiark / gitweb /
elogind.git
13 years agolibudev: fix udev_queue_get_seqnum_sequence_is_finished() with empty queue file
Kay Sievers [Tue, 25 May 2010 10:17:43 +0000 (12:17 +0200)]
libudev: fix udev_queue_get_seqnum_sequence_is_finished() with empty queue file

We an empty or garbage-collected queue file, we might not have a record
for the first sequence we wait for, and therefore must not wait for it.

13 years agorules: optical drives - use ID_CDROM_MEDIA_TRACK_COUNT_DATA
Kay Sievers [Tue, 25 May 2010 07:54:14 +0000 (09:54 +0200)]
rules: optical drives - use ID_CDROM_MEDIA_TRACK_COUNT_DATA

We should not access non-data optical media, ans skip things
like blkid. It will cause errors for some drives.

  https://bugzilla.kernel.org/show_bug.cgi?id=15757

13 years agocdrom_id: do not export ID_CDROM_MEDIA_SESSION_LAST_OFFSET= for single session media
Kay Sievers [Tue, 25 May 2010 07:47:04 +0000 (09:47 +0200)]
cdrom_id: do not export ID_CDROM_MEDIA_SESSION_LAST_OFFSET= for single session media

13 years agoudevd: fix typo /proc/fd -> /proc/self/fd
Bryan Kadzban [Tue, 25 May 2010 04:56:37 +0000 (06:56 +0200)]
udevd: fix typo /proc/fd -> /proc/self/fd

13 years agoconfigure.ac: version bump
Kay Sievers [Tue, 25 May 2010 04:56:14 +0000 (06:56 +0200)]
configure.ac: version bump

13 years agorelease 155
Kay Sievers [Mon, 24 May 2010 15:01:53 +0000 (17:01 +0200)]
release 155

13 years agoman: directly use 'refentry'
Kay Sievers [Mon, 24 May 2010 15:00:15 +0000 (17:00 +0200)]
man: directly use 'refentry'

And make Lennart happy! :)

13 years agoupdate NEWS
Kay Sievers [Thu, 20 May 2010 16:45:38 +0000 (18:45 +0200)]
update NEWS

13 years agocreate static nodes provided by kernel modules to allow module autoloading
Kay Sievers [Thu, 20 May 2010 15:09:04 +0000 (17:09 +0200)]
create static nodes provided by kernel modules to allow module autoloading

13 years agofix tests and allow MODE=000
Kay Sievers [Thu, 20 May 2010 12:51:18 +0000 (14:51 +0200)]
fix tests and allow MODE=000

13 years agoupdate NEWS README
Kay Sievers [Thu, 20 May 2010 07:19:01 +0000 (09:19 +0200)]
update NEWS README

13 years agoudevd: create standard symlinks and handle /lib/udev/devices
Kay Sievers [Thu, 20 May 2010 07:04:26 +0000 (09:04 +0200)]
udevd: create standard symlinks and handle /lib/udev/devices

13 years agouse default mode of 0600 for nodes if gid == 0
Kay Sievers [Thu, 20 May 2010 04:24:45 +0000 (06:24 +0200)]
use default mode of 0600 for nodes if gid == 0

13 years agolibudev: add O_CLOEXEC
Kay Sievers [Fri, 14 May 2010 12:52:18 +0000 (14:52 +0200)]
libudev: add O_CLOEXEC

13 years agorules: SUSE - delete device-mapper rules
Kay Sievers [Fri, 14 May 2010 12:49:20 +0000 (14:49 +0200)]
rules: SUSE - delete device-mapper rules

13 years agoconfigure.ac: version bump
Kay Sievers [Wed, 12 May 2010 06:49:43 +0000 (08:49 +0200)]
configure.ac: version bump

13 years agoreset process priority before executing RUN+=
Kay Sievers [Wed, 12 May 2010 06:46:56 +0000 (08:46 +0200)]
reset process priority before executing RUN+=

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581235

13 years agorelease 154
Kay Sievers [Tue, 11 May 2010 21:02:47 +0000 (23:02 +0200)]
release 154

13 years agoudevd: reload config only for *.rules files
Kay Sievers [Tue, 11 May 2010 20:59:09 +0000 (22:59 +0200)]
udevd: reload config only for *.rules files

13 years agokeymap: Add keymap quirk of WebCam key for MSI netbooks.
Yin Kangkai [Fri, 7 May 2010 07:05:21 +0000 (15:05 +0800)]
keymap: Add keymap quirk of WebCam key for MSI netbooks.

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>
13 years agolibudev: add documentation for recently added functions
Kay Sievers [Fri, 7 May 2010 21:04:42 +0000 (23:04 +0200)]
libudev: add documentation for recently added functions

13 years agoadd info message when empty NAME is given
Kay Sievers [Fri, 7 May 2010 20:57:20 +0000 (22:57 +0200)]
add info message when empty NAME is given

13 years agoupdate README regarding kernel version and default rules
Kay Sievers [Fri, 7 May 2010 20:56:36 +0000 (22:56 +0200)]
update README regarding kernel version and default rules

13 years agokeymap: Add keymap and force-release quirk for Samsung N128
Yin Kangkai [Thu, 6 May 2010 02:06:43 +0000 (10:06 +0800)]
keymap: Add keymap and force-release quirk for Samsung N128

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>
13 years agoman: udevadm trigger - the default is "change" not "add"
Kay Sievers [Wed, 5 May 2010 13:37:56 +0000 (15:37 +0200)]
man: udevadm trigger - the default is "change" not "add"

13 years agowarn when renaming kernel-provided nodes instead of adding symlinks
Kay Sievers [Wed, 5 May 2010 09:14:50 +0000 (11:14 +0200)]
warn when renaming kernel-provided nodes instead of adding symlinks

13 years agocdrom_id: only mark sr[0-9]* as ID_CDROM
Harald Hoyer [Tue, 27 Apr 2010 10:26:00 +0000 (12:26 +0200)]
cdrom_id: only mark sr[0-9]* as ID_CDROM

we cannot be sure for xvd*

13 years agoremove debug output during rules parsing
Kay Sievers [Mon, 3 May 2010 16:09:25 +0000 (18:09 +0200)]
remove debug output during rules parsing

13 years agoremove unused parameter from udev_node_mknod()
Kay Sievers [Mon, 3 May 2010 16:08:51 +0000 (18:08 +0200)]
remove unused parameter from udev_node_mknod()

13 years agorules: Gentoo - remove old devfs compat rules
Matthias Schwarzott [Mon, 3 May 2010 11:19:36 +0000 (13:19 +0200)]
rules: Gentoo - remove old devfs compat rules

13 years agofix device node deletion
Michael Thayer [Sat, 1 May 2010 15:28:08 +0000 (17:28 +0200)]
fix device node deletion

Signed-off-by: Michael Thayer <michael.thayer@sun.com>
13 years agoMakefile.am: add LGPL COPYING file to EXTRA_DIST
Harald Hoyer [Tue, 27 Apr 2010 10:25:59 +0000 (12:25 +0200)]
Makefile.am: add LGPL COPYING file to EXTRA_DIST

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
13 years agoudevd: always try to find an idle worker instead of forking a new one
Kay Sievers [Mon, 26 Apr 2010 10:21:16 +0000 (12:21 +0200)]
udevd: always try to find an idle worker instead of forking a new one

We special-handle events with a TIMEOUT= set, so they don't get queued
or wait for parent events to finish, to make sure we can handle them
as fast as possible.

With this change we first try to find an idle worker process before
forking a new one.

13 years agokeymap: Fix Bluetooth key on Acer TravelMate 4720
Martin Pitt [Mon, 26 Apr 2010 06:28:36 +0000 (08:28 +0200)]
keymap: Fix Bluetooth key on Acer TravelMate 4720

https://launchpad.net/bugs/569815

13 years agoconfigure.ac: move firmware-path setting out of extras section
Robby Workman [Sat, 24 Apr 2010 19:38:37 +0000 (21:38 +0200)]
configure.ac: move firmware-path setting out of extras section

13 years agoexport udev_device_get_tags_list_entry()
Kay Sievers [Fri, 23 Apr 2010 14:05:38 +0000 (16:05 +0200)]
export udev_device_get_tags_list_entry()

14 years agoexport tag functions
Kay Sievers [Fri, 23 Apr 2010 08:46:00 +0000 (10:46 +0200)]
export tag functions

14 years agolibudev: accept NULL in udev_device_get_tags_list_entry()
Kay Sievers [Fri, 23 Apr 2010 07:22:42 +0000 (09:22 +0200)]
libudev: accept NULL in udev_device_get_tags_list_entry()

14 years agodelete old tags when configuration changes
Kay Sievers [Fri, 23 Apr 2010 07:01:56 +0000 (09:01 +0200)]
delete old tags when configuration changes

14 years agouse the usual TAG+=, TAG= logic
Kay Sievers [Thu, 22 Apr 2010 17:03:11 +0000 (19:03 +0200)]
use the usual TAG+=, TAG= logic

14 years agofix logic on-demand loading logic for db and uevent
Kay Sievers [Thu, 22 Apr 2010 16:50:43 +0000 (18:50 +0200)]
fix logic on-demand loading logic for db and uevent

14 years agoudev-acl: use a tag instead of a property to mark devices
Kay Sievers [Thu, 22 Apr 2010 16:33:49 +0000 (18:33 +0200)]
udev-acl: use a tag instead of a property to mark devices

14 years agoall to match against a given TAG==
Kay Sievers [Thu, 22 Apr 2010 16:33:24 +0000 (18:33 +0200)]
all to match against a given TAG==

14 years agoadd TAG= to improve event filtering and device enumeration
Kay Sievers [Thu, 22 Apr 2010 16:12:36 +0000 (18:12 +0200)]
add TAG= to improve event filtering and device enumeration

14 years agoudevadm: info --export-db -- remove watch handle export
Kay Sievers [Thu, 22 Apr 2010 04:23:16 +0000 (06:23 +0200)]
udevadm: info --export-db -- remove watch handle export

14 years agoFix volume keys not releasing for Pegatron platform
Jerone Young [Wed, 21 Apr 2010 17:19:37 +0000 (12:19 -0500)]
Fix volume keys not releasing for Pegatron platform

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>
14 years agofix previous commit
Kay Sievers [Wed, 21 Apr 2010 13:43:05 +0000 (15:43 +0200)]
fix previous commit

14 years agoremove left-over from ignore_remove and all_partitions
Kay Sievers [Wed, 21 Apr 2010 13:11:57 +0000 (15:11 +0200)]
remove left-over from ignore_remove and all_partitions

14 years agomore readlink buffer size handling
Kay Sievers [Wed, 21 Apr 2010 12:44:33 +0000 (14:44 +0200)]
more readlink buffer size handling

14 years agoremove buffer-overrun risk in readlink call
Mathias Nyman [Wed, 21 Apr 2010 10:52:52 +0000 (13:52 +0300)]
remove buffer-overrun risk in readlink call

readlink does not write a nul character to the end of the
string it returns. Therefore ask for one fewer character
than the buffer size so there's always room for an extra \0.

Signed-off-by: Mathias Nyman <mathias.nyman@nokia.com>
Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoconfigure.ac: version bump
Kay Sievers [Wed, 21 Apr 2010 06:50:59 +0000 (08:50 +0200)]
configure.ac: version bump

14 years agorelease 153
Kay Sievers [Wed, 21 Apr 2010 06:31:55 +0000 (08:31 +0200)]
release 153

14 years agoconfigure.ac: fix broken firmware search path in configure.ac
Robby Workman [Wed, 21 Apr 2010 09:07:21 +0000 (04:07 -0500)]
configure.ac: fix broken firmware search path in configure.ac

Correct a silly typo: s/fimware/firmware/

14 years agoconfigure.ac: version bump
Kay Sievers [Tue, 20 Apr 2010 07:39:24 +0000 (09:39 +0200)]
configure.ac: version bump

14 years agorelease 152
Kay Sievers [Tue, 20 Apr 2010 05:32:40 +0000 (07:32 +0200)]
release 152

14 years agodoc: add section about how *not* to rename device nodes
Kay Sievers [Tue, 20 Apr 2010 05:29:51 +0000 (07:29 +0200)]
doc: add section about how *not* to rename device nodes

Thanks to Mario 'BitKoenig' Holbe <Mario.Holbe@tu-ilmenau.de>.

14 years agoconfigure.ac: ddd --with-firmware-path option
Yury G. Kudryashov [Fri, 16 Apr 2010 05:38:32 +0000 (09:38 +0400)]
configure.ac: ddd --with-firmware-path option

In NixOS we need to use non-standard firmware path: we have no /lib.

14 years agohid2hci: include linux/types.h for __u32
Yury G. Kudryashov [Thu, 15 Apr 2010 20:21:02 +0000 (00:21 +0400)]
hid2hci: include linux/types.h for __u32

14 years agodelete only device nodes, not symlinks when deleting a devtmpfs node
Kay Sievers [Mon, 19 Apr 2010 16:57:28 +0000 (18:57 +0200)]
delete only device nodes, not symlinks when deleting a devtmpfs node

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550152

14 years agoadd O_NOFOLLOW when creating files in link stack
Kay Sievers [Mon, 19 Apr 2010 16:55:10 +0000 (18:55 +0200)]
add O_NOFOLLOW when creating files in link stack

14 years agoRevert "Fix switching Logitech bluetooth adapters into hci mode."
Kay Sievers [Mon, 19 Apr 2010 13:10:34 +0000 (15:10 +0200)]
Revert "Fix switching Logitech bluetooth adapters into hci mode."

This reverts commit 2b463cb050cbf77d9c6b51e0f5a9d89bf7eb1bc3.

14 years agodoc: document the WAIT_FOR timeout
Marco d'Itri [Mon, 19 Apr 2010 10:46:07 +0000 (12:46 +0200)]
doc: document the WAIT_FOR timeout

14 years agokeymap: Add force-release quirk for Mitac 8050QDA
Kamal Mostafa [Mon, 19 Apr 2010 06:56:45 +0000 (08:56 +0200)]
keymap: Add force-release quirk for Mitac 8050QDA

https://launchpad.net/bugs/374884

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agokeymap: Add force-release quirk for Coolbox QBook 270-02
Kamal Mostafa [Mon, 19 Apr 2010 06:54:04 +0000 (08:54 +0200)]
keymap: Add force-release quirk for Coolbox QBook 270-02

https://launchpad.net/bugs/420473

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agokeymap: Unite laptop models needing common volume-key release quirk
Kamal Mostafa [Mon, 19 Apr 2010 06:48:34 +0000 (08:48 +0200)]
keymap: Unite laptop models needing common volume-key release quirk

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>
14 years agocdrom_id: set ID_CDROM_MEDIA=1 only for known media
Kay Sievers [Sat, 17 Apr 2010 17:31:44 +0000 (19:31 +0200)]
cdrom_id: set ID_CDROM_MEDIA=1 only for known media

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.

14 years agocdrom_id: add missing profiles to feature_profiles
Mike Brudevold [Fri, 16 Apr 2010 00:55:50 +0000 (19:55 -0500)]
cdrom_id: add missing profiles to feature_profiles

Signed-off-by: Mike Brudevold <mike@brudevold.com>
14 years agoconfigure.ac - fix typo in --with-pci-ids-path option
Yury G. Kudryashov [Thu, 15 Apr 2010 19:35:51 +0000 (21:35 +0200)]
configure.ac - fix typo in --with-pci-ids-path option

14 years agocdrom_id: Swap media state and TOC info probing
Martin Pitt [Thu, 15 Apr 2010 19:25:57 +0000 (21:25 +0200)]
cdrom_id: Swap media state and TOC info probing

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.

14 years agocdrom_id: Do not ignore errors from scsi_cmd_run()
Martin Pitt [Thu, 15 Apr 2010 06:56:48 +0000 (08:56 +0200)]
cdrom_id: Do not ignore errors from scsi_cmd_run()

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

14 years agocdrom_id: debug - print feature values in hex
Kay Sievers [Thu, 15 Apr 2010 19:22:38 +0000 (21:22 +0200)]
cdrom_id: debug - print feature values in hex

14 years agocdrom_id: debug - print feature values in hex
Kay Sievers [Thu, 15 Apr 2010 19:18:21 +0000 (21:18 +0200)]
cdrom_id: debug - print feature values in hex

14 years agocdrom_id: print more debug messages
Kay Sievers [Thu, 15 Apr 2010 18:48:04 +0000 (20:48 +0200)]
cdrom_id: print more debug messages

14 years agocdrom_id: rework feature/profiles buffer parsing
Kay Sievers [Thu, 15 Apr 2010 18:07:07 +0000 (20:07 +0200)]
cdrom_id: rework feature/profiles buffer parsing

14 years agoupdate NEWS
Kay Sievers [Wed, 14 Apr 2010 15:00:57 +0000 (17:00 +0200)]
update NEWS

14 years agocdrom_id: Fix uninitialized buffers
Martin Pitt [Tue, 13 Apr 2010 13:25:48 +0000 (15:25 +0200)]
cdrom_id: Fix uninitialized buffers

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

14 years agoremove "ignore_remove" option
Kay Sievers [Tue, 13 Apr 2010 10:45:38 +0000 (12:45 +0200)]
remove "ignore_remove" option

14 years agorules: call modprobe on all events but "remove"
Kay Sievers [Tue, 13 Apr 2010 10:12:08 +0000 (12:12 +0200)]
rules: call modprobe on all events but "remove"

14 years agocdrom_id: Fix uninitialized variables
Martin Pitt [Tue, 13 Apr 2010 08:49:24 +0000 (10:49 +0200)]
cdrom_id: Fix uninitialized variables

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

14 years agoremove "all_partitions" option
Kay Sievers [Tue, 13 Apr 2010 06:52:48 +0000 (08:52 +0200)]
remove "all_partitions" option

We can not predict the major/minor of non-existing devices:
  $ grep . /sys/class/block/sd*/dev
  /sys/class/block/sda1/dev:259:524288
  /sys/class/block/sda2/dev:259:262144
  /sys/class/block/sda3/dev:259:786432
  /sys/class/block/sda4/dev:259:131072
  /sys/class/block/sda/dev:259:0
  /sys/class/block/sdb/dev:259:655360
  /sys/class/block/sdc/dev:259:393216

If this functionality is still needed for some broken hardware, it needs to be
solved with a tool not part of the udev package. Because such option is unreliable
and unsafe to use.

14 years agoudevadm: trigger - switch default action from "add" to "change"
Kay Sievers [Mon, 12 Apr 2010 15:56:32 +0000 (17:56 +0200)]
udevadm: trigger - switch default action from "add" to "change"

14 years agolog info only if we actually delete the node
Kay Sievers [Mon, 12 Apr 2010 15:13:37 +0000 (17:13 +0200)]
log info only if we actually delete the node

14 years agoupdate NEWS
Kay Sievers [Mon, 12 Apr 2010 15:00:16 +0000 (17:00 +0200)]
update NEWS

14 years agoreplace "add|change" with "!remove"
Kay Sievers [Mon, 12 Apr 2010 14:52:41 +0000 (16:52 +0200)]
replace "add|change" with "!remove"

14 years agousb-db: remove double '/'
Kay Sievers [Mon, 12 Apr 2010 14:10:05 +0000 (16:10 +0200)]
usb-db: remove double '/'

14 years agoallow IMPORT{db}="KEY"
Kay Sievers [Mon, 12 Apr 2010 13:58:05 +0000 (15:58 +0200)]
allow IMPORT{db}="KEY"

14 years agounify/cleanup event handling
Kay Sievers [Mon, 12 Apr 2010 13:51:16 +0000 (15:51 +0200)]
unify/cleanup event handling

14 years agorules: we do not have static devices which are renamed
Kay Sievers [Mon, 12 Apr 2010 08:50:59 +0000 (10:50 +0200)]
rules: we do not have static devices which are renamed

14 years agorules: delete outdated packagees rules
Kay Sievers [Mon, 12 Apr 2010 08:45:27 +0000 (10:45 +0200)]
rules: delete outdated packagees rules

14 years agocdrom_id: always set ID_CDROM regardless if we can run cdrom_id
Kay Sievers [Sun, 11 Apr 2010 23:12:23 +0000 (01:12 +0200)]
cdrom_id: always set ID_CDROM regardless if we can run cdrom_id

14 years agocdrom_id: check mount state in retry loop
Kay Sievers [Wed, 7 Apr 2010 09:32:22 +0000 (11:32 +0200)]
cdrom_id: check mount state in retry loop

Based on a patch from Harald Hoyer.

14 years agocdrom_id: retry to open the device, if EBUSY
Kay Sievers [Wed, 7 Apr 2010 07:24:25 +0000 (09:24 +0200)]
cdrom_id: retry to open the device, if EBUSY

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.

14 years agocdrom_id: remove debugging code
Harald Hoyer [Wed, 7 Apr 2010 07:23:46 +0000 (09:23 +0200)]
cdrom_id: remove debugging code

14 years agoscsi_id: add rand() in retry loop
Kay Sievers [Wed, 7 Apr 2010 07:22:30 +0000 (09:22 +0200)]
scsi_id: add rand() in retry loop

14 years agoextras: mobile-action-modeswitch - update gitignore
Kay Sievers [Wed, 7 Apr 2010 07:16:47 +0000 (09:16 +0200)]
extras: mobile-action-modeswitch - update gitignore

14 years agoAdd support for another Dell touchpad toggle key
Jerone Young [Tue, 6 Apr 2010 21:08:21 +0000 (16:08 -0500)]
Add support for another Dell touchpad toggle key

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>
14 years agoFix Dell Studio 1558 volume keys not releasing
Jerone Young [Tue, 6 Apr 2010 17:59:12 +0000 (12:59 -0500)]
Fix Dell Studio 1558 volume keys not releasing

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>
14 years agoRevert special casing 0xD8 to latitude XT only
Jerone Young [Mon, 5 Apr 2010 23:45:35 +0000 (18:45 -0500)]
Revert special casing 0xD8 to latitude XT only

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>
14 years agoAdd new Dell touchpad keycode
Jerone Young [Mon, 5 Apr 2010 23:45:34 +0000 (18:45 -0500)]
Add new Dell touchpad keycode

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>
14 years agoFix Keymapping for upcoming Dell Laptops
Jerone Young [Thu, 25 Mar 2010 01:14:23 +0000 (20:14 -0500)]
Fix Keymapping for upcoming Dell Laptops

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>