Package: nslu2-utils Version: 20080403-4 Severity: normal Tags: patch On my NLSU2 the 'leds beep' command does not result in the expected beep sound. There is no sound at all or just a low cracking noise. Investigating the '/usr/bin/leds' script led to the culprit: the respective input device for 'ixp4xx beeper' was not detected!
The attached patch resolves this issue. Regards, Helmut Buchsbaum -- System Information: Debian Release: 6.0.7 APT prefers stable APT policy: (500, 'stable') Architecture: armel (armv5tel) Kernel: Linux 2.6.32-5-ixp4xx Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Versions of packages nslu2-utils depends on: ii devio 1.2-1+b1 correctly read (or write) a region ii flash-kernel 2.37 utility to make certain embedded d ii slugimage 1:0.0+r104-5 NSLU2 firmware image manipulation nslu2-utils recommends no packages. Versions of packages nslu2-utils suggests: ii beep 1.2.2-24 advanced pc-speaker beeper -- no debconf information
--- /usr/bin/leds.orig 2013-03-22 14:09:53.000000000 +0100 +++ /usr/bin/leds 2013-03-22 14:11:39.000000000 +0100 @@ -186,8 +186,8 @@ devices=`ls -d /sys/class/input/event*` for device in $devices do - module=`egrep PHYSDEVDRIVER $device'/uevent' | cut -d '=' -f 2` - if test "$module" = "ixp4xx-beeper"; + module=$(cat ${device}/device/name) + if test "$module" = "ixp4xx beeper"; then devname=`basename "$device"` arg="-e /dev/input/"$devname