lkml.org 
[lkml]   [2006]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Soekris] [RFC][PATCH] LED Class support for Soekris net48xx
Chris Boot wrote:
> Hi all,
>
> After many years using Linux and hanging about on LKML without having
> done much actual kernel hacking, I've decided to have a go! The module
> below adds LED Class device support for the Soekris net48xx Error LED.
> Tested only on a net4801, but should work on a net4826 as well. I'd
> love to find a way of detecting a Soekris net48xx device but there is
> no DMI or any Soekris-specific PCI devices.
>
> The patch is attached because Thunderbird kills tabs.
>
FWIW, the vintage scx200_gpio driver manipulates the LED just fine.

# cat /etc/modprobe.d/gpio
# assign last 2 dynamic devnums to gpio (255..240)
options scx200_gpio major=240
options pc8736x_gpio major=241

soekris:~# ll /dev/led
crw-r--r-- 1 root root 240, 20 Jun 24 2005 /dev/led

echo 1 > /dev/led


Is this insufficient ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-08 17:15    [W:0.056 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site