Changeset 26848


Ignore:
Timestamp:
2011-05-08T12:25:58+02:00 (7 years ago)
Author:
jow
Message:

[package] base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others (#9352)

Location:
trunk/package/base-files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/Makefile

    r26720 r26848  
    1111 
    1212PKG_NAME:=base-files 
    13 PKG_RELEASE:=68 
     13PKG_RELEASE:=69 
    1414 
    1515PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 
  • trunk/package/base-files/files/etc/init.d/boot

    r26485 r26848  
    8181 
    8282        load_modules /etc/modules.d/* 
     83 
     84        # another round of USB coldplugging to kick devices into operation which lacked drivers before 
     85        for dev in /sys/bus/usb/devices/*/uevent; do 
     86                [ -e "$dev" ] && echo -n add > "$dev" 
     87        done 
    8388} 
    8489 
Note: See TracChangeset for help on using the changeset viewer.