Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 06, 2013 10:06AM |
Registered: 12 years ago Posts: 5 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 07, 2013 12:28AM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 10, 2013 12:44PM |
Registered: 14 years ago Posts: 29 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 10, 2013 03:13PM |
Registered: 14 years ago Posts: 29 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 10, 2013 05:21PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 16, 2013 04:26PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 21, 2013 11:58AM |
Registered: 12 years ago Posts: 36 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 21, 2013 04:23PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 22, 2013 01:01AM |
Registered: 12 years ago Posts: 36 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 22, 2013 11:57PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 23, 2013 01:01PM |
Registered: 12 years ago Posts: 36 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 23, 2013 04:03PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.9.11 Kirkwood package and rootfs (Non Flattened Device Tree) August 24, 2013 12:18AM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) August 25, 2013 03:38PM |
Registered: 11 years ago Posts: 91 |
[Global] listen = /dev/input/event0 [Keys] POWER = shutdown -P -h now
/bin/echo 47 > /sys/class/gpio/export /bin/echo 49 > /sys/class/gpio/export # 49 out, value 1 /bin/echo "out" > /sys/class/gpio/gpio49/direction /bin/echo 1 > /sys/class/gpio/gpio49/value # 47 out, value 1 /bin/echo "out" > /sys/class/gpio/gpio47/direction # next line 0 to disable, 1 to enable resume from power loss ( powers the PHY also!!) /bin/echo 1 > /sys/class/gpio/gpio47/value # set 49 value 0 /bin/echo 0 > /sys/class/gpio/gpio49/value
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) August 26, 2013 12:29PM |
Registered: 12 years ago Posts: 36 |
$ ll /dev/input/by-path total 0 drwxr-xr-x 2 root root 60 Aug 23 12:17 . drwxr-xr-x 3 root root 100 Aug 23 12:17 .. lrwxrwxrwx 1 root root 9 Aug 23 12:17 platform-gpio-keys-event -> ../event0
$ cat /etc/input-event-daemon.conf # # /etc/input-event-daemon.conf # [Global] listen = /dev/input/event0 [Keys] POWER = shutdown -h now
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 08, 2013 04:14PM |
Registered: 11 years ago Posts: 91 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 08, 2013 06:21PM |
Admin Registered: 13 years ago Posts: 18,994 |
DanK
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 18, 2013 12:53PM |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 19, 2013 01:31AM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 22, 2013 12:13PM |
Registered: 11 years ago Posts: 8 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 22, 2013 12:46PM |
Registered: 11 years ago Posts: 8 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 22, 2013 04:04PM |
Admin Registered: 13 years ago Posts: 18,994 |
echo default-on > /sys/class/leds/nsa320:green:hdd1/trigger
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 23, 2013 03:09PM |
Registered: 11 years ago Posts: 91 |
if [ -d /sys/class/leds/nsa320:orange:sys ]; then echo none > /sys/class/leds/nsa320:orange:sys/trigger if [ -d /sys/class/leds/nsa320:green:sys ]; then echo default-on > /sys/class/leds/nsa320:green:sys/trigger fi if [ -d /sys/class/leds/nsa320:red:hdd1 ]; then echo ide-disk > /sys/class/leds/nsa320:red:hdd1/trigger fi if [ -d /sys/class/leds/nsa320:red:hdd2 ]; then echo ide-disk > /sys/class/leds/nsa320:red:hdd2/trigger fi
none nand-disk timer oneshot [ide-disk] heartbeat gpio default-on
static struct gpio_led nsa320_led_pins[]
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 23, 2013 11:57PM |
Admin Registered: 13 years ago Posts: 18,994 |
> if [ -d /sys/class/leds/nsa320:orange:sys ]; then > echo none > > /sys/class/leds/nsa320:orange:sys/trigger > if [ -d /sys/class/leds/nsa320:green:sys ]; > then > echo default-on > > /sys/class/leds/nsa320:green:sys/trigger > fi > if [ -d /sys/class/leds/nsa320:red:hdd1 ]; > then > echo ide-disk > > /sys/class/leds/nsa320:red:hdd1/trigger > fi > if [ -d /sys/class/leds/nsa320:red:hdd2 ]; > then > echo ide-disk > > /sys/class/leds/nsa320:red:hdd2/trigger > fi >>
> none nand-disk timer oneshot [ide-disk] heartbeat > gpio default-on >>
> static struct gpio_led nsa320_led_pins[] >>
Re: Linux Kernel 3.11.1 Kirkwood package and rootfs (Non Flattened Device Tree) September 27, 2013 11:21PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 28, 2013 08:22PM |
Registered: 11 years ago Posts: 8 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) September 28, 2013 09:29PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.11.1 Kirkwood package and rootfs (Non Flattened Device Tree) October 01, 2013 03:40AM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) October 04, 2013 03:24PM |
Registered: 11 years ago Posts: 91 |
diff -ruN a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c --- a/drivers/ata/sata_mv.c 2013-05-24 12:45:59.000000000 -0600 +++ b/drivers/ata/sata_mv.c 2013-05-30 22:44:14.000000000 -0600 @@ -71,6 +71,7 @@ #include <scsi/scsi_cmnd.h> #include <scsi/scsi_device.h> #include <linux/libata.h> +#include <linux/leds.h> #define DRV_NAME "sata_mv" #define DRV_VERSION "1.28" @@ -1156,6 +1157,8 @@ { int want_ncq = (protocol == ATA_PROT_NCQ); + ledtrig_ide_activity(); + if (pp->pp_flags & MV_PP_FLAG_EDMA_EN) { int using_ncq = ((pp->pp_flags & MV_PP_FLAG_NCQ_EN) != 0); if (want_ncq != using_ncq)
# # LED Triggers # CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_TIMER=y CONFIG_LEDS_TRIGGER_ONESHOT=y CONFIG_LEDS_TRIGGER_IDE_DISK=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set # CONFIG_LEDS_TRIGGER_CPU is not set CONFIG_LEDS_TRIGGER_GPIO=y CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) October 05, 2013 02:10AM |
Admin Registered: 13 years ago Posts: 18,994 |