[OpenWrt-Devel] [PATCH fstools] block: remove target directory after unmounting

2018-12-09 Thread Rafał Miłecki
From: Rafał Miłecki This removes dangling directory fixing two issues: 1) Non autofs case Leaving directory in /mnt/ and switching to autofs would result in blockd failing to symlink(). 2) autofs case Leaving directory in /var/run/blockd/ could result in apps trying to access it caus

[OpenWrt-Devel] [PATCHv2] f2fs-tools: Update to 1.12.0

2018-12-09 Thread Rosen Penev
Added two upstream mailing list patches that fix behavior under big endian systems. Issue was present since version 1.11.0. Tested on Turris Omnia. Original discussion: https://github.com/openwrt/openwrt/pull/1575 Signed-off-by: Rosen Penev --- v2: Added big endian patches. package/utils/f2fs

[OpenWrt-Devel] [PATCH 2/2] ath79: add support for devolo WiFi pro 1200e

2018-12-09 Thread David Bauer
Hardware CPU: Qualcomm Atheros QCA9558 RAM: 128M DDR2 FLASH: 16MiB ETH: 1x Atheros AR8035 (PoE in) 1x Atheros AR8033 WiFi2: QCA9558 2T2R WiFi5: QCA9880 2T2R BTN: 1x Reset LED: 1x LED blue 1x LED red BUZZ: 1x GPIO attached piezo buzzer (controllable ass LED) UART:

[OpenWrt-Devel] [PATCH 1/2] ath79: load watchdog before PHY driver

2018-12-09 Thread David Bauer
The initialization for the two ethernet PHYs causes the hardware wathchdog of devolo WiFi pro boards to trigger reset. Linking the watchdog drivers before the PHY driver fixes this issue. Signed-off-by: David Bauer --- .../431-link-phy-after-watchdog.patch | 31 +++ 1 fil

Re: [OpenWrt-Devel] [PATCH fstools] block: validate amount of arguments for the "autofs" command

2018-12-09 Thread Paul Oranje
Small remark. > Op 7 dec. 2018, om 17:26 heeft Rafał Miłecki het volgende > geschreven: > > From: Rafał Miłecki > > Using argv[3] without checking argc value could result in undefined > behavior. It could result in a crash or accessing a NULL that separates > argv from envp on UNIX. > > Sign

[OpenWrt-Devel] [PATCH V2] procd: simplify code in procd_inittab_run

2018-12-09 Thread Michael Heimpold
This is a trial to make it more obvious what the historically grown code is actually doing. Signed-off-by: Michael Heimpold --- V2: use Jo-Philipp Wich's proposal inittab.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/inittab.c b/inittab.c index 4b9..c9e6c13 10

[OpenWrt-Devel] Changes in support for Mikrotik RB493G

2018-12-09 Thread W. Michael Petullo
Changes in the last year or so have left me a little confused with the OpenWrt support for the Mikrotik RB493G. I generally compile my kernels and root disk images myself, namely by running "make menuconfig" and "make" in an OpenWrt source tree. I then go on to install the built artifacts by bootin

[OpenWrt-Devel] [RFC] ca-certificates python/host

2018-12-09 Thread Lucian Cristian
I would like to propose a patch for ca-certificate to fix the following error Traceback (most recent call last):   File "certdata2pem.py", line 150, in     encoded = base64.b64encode(obj['CKA_VALUE']).decode('utf-8')   File "/usr/lib64/python2.6/base64.py", line 53, in b64encode     encoded = b

[OpenWrt-Devel] [PATCH] brcm63xx: HG655b: fix the imagetag at dts

2018-12-09 Thread Daniel Gonzalez Cabanelas
Fix the imagetag on the HG655b to allow a correct partition detection at boot time. It turns out that it was defined at the wrong partition. Just move the imagetag to the linux firmware partition. The bug is present since the 18.06 release. Without this fix, the board won't boot. Signed-off-b

[OpenWrt-Devel] [PATCH fstools] block: cleanup handling "start" action of the "autofs" command

2018-12-09 Thread Rafał Miłecki
From: Rafał Miłecki When blockd starts it uses "start" action for getting current state of block devices. The way main_autofs() was implemented was a bit hacky though: 1) It was calling mount_device() with TYPE_HOTPLUG First of all that made code harder to understand. Faking TYPE_HOTPLUG f

Re: [OpenWrt-Devel] [PATCH 8/8] ipq806x: specify "firmware" partition format for NEC Aterm WG2600HP

2018-12-09 Thread Christian Lamparter
On Sunday, December 9, 2018 4:57:10 PM CET INAGAKI Hiroshi wrote: > On 2018/12/10 0:34, Christian Lamparter wrote: > > Specify firmware partition format by compatible string. > > > > Cc: INAGAKI Hiroshi > > Signed-off-by: Christian Lamparter > > --- > > .../files-4.14/arch/arm/boot/dts/qcom-ipq

[OpenWrt-Devel] [PATCH 1/8] kernel: add DT binding support to the fit parser

2018-12-09 Thread Christian Lamparter
It allows specifying default and Netgear parsers directly in the DT. Signed-off-by: Christian Lamparter --- .../linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c b/targ

[OpenWrt-Devel] [PATCH 3/8] ipq40xx: specify "firmware" partition format for Netgear EX61[50]0v2

2018-12-09 Thread Christian Lamparter
Specify firmware partition format by compatible string. Cc: David Bauer Signed-off-by: Christian Lamparter --- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex6

[OpenWrt-Devel] [PATCH 2/8] ipq40xx: specify "firmware" partition format for AVM Fritz!Box 4040

2018-12-09 Thread Christian Lamparter
Specify firmware partition format by compatible string. Signed-off-by: Christian Lamparter --- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts b/tar

[OpenWrt-Devel] [PATCH 5/8] ipq40xx: specify "firmware" partition format for Compex WPJ428

2018-12-09 Thread Christian Lamparter
Specify firmware partition format by compatible string. Signed-off-by: Christian Lamparter --- .../ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts b/target

[OpenWrt-Devel] [PATCH 6/8] ipq40xx: specify "firmware" partition format for GL.iNet GL-B1300

2018-12-09 Thread Christian Lamparter
Specify firmware partition format by compatible string. Signed-off-by: Christian Lamparter --- .../files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts b/targ

[OpenWrt-Devel] [PATCH 7/8] ipq40xx: specify "firmware" partition format for EnGenius EAP1300

2018-12-09 Thread Christian Lamparter
Specify firmware partition format by compatible string. Cc: Steven Lin Signed-off-by: Christian Lamparter --- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts| 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1

[OpenWrt-Devel] [PATCH 4/8] ipq40xx: specify "firmware" partition format for ZyXEL WRE6606

2018-12-09 Thread Christian Lamparter
Specify firmware partition format by compatible string. Signed-off-by: Christian Lamparter --- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts| 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts b/targe

[OpenWrt-Devel] [PATCH 8/8] ipq806x: specify "firmware" partition format for NEC Aterm WG2600HP

2018-12-09 Thread Christian Lamparter
Specify firmware partition format by compatible string. Cc: INAGAKI Hiroshi Signed-off-by: Christian Lamparter --- .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064

Re: [OpenWrt-Devel] [PATCH] ath79: Add support for Ubiquity

2018-12-09 Thread Joe Ayers
> >ubnt nano-m-xw success! Laptop on main port (lan) cat5 on secondary > >port to home network-internet (wan).Laptop can browse internet on > >first boot. Both Ethernet ports functional. > > Hi, > > thank you for testing, could you please give me your Tested-by so I can add > it? > Tested

[OpenWrt-Devel] [PATCH 29/29] kernel: netfilter: chain filters merged into nf_tables.ko

2018-12-09 Thread Hauke Mehrtens
In mainline kernel commit 02c7b25e5f5 ("netfilter: nf_tables: build-in filter chain type") all chain filters were merged into one file and into one kernel module to save some memory. The code protected by these configuration options CONFIG_NF_TABLES_BRIDGE, CONFIG_NF_TABLES_IPV4, CONFIG_NF_TABLES_A

