On Fri, 2007-09-21 at 19:04 +0200, Eugen Dedu wrote: > > May /proc/cpuinfo be used? > snoopy:~$ cat /proc/cpuinfo > processor : 0 > cpu : 7447/7457, altivec supported > clock : 612.000000MHz > revision : 0.1 (pvr 8002 0101) > bogomips : 36.73 > timebase : 18432000 > platform : PowerMac > machine : PowerBook5,2 > motherboard : PowerBook5,2 MacRISC3 Power Macintosh > detected as : 287 (PowerBook G4 15") > pmac flags : 0000001b > L2 cache : 512K unified > pmac-generation : NewWorld > > This makes a difference between ibook and powerbook.
Yes, I'm planning to use this for sane default values of Option "MacModel" when I get time, but feel free to beat me to it. > As for duallink or not, you may then consider ibook or powerbook by > default. If the user wants to use duallink, it can explicitly write > powerbook-duallink in xorg.conf. duallink or not is not an option like that - things work with only one case or the other depending on the hardware. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer

