Update udev from upstream oe (still using 092, just a newer PR, so the .debug stuff is split out of its packaging).
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@788 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
009c24a401
commit
16e5c3b377
|
@ -0,0 +1,4 @@
|
||||||
|
# hostap_cs needs ignore_cis_vcc=1 set - this should handle all cards
|
||||||
|
#
|
||||||
|
ACTION=="add", DEVICE=="hostap_cs", \
|
||||||
|
SYSFS{func_id}=="0x06", RUN+="/sbin/modprobe hostap_cs ignore_cis_vcc=1"
|
|
@ -28,4 +28,4 @@ KERNEL=="rtc0", SYMLINK+="rtc"
|
||||||
ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
|
ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
|
||||||
|
|
||||||
# Create a symlink to any touchscreen input device
|
# Create a symlink to any touchscreen input device
|
||||||
SUBSYSTEM=="input", KERNEL=="event[0-9]*", SYSFS{modalias}=="input:*-e0,1*,3,*k*a0,1,*18,*", SYMLINK+="input/touchscreen0"
|
SUBSYSTEM=="input", KERNEL=="event[0-9]*", SYSFS{modalias}=="input:*-e0,1*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0"
|
||||||
|
|
|
@ -96,3 +96,7 @@ KERNEL=="rfcomm[0-9]*", NAME="%k", GROUP="users", MODE="0660"
|
||||||
|
|
||||||
# Firmware Helper
|
# Firmware Helper
|
||||||
ACTION=="add", SUBSYSTEM=="firmware", RUN+="/lib/udev/firmware_helper"
|
ACTION=="add", SUBSYSTEM=="firmware", RUN+="/lib/udev/firmware_helper"
|
||||||
|
|
||||||
|
# Samsung UARTS
|
||||||
|
KERNEL=="s3c2410_serial[0-9]" NAME="ttySAC%n"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
DESCRIPTION = "udev is a program which dynamically creates and removes device nodes from \
|
DESCRIPTION ?= "udev is a program which dynamically creates and removes device nodes from \
|
||||||
/dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel."
|
/dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel."
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
|
|
||||||
|
@ -33,7 +33,8 @@ bindir = "/bin"
|
||||||
sbindir = "/sbin"
|
sbindir = "/sbin"
|
||||||
|
|
||||||
UDEV_EXTRAS = "<override me>"
|
UDEV_EXTRAS = "<override me>"
|
||||||
FILES_${PN} += "${usrbindir} ${usrsbindir}"
|
FILES_${PN} += "${usrbindir}/* ${usrsbindir}/*"
|
||||||
|
FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug"
|
||||||
EXTRA_OEMAKE = "-e \
|
EXTRA_OEMAKE = "-e \
|
||||||
'EXTRAS=${UDEV_EXTRAS}' \
|
'EXTRAS=${UDEV_EXTRAS}' \
|
||||||
'STRIP=echo'"
|
'STRIP=echo'"
|
||||||
|
|
|
@ -3,21 +3,26 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
|
||||||
the hotplug package and requires a kernel not older than 2.6.12."
|
the hotplug package and requires a kernel not older than 2.6.12."
|
||||||
RPROVIDES = "hotplug"
|
RPROVIDES = "hotplug"
|
||||||
|
|
||||||
PR = "r7"
|
PR = "r11"
|
||||||
|
|
||||||
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
||||||
file://noasmlinkage.patch;patch=1 \
|
file://noasmlinkage.patch;patch=1 \
|
||||||
file://flags.patch;patch=1 \
|
file://flags.patch;patch=1 \
|
||||||
file://udevsynthesize.patch;patch=1 \
|
file://udevsynthesize.patch;patch=1 \
|
||||||
file://arm_inotify_fix.patch;patch=1 \
|
|
||||||
file://udevsynthesize.sh \
|
file://udevsynthesize.sh \
|
||||||
file://mount.blacklist"
|
file://arm_inotify_fix.patch;patch=1 \
|
||||||
|
file://mount.blacklist \
|
||||||
|
"
|
||||||
|
|
||||||
|
SRC_URI_append_h2200 = " file://50-hostap_cs.rules "
|
||||||
|
PACKAGE_ARCH_h2200 = "h2200"
|
||||||
|
|
||||||
require udev.inc
|
require udev.inc
|
||||||
|
|
||||||
INITSCRIPT_PARAMS = "start 03 S ."
|
INITSCRIPT_PARAMS = "start 03 S ."
|
||||||
|
|
||||||
FILES_${PN} += "${base_libdir}"
|
FILES_${PN} += "${base_libdir}/udev/*"
|
||||||
|
FILES_${PN}-dbg += "${base_libdir}/udev/.debug"
|
||||||
UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/"
|
UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/"
|
||||||
EXTRA_OEMAKE += "libudevdir=/lib/udev"
|
EXTRA_OEMAKE += "libudevdir=/lib/udev"
|
||||||
|
|
||||||
|
@ -48,3 +53,7 @@ do_install () {
|
||||||
install -m 0755 ${S}/udevsynthesize ${D}${base_libdir}/udev/udevsynthesize
|
install -m 0755 ${S}/udevsynthesize ${D}${base_libdir}/udev/udevsynthesize
|
||||||
install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize
|
install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install_append_h2200() {
|
||||||
|
install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue