1
0
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:
florian
2011-08-25 09:35:45 +00:00
parent 345bc95690
commit 1d08fd80b1
6 changed files with 650 additions and 1 deletions

View 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'

View File

@@ -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

View File

@@ -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 \

View File

@@ -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