[OpenWrt-Devel] [PATCH 02/29] kernel: Replace ledtrig-netdev with upstream backport

2018-12-09 Thread Hauke Mehrtens
The ledtrig-netdev was added to upstream Linux kernel 4.16, replace our own version with the patch based on the upstream version. This will remove the ledtrig-netdev support from kernel 3.18, because I not want to spend time on backporting it to 3.18. This will make it easier to use the upstream ve

[OpenWrt-Devel] [PATCH 22/29] kernel: Add missing dependency to kmod-regmap

2018-12-09 Thread Hauke Mehrtens
Like on kernel 4.14 some kernel modules depend now on regmap. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 6d4d8

[OpenWrt-Devel] [PATCH 12/29] kernel: add missing dependency to kmod-crypto-acompress

2018-12-09 Thread Hauke Mehrtens
Like kernel on 4.14 some modules need the dependency to kmod-crypto-acompress on kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 2 +- package/kernel/linux/modules/lib.mk| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/k

[OpenWrt-Devel] [PATCH 10/29] kernel: Use kmod-dax on kernel 4.19

2018-12-09 Thread Hauke Mehrtens
Like on kernel 4.14 kmod-dax is needed by kmod-dm also in kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/block.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk in

[OpenWrt-Devel] [PATCH 19/29] kernel: Make kmod-mpls depend on iptunnel in kernel 4.19

2018-12-09 Thread Hauke Mehrtens
This new dependency is needed with kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netsupport.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index f94c20d8

[OpenWrt-Devel] [PATCH 28/29] kernel: netfilter: Adapt merge ipv4/ipv6 masquerade code

2018-12-09 Thread Hauke Mehrtens
In kernel commit 0168e8b361 ("netfilter: nat: merge ipv4/ipv6 masquerade code into main nat module") the CONFIG_NF_NAT_MASQUERADE_IPV4 and CONFIG_NF_NAT_MASQUERADE_IPV6 kernel configuration option were changed to bool and the code will not be compiled as a own module any more, but it will be integr

[OpenWrt-Devel] [PATCH 25/29] kernel: netfilter: Add nf_defrag_ipv6.ko to NF_CONNTRACK on 4.19

2018-12-09 Thread Hauke Mehrtens
In kernel commit a0ae2562c6c ("netfilter: conntrack: remove l3proto abstraction") The modules nf_conntrack_ipv4.ko, nf_conntrack_ipv6.ko and nf_conntrack.ko were squashed together into one module. This module now depends on nf_defrag_ipv6 when IPv6 support was activated. This is part of the main ne

[OpenWrt-Devel] [PATCH 23/29] kernel: tg3: Do not depend on kmod-hwmon-core on kernel 4.19

2018-12-09 Thread Hauke Mehrtens
Like on kernel 4.14 this dependency is deactivated in OpenWrt. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netdevices.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk

[OpenWrt-Devel] [PATCH 26/29] kernel: netfilter: Add nf_tproxy_ipv{4, 6} and nf_socket_ipv{4, 6}

2018-12-09 Thread Hauke Mehrtens
The nf_socket.ko module was split in commit 8db4c5be88f ("netfilter: move socket lookup infrastructure to nf_socket_ipv{4,6}.c") into a common, n IPv4 and an IPv6 part. The nf_tproxy.ko module was split in commit 45ca4e0cf27 ("netfilter: Libify xt_TPROXY") into a common, an IPv4 and an IPv6 part.

[OpenWrt-Devel] [PATCH 17/29] kernel: Adapt to new location of video-videobuf2 in kernel 4.19

2018-12-09 Thread Hauke Mehrtens
The video-videobuf2 kernel modules were moved to a new folder in kernel 4.19. videobuf2-v4l2.ko is only available since kernel 4.4, blacklist this kmod completely on kernel 3.18. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/video.mk | 14 +- 1 file changed, 9 insert

[OpenWrt-Devel] [PATCH 20/29] kernel: Always activate CONFIG_HW_RANDOM_TPM

