From: Rafał Miłecki Date: Wed, 19 Oct 2016 10:09:45 +0000 (+0200) Subject: switch to the new usbport LED trigger X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0658527e1ebe666cabde9267b6afbe543314160c;p=openwrt%2Fstaging%2Fwigyori.git switch to the new usbport LED trigger This makes init.d script handle existing UCI entries using the new trigger. It also switches all targets to use its package. Signed-off-by: Rafał Miłecki --- diff --git a/package/base-files/files/etc/init.d/led b/package/base-files/files/etc/init.d/led index 79f2904f7d..9a793e9a95 100755 --- a/package/base-files/files/etc/init.d/led +++ b/package/base-files/files/etc/init.d/led @@ -8,6 +8,7 @@ load_led() { local sysfs local trigger local dev + local ports local mode local default local delayon @@ -34,6 +35,15 @@ load_led() { return fi + [ "$trigger" = "usbdev" ] && { + # Backward compatibility: translate to the new trigger + trigger="usbport" + # Translate port of root hub, e.g. 4-1 -> usb4-port1 + ports=$(echo "$dev" | sed -n 's/^\([0-9]*\)-\([0-9]*\)$/usb\1-port\2/p') + # Translate port of extra hub, e.g. 2-2.4 -> 2-2-port4 + [ -z "$ports" ] && ports=$(echo "$dev" | sed -n 's/\./-port/p') + } + [ -e /sys/class/leds/${sysfs}/brightness ] && { echo "setting up led ${name}" @@ -71,11 +81,12 @@ load_led() { echo $delayoff > /sys/class/leds/${sysfs}/delay_off ;; - "usbdev") - [ -n "$dev" ] && { - echo $dev > /sys/class/leds/${sysfs}/device_name - echo $interval > /sys/class/leds/${sysfs}/activity_interval - } + "usbport") + local p + + for p in $ports; do + echo 1 > /sys/class/leds/${sysfs}/ports/$p + done ;; "port_state") diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile index fb1705e93a..f8aecddc03 100644 --- a/target/linux/apm821xx/image/Makefile +++ b/target/linux/apm821xx/image/Makefile @@ -141,7 +141,7 @@ endef define Device/WNDR4700 DEVICE_TITLE := Netgear Centria N900 WNDR4700/WNDR4720 DEVICE_PACKAGES := badblocks block-mount e2fsprogs \ - kmod-ath9k kmod-dm kmod-fs-ext4 kmod-fs-vfat kmod-ledtrig-usbdev \ + kmod-ath9k kmod-dm kmod-fs-ext4 kmod-fs-vfat kmod-usb-ledtrig-usbport \ kmod-md-mod kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-15 \ kmod-nls-utf8 kmod-usb3 kmod-usb-dwc2 kmod-usb-storage \ partx-utils swconfig wpad-mini @@ -226,7 +226,7 @@ TARGET_DEVICES += MyBookLiveSingle define Device/MyBookLiveDuo $(Device/MyBookLiveDefault) DEVICE_TITLE := Western Digital My Book Live Duo - DEVICE_PACKAGES := kmod-usb-dwc2 kmod-ledtrig-usbdev kmod-usb-storage kmod-fs-vfat wpad-mini + DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport kmod-usb-storage kmod-fs-vfat wpad-mini DEVICE_DTS := apollo3g-duo DEVICE_PROFILE := ap2nc endef diff --git a/target/linux/apm821xx/nand/profiles/00-default.mk b/target/linux/apm821xx/nand/profiles/00-default.mk index 9b3e84feaf..12c38ec7ba 100644 --- a/target/linux/apm821xx/nand/profiles/00-default.mk +++ b/target/linux/apm821xx/nand/profiles/00-default.mk @@ -9,7 +9,7 @@ define Profile/Default NAME:=Default Profile PRIORITY:=1 PACKAGES := badblocks block-mount e2fsprogs \ - kmod-ath9k kmod-dm kmod-fs-ext4 kmod-fs-vfat kmod-ledtrig-usbdev \ + kmod-ath9k kmod-dm kmod-fs-ext4 kmod-fs-vfat kmod-usb-ledtrig-usbport \ kmod-md-mod kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-15 \ kmod-nls-utf8 kmod-usb3 kmod-usb-dwc2 kmod-usb-storage \ kmod-spi-gpio partx-utils swconfig wpad-mini diff --git a/target/linux/apm821xx/sata/profiles/00-default.mk b/target/linux/apm821xx/sata/profiles/00-default.mk index 7446a080bd..9ad2537a2c 100644 --- a/target/linux/apm821xx/sata/profiles/00-default.mk +++ b/target/linux/apm821xx/sata/profiles/00-default.mk @@ -8,7 +8,7 @@ define Profile/Default NAME:=Default Profile PRIORITY:=1 - PACKAGES := kmod-usb-dwc2 kmod-ledtrig-usbdev kmod-usb-storage kmod-fs-vfat wpad-mini + PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport kmod-usb-storage kmod-fs-vfat wpad-mini endef define Profile/Default/Description diff --git a/target/linux/ar71xx/generic/profiles/00-default.mk b/target/linux/ar71xx/generic/profiles/00-default.mk index bf0f3fa5e6..f5ebdd2dd8 100644 --- a/target/linux/ar71xx/generic/profiles/00-default.mk +++ b/target/linux/ar71xx/generic/profiles/00-default.mk @@ -8,7 +8,7 @@ define Profile/Default NAME:=Default Profile (all drivers) PACKAGES:= \ - kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport PRIORITY := 1 endef diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk index 4f9b126a55..192f1a79c4 100644 --- a/target/linux/ar71xx/image/generic.mk +++ b/target/linux/ar71xx/image/generic.mk @@ -30,7 +30,7 @@ TARGET_DEVICES += cf-e316n-v2 define Device/dragino2 BOARDNAME := DRAGINO2 CONSOLE := ttyATH0,115200 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport DEVICE_TITLE := Dragino 2 (MS14) IMAGE_SIZE := 16000k MTDPARTS := spi0.0:256k(u-boot)ro,16000k(firmware),64k(config)ro,64k(art)ro @@ -108,7 +108,7 @@ TARGET_DEVICES += dr531 define Device/wndr3700 DEVICE_TITLE := NETGEAR WNDR3700 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-leds-wndr3700-usb + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-wndr3700-usb BOARDNAME = WNDR3700 NETGEAR_KERNEL_MAGIC = 0x33373030 NETGEAR_BOARD_ID = WNDR3700 @@ -206,7 +206,7 @@ TARGET_DEVICES += cr3000-nocloud define Device/cr5000 DEVICE_TITLE := PowerCloud CR5000 Cloud Router - DEVICE_PACKAGES := uboot-envtools kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev kmod-usb-core + DEVICE_PACKAGES := uboot-envtools kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-usb-core BOARDNAME := CR5000 DEVICE_PROFILE := CR5000 IMAGE_SIZE = 7104k @@ -217,7 +217,7 @@ TARGET_DEVICES += cr5000 define Device/cr5000-nocloud DEVICE_TITLE := PowerCloud CR5000 (No-Cloud) - DEVICE_PACKAGES := uboot-envtools kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev kmod-usb-core + DEVICE_PACKAGES := uboot-envtools kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-usb-core BOARDNAME := CR5000 DEVICE_PROFILE := CR5000 IMAGE_SIZE = 7808k @@ -330,7 +330,7 @@ TARGET_DEVICES += mc-mac1200r define Device/minibox-v1 $(Device/tplink-16mlzma) DEVICE_TITLE := Gainstrong MiniBox V1.0 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := MINIBOX-V1 DEVICE_PROFILE := MINIBOXV1 TPLINK_HWID := 0x3C000201 @@ -401,7 +401,7 @@ TARGET_DEVICES += tellstick-znet-lite define Device/oolite $(Device/tplink-16mlzma) DEVICE_TITLE := Gainstrong OOLITE - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := GS-OOLITE DEVICE_PROFILE := OOLITE TPLINK_HWID := 0x3C000101 @@ -412,7 +412,7 @@ TARGET_DEVICES += oolite define Device/NBG6616 DEVICE_TITLE := ZyXEL NBG6616 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage kmod-rtc-pcf8563 kmod-ath10k ath10k-firmware-qca988x + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-storage kmod-rtc-pcf8563 kmod-ath10k ath10k-firmware-qca988x BOARDNAME = NBG6616 KERNEL_SIZE = 2048k IMAGE_SIZE = 15323k @@ -552,7 +552,7 @@ endef define Device/qihoo-c301 $(Device/seama) DEVICE_TITLE := Qihoo C301 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x BOARDNAME = QIHOO-C301 IMAGE_SIZE = 15744k MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env),64k(devdata),64k(devconf),15744k(firmware),64k(warm_start),64k(action_image_config),64k(radiocfg)ro;spi0.1:15360k(upgrade2),1024k(privatedata) diff --git a/target/linux/ar71xx/image/legacy-devices.mk b/target/linux/ar71xx/image/legacy-devices.mk index 245a4112fa..2af75981bc 100644 --- a/target/linux/ar71xx/image/legacy-devices.mk +++ b/target/linux/ar71xx/image/legacy-devices.mk @@ -5,7 +5,7 @@ LEGACY_DEVICES += ALFANX define LegacyDevice/HORNETUB DEVICE_TITLE := ALFA Network Hornet-UB board (8MB flash, 32MB ram) - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += HORNETUB @@ -163,25 +163,25 @@ LEGACY_DEVICES += DB120 define LegacyDevice/EWDORINAP DEVICE_TITLE := Embedded Wireless Dorin Platform (4MB flash) - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-storage endef LEGACY_DEVICES += EWDORINAP define LegacyDevice/EWDORINRT DEVICE_TITLE := Embedded Wireless Dorin Router - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-storage endef LEGACY_DEVICES += EWDORINRT define LegacyDevice/EWDORIN16M DEVICE_TITLE := Embedded Wireless Dorin Platform (16MB flash) - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-storage endef LEGACY_DEVICES += EWDORIN16M define LegacyDevice/HORNETUBx2 DEVICE_TITLE := ALFA Network Hornet-UB-x2 board (16MB flash, 64MB ram) - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += HORNETUBx2 @@ -210,7 +210,7 @@ LEGACY_DEVICES += TUBE2H16M define LegacyDevice/WLR8100 DEVICE_TITLE := Sitecom WLR-8100 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-usb3 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb3 endef LEGACY_DEVICES += WLR8100 @@ -259,7 +259,7 @@ LEGACY_DEVICES += YUN_16M define LegacyDevice/F9K1115V2 DEVICE_TITLE := Belkin AC1750DB (F9K1115V2) - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb3 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb3 kmod-usb-ledtrig-usbport \ kmod-ath10k ath10k-firmware-qca988x endef LEGACY_DEVICES += F9K1115V2 @@ -336,7 +336,7 @@ LEGACY_DEVICES += DIR601B1 define LegacyDevice/DIR505A1 DEVICE_TITLE := D-Link DIR-505 rev. A1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += DIR505A1 @@ -360,7 +360,7 @@ LEGACY_DEVICES += DHP1565A1 define LegacyDevice/DIR825C1 DEVICE_TITLE := D-Link DIR-825 rev. C1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += DIR825C1 @@ -389,7 +389,7 @@ LEGACY_DEVICES += MYNETREXT define LegacyDevice/DIR825B1 DEVICE_TITLE := D-Link DIR-825 rev. B1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += DIR825B1 @@ -401,7 +401,7 @@ LEGACY_DEVICES += TEW673GRU define LegacyDevice/DLRTDEV01 DEVICE_TITLE := PowerCloud Systems dlrtdev01 model - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += DLRTDEV01 @@ -423,7 +423,7 @@ LEGACY_DEVICES += dLAN_pro_1200_ac define LegacyDevice/ESR900 DEVICE_TITLE := EnGenius ESR900 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += ESR900 @@ -488,13 +488,13 @@ LEGACY_DEVICES += WNR2000V3 define LegacyDevice/WNR2000V4 DEVICE_TITLE := NETGEAR WNR2000V4 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WNR2000V4 define LegacyDevice/WNR2200 DEVICE_TITLE := NETGEAR WNR2200 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WNR2200 @@ -602,7 +602,7 @@ LEGACY_DEVICES += PB44 define LegacyDevice/MZKW04NU DEVICE_TITLE := Planex MZK-W04NU - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += MZKW04NU @@ -644,37 +644,37 @@ LEGACY_DEVICES += WRT400N define LegacyDevice/WZRHPG300NH DEVICE_TITLE := Buffalo WZR-HP-G300NH - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WZRHPG300NH define LegacyDevice/WZRHPG300NH2 DEVICE_TITLE := Buffalo WZR-HP-G300NH2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WZRHPG300NH2 define LegacyDevice/WZRHPAG300H DEVICE_TITLE := Buffalo WZR-HP-AG300H - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WZRHPAG300H define LegacyDevice/WZRHPG450H DEVICE_TITLE := Buffalo WZR-HP-G450H - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WZRHPG450H define LegacyDevice/WZR600DHP DEVICE_TITLE := Buffalo WZR-600DHP - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WZR600DHP define LegacyDevice/WZR450HP2 DEVICE_TITLE := Buffalo WZR-450HP2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WZR450HP2 diff --git a/target/linux/ar71xx/image/nand.mk b/target/linux/ar71xx/image/nand.mk index c08081b28e..aa43a91ee9 100644 --- a/target/linux/ar71xx/image/nand.mk +++ b/target/linux/ar71xx/image/nand.mk @@ -45,7 +45,7 @@ endef define Device/z1 DEVICE_TITLE := Meraki Z1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-spi-gpio kmod-ath9k kmod-owl-loader + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-spi-gpio kmod-ath9k kmod-owl-loader BOARDNAME = Z1 BLOCKSIZE := 64k CONSOLE = ttyS0,115200 @@ -60,19 +60,19 @@ TARGET_DEVICES += z1 define LegacyDevice/R6100 DEVICE_TITLE := NETGEAR R6100 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += R6100 define LegacyDevice/WNDR3700V4 DEVICE_TITLE := NETGEAR WNDR3700v4 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WNDR3700V4 define LegacyDevice/WNDR4300V1 DEVICE_TITLE := NETGEAR WNDR4300v1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += WNDR4300V1 diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk index 3559555985..7eb370a9f6 100644 --- a/target/linux/ar71xx/image/tp-link.mk +++ b/target/linux/ar71xx/image/tp-link.mk @@ -127,7 +127,7 @@ TARGET_DEVICES += eap120 define Device/tl-wdr4300-v1 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR4300 v1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WDR4300 DEVICE_PROFILE := TLWDR4300 TPLINK_HWID := 0x43000001 @@ -137,7 +137,7 @@ endef define Device/tl-wdr3500-v1 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR3500 v1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WDR3500 DEVICE_PROFILE := TLWDR4300 TPLINK_HWID := 0x35000001 @@ -146,7 +146,7 @@ endef define Device/tl-wdr3600-v1 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR3600 v1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WDR4300 DEVICE_PROFILE := TLWDR4300 TPLINK_HWID := 0x36000001 @@ -156,7 +156,7 @@ endef define Device/tl-wdr4300-v1-il $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR4300 v1 IL - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WDR4300 DEVICE_PROFILE := TLWDR4300 TPLINK_HWID := 0x43008001 @@ -165,7 +165,7 @@ endef define Device/tl-wdr4310-v1 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR4310 v1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WDR4300 DEVICE_PROFILE = TLWDR4300 TPLINK_HWID := 0x43100001 @@ -181,7 +181,7 @@ TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl- define Device/tl-wdr6500-v2 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR6500v2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | uImage lzma | mktplinkfw-initramfs BOARDNAME = TL-WDR6500-v2 @@ -194,7 +194,7 @@ TARGET_DEVICES += tl-wdr6500-v2 define Device/tl-wdr3320-v2 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-WDR3320v2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME = TL-WDR3320-v2 DEVICE_PROFILE = TLWDR3320V2 TPLINK_HWID := 0x33200002 @@ -205,7 +205,7 @@ TARGET_DEVICES += tl-wdr3320-v2 define Device/archer-c5-v1 $(Device/tplink-16mlzma) DEVICE_TITLE := TP-LINK Archer C5 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x BOARDNAME := ARCHER-C5 DEVICE_PROFILE := ARCHERC7 TPLINK_HWID := 0xc5000001 @@ -214,7 +214,7 @@ endef define Device/archer-c7-v1 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK Archer C7 v1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x BOARDNAME := ARCHER-C7 DEVICE_PROFILE := ARCHERC7 TPLINK_HWID := 0x75000001 @@ -223,7 +223,7 @@ endef define Device/archer-c7-v2 $(Device/tplink-16mlzma) DEVICE_TITLE := TP-LINK Archer C7 v2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x BOARDNAME := ARCHER-C7-V2 DEVICE_PROFILE := ARCHERC7 TPLINK_HWID := 0xc7000002 @@ -235,7 +235,7 @@ endef define Device/archer-c7-v2-il $(Device/tplink-16mlzma) DEVICE_TITLE := TP-LINK Archer C7 v2 IL - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x BOARDNAME := ARCHER-C7-V2 DEVICE_PROFILE := ARCHERC7 TPLINK_HWID := 0xc7000002 @@ -245,7 +245,7 @@ endef define Device/tl-wdr7500-v3 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK Archer C7 v3 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x BOARDNAME := ARCHER-C7 DEVICE_PROFILE := ARCHERC7 TPLINK_HWID := 0x75000003 @@ -265,7 +265,7 @@ endef define Device/tl-mr11u-v1 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-MR11U - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR11U DEVICE_PROFILE := TLMR11U TPLINK_HWID := 0x00110101 @@ -275,7 +275,7 @@ endef define Device/tl-mr11u-v2 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-MR11U v2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR11U DEVICE_PROFILE := TLMR11U TPLINK_HWID := 0x00110102 @@ -285,7 +285,7 @@ endef define Device/tl-mr12u-v1 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-MR12U - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR13U DEVICE_PROFILE := TLMR12U TPLINK_HWID := 0x00120101 @@ -295,7 +295,7 @@ endef define Device/tl-mr13u-v1 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-MR13U - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR13U DEVICE_PROFILE := TLMR13U TPLINK_HWID := 0x00130101 @@ -306,7 +306,7 @@ TARGET_DEVICES += tl-mr10u-v1 tl-mr11u-v1 tl-mr11u-v2 tl-mr12u-v1 tl-mr13u-v1 define Device/tl-mr3020-v1 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-MR3020 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR3020 DEVICE_PROFILE := TLMR3020 TPLINK_HWID := 0x30200001 @@ -316,7 +316,7 @@ endef define Device/tl-mr3040-v1 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-MR3040 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR3040 DEVICE_PROFILE := TLMR3040 TPLINK_HWID := 0x30400001 @@ -326,7 +326,7 @@ endef define Device/tl-mr3040-v2 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-MR3040 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR3040-v2 DEVICE_PROFILE := TLMR3040 TPLINK_HWID := 0x30400002 @@ -336,7 +336,7 @@ endef define Device/tl-mr3220-v1 $(Device/tplink-4m) DEVICE_TITLE := TP-LINK TL-MR3220 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR3220 DEVICE_PROFILE := TLMR3220 TPLINK_HWID := 0x32200001 @@ -345,7 +345,7 @@ endef define Device/tl-mr3220-v2 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-MR3220 v2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR3220-v2 DEVICE_PROFILE := TLMR3220 TPLINK_HWID := 0x32200002 @@ -355,7 +355,7 @@ endef define Device/tl-mr3420-v1 $(Device/tplink-4m) DEVICE_TITLE := TP-LINK TL-MR3420 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR3420 DEVICE_PROFILE := TLMR3420 TPLINK_HWID := 0x34200001 @@ -364,7 +364,7 @@ endef define Device/tl-mr3420-v2 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-MR3420 v2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR3420-v2 DEVICE_PROFILE := TLMR3420 TPLINK_HWID := 0x34200002 @@ -606,7 +606,7 @@ endef define Device/tl-wr842n-v1 $(Device/tplink-8m) DEVICE_TITLE := TP-LINK TL-WR842N/ND v1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-MR3420 DEVICE_PROFILE := TLWR842 TPLINK_HWID := 0x08420001 @@ -615,7 +615,7 @@ endef define Device/tl-wr842n-v2 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WR842N/ND v2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WR842N-v2 DEVICE_PROFILE := TLWR842 TPLINK_HWID := 0x8420002 @@ -624,7 +624,7 @@ endef define Device/tl-wr842n-v3 $(Device/tplink-16mlzma) DEVICE_TITLE := TP-LINK TL-WR842N/ND v3 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WR842N-v3 DEVICE_PROFILE := TLWR842 TPLINK_HWID := 0x08420003 @@ -711,7 +711,7 @@ TARGET_DEVICES += tl-wr1041n-v2 define Device/tl-wr1043nd-v1 $(Device/tplink-8m) DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WR1043ND DEVICE_PROFILE := TLWR1043 TPLINK_HWID := 0x10430001 @@ -720,7 +720,7 @@ endef define Device/tl-wr1043nd-v2 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WR1043ND-v2 DEVICE_PROFILE := TLWR1043 TPLINK_HWID := 0x10430002 @@ -729,7 +729,7 @@ endef define Device/tl-wr1043nd-v3 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WR1043ND-v2 DEVICE_PROFILE := TLWR1043 TPLINK_HWID := 0x10430003 @@ -739,7 +739,7 @@ TARGET_DEVICES += tl-wr1043nd-v1 tl-wr1043nd-v2 tl-wr1043nd-v3 define Device/tl-wr2543-v1 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WR2543N/ND - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WR2543N DEVICE_PROFILE := TLWR2543 TPLINK_HWID := 0x25430001 @@ -751,7 +751,7 @@ TARGET_DEVICES += tl-wr2543-v1 define Device/tl-wdr4900-v2 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR4900v2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport BOARDNAME := TL-WDR4900-v2 DEVICE_PROFILE := TLWDR4900V2 TPLINK_HWID := 0x49000002 diff --git a/target/linux/ar71xx/nand/profiles/00-default.mk b/target/linux/ar71xx/nand/profiles/00-default.mk index 0360a4f054..06ab790389 100644 --- a/target/linux/ar71xx/nand/profiles/00-default.mk +++ b/target/linux/ar71xx/nand/profiles/00-default.mk @@ -8,7 +8,7 @@ define Profile/Default NAME:=Default Profile PACKAGES:= \ - kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport PRIORITY := 1 endef diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index f5de6734fe..6e7ca8febb 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -174,8 +174,8 @@ B43_PACKAGES := kmod-b43 wpad-mini BRCMWL_PACKAGES := kmod-brcm-wl nas wlc RT28_PACKAGES := kmod-rt2800-pci wpad-mini RT61_PACKAGES := kmod-rt61-pci wpad-mini -USB1_PACKAGES := kmod-usb-ohci kmod-ledtrig-usbdev -USB2_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev +USB1_PACKAGES := kmod-usb-ohci kmod-usb-ledtrig-usbport +USB2_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport include bcm63xx.mk diff --git a/target/linux/ipq806x/Makefile b/target/linux/ipq806x/Makefile index 8725a11936..27ad6a4a06 100644 --- a/target/linux/ipq806x/Makefile +++ b/target/linux/ipq806x/Makefile @@ -18,7 +18,7 @@ include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += \ kmod-leds-gpio kmod-gpio-button-hotplug swconfig \ kmod-ata-core kmod-ata-ahci kmod-ata-ahci-platform \ - kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ kmod-usb3 kmod-usb-dwc3-qcom kmod-usb-phy-qcom-dwc3 \ kmod-ath10k wpad-mini \ uboot-envtools diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index 947262a952..63871e8b3e 100644 --- a/target/linux/lantiq/image/Makefile +++ b/target/linux/lantiq/image/Makefile @@ -227,7 +227,7 @@ ifeq ($(SUBTARGET),xway_legacy) define Device/ARV4520PW IMAGE_SIZE := 3648k DEVICE_TITLE := Easybox 800, WAV-281 - ARV4520PW - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ @@ -249,7 +249,7 @@ TARGET_DEVICES += ARV4525PW define Device/ARV452CQW IMAGE_SIZE := 3776k DEVICE_TITLE := Easybox 801 - ARV452CQW - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \ kmod-ath5k wpad-mini \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ @@ -261,7 +261,7 @@ TARGET_DEVICES += ARV452CQW define Device/ARV4518PWR01 IMAGE_SIZE := 3776k DEVICE_TITLE := ARV4518PWR01 - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ @@ -273,7 +273,7 @@ TARGET_DEVICES += ARV4518PWR01 define Device/ARV4518PWR01A IMAGE_SIZE := 3776k DEVICE_TITLE := ARV4518PWR01A - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ @@ -320,7 +320,7 @@ TARGET_DEVICES += ACMP252 define Device/ARV4510PW IMAGE_SIZE := 15616k DEVICE_TITLE := Wippies, Elisa - ARV4510PW - DEVICE_PACKAGES := kmod-ledtrig-usbdev kmod-usb2-pci kmod-usb-uhci \ + DEVICE_PACKAGES := kmod-usb-ledtrig-usbport kmod-usb2-pci kmod-usb-uhci \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ @@ -343,7 +343,7 @@ TARGET_DEVICES += ARV7525PW define Device/ARV4519PW IMAGE_SIZE := 3776k DEVICE_TITLE := Vodafone, Pirelli - ARV4519PW - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ @@ -365,7 +365,7 @@ TARGET_DEVICES += ARV7506PW11 define Device/ARV7510PW22 IMAGE_SIZE := 31232k DEVICE_TITLE := Astoria - ARV7510PW22 - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ @@ -379,7 +379,7 @@ TARGET_DEVICES += ARV7510PW22 define Device/ARV7518PW IMAGE_SIZE := 7872k DEVICE_TITLE := Astoria - ARV7518PW - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ @@ -403,7 +403,7 @@ TARGET_DEVICES += ARV7519PW define Device/ARV752DPW IMAGE_SIZE := 7872k DEVICE_TITLE := Easybox 802 - ARV752DPW - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ @@ -416,7 +416,7 @@ TARGET_DEVICES += ARV752DPW define Device/ARV752DPW22 IMAGE_SIZE := 7616k DEVICE_TITLE := Easybox 803 - ARV752DPW22 - DEVICE_PACKAGES := kmod-usb2-pci kmod-usb-uhci kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb2-pci kmod-usb-uhci kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ @@ -471,7 +471,7 @@ Image/Build/Profile/DGN3500=$(call Image/BuildDGN3500/$(1),$(1),DGN3500) define LegacyDevice/DGN3500 DEVICE_TITLE := Netgear DGN3500 - DEVICE_PACKAGES := kmod-usb-dwc2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \ kmod-ath9k wpad-mini \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \ @@ -485,7 +485,7 @@ Image/Build/Profile/DGN3500B=$(call Image/BuildDGN3500B/$(1),$(1),DGN3500B) define LegacyDevice/DGN3500B DEVICE_TITLE := Netgear DGN3500B - DEVICE_PACKAGES := kmod-usb-dwc2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \ kmod-ath9k wpad-mini \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ @@ -498,7 +498,7 @@ define Device/WBMRA IMAGE_SIZE := 31488k DEVICE_DTS := WBMR DEVICE_TITLE := Buffalo WBMR-HP-G300H (A) - WBMR - DEVICE_PACKAGES := kmod-usb-dwc2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \ ltq-adsl-app ppp-mod-pppoa \ @@ -510,7 +510,7 @@ define Device/WBMRB IMAGE_SIZE := 31488k DEVICE_DTS := WBMR DEVICE_TITLE := Buffalo WBMR-HP-G300H (B) - WBMR - DEVICE_PACKAGES := kmod-usb-dwc2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ ltq-adsl-app ppp-mod-pppoa \ @@ -538,7 +538,7 @@ define Device/H201L kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ ltq-adsl-app ppp-mod-pppoe \ - kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-ledtrig-usbdev \ + kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-usb-ledtrig-usbport \ kmod-ltq-tapi kmod-ltq-vmmc \ swconfig endef @@ -567,7 +567,7 @@ ifeq ($(SUBTARGET),xrx200) define Device/P2812HNUF1 $(Device/NAND) DEVICE_TITLE := ZyXEL P-2812HNU-F1 - DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += P2812HNUF1 @@ -596,14 +596,14 @@ define Device/EASY80920NAND $(Device/lantiqFullImage) IMAGE_SIZE := 64512k DEVICE_TITLE := Lantiq VR9 - EASY80920NAND - DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += EASY80920NAND define Device/EASY80920NOR IMAGE_SIZE := 7936k DEVICE_TITLE := Lantiq VR9 - EASY80920NOR - DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += EASY80920NOR diff --git a/target/linux/lantiq/image/tp-link.mk b/target/linux/lantiq/image/tp-link.mk index dbf0d6639f..2b3a865cf6 100644 --- a/target/linux/lantiq/image/tp-link.mk +++ b/target/linux/lantiq/image/tp-link.mk @@ -24,7 +24,7 @@ define Device/TDW8970 BOARD_ID := TD-W8970v1 IMAGE_SIZE := 7680k DEVICE_TITLE := TP-LINK TD-W8970 - DEVICE_PACKAGES:= kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES:= kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef define Device/TDW8980 @@ -33,7 +33,7 @@ define Device/TDW8980 BOARD_ID := TD-W8980v1 IMAGE_SIZE := 7680k DEVICE_TITLE := TP-LINK TD-W8980 - DEVICE_PACKAGES:= kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES:= kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef define Device/VR200v @@ -42,7 +42,7 @@ define Device/VR200v BOARD_ID := ArcherVR200V IMAGE_SIZE := 15808k DEVICE_TITLE := TP-LINK Archer VR200v - DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += TDW8970 TDW8980 VR200v diff --git a/target/linux/mcs814x/Makefile b/target/linux/mcs814x/Makefile index af1548fad3..8ba58886e9 100644 --- a/target/linux/mcs814x/Makefile +++ b/target/linux/mcs814x/Makefile @@ -24,7 +24,7 @@ DEFAULT_PACKAGES := $(filter-out ppp%,$(DEFAULT_PACKAGES)) \ kmod-usb-storage kmod-fs-vfat \ kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-15 \ kmod-nls-utf8 \ - kmod-mcs814x-wdt kmod-ledtrig-usbdev + kmod-mcs814x-wdt kmod-usb-ledtrig-usbport KERNELNAME:=zImage dtbs diff --git a/target/linux/mediatek/profiles/default.mk b/target/linux/mediatek/profiles/default.mk index b83792aae0..c713ba00aa 100644 --- a/target/linux/mediatek/profiles/default.mk +++ b/target/linux/mediatek/profiles/default.mk @@ -8,7 +8,7 @@ define Profile/Default NAME:=Default Profile (minimum package set) PACKAGES:= \ - kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ kmod-usb3 endef diff --git a/target/linux/mvebu/config-4.4 b/target/linux/mvebu/config-4.4 index 5c1206b846..cd6c60c1f5 100644 --- a/target/linux/mvebu/config-4.4 +++ b/target/linux/mvebu/config-4.4 @@ -255,7 +255,6 @@ CONFIG_JBD2=y CONFIG_LEDS_GPIO=y CONFIG_LEDS_PCA963X=y CONFIG_LEDS_TLC591XX=y -CONFIG_LEDS_TRIGGER_USBDEV=y CONFIG_LIBFDT=y CONFIG_LOCK_SPIN_ON_OWNER=y CONFIG_LZO_COMPRESS=y @@ -416,6 +415,7 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD_ORION=y CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_EHCI_PCI=y +CONFIG_USB_LEDS_TRIGGER_USBPORT=y CONFIG_USB_PHY=y CONFIG_USB_STORAGE=y CONFIG_USB_SUPPORT=y diff --git a/target/linux/oxnas/Makefile b/target/linux/oxnas/Makefile index 617a7fe7cb..cbd014fd6b 100644 --- a/target/linux/oxnas/Makefile +++ b/target/linux/oxnas/Makefile @@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += \ kmod-ata-core kmod-ata-oxnas-sata kmod-button-hotplug \ - kmod-input-gpio-keys-polled kmod-ledtrig-usbdev \ + kmod-input-gpio-keys-polled kmod-usb-ledtrig-usbport \ kmod-ledtrig-timer kmod-leds-gpio kmod-usb2-oxnas \ kmod-usb-storage uboot-envtools uboot-oxnas-ox820 diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index ce55cde3c0..35c94fee8b 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -225,7 +225,7 @@ define Device/hc5661 DTS := HC5661 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := HiWiFi HC5661 - DEVICE_PACKAGES := kmod-usb2 kmod-sdhci kmod-sdhci-mt7620 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-sdhci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += hc5661 @@ -233,7 +233,7 @@ define Device/hc5761 DTS := HC5761 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := HiWiFi HC5761 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += hc5761 @@ -241,7 +241,7 @@ define Device/hc5861 DTS := HC5861 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := HiWiFi HC5861 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += hc5861 diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index acaafc0a73..234c7a76d9 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -79,7 +79,7 @@ define Device/firewrt DTS := FIREWRT IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := Firefly FireWRT - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += firewrt @@ -87,7 +87,7 @@ define Device/newifi-d1 DTS := Newifi-D1 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := Newifi D1 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-i2c-mt7621 + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-i2c-mt7621 endef TARGET_DEVICES += newifi-d1 @@ -95,7 +95,7 @@ define Device/pbr-m1 DTS := PBR-M1 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := PBR-M1 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \ + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci \ kmod-rtc-pcf8563 kmod-i2c-mt7621 endef TARGET_DEVICES += pbr-m1 @@ -103,7 +103,7 @@ TARGET_DEVICES += pbr-m1 define Device/sap-g3200u3 DTS := SAP-G3200U3 DEVICE_TITLE := STORYLiNK SAP-G3200U3 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += sap-g3200u3 @@ -118,7 +118,7 @@ define Device/witi DTS := WITI IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := MQmaker WiTi - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \ + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci \ kmod-rtc-pcf8563 kmod-i2c-mt7621 endef TARGET_DEVICES += witi @@ -135,7 +135,7 @@ define Device/zbt-wg2626 DTS := ZBT-WG2626 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := ZBT WG2626 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci endef TARGET_DEVICES += zbt-wg2626 @@ -143,7 +143,7 @@ define Device/zbt-wg3526 DTS := ZBT-WG3526 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := ZBT WG3526 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci endef TARGET_DEVICES += zbt-wg3526 @@ -157,7 +157,7 @@ define Device/wf-2881 UBINIZE_OPTS := -E 5 IMAGE/sysupgrade.bin := append-kernel | append-ubi | check-size $$$$(IMAGE_SIZE) DEVICE_TITLE := NETIS WF-2881 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += wf-2881 @@ -178,7 +178,7 @@ define Device/sk-wb8 DTS := SK-WB8 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := SamKnows Whitebox 8 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev uboot-envtools + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport uboot-envtools endef TARGET_DEVICES += sk-wb8 diff --git a/target/linux/ramips/image/mt7628.mk b/target/linux/ramips/image/mt7628.mk index 2a130b5d24..75fbb3dabd 100644 --- a/target/linux/ramips/image/mt7628.mk +++ b/target/linux/ramips/image/mt7628.mk @@ -7,7 +7,7 @@ define Device/mt7628 BLOCKSIZE := 64k IMAGE_SIZE := $(ralink_default_fw_size_4M) DEVICE_TITLE := MediaTek MT7628 EVB - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef TARGET_DEVICES += mt7628 @@ -15,7 +15,7 @@ define Device/miwifi-nano DTS := MIWIFI-NANO IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := Xiaomi MiWiFi Nano - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef TARGET_DEVICES += miwifi-nano @@ -23,14 +23,14 @@ define Device/wrtnode2p DTS := WRTNODE2P IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := WRTnode 2P - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef TARGET_DEVICES += wrtnode2p define Device/duzun-dm06 DTS := DUZUN-DM06 DEVICE_TITLE := DuZun DM06 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef TARGET_DEVICES += duzun-dm06 diff --git a/target/linux/ramips/image/rt305x-legacy.mk b/target/linux/ramips/image/rt305x-legacy.mk index aa3320a47f..48ed73b05d 100644 --- a/target/linux/ramips/image/rt305x-legacy.mk +++ b/target/linux/ramips/image/rt305x-legacy.mk @@ -181,7 +181,7 @@ Image/Build/Profile/WHRG300N=$(call BuildFirmware/WHRG300N/$(1),$(1)) define LegacyDevice/ALL02393G DEVICE_TITLE := Allnet ALL0239-3G - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += ALL02393G @@ -230,7 +230,7 @@ TARGET_DEVICES += 3g-6200nl define LegacyDevice/3G300M DEVICE_TITLE := Tenda 3G300M - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += 3G300M @@ -251,7 +251,7 @@ LEGACY_DEVICES += ALL0256N define LegacyDevice/AWM002EVB DEVICE_TITLE := AsiaRF AWM002-EVB - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ kmod-i2c-core kmod-i2c-gpio endef LEGACY_DEVICES += AWM002EVB @@ -259,7 +259,7 @@ LEGACY_DEVICES += AWM002EVB define LegacyDevice/BROADWAY DEVICE_TITLE := Hauppauge Broadway - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += BROADWAY @@ -350,7 +350,7 @@ define Device/fonera20n IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | \ edimax-header -s RSDK -m NL1T -f 0x50000 -S 0xc0000 DEVICE_TITLE := Fonera 2.0N - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += fonera20n @@ -394,7 +394,7 @@ LEGACY_DEVICES += NW718 define LegacyDevice/PX-4885 DEVICE_TITLE := 7Links PX-4885 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev kmod-leds-gpio + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-leds-gpio endef LEGACY_DEVICES += PX-4885 diff --git a/target/linux/ramips/image/rt305x.mk b/target/linux/ramips/image/rt305x.mk index 835cb3548f..6bb93519c3 100644 --- a/target/linux/ramips/image/rt305x.mk +++ b/target/linux/ramips/image/rt305x.mk @@ -6,7 +6,7 @@ define Device/asl26555-8M DTS := ASL26555-8M IMAGE_SIZE := 7744k DEVICE_TITLE := Alpha ASL26555 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += asl26555-8M @@ -64,7 +64,7 @@ define Device/all5002 DTS := ALL5002 IMAGE_SIZE := 32448k DEVICE_TITLE := Allnet ALL5002 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x endef TARGET_DEVICES += all5002 @@ -74,7 +74,7 @@ define Device/all5003 DTS := ALL5003 IMAGE_SIZE := 32448k DEVICE_TITLE := Allnet ALL5003 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x endef TARGET_DEVICES += all5003 @@ -100,7 +100,7 @@ define Device/f7c027 DTS := F7C027 IMAGE_SIZE := 7616k DEVICE_TITLE := Belkin F7C027 - DEVICE_PACKAGES := -kmod-usb-core -kmod-usb-dwc2 -kmod-ledtrig-usbdev + DEVICE_PACKAGES := -kmod-usb-core -kmod-usb-dwc2 -kmod-usb-ledtrig-usbport endef TARGET_DEVICES += f7c027 @@ -180,7 +180,7 @@ TARGET_DEVICES += esr-9753 define Device/hw550-3g DTS := HW550-3G DEVICE_TITLE := Aztech HW550-3G - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += hw550-3g @@ -211,7 +211,7 @@ TARGET_DEVICES += ip2202 define Device/ht-tm02 DTS := HT-TM02 DEVICE_TITLE := HooToo HT-TM02 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += ht-tm02 @@ -229,7 +229,7 @@ define Device/3g150b IMAGE_SIZE := $(ralink_default_fw_size_4M) UIMAGE_NAME:= Linux Kernel Image DEVICE_TITLE := Tenda 3G150B - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += 3g150b @@ -498,7 +498,7 @@ define Device/ur-326n4g BLOCKSIZE := 64k IMAGE_SIZE := $(ralink_default_fw_size_4M) DEVICE_TITLE := UPVEL UR-326N4G - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += ur-326n4g @@ -506,7 +506,7 @@ TARGET_DEVICES += ur-326n4g define Device/ur-336un DTS := UR-336UN DEVICE_TITLE := UPVEL UR-336UN - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += ur-336un diff --git a/target/linux/ramips/mt7620/profiles/00-default.mk b/target/linux/ramips/mt7620/profiles/00-default.mk index a498e2bd22..912d28880e 100644 --- a/target/linux/ramips/mt7620/profiles/00-default.mk +++ b/target/linux/ramips/mt7620/profiles/00-default.mk @@ -7,7 +7,7 @@ define Profile/Default NAME:=Default Profile - PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport PRIORITY:=1 endef diff --git a/target/linux/ramips/mt7621/profiles/00-default.mk b/target/linux/ramips/mt7621/profiles/00-default.mk index 24e51f4ef5..bf293d3163 100644 --- a/target/linux/ramips/mt7621/profiles/00-default.mk +++ b/target/linux/ramips/mt7621/profiles/00-default.mk @@ -10,7 +10,7 @@ define Profile/Default PRIORITY:=1 PACKAGES:=\ kmod-usb-core kmod-usb3 \ - kmod-ledtrig-usbdev + kmod-usb-ledtrig-usbport endef define Profile/Default/Description diff --git a/target/linux/ramips/mt7628/profiles/00-default.mk b/target/linux/ramips/mt7628/profiles/00-default.mk index d0472a9f36..162ac14315 100644 --- a/target/linux/ramips/mt7628/profiles/00-default.mk +++ b/target/linux/ramips/mt7628/profiles/00-default.mk @@ -8,7 +8,7 @@ define Profile/Default NAME:=Default Profile PRIORITY:=1 - PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef define Profile/Default/Description diff --git a/target/linux/ramips/mt7688/profiles/00-default.mk b/target/linux/ramips/mt7688/profiles/00-default.mk index d0472a9f36..162ac14315 100644 --- a/target/linux/ramips/mt7688/profiles/00-default.mk +++ b/target/linux/ramips/mt7688/profiles/00-default.mk @@ -8,7 +8,7 @@ define Profile/Default NAME:=Default Profile PRIORITY:=1 - PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef define Profile/Default/Description diff --git a/target/linux/ramips/rt305x/profiles/00-default.mk b/target/linux/ramips/rt305x/profiles/00-default.mk index f2d1a52052..a8ca71610c 100644 --- a/target/linux/ramips/rt305x/profiles/00-default.mk +++ b/target/linux/ramips/rt305x/profiles/00-default.mk @@ -10,7 +10,7 @@ define Profile/Default PRIORITY:=1 PACKAGES:=\ kmod-usb-core kmod-usb-dwc2 \ - kmod-ledtrig-usbdev + kmod-usb-ledtrig-usbport endef define Profile/Default/Description