| |||||||
| Register | FAQ | Members List | Calendar | Arcade | Search | Today's Posts | Mark Forums Read |
| EPoX MotherBoards EPoX Intel and AMD Motherboards. |
![]() |
| | LinkBack | Thread Tools | Rate Thread |
| ||||
| ::winks:: Sure anyone from the Opensource community would be able to do that easily!
__________________ If you need EPoX BIOS eeproms in the UK, goto http://www.epox.org..................... |
| |||
| Quote:
for the Port 80 display you need a kernel patch, because this port is used to generate a delay. (Maybe you recognize that the LEDs are flickering). Look at <kernelsource>/include/asm/io.h and search for #define __SLOW_DOWN_IO __asm__ __volatile__("outb %al,$0x80") change 0x80 to 0x81 (it works for me) and recompile the kernel. If you get so far, ask me for a program that is able to write the temp to the LEDs ![]() Hasw
__________________ Epox 8RDA+ Vdd 1.6V JIUHB 1433@1000, 1.075V http://www.hasw.net/8rda/LowVoltage_1Ghz.png 2x256 333 Infineon @ 200FSB 4 3 2 2.5, 2.6V |
| |||
| Quote:
thanks Hasw .... U know any program to write any values in leds ?
__________________ |
| |||
| Quote:
------------- #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/io.h> #define PORT 0x80 int main(int argc, char *argv[]) { if(argc < 2) { printf("Usage: %s [value]\n", argv[0]); exit(1); } if(iopl(3) == -1) { fprintf(stderr, "I/O permission error. (root?)\n"); } printf("Writing 0x%x to port 0x%x\n", atoi(argv[1]), PORT); outb(atoi(argv[1]), PORT); return(0); } --------------------------- Hasw
__________________ Epox 8RDA+ Vdd 1.6V JIUHB 1433@1000, 1.075V http://www.hasw.net/8rda/LowVoltage_1Ghz.png 2x256 333 Infineon @ 200FSB 4 3 2 2.5, 2.6V |
| |||
| Quote:
Thanks agains Hasw ... To work I need remove 0x before %x ... But ... ./port80 12 Writing c to port 80 ./port80 23 Writing 17 to port 80 thanks again ![]()
__________________ |
| |||
| Quote:
Ex: 12d = 0x0c hexl 23d = 0x17 hex
__________________ Epox 8RDA+ Vdd 1.6V JIUHB 1433@1000, 1.075V http://www.hasw.net/8rda/LowVoltage_1Ghz.png 2x256 333 Infineon @ 200FSB 4 3 2 2.5, 2.6V |
| |||
| Now working and show cpu temp ..... this source code : --------------------------------------------------------- #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/io.h> #define PORT 0x80 int main(FILE *fp, int temp) { if(iopl(3) == -1) { fprintf(stderr, "I/O permission error. (root?)\n"); } if ((fp = fopen("/proc/sys/dev/sensors/w83627hf-isa-0290/temp2", "r")) != NULL) { fscanf(fp, "60.0 50.0 %x", &temp); fclose(fp); } else return -1; outb(temp,PORT); return(0); } ---------------------------------------------
__________________ |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Rate This Thread | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux Mod | Rondog | Case Modifications | 88 | 5th September, 2005 01:50 PM |
| PS3 Add-On HDD to run on Linux | Rondog | General Hardware Discussion | 22 | 13th June, 2005 01:08 PM |
| 8RDA+ and Linux | ErroneousBee | EPoX MotherBoards | 4 | 11th August, 2003 11:47 AM |
| 8rda+ linux issue? | mal0 | EPoX MotherBoards | 6 | 30th April, 2003 07:28 AM |
| 8rda+ & SuSe Linux 8.1 | Time to Paws | EPoX MotherBoards | 0 | 8th January, 2003 09:01 AM |