2018-12-09 Thread Hauke Mehrtens
CONFIG_HW_RANDOM_TPM does not activate a separate kernel module any more, but it only activates the random code in the tpm.ko. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 2 +- target/linux/generic/config-4.19 | 2 +- 2 files changed, 2 insertions(+), 2 deletio

[OpenWrt-Devel] [PATCH 27/29] kernel: netfilter: Add nf_conncount.ko

2018-12-09 Thread Hauke Mehrtens
Some kernel modules from kmod-ipt-conntrack-extra depend on nf_conncount.ko, which was added in kernel 4.16, add it to the kmod. Signed-off-by: Hauke Mehrtens --- include/netfilter.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/netfilter.mk b/include/netfilter.mk index b73cc794b6

[OpenWrt-Devel] [PATCH 11/29] kernel: Adapt to moved kvaser_usb.ko in kernel 4.19

2018-12-09 Thread Hauke Mehrtens
In kernel 4.19 the kvaser_usb.ko file moved into its own directory. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/can.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk index 925de4

[OpenWrt-Devel] [PATCH 08/29] kernel: Deactivate *-gpio-custom drivers for 4.19

2018-12-09 Thread Hauke Mehrtens
Kernel interface changed with kernel 4.19, it does not accept raw GPIO numbers any more. Deactivate these drivers on kernel 4.19 for now. Signed-off-by: Hauke Mehrtens --- package/kernel/i2c-gpio-custom/Makefile | 2 +- package/kernel/spi-gpio-custom/Makefile | 2 +- package/kernel/w1-gpio-custo

[OpenWrt-Devel] [PATCH 18/29] kernel: Adapt to move of autofs4 in kernel 4.19

2018-12-09 Thread Hauke Mehrtens
autofs4 is now in the fs/autofs/ folder in kernel 4.19 Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/fs.mk | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 7080d9e4ae..4e8ac

[OpenWrt-Devel] [PATCH 24/29] kernel: Make CONFIG_NVMEM tristate

2018-12-09 Thread Hauke Mehrtens
CONFIG_OF_NET depends on CONFIG_NVMEM in kernel 4.19. To fix some build problems in mainline Linux kernel CONFIG_NVMEM was changed from tristate to bool in commit 2a37ce25d9 ("nvmem: disallow modular CONFIG_NVMEM"). This patch in OpenWrt revert the upstream commit and changes CONFIG_NVMEM back to

[OpenWrt-Devel] [PATCH 21/29] kernel: Make video-gspca-core depend on vidobuf2

2018-12-09 Thread Hauke Mehrtens
This new dependency is needed for kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/video.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 37b3cc0bc7..7e300bf486 1

[OpenWrt-Devel] [PATCH 00/29] Add support for kernel 4.19

2018-12-09 Thread Hauke Mehrtens
These are my patches to add support for kernel 4.19 to OpenWrt. All patches which are not merged upstream or went in a different way into the upstream kernel are now ported over to kernel 4.19. I think this is currently in a good state and I would like to merge these changes into master and the

[OpenWrt-Devel] [PATCH 14/29] kernel: Remove crypto/ablk_helper.ko on kernel 4.19

2018-12-09 Thread Hauke Mehrtens
This module was removed in kernel 4.17, all users are refactored to not need this any more. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kerne

[OpenWrt-Devel] [PATCH 06/29] kernel: Remove deprecated generic linux, part-probe patch

2018-12-09 Thread Hauke Mehrtens
This is now replaced by some other mtd partition parsing which was merged into upstream. Signed-off-by: Hauke Mehrtens --- ...t-add-generic-parsing-of-linux-part-probe.patch | 172 - .../400-mtd-add-rootfs-split-support.patch | 11 +- ...port-for-different-partition-

[OpenWrt-Devel] [PATCH 16/29] kernel: Add dependencies for kernel 4.19

2018-12-09 Thread Hauke Mehrtens
These dependencies are needed on kernel 4.14 and kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 2 +- package/kernel/linux/modules/fs.mk | 2 +- package/kernel/linux/modules/other.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --gi

[OpenWrt-Devel] [PATCH 15/29] kernel: Use crypto_simd.ko instead of lrw.ko for x86

