mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[x86] update alix2 platform driver
Add support for Ed Wildgoose's alix platform driver plus my enhancement to add GPIO soft button support. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28081 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
26
target/linux/x86/alix2/base-files/etc/config/system
Normal file
26
target/linux/x86/alix2/base-files/etc/config/system
Normal file
@@ -0,0 +1,26 @@
|
||||
config system
|
||||
option hostname OpenWrt
|
||||
option timezone UTC
|
||||
|
||||
config rdate
|
||||
option interface wan
|
||||
|
||||
config led
|
||||
option default 1
|
||||
option name LAN
|
||||
option sysfs 'alix:1'
|
||||
option trigger netdev
|
||||
option mode 'tx rx'
|
||||
option dev 'br-lan'
|
||||
|
||||
config led
|
||||
option default 1
|
||||
option name WiFi
|
||||
option sysfs 'alix:2'
|
||||
option trigger 'phy0tpt'
|
||||
|
||||
config led
|
||||
option default 0
|
||||
option name Heartbeat
|
||||
option sysfs 'alix:3'
|
||||
option trigger 'heartbeat'
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
logger -t button -p daemon.info "$BUTTON/$ACTION"
|
||||
|
||||
case "$BUTTON/$ACTION" in
|
||||
|
||||
reset/released)
|
||||
reboot -f
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -15,7 +15,8 @@ DEFAULT_PACKAGES += \
|
||||
kmod-cfg80211 kmod-mac80211 \
|
||||
kmod-mppe kmod-pppoe kmod-pppo2ltp \
|
||||
kmod-ath kmod-ath5k kmod-ath9k \
|
||||
kmod-leds-gpio kmod-input-gpio-buttons \
|
||||
kmod-leds-gpio kmod-input-gpio-keys-polled \
|
||||
kmod-button-hotplug \
|
||||
kmod-ledtrig-heartbeat kmod-ledtrig-gpio \
|
||||
kmod-ledtrig-netdev kmod-ledtrig-netfilter \
|
||||
kmod-cpu-msr \
|
||||
|
||||
@@ -452,3 +452,4 @@ CONFIG_X86_XADD=y
|
||||
# CONFIG_ZONE_DMA32 is not set
|
||||
# CONFIG_BATTERY_BQ20Z75 is not set
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE is not set
|
||||
# CONFIG_ALIX is not set
|
||||
|
||||
Reference in New Issue
Block a user