platform/upstream/systemd.git
14 years agoudev(7): Point out required extension, and remove some confusion
Martin Pitt [Fri, 20 Aug 2010 10:19:23 +0000 (12:19 +0200)]
udev(7): Point out required extension, and remove some confusion

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

14 years agoversion bump
Kay Sievers [Thu, 19 Aug 2010 16:03:04 +0000 (18:03 +0200)]
version bump

14 years agoinit: edit systemd service descriptions
Kay Sievers [Thu, 19 Aug 2010 16:02:20 +0000 (18:02 +0200)]
init: edit systemd service descriptions

14 years agoudevd: add pid to kmsg logs
Kay Sievers [Thu, 19 Aug 2010 06:49:43 +0000 (08:49 +0200)]
udevd: add pid to kmsg logs

14 years agoinit: add 'udev -' to description in systemd service files
Kay Sievers [Thu, 19 Aug 2010 06:48:44 +0000 (08:48 +0200)]
init: add 'udev -' to description in systemd service files

14 years agoudev-acl: do not mistake all SCSI "processor" devices for scanner
Marco d'Itri [Wed, 18 Aug 2010 11:35:25 +0000 (13:35 +0200)]
udev-acl: do not mistake all SCSI "processor" devices for scanner

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

14 years agoinit: update systemd service files
Kay Sievers [Tue, 17 Aug 2010 16:53:57 +0000 (18:53 +0200)]
init: update systemd service files

14 years agoinit: update systemd service files
Kay Sievers [Tue, 17 Aug 2010 07:37:57 +0000 (09:37 +0200)]
init: update systemd service files

14 years agocdrom_id: Drop MEDIA_SESSION_NEXT for DVD-RW-RO
Jan Drzewiecki [Fri, 13 Aug 2010 05:24:29 +0000 (07:24 +0200)]
cdrom_id: Drop MEDIA_SESSION_NEXT for DVD-RW-RO

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>
14 years agoAdd keymap for Lenovo IdeaPad S10-3
David Woodhouse [Thu, 12 Aug 2010 16:04:55 +0000 (17:04 +0100)]
Add keymap for Lenovo IdeaPad S10-3

Tested on S10-3, but presumably applicable to all IdeaPads.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agocdrom_id: Add media status debugging
Martin Pitt [Thu, 12 Aug 2010 05:10:12 +0000 (07:10 +0200)]
cdrom_id: Add media status debugging

Show which media status the hardware originally reports, since we mangle it in
some cases.

14 years agorelease 161
Kay Sievers [Wed, 11 Aug 2010 13:43:17 +0000 (15:43 +0200)]
release 161

14 years agocdrom_id: do not bail out when we can not read the TOC like for empty CDRW
Kay Sievers [Wed, 11 Aug 2010 13:38:48 +0000 (15:38 +0200)]
cdrom_id: do not bail out when we can not read the TOC like for empty CDRW

14 years agocdrom_id: READ TOC before READ DISC INFORMATION fixes qemu
Harald Hoyer [Wed, 11 Aug 2010 13:20:31 +0000 (15:20 +0200)]
cdrom_id: READ TOC before READ DISC INFORMATION fixes qemu

14 years agocdrom_id: whitespace fix
Kay Sievers [Wed, 11 Aug 2010 13:04:05 +0000 (15:04 +0200)]
cdrom_id: whitespace fix

14 years agodo not rename the database on device rename
Kay Sievers [Wed, 11 Aug 2010 12:34:32 +0000 (14:34 +0200)]
do not rename the database on device rename

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.

14 years agoalways log error when renaming a network interface fails
Kay Sievers [Wed, 11 Aug 2010 12:29:49 +0000 (14:29 +0200)]
always log error when renaming a network interface fails

