mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:14:05 +02:00
[package] base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others (#9352)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
26205d18e8
commit
6f14855dac
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=base-files
|
||||
PKG_RELEASE:=68
|
||||
PKG_RELEASE:=69
|
||||
|
||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||
PKG_BUILD_DEPENDS:=opkg/host
|
||||
|
@ -80,6 +80,11 @@ start() {
|
||||
}
|
||||
|
||||
load_modules /etc/modules.d/*
|
||||
|
||||
# another round of USB coldplugging to kick devices into operation which lacked drivers before
|
||||
for dev in /sys/bus/usb/devices/*/uevent; do
|
||||
[ -e "$dev" ] && echo -n add > "$dev"
|
||||
done
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
Loading…
Reference in New Issue
Block a user