Parallel port LED driver 0.0.1

A LED subsystem device driver for the Linux operating system
Parallel port LED driver package contains a LED subsystem device driver for the Linux operating system. The code was written for Linux version 2.6.22.

The module takes 1 parameter, which is parled_port_nr, which is the parallel port number on which the LEDs are connected.

I do not take responsibility for any damage to your computer that could result from your usage of the attached parallel port pinout. Also I don't take responsibility for the device driver, which the GPL luckily clarifies already.

Pinout:


/--/--/--/--/--/--/--/-------------------
| | | | | | | | |
| | | | | | | | |
/-/-/-/-/-/-/-/- |
|L||L||L||L||L||L||L||L| |
|E||E||E||E||E||E||E||E| |
|D||D||D||D||D||D||D||D| |
|1||2||3||4||5||6||7||8| |
-/-/-/-/-/-/-/-/ |
| | | | | | | | |
______|__|__|__|__|__|__|__|_______________ |
| | | | | | | | / |
1 2 3 4 5 6 7 8 9 10 11 12 13 / |
14 15 16 17 18-19-20-21-22-23-24-25 / |
______________________|____________/ |
| |
| |
____________________/

You should probably add some ~500 ohm resistors before the LEDs, I'm just gonna say that I didn't and it works anyways (quite bright LEDs).

Installation:

host:~# make
host:~# cp leds-parport.ko /lib/modules/`uname -r`/kernel/drivers/leds/
host:~# depmod -ae
host:~# modprobe leds-parport
host:~# ls -alh /sys/class/leds/
total 0
drwxr-xr-x 7 root root 0 2007-08-16 16:20 .
drwxr-xr-x 24 root root 0 2007-08-16 15:58 ..
drwxr-xr-x 2 root root 0 2007-08-16 16:23 parled:led1
drwxr-xr-x 2 root root 0 2007-08-16 16:23 parled:led2
drwxr-xr-x 2 root root 0 2007-08-16 16:23 parled:led3
drwxr-xr-x 2 root root 0 2007-08-16 16:23 parled:led4
drwxr-xr-x 2 root root 0 2007-08-16 16:23 parled:led5
drwxr-xr-x 2 root root 0 2007-08-16 16:23 parled:led6
drwxr-xr-x 2 root root 0 2007-08-16 16:23 parled:led7
drwxr-xr-x 2 root root 0 2007-08-16 16:23 parled:led8
host:~# make clean

last updated on:
September 13th, 2007, 14:51 GMT
price:
FREE!
developed by:
Axel Gembe
license type:
GPL (GNU General Public License) 
category:
ROOT \ System \ Hardware

FREE!

In a hurry? Add it to your Download Basket!

user rating 21

UNRATED
3.6/5
 

0/5

Add your review!

SUBMIT