payden / h340 Goto Github PK
View Code? Open in Web Editor NEWLinux kernel module for driving Acer Aspire H340 LEDs
License: GNU General Public License v2.0
Linux kernel module for driving Acer Aspire H340 LEDs
License: GNU General Public License v2.0
First of all thanks for a nice code! As I can see the devices enumeration works simply like /dev/sda - led 1, /dev/sdb - led 2, etc. This way isn't really correct. In my case the kernel module even assigns usb disk (/dev/sdb) to the second bay HDD led, which is actually empty. IMO, it would be better to assign leds based on SCSI or SATA host enumeration.
Howdy,
i've sucessfull compiled you hdd binary on debain (openmediavault (0.4.6 fedaykin)!
Then i've tried to compile your kernel module h340:
neither the Makefile wouldn't fit and an error occurred:
make -C /lib/modules/2.6.32-5-486/build M=/root/h340 modules
make[1]: Entering directory /usr/src/linux-headers-2.6.32-5-486' CC [M] /root/h340/h340.o /root/h340/h340.c: In function ‘h340_run’: /root/h340/h340.c:76: error: implicit declaration of function ‘outb’ make[4]: *** [/root/h340/h340.o] Fehler 1 make[3]: *** [_module_/root/h340] Fehler 2 make[2]: *** [sub-make] Fehler 2 make[1]: *** [all] Fehler 2 make[1]: Leaving directory
/usr/src/linux-headers-2.6.32-5-486'
make: *** [all] Fehler 2
Any suggestions?
kindly regards
Martin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.