14 years agocdrom_id: Fix state for fresh DVD-RW
Jan Drzewiecki [Tue, 10 Aug 2010 21:37:14 +0000 (23:37 +0200)]
cdrom_id: Fix state for fresh DVD-RW

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>
14 years agorule_generator/write_net_rules: prevent interface to be named "eth"
Harald Hoyer [Tue, 10 Aug 2010 14:48:37 +0000 (16:48 +0200)]
rule_generator/write_net_rules: prevent interface to be named "eth"

find_next_available() would return "eth" instead of "eth0"

14 years agoudev-event.c: rename interface to <src>-<dest>, if <dest> taken
Harald Hoyer [Tue, 10 Aug 2010 14:41:24 +0000 (16:41 +0200)]
udev-event.c: rename interface to <src>-<dest>, if <dest> taken

e.g. if eth0 should be eth3 and eth3 is waiting to be renamed,
eth0 was renamed to eth0_rename. The kernel would take eth0 as the name
for a new interface and this new eth0 could also become eth0_rename, if
the target name is also taken. To prevent this name clash, the
interfaces are now renamed to <src>-<dest> and the rename is logged.

14 years agofix broken "compile warning fix"
Kay Sievers [Tue, 10 Aug 2010 06:07:28 +0000 (08:07 +0200)]
fix broken "compile warning fix"

14 years agoudev-acl: add DDC_DEVICE to the types that are managed
Richard Hughes [Mon, 9 Aug 2010 10:41:18 +0000 (11:41 +0100)]
udev-acl: add DDC_DEVICE to the types that are managed

DDC_DEVICEs are control points for high-end monitors such as the
HP DreamColor. The DDC/CI interface allows userspace applications
to upload custom colorspaces and interact with the display without
using the monitor hardware controls.

14 years agoudev: fix compile warning
Yin Kangkai [Fri, 6 Aug 2010 07:08:51 +0000 (15:08 +0800)]
udev: fix compile warning

  CC     udev/udevd.o
In file included from udev/udev.h:27,
                 from udev/udevd.c:47:
./libudev/libudev-private.h: In function ‘udev_selinux_setfscreateconat’:
./libudev/libudev-private.h:230: warning: declaration of ‘dirfd’ shadows a global declaration
/usr/include/dirent.h:224: warning: shadowed declaration is here

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoudevd: create static device links only when the target exists
Yin Kangkai [Thu, 5 Aug 2010 08:17:00 +0000 (16:17 +0800)]
udevd: create static device links only when the target exists

For example, not all systems have PROC_KCORE enabled. Avoid a broken symbolic
link in those cases.

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoudevd: fix unref'ing of device in error path
Yin Kangkai [Thu, 5 Aug 2010 03:47:48 +0000 (11:47 +0800)]
udevd: fix unref'ing of device in error path

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agocdrom_id: No "next session" for "other" media state
Jan Drzewiecki [Sun, 8 Aug 2010 17:22:13 +0000 (19:22 +0200)]
cdrom_id: No "next session" for "other" media state

"other" is known to apply to DVD-RAMs, where sessions can't be appended.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agocdrom_id: Also apply format check to DVD-RW
Jan Drzewiecki [Sun, 8 Aug 2010 17:19:07 +0000 (19:19 +0200)]
cdrom_id: Also apply format check to DVD-RW

Extend the DVD+RW/DVD-RAM check in commit 1ef6c9e to also cover DVD-RW, since
in "restricted overwrite" mode they behave similar to DVD+RW.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agocdrom_id: Handle pre-MMC2 drives
Jan Drzewiecki [Sun, 8 Aug 2010 15:57:47 +0000 (17:57 +0200)]
cdrom_id: Handle pre-MMC2 drives

Those do not yet support the 0x46 "GET CONFIGURATION" support. If we have
those, fall back to the 0x51 "READ DISC INFORMATION" call. This can only
differentiate between CD-RW and CD-R, but first that's better than a complete
detection failure, and second, those old drives likely don't support more
modern media in the first place.

