[ltp] thinkpad_ec fails to load on Thinkpad T500

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Tue, 14 Oct 2008 12:45:17 -0300


On Sat, 11 Oct 2008, Wolfgang Enderlein wrote:
> Oct 11 14:11:59 abe-nb-9 kernel: system 00:02: ioport range 0x1600-0x1641 has been reserved
> Oct 11 14:11:59 abe-nb-9 kernel: system 00:02: ioport range 0x1600-0x161b has been reserved
> [...]
> Oct 11 15:51:54 abe-nb-9 kernel: thinkpad_ec: cannot claim io ports 0x1600-0x161f

The BIOS is claiming the IO ports for itself.  It shouldn't, unless it is
going to use them (which, AFAIK, it does NOT) and doesn't want any drivers
touching it.

I will ask Lenovo to drop the 0x1600-0x161f range from the ACPI port
reservation table.  If they do, fine (and you will have to update your BIOS
for thinkpad_ec to work).  If they don't, we will need to add a quirk to
unreserve that range by force.

> The io-port range seems to be blocked by the system for a device 00:02. 
> But what is this device? Anyone any ideas how to identify?

It is a catch-all motherboard resources thing.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh