When I try to load the thinkpad_ec module on my T500 with kernel 2.6.27-rc8, I get the following message in my dmesg:
thinkpad_ec: cannot claim io ports 0x1600-0x161f
Here is the contents of /proc/ioports:
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0071 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
03c0-03df : vga+
0800-080f : pnp 00:02
0cf8-0cff : PCI conf1
1000-107f : pnp 00:02
1000-1003 : ACPI PM1a_EVT_BLK
1004-1005 : ACPI PM1a_CNT_BLK
1008-100b : ACPI PM_TMR
1010-1015 : ACPI CPU throttle
1020-102f : ACPI GPE0_BLK
1050-1050 : ACPI PM2_CNT_BLK
1180-11ff : pnp 00:02
15e0-15ef : pnp 00:02
1600-1641 : pnp 00:02
1600-161b : pnp 00:02
164e-164f : pnp 00:02
1800-1807 : 0000:00:02.0
1838-183b : 0000:00:1f.2
1838-183b : ahci
183c-183f : 0000:00:1f.2
183c-183f : ahci
1840-185f : 0000:00:1a.0
1840-185f : uhci_hcd
1860-187f : 0000:00:1a.1
1860-187f : uhci_hcd
1880-189f : 0000:00:1a.2
1880-189f : uhci_hcd
18a0-18bf : 0000:00:1d.0
18a0-18bf : uhci_hcd
18c0-18df : 0000:00:1d.1
18c0-18df : uhci_hcd
18e0-18ff : 0000:00:1d.2
18e0-18ff : uhci_hcd
1c00-1c1f : 0000:00:1f.2
1c00-1c1f : ahci
1c20-1c27 : 0000:00:1f.2
1c20-1c27 : ahci
1c28-1c2f : 0000:00:1f.2
1c28-1c2f : ahci
1c40-1c5f : 0000:00:1f.3
1c40-1c5f : i801_smbus
3000-3fff : PCI Bus 0000:0d
4000-7fff : PCI Bus 0000:15
4000-40ff : PCI CardBus 0000:16
4400-44ff : PCI CardBus 0000:16
I can confirm the same bug on a Thinkpad T400. I am using tp_smapi v0.39.
While trying to modprobe thinkpad_ec the module fails to load with the following error message in dmesg:
thinkpad_ec: cannot claim io ports 0x1600-0x161f
cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
03c0-03df : vga+
03c0-03df : uvesafb
0800-080f : pnp 00:02
0cf8-0cff : PCI conf1
1000-107f : pnp 00:02
1000-1003 : ACPI PM1a_EVT_BLK
1004-1005 : ACPI PM1a_CNT_BLK
1008-100b : ACPI PM_TMR
1010-1015 : ACPI CPU throttle
1020-102f : ACPI GPE0_BLK
1050-1050 : ACPI PM2_CNT_BLK
1180-11ff : pnp 00:02
15e0-15ef : pnp 00:02
1600-1641 : pnp 00:02
1600-161b : pnp 00:02
164e-164f : pnp 00:02
1800-1807 : 0000:00:02.0
1838-183b : 0000:00:1f.2
1838-183b : ahci
183c-183f : 0000:00:1f.2
183c-183f : ahci
1840-185f : 0000:00:19.0
1860-187f : 0000:00:1a.0
1860-187f : uhci_hcd
1880-189f : 0000:00:1a.1
1880-189f : uhci_hcd
18a0-18bf : 0000:00:1a.2
18a0-18bf : uhci_hcd
18c0-18df : 0000:00:1d.0
18c0-18df : uhci_hcd
18e0-18ff : 0000:00:1d.1
18e0-18ff : uhci_hcd
1c00-1c1f : 0000:00:1d.2
1c00-1c1f : uhci_hcd
1c20-1c3f : 0000:00:1f.2
1c20-1c3f : ahci
1c40-1c47 : 0000:00:1f.2
1c40-1c47 : ahci
1c48-1c4f : 0000:00:1f.2
1c48-1c4f : ahci
1c60-1c7f : 0000:00:1f.3
1c60-1c7f : i801_smbus
2000-2fff : PCI Bus 0000:01
2000-20ff : 0000:01:00.0
3000-3fff : PCI Bus 0000:05
4000-4fff : PCI Bus 0000:0d
5000-8fff : PCI Bus 0000:15
5000-50ff : PCI CardBus 0000:16
5400-54ff : PCI CardBus 0000:16
forgot to mention, the above was on a 2.6.27 kernel.
Me too. X200 and kernel 2.6.27.4
cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0071 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
03c0-03df : vga+
0800-080f : pnp 00:02
0cf8-0cff : PCI conf1
1000-107f : pnp 00:02
1000-1003 : ACPI PM1a_EVT_BLK
1004-1005 : ACPI PM1a_CNT_BLK
1008-100b : ACPI PM_TMR
1010-1015 : ACPI CPU throttle
1020-102f : ACPI GPE0_BLK
1050-1050 : ACPI PM2_CNT_BLK
1180-11ff : pnp 00:02
15e0-15ef : pnp 00:02
1600-1641 : pnp 00:02
1600-161b : pnp 00:02
164e-164f : pnp 00:02
1800-1807 : 0000:00:02.0
1838-183b : 0000:00:1f.2
1838-183b : ahci
183c-183f : 0000:00:1f.2
183c-183f : ahci
1840-185f : 0000:00:19.0
1860-187f : 0000:00:1a.0
1860-187f : uhci_hcd
1880-189f : 0000:00:1a.1
1880-189f : uhci_hcd
18a0-18bf : 0000:00:1a.2
18a0-18bf : uhci_hcd
18c0-18df : 0000:00:1d.0
18c0-18df : uhci_hcd
18e0-18ff : 0000:00:1d.1
18e0-18ff : uhci_hcd
1c00-1c1f : 0000:00:1d.2
1c00-1c1f : uhci_hcd
1c20-1c3f : 0000:00:1f.2
1c20-1c3f : ahci
1c40-1c47 : 0000:00:1f.2
1c40-1c47 : ahci
1c48-1c4f : 0000:00:1f.2
1c48-1c4f : ahci
1c60-1c7f : 0000:00:1f.3
2000-2fff : PCI Bus 0000:04
2000-20ff : 0000:04:00.0
3000-3fff : PCI Bus 0000:05
This is a ACPI BIOS issue. It reserves the IO ports thinkpad_ec would need.
See request #2218929.
Related thread, with additional info:
http://bugzilla.kernel.org/show_bug.cgi?id=12221