https://launchpad.net/bugs/502143

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agocdrom_id: Fix detection of reblanked DVD+RW and DVD-RAM
Jan Drzewiecki [Sun, 8 Aug 2010 15:47:08 +0000 (17:47 +0200)]
cdrom_id: Fix detection of reblanked DVD+RW and DVD-RAM

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>
14 years agoudev-acl: remove specific device matches from the rules file
Kay Sievers [Thu, 5 Aug 2010 16:55:57 +0000 (18:55 +0200)]
udev-acl: remove specific device matches from the rules file

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.

14 years agoudev-acl: really fix ACL assignment in CK events
Michal Schmidt [Wed, 4 Aug 2010 09:53:25 +0000 (11:53 +0200)]
udev-acl: really fix ACL assignment in CK events

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

14 years agoudev-acl: properly handle CK change events for root user
Kay Sievers [Tue, 3 Aug 2010 13:09:46 +0000 (15:09 +0200)]
udev-acl: properly handle CK change events for root user

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

14 years agocall util_delete_path() only when we actually deleted stuff
Kay Sievers [Tue, 3 Aug 2010 10:13:53 +0000 (12:13 +0200)]
call util_delete_path() only when we actually deleted stuff

14 years agoudevd: fix short options in getopt()
Yin Kangkai [Tue, 3 Aug 2010 06:11:43 +0000 (08:11 +0200)]
udevd: fix short options in getopt()

14 years agomalloc()+memset() -> calloc()
Yin Kangkai [Tue, 3 Aug 2010 06:10:26 +0000 (08:10 +0200)]
malloc()+memset() -> calloc()

14 years agoudevd: fix some memory leaks in error path
Yin Kangkai [Mon, 2 Aug 2010 10:31:18 +0000 (18:31 +0800)]
udevd: fix some memory leaks in error path

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
14 years agokeymap: Add force-release quirks for a lot more Samsung models
Fortunato Ventre [Sun, 1 Aug 2010 20:03:30 +0000 (22:03 +0200)]
keymap: Add force-release quirks for a lot more Samsung models

https://launchpad.net/bugs/554066

14 years agokeymap: Generalize Samsung keymaps
Martin Pitt [Sun, 1 Aug 2010 19:59:58 +0000 (21:59 +0200)]
keymap: Generalize Samsung keymaps

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

14 years agoudevadm: fix short options in getopt()
Yin Kangkai [Wed, 28 Jul 2010 04:56:13 +0000 (06:56 +0200)]
udevadm: fix short options in getopt()

14 years agohid2hci: fix for Logitech diNovo Edge keyboard
Marco d'Itri [Fri, 23 Jul 2010 10:08:31 +0000 (12:08 +0200)]
hid2hci: fix for Logitech diNovo Edge keyboard

14 years agolibudev: bump minor so version after adding symbols
Kay Sievers [Mon, 19 Jul 2010 12:08:21 +0000 (14:08 +0200)]
libudev: bump minor so version after adding symbols

14 years agolog an error when a message from the wrong version of udevadm is ignored
Marco d'Itri [Mon, 19 Jul 2010 08:56:37 +0000 (10:56 +0200)]
log an error when a message from the wrong version of udevadm is ignored

14 years agohid2hci: fix Logitech diNovo, MX5500 and other keyboards
Marco d'Itri [Mon, 19 Jul 2010 08:37:41 +0000 (10:37 +0200)]
hid2hci: fix Logitech diNovo, MX5500 and other keyboards

14 years agoFix volume keys not releasing on Mivvy G310
Jerone Young [Fri, 16 Jul 2010 03:01:24 +0000 (22:01 -0500)]
Fix volume keys not releasing on Mivvy G310

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>
14 years agoudev-acl: update firewire matches to recent rule changes
Kay Sievers [Thu, 15 Jul 2010 09:38:14 +0000 (11:38 +0200)]
udev-acl: update firewire matches to recent rule changes

14 years agorules: remove firewire rules for deprecated drivers
Kay Sievers [Mon, 12 Jul 2010 09:04:17 +0000 (11:04 +0200)]
rules: remove firewire rules for deprecated drivers

14 years agorules: add more FireWire IDs: Point Grey IIDC; AV/C + vendor unique
Stefan Richter [Sun, 11 Jul 2010 10:32:12 +0000 (12:32 +0200)]
rules: add more FireWire IDs: Point Grey IIDC; AV/C + vendor unique

1. IIDC cameras from Point Grey use the vendor OUI as Specifier_ID
instead of the 1394 TA's OUI but are otherwise fully compliant to the
IIDC spec. Their device files should be accessible like those of any
other IIDC cameras.

2. Originally, the Software_Version of devices that implement FCP
(IEC 61883-1 Function Control Protocol) was meant to be a bitmap of all
command sets that an FCP capable unit supports.  Bitmap flags are
defined for AV/C, CAL, EHS, HAVi, and vendor unique command sets.
Software_Version was revised to be a simple identifier instead, and
devices that support several command sets were meant to instantiate one
unit directory for each command set.  Still, some devices with the flags
for AV/C and vendor unique command sets combined were released (but
apparently no devices with any other flag combinations).  These rare but
existing AV/C + vendor unique devices need to be accessible just like
plain AV/C devices.

Side notes:
 - Many AV/C devices make use of the Vendor Dependent AV/C command, but
this is unrelated to vendor unique FCP command sets.
 - Here are all standardized FireWire protocol identifiers that I know
of, listed as Specifier_ID:Software_Version | specifier | protocol.
0x00005e:0x000001 | IANA    | IPv4 over 1394 (RFC 2734)
0x00005e:0x000002 | IANA    | IPv6 over 1394 (RFC 3146)
0x00609e:0x010483 | INCITS  | SBP-2 (or SCSI command sets over SBP-3)
0x00609e:0x0105bb | INCITS  | AV/C over SBP-3
0x00a02d:0x010001 | 1394 TA | AV/C (over FCP)
0x00a02d:0x010002 | 1394 TA | CAL
0x00a02d:0x010004 | 1394 TA | EHS
0x00a02d:0x010008 | 1394 TA | HAVi
0x00a02d:0x014000 | 1394 TA | Vendor Unique
0x00a02d:0x014001 | 1394 TA | Vendor Unique and AV/C (over FCP)
0x00a02d:0x000100 | 1394 TA | IIDC 1.04
0x00a02d:0x000101 | 1394 TA | IIDC 1.20
0x00a02d:0x000102 | 1394 TA | IIDC 1.30
0x00a02d:0x0A6BE2 | 1394 TA | DPP 1.0
0x00a02d:0x4B661F | 1394 TA | IICP 1.0
For now we are only interested in udev rules for AV/C and IIDC.

Reported-by: Damien Douxchamps <ddsf@douxchamps.net> (Point Grey IIDC ID)
Reported-by: Clemens Ladisch <clemens@ladisch.de> (AV/C + vendor unique ID)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
14 years agoversion bump
Kay Sievers [Sun, 11 Jul 2010 22:10:16 +0000 (00:10 +0200)]
version bump

14 years agorelease 160
Kay Sievers [Sun, 11 Jul 2010 21:58:24 +0000 (23:58 +0200)]
release 160

14 years agoudevd: init_notify() fix abstract namespace name handling
Kay Sievers [Sun, 11 Jul 2010 21:57:11 +0000 (23:57 +0200)]
udevd: init_notify() fix abstract namespace name handling

14 years agosystemd: make service files readable by GKeyFile
Lennart Poettering [Thu, 8 Jul 2010 13:02:48 +0000 (15:02 +0200)]
systemd: make service files readable by GKeyFile

14 years ago60-persistent-storage-tape.rules: make own by-path symlink for nst tapes
Harald Hoyer [Thu, 8 Jul 2010 09:36:01 +0000 (11:36 +0200)]
60-persistent-storage-tape.rules: make own by-path symlink for nst tapes