2018-12-09 Thread Hauke Mehrtens
The x86 optimized cryptographic algorithm kernel modules now mostly use crypto_simd.ko instead of lrw.ko in kernel 4.19. Add the new module to the kmod-crypto-misc package. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 dele

[OpenWrt-Devel] [PATCH 13/29] kernel: extract asn1_decoder.ko

2018-12-09 Thread Hauke Mehrtens
The asn1_decoder.ko module is needed by the kmod-nf-nathelper-extra package in kernel 4.19, extract it and add the missing dependencies. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk| 3 +-- package/kernel/linux/modules/lib.mk | 11 +++ package/kerne

[OpenWrt-Devel] [PATCH 01/29] kernel: Reorder configuration

2018-12-09 Thread Hauke Mehrtens
This reorders the generic kernel configuration files. This was done with the following commands: $ ./scripts/kconfig.pl '+' target/linux/generic/config-4.14 /dev/null > target/linux/generic/config-4.14-new $ mv target/linux/generic/config-4.14-new target/linux/generic/config-4.14 $ ./scripts/kconf

[OpenWrt-Devel] [PATCH 03/29] kernel: Move modifications of b53.h into patch

2018-12-09 Thread Hauke Mehrtens
The b53 driver was added as a dsa driver into the mainline Linux kernel, but we still use the swconfig based driver. The header file b53.h is used by both drivers, but the swconfig one needs an extra member, add this one in a patch to not overwrite the version shipped with the mainline kernel. Sig

[OpenWrt-Devel] [PATCH 07/29] kernel: Add kmod-phy-realtek

2018-12-09 Thread Hauke Mehrtens
The r8169 driver uses the phy lib with the realtek phy driver in kernel 4.19 instead of integrating the phy driver into the mac driver. Add the new phy driver and add this missing dependency. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netdevices.mk | 18 +- 1

[OpenWrt-Devel] [PATCH 09/29] i2c-gpio-custom: Adapt to moved include file

2018-12-09 Thread Hauke Mehrtens
The i2c-gpio.h file was moved in kernel 4.18. Signed-off-by: Hauke Mehrtens --- package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c | 5 + 1 file changed, 5 insertions(+) diff --git a/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c b/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom

Re: [OpenWrt-Devel] Add support for kernel 4.19

2018-12-09 Thread Hauke Mehrtens
Hi Daniel, On 12/3/18 11:22 AM, Daniel Engberg wrote: > Hi Hauke! > > First of all, great work and also thanks to the others who contributed! Thanks for testing this Daniel, The target code still needs some work, I only added this to test the generic code. > I gave this a try on my Orange Pi P

[OpenWrt-Devel] [PATCH 2/2] ramips: mt7621: disable CONFIG_MTD_SPLIT_FIRMWARE

2018-12-09 Thread Rafał Miłecki
From: Rafał Miłecki It's no longer needed as all mt7621 devices use DT binding (supported by upstream mtd code) for specifying "firmware" part format explicitly. Signed-off-by: Rafał Miłecki --- target/linux/ramips/mt7621/config-4.14 | 1 - 1 file changed, 1 deletion(-) diff --git a/target/li

[OpenWrt-Devel] [PATCH 1/2] ramips: mt7621: specify "firmware" partition format for remaining devices

2018-12-09 Thread Rafał Miłecki
From: Rafał Miłecki Signed-off-by: Rafał Miłecki --- target/linux/ramips/dts/RBM11G.dts | 1 + target/linux/ramips/dts/RBM33G.dts | 1 + target/linux/ramips/dts/WF-2881.dts | 1 + target/linux/ramips/dts/WSR-1166.dts | 1 + 4 files changed, 4 insertions(+) diff --git a/target/linux/ramips

Re: [OpenWrt-Devel] [PATCH] procd: remove /dev filter on uevents

2018-12-09 Thread Bjørn Mork
Jo-Philipp Wich writes: > A better approach here would be to selectively whitelist uevents based > on subsystem or similar attributes, e.g. `DEVTYPE=usb_device`. Just for the record: "DEVTYPE=usb_device" devices *do* have a "dev" attribute. Bjørn __