Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 46968

Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree)

$
0
0
bodhi Wrote:
-------------------------------------------------------
> fma965 Wrote:
> --------------------------------------------------
> -----
> > how can i get the hdd led's working on the
> nsa320,
> > ide-trigger doesn't seem to work any more.
>
> There is so little info in your post so we have no
> way to know how help. What kernel you're using?
> what do you boot with (USB, HDD)…., what did you
> see before updating …..and any log file.

pbg4 had a shell script that use ide-trigger for the LED's but it no longer works, ide-trigger is invalid argument.

I am using the latest version on the first post.
I am running it from a ext3 usb
I am using a NSA320,
I never updated, i am using just the rootfs and kernel on first post (this is my first run)

What else do you need to know?

EDIT: o i see its ide-disk1 and ide-disk2 not just ide-disk, still doesn't seem to work though.

EDIT: i got it working but i can't get it working on boot using rc.local any suggestions?

EDIT i added the follow to a init.d script. seems to work now, Whats the best format to have the HDD for samba performance? ext4 is mega slow,
#!/bin/bash
echo "Fixing LEDs"
echo none > /sys/class/leds/nsa320:orange:sys/trigger
echo default-on  > /sys/class/leds/nsa320:green:sys/trigger
echo ide-disk1  > /sys/class/leds/nsa320:green:hdd1/trigger
echo ide-disk2  > /sys/class/leds/nsa320:green:hdd2/trigger
echo default-on  > /sys/class/leds/nsa320:green:usb/trigger

How can i get this working on debian?
------Shutdown via Powerbutton-------
It is possible to shutdown the box by pressing power button.

Install input-event-daemon and put following to /etc/input-event-daemon.conf:
[Global]
listen = /dev/input/event0
[Keys]
POWER = shutdown -h now

i can't seem to compile input-event-deamon.

-----------------------------------------

How can i fix SMB write speed, its my only issue now, http://i.imgur.com/dbQQuqX.png (write speed image) and http://i.imgur.com/RzsIUkH.png (read speed)

Viewing all articles
Browse latest Browse all 46968

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>