14 years agokeymap: Add Lenovo ThinkPad SL Series extra buttons
Martin Pitt [Wed, 7 Jul 2010 21:18:19 +0000 (23:18 +0200)]
keymap: Add Lenovo ThinkPad SL Series extra buttons

Sent by Quentin Denis <quentin.denis@gmail.com> via private mail.

14 years agokeymap: Find alternate Lenovo module
Martin Pitt [Wed, 7 Jul 2010 21:17:11 +0000 (23:17 +0200)]
keymap: Find alternate Lenovo module

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.

14 years agoallow final assignment for OPTIONS:="nowatch"
Kay Sievers [Wed, 7 Jul 2010 09:35:40 +0000 (11:35 +0200)]
allow final assignment for OPTIONS:="nowatch"

A final assignemnt operator will disable any device watching by
inotify, and any possible later rules setting "watch" again will
be ignored.

14 years ago60-persistent-storage-tape: s/path_id.sh/path_id/
Harald Hoyer [Wed, 7 Jul 2010 08:57:09 +0000 (10:57 +0200)]
60-persistent-storage-tape: s/path_id.sh/path_id/

14 years agorules: tape - remove WAIT_FOR instruction and don't export BSG_DEV
Kay Sievers [Wed, 7 Jul 2010 07:54:21 +0000 (09:54 +0200)]
rules: tape - remove WAIT_FOR instruction and don't export BSG_DEV

14 years agoversion bump
Kay Sievers [Wed, 7 Jul 2010 05:13:20 +0000 (07:13 +0200)]
version bump

14 years agorelease 159
Kay Sievers [Wed, 7 Jul 2010 04:49:29 +0000 (06:49 +0200)]
release 159

14 years agokeymap: Add Logitech Cordless Wave Pro
Martin Pitt [Mon, 5 Jul 2010 07:35:36 +0000 (09:35 +0200)]
keymap: Add Logitech Cordless Wave Pro

https://launchpad.net/bugs/592371

14 years agosystemd: update service files for newly introduced DefaultDependencies= option
Lennart Poettering [Sun, 4 Jul 2010 02:16:14 +0000 (04:16 +0200)]
systemd: update service files for newly introduced DefaultDependencies= option

This new option has been introduced very recently in systemd and needs
to be unset for udev, since udev is supposed to be run on early boot.

14 years agokeymap: Add support for IBM-branded USB devices
Matthew Garrett [Thu, 1 Apr 2010 18:22:32 +0000 (14:22 -0400)]
keymap: Add support for IBM-branded USB devices

These seem to use a different layout to the Lenovo-branded devices

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agogudev: respect possibly given LD_LIBRARY_PATH
Michael Meeks [Tue, 29 Jun 2010 08:49:31 +0000 (09:49 +0100)]
gudev: respect possibly given LD_LIBRARY_PATH

michael@linux-iwk5:/opt/hgnome/src/udev> make V=1
make --no-print-directory all-recursive
Making all in .
PKG_CONFIG_PATH=./data:$PKG_CONFIG_PATH \
        LD_LIBRARY_PATH=./extras/gudev \
        /opt/hgnome/bin/g-ir-scanner -v \
                --namespace GUdev \
..
                ./extras/gudev/gudevdevice.c
/opt/hgnome/bin/python: error while loading shared libraries:
libpython2.5.so.1.0: cannot open shared object file: No such file or
directory
make[2]: *** [extras/gudev/GUdev-1.0.gir] Error 127

14 years agoAdd virtio-blk by-id rules based on 'serial' attribute
Ryan Harper [Fri, 25 Jun 2010 13:59:23 +0000 (08:59 -0500)]
Add virtio-blk by-id rules based on 'serial' attribute

Using virtio-blk serial attributes add rules to extract drive serial numbers and
generate by-id links for the block device and partitions.

With these rules added, we now see the following symlinks in disk/by-id

