Quoting joe@smittys.pointclark.net:
To check this with superiotool I have to be able to dump the "Runtime Registers", this is where the GPIO's are (See the SMSC lpc47m192 datasheet for more info). Currently superiotool does not dump these registers so modifications will be required.
I was relying on the new extended superiotool dumping functionality. That doesn't exist yet for your superio, so I should have written "...can find out with superiotool (once that has GPIO dumping support for your superio) and...". Thanks for correcting me.
I am working on this right now.....
hmm, I think I did everthing right but my dumps are coming back with all zero's, not the default values. Would someone mind taking a look to see what I am doing wrong in the attached smsc.c
I need to fix the format, but here is the output:
[root@localhost superiotool]# superiotool -de superiotool r3121 Found SMSC LPC47M15x/192/997 (id=0x60, rev=0x01) at 0x2e Register dump: idx 03 07 20 21 22 23 24 26 27 28 2a 2b 2c 2d 2e 2f val 00 0a 60 01 10 00 44 2e 00 00 00 00 00 00 00 00 def RR 00 60 NA 00 00 44 MM MM RR NA NA NA NA NA NA LDN 0x00 (Floppy) idx 30 60 61 70 74 f0 f1 f2 f4 f5 val 00 03 f0 06 02 0e 00 ff 00 00 def 00 03 f0 06 02 0e 00 ff 00 00 LDN 0x03 (Parallel port) idx 30 60 61 70 74 f0 f1 val 00 03 78 07 04 3c 00 def 00 00 00 00 04 3c 00 LDN 0x04 (COM1) idx 30 60 61 70 f0 val 01 03 f8 04 00 def 00 00 00 00 00 LDN 0x05 (COM2 / IR) idx 30 60 61 70 f0 f1 f2 val 00 00 00 00 00 02 03 def NA 00 00 00 00 02 03 LDN 0x07 (Keyboard) idx 30 70 72 f0 val 01 01 0c 00 def 00 00 00 00 LDN 0x09 (Game port) idx 30 60 61 val 00 00 00 def 00 00 00 LDN 0x0a (Power Management Events (PME)) idx 30 60 61 f0 val 01 0a 00 00 def 00 00 00 NA LDN 0x0b (MPU-401) idx 30 60 61 70 val 00 03 30 05 def 00 03 30 05 PME I/O Base Address (0x0a00) Register dump: idx 00 02 04 05 06 07 08 0a 0b 0c 0d 0e 10 11 12 13 14 16 17 18 19 1a 1c 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2f val 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 def 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 03 NA NA NA 00 01 01 01 01 01 01 01 01 01 01 01 01 Register dump: idx 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 4b 4c 4d 4e 4f 50 56 57 58 59 5a 5b 5c 5d 5e 5f val 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 def 01 01 01 01 01 01 01 05 04 01 01 01 01 01 01 01 01 01 00 01 01 01 01 01 01 00 00 00 00 00 00 00 00 50 00 00 00 00 00 00 00
Thanks - Joe