Re: [git pull] Input updates for 2.6.34-rc6

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Thursday, May 13, 2010 - 8:04 am

On Thu, 13 May 2010, Bastien Nocera wrote:

I can't update the firmware, since it's some random OS X program that does 
it (and I don't have OS X on the machine).

But where does it lock up? During the boot probing? Or does it probe as 
having a keyboard because Apple added some crazy SMM code to try to 
emulate one with USB? 

Afaik, the Apple hardware actually does _physically_ have a keyboard 
controller (it's on the regular intel southbridge silicon, afaik), it just 
isn't connected to anything. And I think it is turned off in some of the 
southbridge control registers. The control registers also allow trapping 
into SMI when accessing the keyboard control registers, and maybe Apple 
screwed up there somewhere.

On one of my Mac Mini's (didn't check the other), I get this:

	[    2.955087] PNP: No PS/2 controller found. Probing ports directly.
	[    2.958475] i8042.c: No controller found.
	[    2.960998] mice: PS/2 mouse device common for all mice

what do you get?

The thing is, there's a _lot_ of machines out there with no legacy 
keyboard support. They tend to work. We have timeouts for the i8042 
commands we do during init, but maybe we missed some case. And maybe we 
could easily add some extra tests too.

A few printk's in the i8042 init routines to show where it locks up would 
be good.. I assume you did that already if you and Dmitry already tried to 
debug this. Where's the original thread?

			Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Thu May 13, 12:57 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 13, 7:35 am)
Re: [git pull] Input updates for 2.6.34-rc6, Bastien Nocera, (Thu May 13, 7:47 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 13, 8:04 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 13, 8:19 am)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Thu May 13, 8:50 am)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Thu May 13, 9:01 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 13, 9:16 am)
Re: [git pull] Input updates for 2.6.34-rc6, Randy Dunlap, (Thu May 13, 9:38 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 13, 9:54 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 13, 9:58 am)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Thu May 13, 10:16 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 13, 10:30 am)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Thu May 13, 11:10 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 13, 12:55 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Matthew Garrett, (Thu May 13, 1:15 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Thu May 13, 2:05 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 13, 2:21 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Matthew Garrett, (Thu May 13, 4:39 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Eric W. Biederman, (Fri May 14, 12:56 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Fri May 14, 7:54 am)
Re: [git pull] Input updates for 2.6.34-rc6, Matthew Garrett, (Fri May 14, 7:55 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Fri May 14, 8:16 am)
Re: [git pull] Input updates for 2.6.34-rc6, Matthew Garrett, (Fri May 14, 8:38 am)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Fri May 14, 8:42 am)
Re: [git pull] Input updates for 2.6.34-rc6, Matthew Garrett, (Fri May 14, 8:49 am)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Fri May 14, 9:28 am)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Fri May 14, 9:29 am)
Re: [git pull] Input updates for 2.6.34-rc6, Matthew Garrett, (Fri May 14, 9:35 am)
Re: [git pull] Input updates for 2.6.34-rc6, david, (Fri May 14, 11:47 am)
Re: [git pull] Input updates for 2.6.34-rc6, Matthew Garrett, (Fri May 14, 11:49 am)
Re: [git pull] Input updates for 2.6.34-rc6, david, (Fri May 14, 11:55 am)
Re: [git pull] Input updates for 2.6.34-rc6, Matthew Garrett, (Fri May 14, 11:59 am)
Re: [git pull] Input updates for 2.6.34-rc6, david, (Fri May 14, 12:05 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Len Brown, (Wed May 19, 9:53 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Len Brown, (Wed May 19, 9:56 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Thu May 20, 12:08 am)
Re: [git pull] Input updates for 2.6.34-rc6, Robert Hancock, (Wed May 26, 11:22 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Wed May 26, 11:43 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 27, 10:06 am)
Re: [git pull] Input updates for 2.6.34-rc6, Robert Hancock, (Thu May 27, 4:03 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Linus Torvalds, (Thu May 27, 5:46 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Thu May 27, 6:03 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Mike Frysinger, (Thu May 27, 7:38 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Robert Hancock, (Thu May 27, 9:05 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Thu May 27, 10:10 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Tue Aug 3, 11:20 pm)
Re: [git pull] Input updates for 2.6.34-rc6, Dmitry Torokhov, (Tue Aug 3, 11:29 pm)