% ls -al /dev/disk/by-id | grep vdb
lrwxrwxrwx. 1 root root   9 Jun  1 22:09 virtio-QM00001 -> ../../vda
lrwxrwxrwx. 1 root root  10 Jun  1 22:09 virtio-QM00001-part1 -> ../../vda1

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
14 years agoAdd virtio-blk support to path_id
Ryan Harper [Fri, 25 Jun 2010 13:59:22 +0000 (08:59 -0500)]
Add virtio-blk support to path_id

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>
14 years agoFix stuck volume key presses for Toshiba Satellite U300 & U305models
Jerone Young [Mon, 28 Jun 2010 03:35:44 +0000 (22:35 -0500)]
Fix stuck volume key presses for Toshiba Satellite U300 & U305models

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>
14 years agoswitch a few left-over from GPLv2 to GPLv2 or later
Kay Sievers [Fri, 25 Jun 2010 09:39:21 +0000 (11:39 +0200)]
switch a few left-over from GPLv2 to GPLv2 or later

14 years agomake: fix 'make distcheck'
Kay Sievers [Fri, 25 Jun 2010 08:42:33 +0000 (10:42 +0200)]
make: fix 'make distcheck'
udev-159.tar.gz

14 years agomake: pre-process and install systemd service files when needed
Kay Sievers [Fri, 25 Jun 2010 08:30:55 +0000 (10:30 +0200)]
make: pre-process and install systemd service files when needed

14 years agoadd systemd service files
Kay Sievers [Thu, 24 Jun 2010 23:31:57 +0000 (01:31 +0200)]
add systemd service files

14 years agoversion bump
Kay Sievers [Thu, 24 Jun 2010 08:17:15 +0000 (10:17 +0200)]
version bump

14 years agorelease 158
Kay Sievers [Thu, 24 Jun 2010 07:38:31 +0000 (09:38 +0200)]
release 158

14 years agorules: remove unused subdir
Kay Sievers [Thu, 24 Jun 2010 07:35:39 +0000 (09:35 +0200)]
rules: remove unused subdir

14 years agomtd_probe: add needed include, modprobe blacklist flag, and change some whitespace
Kay Sievers [Wed, 23 Jun 2010 20:29:58 +0000 (22:29 +0200)]
mtd_probe: add needed include, modprobe blacklist flag, and change some whitespace

14 years agomtd_probe: add autodetection for xD cards
Maxim Levitsky [Wed, 23 Jun 2010 20:20:29 +0000 (22:20 +0200)]
mtd_probe: add autodetection for xD cards

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>
14 years agoremove a few comments in file headers
Kay Sievers [Mon, 21 Jun 2010 14:55:16 +0000 (16:55 +0200)]
remove a few comments in file headers

14 years agoextras/keymap: add Samsung N210 to keymap rules
Harald Hoyer [Mon, 21 Jun 2010 12:04:43 +0000 (14:04 +0200)]
extras/keymap: add Samsung N210 to keymap rules

https://bugzilla.redhat.com/show_bug.cgi?id=606302

Thanks to John Floyd!

14 years agodelete last distro specific rules
Kay Sievers [Mon, 21 Jun 2010 08:06:10 +0000 (10:06 +0200)]
delete last distro specific rules

14 years agoudevd: in case we don't daemonize, send READY message to /sbin/init
Kay Sievers [Thu, 17 Jun 2010 19:50:58 +0000 (21:50 +0200)]
udevd: in case we don't daemonize, send READY message to /sbin/init

14 years agoFix usb printer rule for multiple USB interfaces
Martin Pitt [Thu, 17 Jun 2010 11:19:50 +0000 (13:19 +0200)]
Fix usb printer rule for multiple USB interfaces

Commit f61e72d89 failed to match for the case where an USB printer has multiple
interfaces, such as

  ID_USB_INTERFACES=:ffffff:070102:

Thanks to Pablo Mazzini for spotting this!

14 years agoRevert "add Vala vapi for gudev-1.0"
Martin Pitt [Sun, 13 Jun 2010 08:08:22 +0000 (10:08 +0200)]
Revert "add Vala vapi for gudev-1.0"

