1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
Commit Graph

3965 Commits

Author SHA1 Message Date
Michael Meeks
86a62b0cf2 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
2010-06-29 17:38:36 +02:00
Ryan Harper
2d000ed9d8 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>
2010-06-29 17:22:58 +02:00
Ryan Harper
8741f2defa 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>
2010-06-29 17:22:49 +02:00
Jerone Young
310f2896eb 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>
2010-06-28 09:14:21 +02:00
Kay Sievers
8b5651bb00 switch a few left-over from GPLv2 to GPLv2 or later 2010-06-25 11:39:21 +02:00
Kay Sievers
f0565500f4 make: fix 'make distcheck'
udev-159.tar.gz
2010-06-25 10:42:33 +02:00
Kay Sievers
08b4c88353 make: pre-process and install systemd service files when needed 2010-06-25 10:30:55 +02:00
Kay Sievers
43fefbf6f1 add systemd service files 2010-06-25 01:31:57 +02:00
Kay Sievers
cbcb846a4c version bump 2010-06-24 10:17:15 +02:00
Kay Sievers
b93e070949 release 158 2010-06-24 09:38:31 +02:00
Kay Sievers
492da5ef53 rules: remove unused subdir 2010-06-24 09:35:39 +02:00
Kay Sievers
5f307a98fa mtd_probe: add needed include, modprobe blacklist flag, and change some whitespace 2010-06-23 22:29:58 +02:00
Maxim Levitsky
674c3412bb 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>
2010-06-23 22:20:29 +02:00
Kay Sievers
e0f83fbe86 remove a few comments in file headers 2010-06-21 16:56:17 +02:00
Harald Hoyer
eb2de7acdb extras/keymap: add Samsung N210 to keymap rules
https://bugzilla.redhat.com/show_bug.cgi?id=606302

Thanks to John Floyd!
2010-06-21 14:06:54 +02:00
Kay Sievers
bc67881840 delete last distro specific rules 2010-06-21 10:06:10 +02:00
Kay Sievers
a65aa40f8a udevd: in case we don't daemonize, send READY message to /sbin/init 2010-06-17 21:52:15 +02:00
Martin Pitt
2da64971fd 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!
2010-06-17 13:19:50 +02:00
Martin Pitt
dcaa863948 Revert "add Vala vapi for gudev-1.0"
Argh, recent vala already ships with a gudev vapi.

This reverts commit 6a7b5ec771.
2010-06-13 10:08:22 +02:00
Martin Pitt
6a7b5ec771 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.
2010-06-13 00:47:16 +02:00
Martin Pitt
ba854cf8c3 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
2010-06-11 15:14:55 +02:00
Kay Sievers
727b12d650 libudev: fix fd leak in udev_enumerate_scan_devices() when tags are searched
Thanks to Lennart for finding this.
2010-06-05 10:30:36 +02:00
Kay Sievers
94aa758d0c version bump 2010-06-02 20:31:51 +02:00
Paul Bender
76e6bc2808 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"
2010-06-02 17:35:44 +02:00
Kay Sievers
ab6e9d3dde release 157 2010-06-02 13:49:47 +02:00
Jerone Young
ca3fe48dc3 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>
2010-06-02 08:59:05 +02:00
Kay Sievers
873f34556d update NEWS 2010-05-31 11:19:31 +02:00
Kay Sievers
a7d29d1509 libudev: doc - fix typo 2010-05-31 11:18:52 +02:00
Kay Sievers
7d2b68b734 IMPORT{cmdline}: start at first char after '=' 2010-05-31 11:04:42 +02:00
Kay Sievers
c4f6dcc4a5 add IMPORT{cmdline} 2010-05-31 01:13:03 +02:00
Kay Sievers
1182b9470f udevd: set umask before creating files/directories 2010-05-30 23:42:47 +02:00
Jerone Young
a07c29ca19 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>
2010-05-30 21:37:58 +02:00
Kay Sievers
d43099830b make: fix rules/ subdir names 2010-05-30 15:16:53 +02:00
Kay Sievers
860a404ddc make: mkdir /lib/udev/devices/ 2010-05-30 15:13:48 +02:00
Kay Sievers
ada635b860 rules: add misc/30-kernel-compat.rules 2010-05-30 15:03:41 +02:00
Kay Sievers
52934a60c4 rules: SUSE - move last distro rule to package 2010-05-30 14:57:06 +02:00
Kay Sievers
66dfef36e0 rules: rename packages -> arch 2010-05-30 14:52:03 +02:00
Kay Sievers
b130944f99 man: udevd - update intro 2010-05-29 22:51:55 +02:00
Kay Sievers
8f7f1a2b52 man: add kernel command line parameters 2010-05-29 22:24:21 +02:00
Jerone Young
7afe4ccd1e Fix wlan key on Inspirion 1210
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-29 19:32:18 +02:00
Kay Sievers
9fa68615bb man: add static device nodes and udevd debug options 2010-05-28 15:11:36 +02:00
Kay Sievers
e5e3f0ca64 rules: delete pilot rules and remove redhat directory 2010-05-28 13:59:23 +02:00
Kay Sievers
0604fc0f7f update NEWS 2010-05-28 12:17:42 +02:00
Kay Sievers
c830e98d6a udevd: read debug settings from kernel commandline 2010-05-28 12:07:27 +02:00
Kay Sievers
7bf44da99c rules: add -v to modprobe calls to be able see what will be loaded 2010-05-27 18:52:09 +02:00
Kay Sievers
d4c1467f85 udevd: fix comments 2010-05-27 17:45:58 +02:00
Kay Sievers
337d102783 udevd: replace --debug-trace with --children-max 2010-05-27 17:41:51 +02:00
Kay Sievers
87d55ff672 childs -> children 2010-05-27 17:27:56 +02:00
Kay Sievers
88cbfb09ee while (1) -> for (;;) 2010-05-27 15:11:00 +02:00
Harald Hoyer
abbc1c17a0 40-redhat.rules: removed file 2010-05-27 11:37:29 +02:00