Hi Andi,
On 10.11.2007 20:15, Andreas B. Mundt wrote:
On Sat, Nov 10, 2007 at 05:04:32PM +0100, Carl-Daniel Hailfinger wrote:
Can you try this patch on top of the existing patch? It will give you better debug output for superio config.
......
Can you then post the serial boot log (minicom capture)? It should have a few lines with "TRACE:" in it. Then we can check whether the values are set or not.
here are the results, I have not looked into details yet, but the TRACE is there:
Thanks!
LinuxBIOS-2.0.0_m57sli_Fallback Sat Nov 10 20:04:37 CET 2007 starting... [...]
Setting resources... VGA: PCI: 00:18.0 (aka node 0) link 0 has VGA device PCI: 00:18.0 1c0 <- [0x0000001000 - 0x0000004fff] size 0x00004000 gran 0x0c io <node 0 link 0> PCI: 00:18.0 1b8 <- [0x00e0000000 - 0x00efffffff] size 0x10000000 gran 0x14 prefmem <node 0 link 0> PCI: 00:18.0 1b0 <- [0x00f4000000 - 0x00f62fffff] size 0x02300000 gran 0x14 mem <node 0 link 0> PCI: 00:01.0 14 <- [0x00f6244000 - 0x00f6244fff] size 0x00001000 gran 0x0c mem TRACE: PNP: 002e.1, selecting logical device 01 TRACE: PNP: 002e.1, index 60: writing 03f8 PNP: 002e.1 60 <- [0x00000003f8 - 0x00000003ff] size 0x00000008 gran 0x03 io TRACE: PNP: 002e.1, index 70: writing 0004 PNP: 002e.1 70 <- [0x0000000004 - 0x0000000004] size 0x00000001 gran 0x00 irq TRACE: PNP: 002e.4, selecting logical device 04 TRACE: PNP: 002e.4, index 60: writing 0290 PNP: 002e.4 60 <- [0x0000000290 - 0x0000000297] size 0x00000008 gran 0x03 io TRACE: PNP: 002e.4, index 62: writing 0230 PNP: 002e.4 62 <- [0x0000000230 - 0x0000000237] size 0x00000008 gran 0x03 io TRACE: PNP: 002e.4, index 70: writing 0009 PNP: 002e.4 70 <- [0x0000000009 - 0x0000000009] size 0x00000001 gran 0x00 irq TRACE: PNP: 002e.5, selecting logical device 05 TRACE: PNP: 002e.5, index 60: writing 0060 PNP: 002e.5 60 <- [0x0000000060 - 0x0000000060] size 0x00000001 gran 0x00 io TRACE: PNP: 002e.5, index 62: writing 0064 PNP: 002e.5 62 <- [0x0000000064 - 0x0000000064] size 0x00000001 gran 0x00 io TRACE: PNP: 002e.5, index 70: writing 0001 PNP: 002e.5 70 <- [0x0000000001 - 0x0000000001] size 0x00000001 gran 0x00 irq TRACE: PNP: 002e.6, selecting logical device 06 TRACE: PNP: 002e.6, index 70: writing 000c PNP: 002e.6 70 <- [0x000000000c - 0x000000000c] size 0x00000001 gran 0x00 irq PNP: 002e.7 missing set_resources
Boom. The log shows why both parts of the Config.lb patch were ineffective. Can you try the patch below on top of it? This should fix the values for LDN 0x7. If not, please supply a boot log.
Index: LinuxBIOSv2/src/superio/ite/it8716f/superio.c =================================================================== --- LinuxBIOSv2/src/superio/ite/it8716f/superio.c (Revision 2953) +++ LinuxBIOSv2/src/superio/ite/it8716f/superio.c (Arbeitskopie) @@ -152,7 +152,7 @@ {&ops, IT8716F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, {0x7ff, 0}, {0x7ff, 0x4},}, {&ops, IT8716F_KBCM, PNP_IRQ0,}, - // No 7 { 0,}, + {&ops, IT8716F_GPIO,}, {&ops, IT8716F_MIDI, PNP_IO0 | PNP_IRQ0, {0x7fe, 0x4},}, {&ops, IT8716F_GAME, PNP_IO0, {0x7ff, 0},}, {&ops, IT8716F_IR,}, Index: LinuxBIOSv2/src/superio/ite/it8716f/it8716f.h =================================================================== --- LinuxBIOSv2/src/superio/ite/it8716f/it8716f.h (Revision 2953) +++ LinuxBIOSv2/src/superio/ite/it8716f/it8716f.h (Arbeitskopie) @@ -28,6 +28,7 @@ #define IT8716F_EC 0x04 /* Environment controller */ #define IT8716F_KBCK 0x05 /* Keyboard */ #define IT8716F_KBCM 0x06 /* Mouse */ +#define IT8716F_GPIO 0x07 /* GPIO */ #define IT8716F_MIDI 0x08 /* MIDI port */ #define IT8716F_GAME 0x09 /* GAME port */ #define IT8716F_IR 0x0a /* Consumer IR */
Regards, Carl-Daniel