Argh, recent vala already ships with a gudev vapi.

This reverts commit 6a7b5ec7712ea53fd756b07036e23ac0d751cec4.

14 years agoadd Vala vapi for gudev-1.0
Martin Pitt [Sat, 12 Jun 2010 21:52:52 +0000 (23:52 +0200)]
add Vala vapi for gudev-1.0

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.

14 years agoFix hid2hci rules harder
Martin Pitt [Fri, 11 Jun 2010 13:14:55 +0000 (15:14 +0200)]
Fix hid2hci rules harder

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

14 years agolibudev: fix fd leak in udev_enumerate_scan_devices() when tags are searched
Kay Sievers [Sat, 5 Jun 2010 08:30:36 +0000 (10:30 +0200)]
libudev: fix fd leak in udev_enumerate_scan_devices() when tags are searched

Thanks to Lennart for finding this.

14 years agoversion bump
Kay Sievers [Wed, 2 Jun 2010 18:31:51 +0000 (20:31 +0200)]
version bump

14 years agoconfigure.ac: fix cross compilation
Paul Bender [Wed, 2 Jun 2010 15:35:44 +0000 (17:35 +0200)]
configure.ac: fix cross compilation

"Be aware that, like most Autoconf macros, they test a
feature of the host machine, and therefore, they die
when cross-compiling"

14 years agorelease 157
Kay Sievers [Wed, 2 Jun 2010 11:49:47 +0000 (13:49 +0200)]
release 157

14 years agoFix wlan key on Inspiron 1010 & 1110
Jerone Young [Wed, 2 Jun 2010 06:27:31 +0000 (01:27 -0500)]
Fix wlan key on Inspiron 1010 & 1110

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>
14 years agoupdate NEWS
Kay Sievers [Mon, 31 May 2010 09:19:31 +0000 (11:19 +0200)]
update NEWS

14 years agolibudev: doc - fix typo
Kay Sievers [Mon, 31 May 2010 09:18:52 +0000 (11:18 +0200)]
libudev: doc - fix typo

14 years agoIMPORT{cmdline}: start at first char after '='
Kay Sievers [Mon, 31 May 2010 09:04:42 +0000 (11:04 +0200)]
IMPORT{cmdline}: start at first char after '='

14 years agoadd IMPORT{cmdline}
Kay Sievers [Sun, 30 May 2010 23:13:03 +0000 (01:13 +0200)]
add IMPORT{cmdline}

14 years agoudevd: set umask before creating files/directories
Kay Sievers [Sun, 30 May 2010 21:42:11 +0000 (23:42 +0200)]
udevd: set umask before creating files/directories

14 years agoFix wlan key on Inspiron 910
Jerone Young [Sun, 30 May 2010 16:39:28 +0000 (11:39 -0500)]
Fix wlan key on Inspiron 910

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>
14 years agomake: fix rules/ subdir names
Kay Sievers [Sun, 30 May 2010 13:16:53 +0000 (15:16 +0200)]
make: fix rules/ subdir names

14 years agomake: mkdir /lib/udev/devices/
Kay Sievers [Sun, 30 May 2010 13:13:48 +0000 (15:13 +0200)]
make: mkdir /lib/udev/devices/

14 years agorules: add misc/30-kernel-compat.rules
Kay Sievers [Sun, 30 May 2010 13:03:41 +0000 (15:03 +0200)]
rules: add misc/30-kernel-compat.rules

14 years agorules: SUSE - move last distro rule to package
Kay Sievers [Sun, 30 May 2010 12:57:06 +0000 (14:57 +0200)]
rules: SUSE - move last distro rule to package

14 years agorules: rename packages -> arch
Kay Sievers [Sun, 30 May 2010 12:52:03 +0000 (14:52 +0200)]
rules: rename packages -> arch

14 years agoman: udevd - update intro
Kay Sievers [Sat, 29 May 2010 20:51:55 +0000 (22:51 +0200)]
man: udevd - update intro