You can subscribe to this list here.
2006 |
Jan
|
Feb
(4) |
Mar
(135) |
Apr
(130) |
May
(82) |
Jun
(101) |
Jul
(75) |
Aug
(37) |
Sep
(28) |
Oct
(45) |
Nov
(114) |
Dec
(27) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(22) |
Feb
(60) |
Mar
(81) |
Apr
(120) |
May
(29) |
Jun
(50) |
Jul
(67) |
Aug
(41) |
Sep
(36) |
Oct
(4) |
Nov
(4) |
Dec
|
2008 |
Jan
(5) |
Feb
(17) |
Mar
(5) |
Apr
(6) |
May
(5) |
Jun
(9) |
Jul
(5) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Christoph P. <cp...@ch...> - 2006-03-19 20:43:58
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've done some research and found a way how we can make a Live CD that boots Intel Macs as well as standard PCs. Here's the trick: * The Intel Mac firmware will only boot from HFS+ volumes. * Apple built on Intel's EFI sample implementation and left the part of the code intact that makes El Torito boot images available as if they were partitions on a disk. * You can have more than one El Torito boot image entry, EFI doesn't care. * For it to actually work, you'll have to wrap the HFS+ partition in a Apple Partition Map. (Probably something to do with sector sizes. EFI keeps the 2K sector size for non-emulated images, and mkisofs requires an MBR to use hard-disk emulation.) An outline of a preparation procedure: * Make an empty disk image on OS X. By default, Disk Utility will use HFS+ wrapped in a Apple Partition Map (just what we need). * Fill that image with elilo, EFI-capable kernel, initrd, and either ebounce.efi or rEFIt. Bless the appropriate loader (refit.efi or ebounce.efi). * Unmount the disk image, and convert it into a "CD/DVD master" image, extension .cdr. That's actually a plain image. * Build the Live CD with the usual ISO9660 filesystem and ISOLINUX, but also put the macboot.cdr (or whatever) image in there and use mkisofs parameters like these: -b boot/isolinux.bin -no-emul-boot -eltorito-alt-boot -b boot/ macboot.cdr -no-emul-boot AFAIK a standard PC will just use the first El Torito entry and get ISOLINUX. The Mac however will just make both El Torito entries available as block devices, notice the APM partition map on the second one and the HFS+ partition in there, and offer that as a choice in the built-in boot loader. I haven't tried this on an actual Live CD because I don't have the setup to make one, but booting a Mac this way can be verified easily. Just make an image using mkisofs with rEFIt-0.3.cdr as an El Torito image. It will show up in the built-in chooser. So long, chrisp - -- chrisp a.k.a. Christoph Pfisterer "If that makes any sense cp...@ch... - http://chrisp.de to you, you have a big PGP key & geek code available problem." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEHcJ6r/EAHkwpC28RAmLPAKC0RB/STW/DEQg+g6eX5wO6RRt8swCgq1ov sexUCFfCbDpgrXbAxhcaGBI= =jJRo -----END PGP SIGNATURE----- |
From: Matthew G. <mj...@sr...> - 2006-03-19 18:46:14
|
The EFI spec states that the data size of an EFI variable is 64 bits. "unsigned long", on the other hand, isn't on IA32. diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index bda5bce..488c24c 100644 --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c @@ -110,7 +110,7 @@ static LIST_HEAD(efivar_list); struct efi_variable { efi_char16_t VariableName[1024/sizeof(efi_char16_t)]; efi_guid_t VendorGuid; - unsigned long DataSize; + __u64 DataSize; __u8 Data[1024]; efi_status_t Status; __u32 Attributes; diff --git a/include/linux/efi.h b/include/linux/efi.h index 9e97bc2..3f0a179 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -163,7 +163,7 @@ typedef efi_status_t efi_get_wakeup_time efi_time_t *tm); typedef efi_status_t efi_set_wakeup_time_t (efi_bool_t enabled, efi_time_t *tm); typedef efi_status_t efi_get_variable_t (efi_char16_t *name, efi_guid_t *vendor, u32 *attr, - unsigned long *data_size, void *data); + __u64 *data_size, void *data); typedef efi_status_t efi_get_next_variable_t (unsigned long *name_size, efi_char16_t *name, efi_guid_t *vendor); typedef efi_status_t efi_set_variable_t (efi_char16_t *name, efi_guid_t *vendor, -- Matthew Garrett | mj...@sr... |
From: Matthew G. <mj...@sr...> - 2006-03-19 16:48:22
|
On Sun, Mar 19, 2006 at 10:57:51AM +0100, Thomas Glanzmann wrote: > Hello, > has anyone tried to enable the legacy VGA BIOS? I compiled x.org CVS > HEAD to use the native i850 driver, which already exists and supports > the graphic card. However it relies on using the VGA Bios to retrieve > modes etc. The WinXPonMac people made it possible to make the VGA Bios > visable. (sorry for replying to you directly initially) The code described enables legacy VGA address decoding, but doesn't provide any VBE functionality. I'd be surprised if Apple actually shipped a legacy video BIOS in their hardware, and I've certainly found no sign of one. The Windows drivers probably work by driving the hardware directly - Dave Airlie is working on providing some of the same functionality in Xorg. -- Matthew Garrett | mj...@sr... |
From: Thomas G. <sit...@st...> - 2006-03-19 09:58:44
|
Hello, has anyone tried to enable the legacy VGA BIOS? I compiled x.org CVS HEAD to use the native i850 driver, which already exists and supports the graphic card. However it relies on using the VGA Bios to retrieve modes etc. The WinXPonMac people made it possible to make the VGA Bios visable. See here: http://daemons.net/~clay/index.php/2006/03/15/dual-booting-windows-xp-and-mac-os-x-on-intel-macs/ => 7. Blanka says. Thomas |
From: Thomas G. <sit...@st...> - 2006-03-18 23:42:12
|
Hello, I am looking for the ASM snipset which enables the VBE Bios of Mactel Linux. I saw it the last days anywhere floating around the net but can't find it anylonger. Anyone? Thanks, Thomas |
From: Christoph P. <cp...@ch...> - 2006-03-18 08:17:33
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Dan! > The modules all load appropriately and report all the correct > things. The mixer works correctly, and 'aplay' works also. With > external speakers plugged in to the notebook all seems fine. > However, whether external speakers are connected or disconnected, > no sound comes from the built-in speakers (they did work in OSX, > and they still produce the chime on start-up). > > Have I missed something in the configuration, or is the driver not > putting the output sound on some of the pins? This seems to be a general problem with the Intel machines; it's the same situation under Windows on all three machines (iMac, MBP, Mini). My assumption is that there is a bit of code in the (OS X) driver that detects what is connected and switches the hardware appropriately. I'd suggest looking at the source of the OS X driver, but unfortunately it's no longer public. (So much for Apple's commitment to Open Source...) The Sigmatel codec used by Apple should support 6 or 8 channels of analog audio. Maybe the internal speakers are connected to the rear channels or something? Can you play a 6-channel sound file through ALSA to see what happens? - -chrisp - -- chrisp a.k.a. Christoph Pfisterer "A computer scientist is cp...@ch... - http://chrisp.de someone who fixes things PGP key & geek code available that aren't broken." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEG8ILr/EAHkwpC28RAgGrAKCkNcDUF5r3f1QoU2m09H5KsJpMZACgxqLz HZ0xy98U4QyeMUuObOGk8gk= =2BNr -----END PGP SIGNATURE----- |
From: Dan N. <dmn...@po...> - 2006-03-18 03:12:46
|
I've installed the Ubuntu distribution on my Macbook Pro HDD, and rebuilt the kernel successfully, including Alsa. The relevant bits of info are: uname -a: Linux frontinus 2.6.16-rc6 #1 SMP Fri Mar 17 09:38:40 EST 2006 i686 GNU/Linux kernel .config: # # Sound # CONFIG_SOUND=m # # Advanced Linux Sound Architecture # CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m CONFIG_SND_HWDEP=m CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=m CONFIG_SND_SEQ_DUMMY=m CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=m CONFIG_SND_PCM_OSS=m CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_RTCTIMER=m CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y CONFIG_SND_DYNAMIC_MINORS=y CONFIG_SND_SUPPORT_OLD_API=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set # # Generic devices # CONFIG_SND_MPU401_UART=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_AC97_BUS=m CONFIG_SND_DUMMY=m CONFIG_SND_VIRMIDI=m CONFIG_SND_MTPAV=m CONFIG_SND_SERIAL_U16550=m CONFIG_SND_MPU401=m # # PCI devices # # CONFIG_SND_AD1889 is not set # CONFIG_SND_ALS4000 is not set # CONFIG_SND_ALI5451 is not set # CONFIG_SND_ATIIXP is not set # CONFIG_SND_ATIIXP_MODEM is not set # CONFIG_SND_AU8810 is not set # CONFIG_SND_AU8820 is not set # CONFIG_SND_AU8830 is not set # CONFIG_SND_AZT3328 is not set # CONFIG_SND_BT87X is not set # CONFIG_SND_CA0106 is not set # CONFIG_SND_CMIPCI is not set # CONFIG_SND_CS4281 is not set # CONFIG_SND_CS46XX is not set # CONFIG_SND_CS5535AUDIO is not set # CONFIG_SND_EMU10K1 is not set # CONFIG_SND_EMU10K1X is not set # CONFIG_SND_ENS1370 is not set # CONFIG_SND_ENS1371 is not set # CONFIG_SND_ES1938 is not set # CONFIG_SND_ES1968 is not set # CONFIG_SND_FM801 is not set CONFIG_SND_HDA_INTEL=m # CONFIG_SND_HDSP is not set # CONFIG_SND_HDSPM is not set # CONFIG_SND_ICE1712 is not set # CONFIG_SND_ICE1724 is not set CONFIG_SND_INTEL8X0=m CONFIG_SND_INTEL8X0M=m # CONFIG_SND_KORG1212 is not set # CONFIG_SND_MAESTRO3 is not set # CONFIG_SND_MIXART is not set # CONFIG_SND_NM256 is not set # CONFIG_SND_PCXHR is not set # CONFIG_SND_RME32 is not set # CONFIG_SND_RME96 is not set # CONFIG_SND_RME9652 is not set # CONFIG_SND_SONICVIBES is not set # CONFIG_SND_TRIDENT is not set # CONFIG_SND_VIA82XX is not set # CONFIG_SND_VIA82XX_MODEM is not set # CONFIG_SND_VX222 is not set # CONFIG_SND_YMFPCI is not set # # USB devices # CONFIG_SND_USB_AUDIO=m CONFIG_SND_USB_USX2Y=m The modules all load appropriately and report all the correct things. The mixer works correctly, and 'aplay' works also. With external speakers plugged in to the notebook all seems fine. However, whether external speakers are connected or disconnected, no sound comes from the built-in speakers (they did work in OSX, and they still produce the chime on start-up). Have I missed something in the configuration, or is the driver not putting the output sound on some of the pins? Any constructive suggestions appreciated, Dan |
From: Panayotis K. <pan...@pa...> - 2006-03-15 11:15:27
|
U29ycnkgZm9yIHRoZSBjcm9zcyBwb3N0LCBidXQgSSBoYXZlbid0IHNlZW4gYW55IGFjdGl2aXR5 IG9mCm1hY3RlbC1saW51eC11c2VycyBtYWlsaW5nIGxpc3QgYW5kIHRoZSBhcmNoaXZlIGluIFNG IGFyZSBub3Qgd29ya2luZwooZm9yIGJvdGggbGlzdHMpLkl0IGRpc3BsYXlzIG9ubHkgMSAodGVz dCkgbWFpbC4gSSBob3BlIHRoYXQgdGhpcyBtYWlsCndpbGwgcGFzcyB0aHJvdWdoLgoKCkkgYW0g dHJ5aW5nIHRvIGluc3RhbGwgTGludXggb24gdGhlIGludGVybmFsIEhhcmREaXNrLiBTaW5jZSBt eQpleHBlcmllbmNlcyB3aXRoIHNocmlua2luZyB0b29scyB3ZXJlIG5vdCBnb29kIGluIHRoZSBw YXN0LCBJIGhhdmUKcmVmb3JtYXR0ZWQgdGhlCkhEIGZyb20gc2NyYXRjaCBhbmQgbGVmdCAyMEdC IGVtcHR5IGZvciBmdXR1cmUgdXNlLgoKVGhpcyBpcyB3aGF0IHBhcnRlZCB3YXMgcmVwb3J0aW5n IHVuZGVyIGxpbnV4IChieSB1c2luZyB0aGUgbGl2ZSBjZCk6CgoxICAgICAgIDIwa0IgICAgMjEw TUIgICAyMTBNQiAgIGZhdDMyICAgICAgICBFRkkgU3lzdGVtIFBhcnRpdGlvbiAgYm9vdAoyICAg ICAgIDIwR0IgICAgMjUxR0IgICAyMzFHQiAgIGhmcysgICAgICAgICBBcHBsZV9IRlNfVW50aXRs ZWRfMQoKClN0cmFuZ2VseSB0aGUgZ2FwIHdhcyBiZXR3ZWVuIHR3byBwYXJ0aXRpb25zLCB0aGUg RUZJIFN5c3RlbSBQYXJ0aXRpb24KYW5kIHRoZSBPU1ggcGFydGl0aW9uLgpCeSB1c2luZyBwYXJ0 ZWQgSSBjcmVhdGVkIDIgbW9yZSBwYXJ0aXRpb25zLCBvbmUgZm9yIHN3YXAgYW5kIG9uZSBmb3IK bGludXguIEkgY3JlYXRlZCB0aGUgbGludXggcGFydGl0aW9uIHdpdGggdGhlIG1ha2VwYXJ0IGFu ZCB0aGVuIG1ha2Vmcwpjb21tYW5kIGFuZCBjcmVhdGVkIHRoZSBzd2FwIHdpdGggbWFrZXBhcnQg JiBtYWtlc3dhcC4KVGhpcyBpcyB0aGUgcmVzdWx0aW5nIHBhcnRpdGlvbiBzY2hlbWU6CgoxICAg ICAgIDIwa0IgICAgMjEwTUIgICAyMTBNQiAgIGZhdDMyICAgICAgICBFRkkgU3lzdGVtIFBhcnRp dGlvbiAgYm9vdAozICAgICAgIDIxME1CICAgMTAwME1CICA3OTBNQiAgIGxpbnV4LXN3YXAgICBT d2FwCjQgICAgICAgMTAwME1CICAyMEdCICAgIDE5R0IgICAgZXh0MiAgICAgICAgIExpbnV4CjIg ICAgICAgMjBHQiAgICAyNTFHQiAgIDIzMUdCICAgaGZzKyAgICAgICAgIEFwcGxlX0hGU19VbnRp dGxlZF8xCgpXaGVuIEkgdHJpZWQgdG8gbW91bnQgL2Rldi9zZGE0IEkgZ290IHRoaXMgKG5vdCBy ZWFsbHkgaW5mb3JtYXRpdmUpIGVycm9yOgoKIyBtb3VudCAtdCBleHQyIC9kZXYvc2RhNCAvbWVk aWEKbW91bnQ6IC9kZXYvc2RhNCBhbHJlYWR5IG1vdW50ZWQgb3IgL21lZGlhIGJ1c3kKClRoZSBt YWtlXyogY29tbWFuZHMgZG9uJ3Qgd29yayBlaXRoZXI6Cgp+IyBta2ZzLmV4dDMgL2Rldi9zZGE0 Cm1rZTJmcyAxLjM4ICgzMC1KdW4tMjAwNSkKL2Rldi9zZGE0IGlzIGFwcGFyZW50bHkgaW4gdXNl IGJ5IHRoZSBzeXN0ZW07IHdpbGwgbm90IG1ha2UgYSBmaWxlc3lzdGVtIGhlcmUhCgoKTW91bnRp bmcgc3dhcCBmYWlscyB0b286Cgpyb290QG1hY3RlbDp+IyBta3N3YXAgL2Rldi9zZGEzClNldHRp bmcgdXAgc3dhcHNwYWNlIHZlcnNpb24gMSwgc2l6ZSA9IDc5MDI1NyBrQgpubyBsYWJlbCwgVVVJ RD02NzQ1NDQ2YS0zNGFmLTQ0MGYtOTM4Yi01NTg5YzlmNjIxMTYKcm9vdEBtYWN0ZWw6fiMgc3dh cG9uIC9kZXYvc2RhMwpzd2Fwb246IC9kZXYvc2RhMzogSW52YWxpZCBhcmd1bWVudAoKCkkgd2Fz IGFsc28gdHJ5aW5nIHRvIG1vdW50IGV4dDIgdW5kZXIgbWFjb3N4IHdpdGggdGhpcyB0b29sczoK aHR0cDovL3NvdXJjZWZvcmdlLm5ldC9wcm9qZWN0cy9leHQyZnN4CldoaXRoIHRoZXNlIEkgYW0g YWJsZSB0byBtb3VudCB0aGUgZXh0MiBwYXJ0aXRpb24uCgoKVGhlIHByb2JsZW0gc3RpbGwgcmVt YWlucy4KSG93IGNhbiBJIG1vdW50IGl0IHVuZGVyIGxpbnV4PwoKCi0tCs6UzrXOvSDPgM61z4HO uc68zq3Ovc+JIM+Ezq/PgM6/z4TOtSDPgM6xz4HOrCDOvM+Mzr3OvyDPjM+DzrEgzrXOs8+OIM+A z4HOv866zrHOu8+OCg== |
From: Erik O. <er...@pl...> - 2006-03-15 03:25:34
|
Well, I just found the squashfs patches, so I will continue... -- Erik On Tue, Mar 14, 2006 at 10:23:21PM -0500, Erik Osheim wrote: > OK, I am obviously incompetent, but... > > I haven't had any luck getting the LiveCD to work. It starts to boot, > but it looks like something with squashfs isn't working; then /newroot > doesn't exist, and all the devfs stuff after that bombs and I get a > kernel panic. > > I am using 2.6.16-rc6 here, and from what I can tell the kernel > doesn't seem to know about squashfs. I can't find that symbol in the > config anywhere or as a kernel option, even though it is present in > the config you sent me. > > Is there a patch to enable squashfs support? > > Better yet, if someone who is good at building Live CDs could build > one that would be great. I can get the new kernel into > /efi/elilo/bzImage, and change the elilo.conf. I understand pretty > well how the initrd works (and can get the new kernel's modules into > it OK) and I can read the linuxrc, but I have no experience with > anything past that, which is where things are failing. > > Sorry for the complaining; it's just a frustrating process. > > -- Erik > > On Tue, Mar 14, 2006 at 05:18:16PM +0100, gimli wrote: > > Hi. > > > > I have attached the kernel config. > > > > cu > > > > gimli > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Mactel-linux-devel mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel |
From: Erik O. <er...@pl...> - 2006-03-15 03:23:26
|
OK, I am obviously incompetent, but... I haven't had any luck getting the LiveCD to work. It starts to boot, but it looks like something with squashfs isn't working; then /newroot doesn't exist, and all the devfs stuff after that bombs and I get a kernel panic. I am using 2.6.16-rc6 here, and from what I can tell the kernel doesn't seem to know about squashfs. I can't find that symbol in the config anywhere or as a kernel option, even though it is present in the config you sent me. Is there a patch to enable squashfs support? Better yet, if someone who is good at building Live CDs could build one that would be great. I can get the new kernel into /efi/elilo/bzImage, and change the elilo.conf. I understand pretty well how the initrd works (and can get the new kernel's modules into it OK) and I can read the linuxrc, but I have no experience with anything past that, which is where things are failing. Sorry for the complaining; it's just a frustrating process. -- Erik On Tue, Mar 14, 2006 at 05:18:16PM +0100, gimli wrote: > Hi. > > I have attached the kernel config. > > cu > > gimli |
From: gimli <gi...@da...> - 2006-03-14 16:18:23
|
Hi. I have attached the kernel config. cu gimli Erik Osheim wrote: > Could someone send me the kernel config used to generate the Ubuntu > live CDs kernel? I am trying to rebuild that CD with a newer kernel to > get the mac mini fb working. So far I've mostly had stupid problems, > but I don't want to keep wasting CD-rs until I figure out every little > thing I need. > > Was the config listed on the site the same one used in the Live CD? > > -- Erik > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Mactel-linux-devel mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel > |
From: Erik O. <er...@pl...> - 2006-03-14 14:52:05
|
Could someone send me the kernel config used to generate the Ubuntu live CDs kernel? I am trying to rebuild that CD with a newer kernel to get the mac mini fb working. So far I've mostly had stupid problems, but I don't want to keep wasting CD-rs until I figure out every little thing I need. Was the config listed on the site the same one used in the Live CD? -- Erik |
From: Christoph P. <cp...@ch...> - 2006-03-13 22:59:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I've just released rEFIt version 0.2. There aren't many user-visible changes, but it now scans more locations for potential boot loaders (including the \elilo directory used on the first Live CD, and some locations allegedly used by Windows Vista). I've also updated the EFI Shell with a version that has all commands built-in. That should eliminate the need to pack lots of additional commands in the \efi \tools folder. Download links for various formats are at: http://refit.sourceforge.net/ Now the real work of porting useful tools and drivers can begin... - -chrisp - -- chrisp a.k.a. Christoph Pfisterer "Any sufficiently advanced cp...@ch... - http://chrisp.de bug is indistinguishable PGP key & geek code available from a feature." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEFflGr/EAHkwpC28RAjueAKD6XNfCLacZ6EcE/h9pdEwf6Da8ngCcCFC4 QycdrvZIYJR/n5vksq80xGM= =Pw0l -----END PGP SIGNATURE----- |
From: Erik O. <er...@pl...> - 2006-03-13 14:39:54
|
On Mon, Mar 13, 2006 at 01:18:29PM +0100, Thomas Glanzmann wrote: > did you try to start X on the mini (does it work with fb or even the > nativ driver)? Does the Network Interface work with the driver in the > Linux kernel? I haven't booted anything except a very minimal initrd, so I haven't tried X yet. Today I am going to try to modify the ubuntu live CD by adding a new kernel with mini support. I'll email the list if that happens to let people know what I find. The ethernet card definitely does work; I was able to get an IP address and ping stuff on my internal network (and connect to services). I have heard the wireless can work also but I haven't tried that yet. -- Erik |
From: Thomas G. <sit...@st...> - 2006-03-13 12:19:19
|
Hello Erik, * Erik Osheim <er...@pl...> [060313 04:56]: > So, the new patch available from the sourceforge site for rc6 seems to > lack the mini support, as well as the 'height' and 'width' options. > Based on the diff between the previous version of > drivers/video/imacfb.c and the new, one, it seems like the only > difference is the mini support. > Here is a patch I have produced using the mini modifications > (including my own) to imacfb.c as well as the current rc6 patch. did you try to start X on the mini (does it work with fb or even the nativ driver)? Does the Network Interface work with the driver in the Linux kernel? Thomas [ I am waiting to get mine shipped ] |
From: gimli <gi...@da...> - 2006-03-13 07:57:26
|
Ups. Fixed. Erik Osheim wrote: > So, the new patch available from the sourceforge site for rc6 seems to > lack the mini support, as well as the 'height' and 'width' options. > > Based on the diff between the previous version of > drivers/video/imacfb.c and the new, one, it seems like the only > difference is the mini support. > > Here is a patch I have produced using the mini modifications > (including my own) to imacfb.c as well as the current rc6 patch. > > -- Erik > > > ------------------------------------------------------------------------ > > diff -Naur linux-2.6.16-rc6/arch/i386/kernel/dmi_scan.c linux-2.6.16-rc6-patched/arch/i386/kernel/dmi_scan.c > --- linux-2.6.16-rc6/arch/i386/kernel/dmi_scan.c 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/arch/i386/kernel/dmi_scan.c 2006-03-12 22:28:54.000000000 -0500 > @@ -5,6 +5,7 @@ > #include <linux/dmi.h> > #include <linux/bootmem.h> > #include <linux/slab.h> > +#include <linux/efi.h> > > static char * __init dmi_string(struct dmi_header *dm, u8 s) > { > @@ -184,39 +185,66 @@ > } > } > > -void __init dmi_scan_machine(void) > +static int __init dmi_present(char __iomem *p) > { > u8 buf[15]; > + memcpy_fromio(buf, p, 15); > + if ((memcmp(buf, "_DMI_", 5) == 0) && dmi_checksum(buf)) { > + u16 num = (buf[13] << 8) | buf[12]; > + u16 len = (buf[7] << 8) | buf[6]; > + u32 base = (buf[11] << 24) | (buf[10] << 16) | > + (buf[9] << 8) | buf[8]; > + > + /* > + * DMI version 0.0 means that the real version is taken from > + * the SMBIOS version, which we don't know at this point. > + */ > + if (buf[14] != 0) > + printk(KERN_INFO "DMI %d.%d present.\n", > + buf[14] >> 4, buf[14] & 0xF); > + else > + printk(KERN_INFO "DMI present.\n"); > + if (dmi_table(base,len, num, dmi_decode) == 0) > + return 0; > + } > + > + return 1; > +} > + > +void __init dmi_scan_machine(void) > +{ > char __iomem *p, *q; > + int rc; > > - /* > - * no iounmap() for that ioremap(); it would be a no-op, but it's > - * so early in setup that sucker gets confused into doing what > - * it shouldn't if we actually call it. > - */ > - p = ioremap(0xF0000, 0x10000); > - if (p == NULL) > - goto out; > > - for (q = p; q < p + 0x10000; q += 16) { > - memcpy_fromio(buf, q, 15); > - if ((memcmp(buf, "_DMI_", 5) == 0) && dmi_checksum(buf)) { > - u16 num = (buf[13] << 8) | buf[12]; > - u16 len = (buf[7] << 8) | buf[6]; > - u32 base = (buf[11] << 24) | (buf[10] << 16) | > - (buf[9] << 8) | buf[8]; > - > - /* > - * DMI version 0.0 means that the real version is taken from > - * the SMBIOS version, which we don't know at this point. > - */ > - if (buf[14] != 0) > - printk(KERN_INFO "DMI %d.%d present.\n", > - buf[14] >> 4, buf[14] & 0xF); > - else > - printk(KERN_INFO "DMI present.\n"); > + if (efi_enabled) { > + if (!efi.smbios) > + goto out; > + > + p = efi.smbios; > + > + if (p == NULL) > + goto out; > + > + rc = dmi_present(p + 0x10); /* offset of _DMI_ string */ > > - if (dmi_table(base,len, num, dmi_decode) == 0) > + if (!rc) > + return; > + > + } else { > + > + /* > + * no iounmap() for that ioremap(); it would be a no-op, but > + * it's so early in setup that sucker gets confused into doing > + * what it shouldn't if we actually call it. > + */ > + p = ioremap(0xF0000, 0x10000); > + if (p == NULL) > + goto out; > + > + for (q = p; q < p + 0x10000; q += 16) { > + rc = dmi_present(q); > + if (!rc) > return; > } > } > diff -Naur linux-2.6.16-rc6/arch/i386/kernel/efi.c linux-2.6.16-rc6-patched/arch/i386/kernel/efi.c > --- linux-2.6.16-rc6/arch/i386/kernel/efi.c 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/arch/i386/kernel/efi.c 2006-03-12 22:28:54.000000000 -0500 > @@ -395,7 +395,7 @@ > printk(KERN_INFO " ACPI=0x%lx ", config_tables[i].table); > } else > if (efi_guidcmp(config_tables[i].guid, SMBIOS_TABLE_GUID) == 0) { > - efi.smbios = (void *) config_tables[i].table; > + efi.smbios = __va(config_tables[i].table); > printk(KERN_INFO " SMBIOS=0x%lx ", config_tables[i].table); > } else > if (efi_guidcmp(config_tables[i].guid, HCDP_TABLE_GUID) == 0) { > diff -Naur linux-2.6.16-rc6/drivers/acpi/blacklist.c linux-2.6.16-rc6-patched/drivers/acpi/blacklist.c > --- linux-2.6.16-rc6/drivers/acpi/blacklist.c 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/drivers/acpi/blacklist.c 2006-03-12 22:28:54.000000000 -0500 > @@ -32,6 +32,7 @@ > #include <linux/acpi.h> > #include <acpi/acpi_bus.h> > #include <linux/dmi.h> > +#include <linux/efi.h> > > enum acpi_blacklist_predicates { > all_versions, > @@ -80,6 +81,9 @@ > int year; > char *s = dmi_get_system_info(DMI_BIOS_DATE); > > + if (efi_enabled) > + return 0; > + > if (!s) > return 0; > if (!*s) > diff -Naur linux-2.6.16-rc6/drivers/acpi/osl.c linux-2.6.16-rc6-patched/drivers/acpi/osl.c > --- linux-2.6.16-rc6/drivers/acpi/osl.c 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/drivers/acpi/osl.c 2006-03-12 22:28:54.000000000 -0500 > @@ -208,6 +208,10 @@ > > void acpi_os_unmap_memory(void __iomem * virt, acpi_size size) > { > + /* Don't unmap memory which was not mapped by acpi_os_map_memory */ > + if (efi_enabled && > + (efi_mem_attributes(virt_to_phys(virt)) & EFI_MEMORY_WB)) > + return; > iounmap(virt); > } > EXPORT_SYMBOL_GPL(acpi_os_unmap_memory); > diff -Naur linux-2.6.16-rc6/drivers/pci/msi.c linux-2.6.16-rc6-patched/drivers/pci/msi.c > --- linux-2.6.16-rc6/drivers/pci/msi.c 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/drivers/pci/msi.c 2006-03-12 22:28:54.000000000 -0500 > @@ -15,6 +15,7 @@ > #include <linux/smp_lock.h> > #include <linux/pci.h> > #include <linux/proc_fs.h> > +#include <linux/dmi.h> > > #include <asm/errno.h> > #include <asm/io.h> > @@ -40,6 +41,27 @@ > u8 irq_vector[NR_IRQ_VECTORS] = { FIRST_DEVICE_VECTOR , 0 }; > #endif > > +#ifdef CONFIG_X86 > + > +static int __init apple_msi_disable(struct dmi_system_id *d) > +{ > + if (!pci_msi_quirk) { > + printk(KERN_INFO "Apple machine detected. MSI disabled\n"); > + pci_msi_quirk = 1; > + } > + return 0; > +} > + > +static struct dmi_system_id __initdata msi_dmi_table[] = { > + { > + apple_msi_disable, "Apple", > + { DMI_MATCH(DMI_SYS_VENDOR, "Apple Computer, Inc."), }, > + }, > + { } > +}; > + > +#endif > + > static void msi_cache_ctor(void *p, kmem_cache_t *cache, unsigned long flags) > { > memset(p, 0, NR_IRQS * sizeof(struct msi_desc)); > @@ -362,6 +384,10 @@ > if (!status) > return status; > > +#ifdef CONFIG_X86 > + dmi_check_system(msi_dmi_table); > +#endif > + > if (pci_msi_quirk) { > pci_msi_enable = 0; > printk(KERN_WARNING "PCI: MSI quirk detected. MSI disabled.\n"); > diff -Naur linux-2.6.16-rc6/drivers/scsi/ata_piix.c linux-2.6.16-rc6-patched/drivers/scsi/ata_piix.c > --- linux-2.6.16-rc6/drivers/scsi/ata_piix.c 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/drivers/scsi/ata_piix.c 2006-03-12 22:28:54.000000000 -0500 > @@ -95,6 +95,8 @@ > #define DRV_NAME "ata_piix" > #define DRV_VERSION "1.05" > > +#define ATA_ENABLE_PATA 1 > + > enum { > PIIX_IOCFG = 0x54, /* IDE I/O configuration register */ > ICH5_PMR = 0x90, /* port mapping register */ > @@ -141,6 +143,7 @@ > { 0x8086, 0x7111, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix4_pata }, > { 0x8086, 0x24db, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata }, > { 0x8086, 0x25a2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata }, > + { 0x8086, 0x27df, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata }, > #endif > > /* NOTE: The following PCI ids must be kept in sync with the > diff -Naur linux-2.6.16-rc6/drivers/usb/storage/usb.c linux-2.6.16-rc6-patched/drivers/usb/storage/usb.c > --- linux-2.6.16-rc6/drivers/usb/storage/usb.c 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/drivers/usb/storage/usb.c 2006-03-12 22:28:54.000000000 -0500 > @@ -103,7 +103,7 @@ > MODULE_DESCRIPTION("USB Mass Storage driver for Linux"); > MODULE_LICENSE("GPL"); > > -static unsigned int delay_use = 5; > +static unsigned int delay_use = 0; > module_param(delay_use, uint, S_IRUGO | S_IWUSR); > MODULE_PARM_DESC(delay_use, "seconds to delay before using a new device"); > > diff -Naur linux-2.6.16-rc6/drivers/video/Kconfig linux-2.6.16-rc6-patched/drivers/video/Kconfig > --- linux-2.6.16-rc6/drivers/video/Kconfig 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/drivers/video/Kconfig 2006-03-12 22:28:54.000000000 -0500 > @@ -465,6 +465,15 @@ > You will get a boot time penguin logo at no additional cost. Please > read <file:Documentation/fb/vesafb.txt>. If unsure, say Y. > > +config FB_IMAC > + bool "Intel Based Macs FB" > + depends on (FB = y) && X86 > + select FB_CFB_FILLRECT > + select FB_CFB_COPYAREA > + select FB_CFB_IMAGEBLIT > + help > + This is the frame buffer device driver for the Inel Based Mac's > + > config VIDEO_SELECT > bool > depends on FB_VESA > diff -Naur linux-2.6.16-rc6/drivers/video/Makefile linux-2.6.16-rc6-patched/drivers/video/Makefile > --- linux-2.6.16-rc6/drivers/video/Makefile 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/drivers/video/Makefile 2006-03-12 22:28:54.000000000 -0500 > @@ -97,6 +97,7 @@ > > # Platform or fallback drivers go here > obj-$(CONFIG_FB_VESA) += vesafb.o > +obj-$(CONFIG_FB_IMAC) += imacfb.o > obj-$(CONFIG_FB_VGA16) += vga16fb.o vgastate.o > obj-$(CONFIG_FB_OF) += offb.o > > diff -Naur linux-2.6.16-rc6/drivers/video/imacfb.c linux-2.6.16-rc6-patched/drivers/video/imacfb.c > --- linux-2.6.16-rc6/drivers/video/imacfb.c 1969-12-31 19:00:00.000000000 -0500 > +++ linux-2.6.16-rc6-patched/drivers/video/imacfb.c 2006-03-12 22:33:54.000000000 -0500 > @@ -0,0 +1,425 @@ > +/* > + * framebuffer driver for Intel Based Mac's > + * > + * (c) 2006 Edgar Hucek <gi...@da...> > + * Original imac driver written by Gerd Knorr <kr...@go...> > + * > + */ > + > +#include <linux/module.h> > +#include <linux/kernel.h> > +#include <linux/errno.h> > +#include <linux/string.h> > +#include <linux/mm.h> > +#include <linux/tty.h> > +#include <linux/slab.h> > +#include <linux/delay.h> > +#include <linux/fb.h> > +#include <linux/ioport.h> > +#include <linux/init.h> > +#include <linux/platform_device.h> > + > +#include <video/vga.h> > +#include <asm/io.h> > +#include <asm/mtrr.h> > + > +#define dac_reg (0x3c8) > +#define dac_val (0x3c9) > + > +typedef enum _MAC_TAPE { > + M_I17, > + M_I20, > + M_MINI, > + M_NEW > +} MAC_TAPE; > + > +/* --------------------------------------------------------------------- */ > + > +static struct fb_var_screeninfo imacfb_defined __initdata = { > + .activate = FB_ACTIVATE_NOW, > + .height = -1, > + .width = -1, > + .right_margin = 32, > + .upper_margin = 16, > + .lower_margin = 4, > + .vsync_len = 4, > + .vmode = FB_VMODE_NONINTERLACED, > +}; > + > +static struct fb_fix_screeninfo imacfb_fix __initdata = { > + .id = "IMAC VGA", > + .type = FB_TYPE_PACKED_PIXELS, > + .accel = FB_ACCEL_NONE, > +}; > + > +static int inverse = 0; > +static int mtrr = 0; /* disable mtrr */ > +static int vram_remap __initdata = 0; /* Set amount of memory to be used */ > +static int vram_total __initdata = 0; /* Set total amount of memory */ > +static int depth; > +static int model = M_NEW; > +static int manual_height = 0; > +static int manual_width = 0; > + > +/* --------------------------------------------------------------------- */ > + > +static int imacfb_setcolreg(unsigned regno, unsigned red, unsigned green, > + unsigned blue, unsigned transp, > + struct fb_info *info) > +{ > + /* > + * Set a single color register. The values supplied are > + * already rounded down to the hardware's capabilities > + * (according to the entries in the `var' structure). Return > + * != 0 for invalid regno. > + */ > + > + if (regno >= info->cmap.len) > + return 1; > + > + if (regno < 16 && info->var.bits_per_pixel != 8) { > + switch (info->var.bits_per_pixel) { > + case 16: > + if (info->var.red.offset == 10) { > + /* 1:5:5:5 */ > + ((u32*) (info->pseudo_palette))[regno] = > + ((red & 0xf800) >> 1) | > + ((green & 0xf800) >> 6) | > + ((blue & 0xf800) >> 11); > + } else { > + /* 0:5:6:5 */ > + ((u32*) (info->pseudo_palette))[regno] = > + ((red & 0xf800) ) | > + ((green & 0xfc00) >> 5) | > + ((blue & 0xf800) >> 11); > + } > + break; > + case 24: > + case 32: > + red >>= 8; > + green >>= 8; > + blue >>= 8; > + ((u32 *)(info->pseudo_palette))[regno] = > + (red << info->var.red.offset) | > + (green << info->var.green.offset) | > + (blue << info->var.blue.offset); > + break; > + } > + } > + > + return 0; > +} > + > +static struct fb_ops imacfb_ops = { > + .owner = THIS_MODULE, > + .fb_setcolreg = imacfb_setcolreg, > + .fb_fillrect = cfb_fillrect, > + .fb_copyarea = cfb_copyarea, > + .fb_imageblit = cfb_imageblit, > +}; > + > +static int __init imacfb_setup(char *options) > +{ > + char *this_opt; > + > + if (!options || !*options) > + return 0; > + > + while ((this_opt = strsep(&options, ",")) != NULL) { > + if (!*this_opt) continue; > + > + if (! strcmp(this_opt, "inverse")) > + inverse=1; > + else if (! strncmp(this_opt, "mtrr:", 5)) > + mtrr = simple_strtoul(this_opt+5, NULL, 0); > + else if (! strcmp(this_opt, "nomtrr")) > + mtrr=0; > + else if (! strncmp(this_opt, "vtotal:", 7)) > + vram_total = simple_strtoul(this_opt+7, NULL, 0); > + else if (! strncmp(this_opt, "vremap:", 7)) > + vram_remap = simple_strtoul(this_opt+7, NULL, 0); > + else if (! strcmp(this_opt, "i17")) > + model = M_I17; > + else if (! strcmp(this_opt, "i20")) > + model = M_I20; > + else if (! strcmp(this_opt, "mini")) > + model = M_MINI; > + else if (! strncmp(this_opt, "height:", 7)) > + manual_height = simple_strtoul(this_opt+7, NULL, 0); > + else if (! strncmp(this_opt, "width:", 6)) > + manual_width = simple_strtoul(this_opt+6, NULL, 0); > + } > + return 0; > +} > + > +#define DEFAULT_FB_MEM 1024*1024*16 > + > +static int __init imacfb_probe(struct platform_device *dev) > +{ > + struct fb_info *info; > + int err; > + unsigned int size_vmode; > + unsigned int size_remap; > + unsigned int size_total; > + > + screen_info.lfb_base = 0x80010000; > + screen_info.lfb_depth = 32; > + screen_info.lfb_size = DEFAULT_FB_MEM / 0x10000; > + screen_info.pages=1; > + screen_info.blue_size = 8; > + screen_info.blue_pos = 0; > + screen_info.green_size = 8; > + screen_info.green_pos = 8; > + screen_info.red_size = 8; > + screen_info.red_pos = 16; > + screen_info.rsvd_size = 8; > + screen_info.rsvd_pos = 24; > + > + switch(model) { > + case M_I17: > + screen_info.lfb_width = 1440; > + screen_info.lfb_height = 900; > + screen_info.lfb_linelength = 1472 * 4; > + break; > + case M_NEW: > + case M_I20: > + screen_info.lfb_width = 1680; > + screen_info.lfb_height = 1050; > + screen_info.lfb_linelength = 1728 * 4; > + break; > + case M_MINI: > + screen_info.lfb_width = 1024; > + screen_info.lfb_height = 768; > + screen_info.lfb_linelength = 2048 * 4; > + break; > + } > + > + /* if the user wants to manually specify height/width, > + we will override the defaults */ > + /* TODO: eventually get auto-detection working */ > + if(manual_height > 0) > + screen_info.lfb_height = manual_height; > + if(manual_width > 0) > + screen_info.lfb_width = manual_width; > + > + /* > + static void *videomemory; > + static u_long videomemorysize = (64*1024*1024); > + videomemory = ioremap(0x80000000,videomemorysize); > + memset(videomemory, 0x99, videomemorysize); > + */ > + > + imacfb_fix.smem_start = screen_info.lfb_base; > + imacfb_defined.bits_per_pixel = screen_info.lfb_depth; > + if (15 == imacfb_defined.bits_per_pixel) > + imacfb_defined.bits_per_pixel = 16; > + imacfb_defined.xres = screen_info.lfb_width; > + imacfb_defined.yres = screen_info.lfb_height; > + imacfb_fix.line_length = screen_info.lfb_linelength; > + imacfb_fix.visual = (imacfb_defined.bits_per_pixel == 8) ? > + FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; > + > + /* size_vmode -- that is the amount of memory needed for the > + * used video mode, i.e. the minimum amount of > + * memory we need. */ > + size_vmode = imacfb_defined.yres * imacfb_fix.line_length; > + > + /* size_total -- all video memory we have. Used for mtrr > + * entries, ressource allocation and bounds > + * checking. */ > + size_total = screen_info.lfb_size * 65536; > + if (vram_total) > + size_total = vram_total * 1024 * 1024; > + if (size_total < size_vmode) > + size_total = size_vmode; > + > + /* size_remap -- the amount of video memory we are going to > + * use for imacfb. With modern cards it is no > + * option to simply use size_total as that > + * wastes plenty of kernel address space. */ > + size_remap = size_vmode * 2; > + if (vram_remap) > + size_remap = vram_remap * 1024 * 1024; > + if (size_remap < size_vmode) > + size_remap = size_vmode; > + if (size_remap > size_total) > + size_remap = size_total; > + imacfb_fix.smem_len = size_remap; > + > +#ifndef __i386__ > + screen_info.imacpm_seg = 0; > +#endif > + > + if (!request_mem_region(imacfb_fix.smem_start, size_total, "imacfb")) { > + printk(KERN_WARNING > + "imacfb: cannot reserve video memory at 0x%lx\n", > + imacfb_fix.smem_start); > + /* We cannot make this fatal. Sometimes this comes from magic > + spaces our resource handlers simply don't know about */ > + } > + > + info = framebuffer_alloc(sizeof(u32) * 256, &dev->dev); > + if (!info) { > + release_mem_region(imacfb_fix.smem_start, size_total); > + return -ENOMEM; > + } > + info->pseudo_palette = info->par; > + info->par = NULL; > + > + info->screen_base = ioremap(imacfb_fix.smem_start, imacfb_fix.smem_len); > + if (!info->screen_base) { > + printk(KERN_ERR > + "imacfb: abort, cannot ioremap video memory 0x%x @ 0x%lx\n", > + imacfb_fix.smem_len, imacfb_fix.smem_start); > + err = -EIO; > + goto err; > + } > + > + printk(KERN_INFO "imacfb: framebuffer at 0x%lx, mapped to 0x%p, " > + "using %dk, total %dk\n", > + imacfb_fix.smem_start, info->screen_base, > + size_remap/1024, size_total/1024); > + printk(KERN_INFO "imacfb: mode is %dx%dx%d, linelength=%d, pages=%d\n", > + imacfb_defined.xres, imacfb_defined.yres, imacfb_defined.bits_per_pixel, imacfb_fix.line_length, screen_info.pages); > + > + imacfb_defined.xres_virtual = imacfb_defined.xres; > + imacfb_defined.yres_virtual = imacfb_fix.smem_len / imacfb_fix.line_length; > + printk(KERN_INFO "imacfb: scrolling: redraw\n"); > + imacfb_defined.yres_virtual = imacfb_defined.yres; > + > + /* some dummy values for timing to make fbset happy */ > + imacfb_defined.pixclock = 10000000 / imacfb_defined.xres * 1000 / imacfb_defined.yres; > + imacfb_defined.left_margin = (imacfb_defined.xres / 8) & 0xf8; > + imacfb_defined.hsync_len = (imacfb_defined.xres / 8) & 0xf8; > + > + imacfb_defined.red.offset = screen_info.red_pos; > + imacfb_defined.red.length = screen_info.red_size; > + imacfb_defined.green.offset = screen_info.green_pos; > + imacfb_defined.green.length = screen_info.green_size; > + imacfb_defined.blue.offset = screen_info.blue_pos; > + imacfb_defined.blue.length = screen_info.blue_size; > + imacfb_defined.transp.offset = screen_info.rsvd_pos; > + imacfb_defined.transp.length = screen_info.rsvd_size; > + > + if (imacfb_defined.bits_per_pixel <= 8) { > + depth = imacfb_defined.green.length; > + imacfb_defined.red.length = > + imacfb_defined.green.length = > + imacfb_defined.blue.length = > + imacfb_defined.bits_per_pixel; > + } > + > + printk(KERN_INFO "imacfb: %s: " > + "size=%d:%d:%d:%d, shift=%d:%d:%d:%d\n", > + (imacfb_defined.bits_per_pixel > 8) ? > + "Truecolor" : "Pseudocolor", > + screen_info.rsvd_size, > + screen_info.red_size, > + screen_info.green_size, > + screen_info.blue_size, > + screen_info.rsvd_pos, > + screen_info.red_pos, > + screen_info.green_pos, > + screen_info.blue_pos); > + > + imacfb_fix.ypanstep = 0; > + imacfb_fix.ywrapstep = 0; > + > + /* request failure does not faze us, as vgacon probably has this > + * region already (FIXME) */ > + request_region(0x3c0, 32, "imacfb"); > + > +#ifdef CONFIG_MTRR > + if (mtrr) { > + unsigned int temp_size = size_total; > + unsigned int type = 0; > + > + switch (mtrr) { > + case 1: > + type = MTRR_TYPE_UNCACHABLE; > + break; > + case 2: > + type = MTRR_TYPE_WRBACK; > + break; > + case 3: > + type = MTRR_TYPE_WRCOMB; > + break; > + case 4: > + type = MTRR_TYPE_WRTHROUGH; > + break; > + default: > + type = 0; > + break; > + } > + > + if (type) { > + int rc; > + > + /* Find the largest power-of-two */ > + while (temp_size & (temp_size - 1)) > + temp_size &= (temp_size - 1); > + > + /* Try and find a power of two to add */ > + do { > + rc = mtrr_add(imacfb_fix.smem_start, temp_size, > + type, 1); > + temp_size >>= 1; > + } while (temp_size >= PAGE_SIZE && rc == -EINVAL); > + } > + } > +#endif > + > + info->fbops = &imacfb_ops; > + info->var = imacfb_defined; > + info->fix = imacfb_fix; > + info->flags = FBINFO_FLAG_DEFAULT; > + > + if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) { > + err = -ENOMEM; > + goto err; > + } > + if (register_framebuffer(info)<0) { > + err = -EINVAL; > + fb_dealloc_cmap(&info->cmap); > + goto err; > + } > + printk(KERN_INFO "fb%d: %s frame buffer device\n", > + info->node, info->fix.id); > + return 0; > +err: > + framebuffer_release(info); > + release_mem_region(imacfb_fix.smem_start, size_total); > + return err; > +} > + > +static struct platform_driver imacfb_driver = { > + .probe = imacfb_probe, > + .driver = { > + .name = "imacfb", > + }, > +}; > + > +static struct platform_device imacfb_device = { > + .name = "imacfb", > +}; > + > +static int __init imacfb_init(void) > +{ > + int ret; > + char *option = NULL; > + > + /* ignore error return of fb_get_options */ > + fb_get_options("imacfb", &option); > + imacfb_setup(option); > + ret = platform_driver_register(&imacfb_driver); > + > + if (!ret) { > + ret = platform_device_register(&imacfb_device); > + if (ret) > + platform_driver_unregister(&imacfb_driver); > + } > + return ret; > +} > +module_init(imacfb_init); > + > +MODULE_LICENSE("GPL"); > diff -Naur linux-2.6.16-rc6/sound/pci/hda/patch_sigmatel.c linux-2.6.16-rc6-patched/sound/pci/hda/patch_sigmatel.c > --- linux-2.6.16-rc6/sound/pci/hda/patch_sigmatel.c 2006-03-12 15:35:31.000000000 -0500 > +++ linux-2.6.16-rc6-patched/sound/pci/hda/patch_sigmatel.c 2006-03-12 22:28:54.000000000 -0500 > @@ -314,6 +314,9 @@ > { .pci_subvendor = PCI_VENDOR_ID_INTEL, > .pci_subdevice = 0x0417, > .config = STAC_D945GTP5 }, /* Intel D975XBK - 5 Stack */ > + { .pci_subvendor = 0x8384, > + .pci_subdevice = 0x7680, > + .config = STAC_D945GTP5 }, /* Intel D975XBK - 5 Stack */ > {} /* terminator */ > }; > |
From: Erik O. <er...@pl...> - 2006-03-13 03:55:51
|
So, the new patch available from the sourceforge site for rc6 seems to lack the mini support, as well as the 'height' and 'width' options. Based on the diff between the previous version of drivers/video/imacfb.c and the new, one, it seems like the only difference is the mini support. Here is a patch I have produced using the mini modifications (including my own) to imacfb.c as well as the current rc6 patch. -- Erik |
From: Mark & T. J. <joh...@gm...> - 2006-03-13 00:23:30
|
I didn't see anything on the Wiki if anyone else has done this yet. Just wanted to confirm your LIveCD boots on a a MacBook (one day old :-) ). I didn't poke around very much, just burned the CD and booted up straight i= nto a shell. Verified the networks was up and scp'd dmesg output to one of my oth= er machines.. I'm going to play with it some more later this week. If you want me to try anything out, give me a yell... Thanks! MRJ Linux version 2.6.16-rc5 (root@t43) (gcc version 4.0.3 20060304 (prerelease) (Ubuntu 4.0.2-10ubuntu1)) #1 SMP Mon Mar 6 08:01:53 UTC 2006 EFI: EFI v0.101 by Apple ACPI=3D0x7fefd000 <6> ACPI 2.0=3D0x7fefd014 <6> SMBIOS=3D0x7fec9000 0MB HIGHMEM available. 2046MB LOWMEM available. On node 0 totalpages: 523976 DMA zone: 4096 pages, LIFO batch:0 DMA32 zone: 0 pages, LIFO batch:0 Normal zone: 519880 pages, LIFO batch:31 HighMem zone: 0 pages, LIFO batch:0 DMI 2.4 present. ACPI: RSDP (v002 APPLE ) @ 0x7fefd014 ACPI: XSDT (v001 APPLE Apple00 0x00000044 0x01000013) @ 0x7fefd120 ACPI: FADT (v003 APPLE Apple00 0x00000044 Loki 0x0000005f) @ 0x7fefb000 ACPI: HPET (v001 APPLE Apple00 0x00000001 Loki 0x0000005f) @ 0x7fefa000 ACPI: MADT (v001 APPLE Apple00 0x00000001 Loki 0x0000005f) @ 0x7fef9000 ACPI: MCFG (v001 APPLE Apple00 0x00000001 Loki 0x0000005f) @ 0x7fef8000 ACPI: ASF! (v032 APPLE Apple00 0x00000001 Loki 0x0000005f) @ 0x7fef7000 ACPI: SBST (v001 APPLE Apple00 0x00000001 Loki 0x0000005f) @ 0x7fef6000 ACPI: ECDT (v001 APPLE Apple00 0x00000001 Loki 0x0000005f) @ 0x7fef5000 ACPI: SSDT (v001 APPLE SataPri 0x00001000 INTL 0x20050309) @ 0x7fec5000 ACPI: SSDT (v001 APPLE SataSec 0x00001000 INTL 0x20050309) @ 0x7fec4000 ACPI: SSDT (v001 APPLE CpuPm 0x00003000 INTL 0x20050309) @ 0x7feef000 ACPI: DSDT (v001 APPLE MacBookP 0x00010001 INTL 0x20050309) @ 0x00000000 ACPI: PM-Timer IO Port: 0x408 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 6:14 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 6:14 APIC version 20 ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1 already used, trying 2 IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 1 I/O APICs ACPI: HPET id: 0x8086a201 base: 0xfed00000 Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 10100000 (gap: 10000000:00400000) Built 1 zonelists Kernel command line: BOOT_IMAGE=3Ddev002:\EFI\elilo\vmlinuz=20 video=3Dimacfb:i17 acpi=3Dforce libata.atapi_enabled=3D1 init=3D/linuxrc root=3D/dev/ram0 pcboot=3Dcdrom mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 65536 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes) Inode-cache hash table entries: 131072 (order: 7, 524288 bytes) Memory: 2069352k/2095904k available (2629k kernel code, 23348k reserved, 756k data, 248k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok= . hpet0: at MMIO 0xfed00000 (virtual 0xf8800000), IRQs 2, 8, 0 hpet0: 3 64-bit timers, 14318180 Hz Using HPET for base-timer Using HPET for gettimeofday Detected 1997.376 MHz processor. Using hpet for high-res timesource Calibrating delay using timer specific routine.. 4000.47 BogoMIPS (lpj=3D80= 00952) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfe9fbff 00100000 00000000 00000000 0000c1a9 00000000 00000000 CPU: After vendor identify, caps: bfe9fbff 00100000 00000000 00000000 0000c1a9 00000000 00000000 monitor/mwait feature present. using mwait in idle threads. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 CPU: After all inits, caps: bfe9fbff 00100000 00000000 00000140 0000c1a9 00000000 00000000 Checking 'hlt' instruction... OK. CPU0: Intel Genuine Intel(R) CPU 1500 @ 2.00GHz stepping 08 Booting processor 1/1 eip 2000 Initializing CPU#1 Calibrating delay using timer specific routine.. 3994.82 BogoMIPS (lpj=3D79= 89656) CPU: After generic identify, caps: bfe9fbff 00100000 00000000 00000000 0000c1a9 00000000 00000000 CPU: After vendor identify, caps: bfe9fbff 00100000 00000000 00000000 0000c1a9 00000000 00000000 monitor/mwait feature present. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 1 CPU: After all inits, caps: bfe9fbff 00100000 00000000 00000140 0000c1a9 00000000 00000000 CPU1: Intel Genuine Intel(R) CPU 1500 @ 2.00GHz stepping 08 Total of 2 processors activated (7995.30 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=3D0x31 apic1=3D0 pin1=3D2 apic2=3D-1 pin2=3D-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs migration_cost=3D8000 checking if image is initramfs...it isn't (no cpio magic); looks like an in= itrd Freeing initrd memory: 1095k freed NET: Registered protocol family 16 ACPI: bus type pci registered PCI: Using MMCONFIG ACPI: Subsystem revision 20060127 ACPI: Found ECDT ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled= . ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled= . ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled= . ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled= . ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled= . ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled= . ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled= . ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 11 12 14 15) *0, disabled. ACPI: Embedded Controller [EC] (gpe 23) interrupt mode. SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=3Drouteirq". If it helps, post a r= eport PCI: Bridge: 0000:00:01.0 IO window: 3000-3fff MEM window: 98300000-983fffff PREFETCH window: 80000000-8fffffff PCI: Bridge: 0000:00:1c.0 IO window: 2000-2fff MEM window: 98200000-982fffff PREFETCH window: 7ff00000-7fffffff PCI: Bridge: 0000:00:1c.1 IO window: disabled. MEM window: 98100000-981fffff PREFETCH window: disabled. PCI: Bridge: 0000:00:1c.2 IO window: 1000-1fff MEM window: 94100000-980fffff PREFETCH window: 90000000-93ffffff PCI: Bridge: 0000:00:1e.0 IO window: disabled. MEM window: 94000000-940fffff PREFETCH window: disabled. ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:01.0 to 64 ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17 PCI: Setting latency timer of device 0000:00:1c.0 to 64 ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1c.1 to 64 PCI: Enabling device 0000:00:1c.2 (0000 -> 0003) ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1c.2 to 64 PCI: Setting latency timer of device 0000:00:1e.0 to 64 audit: initializing netlink socket (disabled) audit(2254587648.744:1): initialized Total HugeTLB memory allocated, 0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:01.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:01.0:pcie00] Allocate Port Service[0000:00:01.0:pcie03] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17 PCI: Setting latency timer of device 0000:00:1c.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.0:pcie00] Allocate Port Service[0000:00:1c.0:pcie02] Allocate Port Service[0000:00:1c.0:pcie03] ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1c.1 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.1:pcie00] Allocate Port Service[0000:00:1c.1:pcie02] Allocate Port Service[0000:00:1c.1:pcie03] ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1c.2 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.2:pcie00] Allocate Port Service[0000:00:1c.2:pcie02] Allocate Port Service[0000:00:1c.2:pcie03] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 imacfb: framebuffer at 0x80010000, mapped to 0xf8900000, using 10350k, total 16384k imacfb: mode is 1440x900x32, linelength=3D5888, pages=3D1 imacfb: scrolling: redraw imacfb: Truecolor: size=3D8:8:8:8, shift=3D24:16:8:0 Console: switching to colour frame buffer device 180x56 fb0: IMAC VGA frame buffer device Real Time Clock Driver v1.12ac i8042.c: No controller found. RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:02:00.0 to 64 sky2 v0.15 addr 0x98200000 irq 16 Yukon-EC (0xb6) rev 2 sky2 eth0: addr 00:16:cb:8d:3f:9d libata version 1.20 loaded. ahci 0000:00:1f.2: version 1.2 PCI: Enabling device 0000:00:1f.2 (0005 -> 0007) ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 1.5 Gbps 0x4 impl SATA m= ode ahci 0000:00:1f.2: flags: 64bit ncq ilck stag pm led clo pio slum part ata1: SATA max UDMA/133 cmd 0xF881A100 ctl 0x0 bmdma 0x0 irq 19 ata2: SATA max UDMA/133 cmd 0xF881A180 ctl 0x0 bmdma 0x0 irq 19 ata3: SATA max UDMA/133 cmd 0xF881A200 ctl 0x0 bmdma 0x0 irq 19 ata4: SATA max UDMA/133 cmd 0xF881A280 ctl 0x0 bmdma 0x0 irq 19 ata1: SATA link down (SStatus 0) scsi0 : ahci ata2: SATA link down (SStatus 0) scsi1 : ahci ata3: SATA link up 1.5 Gbps (SStatus 113) ata3: dev 0 cfg 49:2f00 82:746b 83:7d09 84:6063 85:7469 86:3d09 87:6063 88:= 203f ata3: dev 0 ATA-6, max UDMA/100, 195371568 sectors: LBA48 ata3: dev 0 configured for UDMA/100 scsi2 : ahci ata4: SATA link down (SStatus 0) scsi3 : ahci Vendor: ATA Model: TOSHIBA MK1032GS Rev: AS02 Type: Direct-Access ANSI SCSI revision: 05 ata_piix 0000:00:1f.1: version 1.05 ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1f.1 to 64 ata5: PATA max UDMA/100 cmd 0x40E8 ctl 0x40FE bmdma 0x40C0 irq 18 ata6: PATA max UDMA/100 cmd 0x40E0 ctl 0x40FA bmdma 0x40C8 irq 18 ata5: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:= 101f ata5: dev 0 ATAPI, max UDMA/66 ata5: dev 0 configured for UDMA/66 scsi4 : ata_piix ATA: abnormal status 0x7F on port 0x40E7 ata6: disabling port scsi5 : ata_piix Vendor: MATSHITA Model: DVD-R UJ-857 Rev: HAC1 Type: CD-ROM ANSI SCSI revision: 05 SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 10 SCSI device sda: drive cache: write back w/ FUA SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 10 SCSI device sda: drive cache: write back w/ FUA sda: sda1 sda2 sd 2:0:0:0: Attached scsi disk sda sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 sr 4:0:0:0: Attached scsi CD-ROM sr0 sd 2:0:0:0: Attached scsi generic sg0 type 0 sr 4:0:0:0: Attached scsi generic sg1 type 5 SCSI Media Changer driver v0.25 PCI: Enabling device 0000:00:1d.7 (0000 -> 0002) ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 20 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:1d.7: irq 20, io mem 0x98405400 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 8 ports detected ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) USB Universal Host Controller Interface driver v2.3 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 20 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.0: irq 20, io base 0x000040a0 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.1: irq 19, io base 0x00004080 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1d.2: irq 18, io base 0x00004060 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1d.3 to 64 uhci_hcd 0000:00:1d.3: UHCI Host Controller uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.3: irq 16, io base 0x00004040 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected usb 1-4: new high speed USB device using ehci_hcd and address 3 Initializing USB Mass Storage driver... usb 1-4: configuration #1 chosen from 1 choice usb 2-2: new full speed USB device using uhci_hcd and address 2 usb 2-2: configuration #1 chosen from 1 choice usb 4-2: new full speed USB device using uhci_hcd and address 2 usb 4-2: configuration #1 chosen from 1 choice usb 5-1: new full speed USB device using uhci_hcd and address 2 usb 5-1: configuration #1 chosen from 1 choice usbcore: registered new driver usb-storage USB Mass Storage support registered. usbcore: registered new driver hiddev input: Apple Computer Apple Internal Keyboard / Trackpad as /class/input/in= put0 input: USB HID v1.11 Keyboard [Apple Computer Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.0-2 input: Apple Computer Apple Internal Keyboard / Trackpad as /class/input/in= put1 input: USB HID v1.11 Mouse [Apple Computer Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.0-2 input: Apple Computer Apple Internal Keyboard / Trackpad as /class/input/in= put2 input: USB HID v1.11 Device [Apple Computer Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.0-2 hiddev0: USB HID v1.11 Device [Apple Computer, Inc. IR Receiver] on usb-0000:00:1d.2-2 input: HID 05ac:1000 as /class/input/input3 input: USB HID v1.11 Keyboard [HID 05ac:1000] on usb-0000:00:1d.3-1 input: HID 05ac:1000 as /class/input/input4 input: USB HID v1.11 Mouse [HID 05ac:1000] on usb-0000:00:1d.3-1 usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver mice: PS/2 mouse device common for all mice EFI Variables Facility v0.08 2004-May-17 NET: Registered protocol family 2 IP route cache hash table entries: 65536 (order: 6, 262144 bytes) TCP established hash table entries: 262144 (order: 9, 2097152 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 262144 bind 65536) TCP reno registered TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Starting balanced_irq Using IPI Shortcut mode RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 248k freed Squashfs 2.2-r2 (released 2005/09/08) (C) 2002-2005 Phillip Lougher Registering unionfs 1.1.3 shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 hw_random hardware driver 1.0.0 loaded sky2 eth0: enabling interface Linux agpgart interface v0.101 (c) Dave Jones ieee1394: Initialized config rom entry `ip1394' agpgart: Detected an Intel 945GM Chipset. agpgart: AGP aperture is 256M @ 0x0 ACPI: PCI Interrupt 0000:0c:03.0[A] -> GSI 19 (level, low) -> IRQ 19 ohci1394: fw-host0: Unexpected PCI resource length of 1000! ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=3D[19]=20 MMIO=3D[94000000-940007ff] Max Packet=3D[2048] IR/IT contexts=3D[8/8] PCI: Enabling device 0000:00:1b.0 (0000 -> 0002) ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1b.0 to 64 sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both ieee1394: Host added: ID:BUS[0-00:1023] GUID[0016cbfffe522e30] md: md driver 0.90.3 MAX_MD_DEVS=3D256, MD_SB_DISKS=3D27 md: bitmap version 4.39 device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-...@re... |
From: Matthew G. <mj...@sr...> - 2006-03-10 19:53:29
|
On Fri, Mar 10, 2006 at 07:42:16PM +0000, Miguel Filipe wrote: > IIRC yes, throught the use of ndiswrappers and using windows drivers. > Look in the ML archives for more information. For machines with Broadcom wireless, there's a patch on the bcm43xx list that works. For machines with Atheros wireless, the madwifi-ng branch on www.madwifi.org ought to work. -- Matthew Garrett | mj...@sr... |
From: Erik O. <er...@pl...> - 2006-03-10 19:47:59
|
So I have not yet built or used a real live CD for the mini, so I have no clue about Xorg or the wavelan interface. I think there is at least a fair chance that the i915 driver might work (as far as I can tell the mini's chipset seems supported via that driver). There has been support added to the imacfb console driver for the mac mini, which I used successfully. I have booted a kernel and very small linux install off of a USB keychain using rEFIt and elilo. Once a new live CD with a kernel that supports the mac mini is built I will try that out. I have been meaning to try to build one myself but haven't gotten around to it yet. -- Erik P.S. The links from the sourceforge page (like the mailing list archives) don't seem up-to-date; the files don't contain the newer mac mini patches (as far as I can tell). On Fri, Mar 10, 2006 at 07:42:05PM +0100, Thomas Glanzmann wrote: > Hello, > I buyed today a Intel Mac Mini. I wanted to know what already works on > the machine and what not. I assume that you can boot a kernel and have > some sort of framebuffer available. > > - Does Xorg support the Graphic Card with a native driver? > - Is the wavelan interface supported? > > Thanks, > Thomas > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Mactel-linux-devel mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel |
From: Jimmy K. <ji...@de...> - 2006-03-10 19:46:28
|
On Fri, Mar 10, 2006 at 07:42:16PM +0000, Miguel Filipe wrote: > IIRC yes, throught the use of ndiswrappers and using windows drivers. > Look in the ML archives for more information. Where do I see the ML archives? On SourceForge.net, all I see are a few test and subscribe mails from gimli in February. (Admittedly I'm not subscribed using an email address associated with SF.net, but I'd expect archives for the mactel-linux lists to be public anyway since there's nothing illegal about this project.) - Jimmy Kaplowitz ji...@de... |
From: Miguel F. <mig...@gm...> - 2006-03-10 19:42:21
|
Hi, On 3/10/06, Thomas Glanzmann <sit...@st...> wrote: > Hello, > I buyed today a Intel Mac Mini. I wanted to know what already works on > the machine and what not. I assume that you can boot a kernel and have > some sort of framebuffer available. > > - Does Xorg support the Graphic Card with a native driver? framebuffer driver (no hw accel) I believe > - Is the wavelan interface supported? IIRC yes, throught the use of ndiswrappers and using windows drivers. Look in the ML archives for more information. > > Thanks, > Thomas -- Miguel Sousa Filipe |
From: Thomas G. <sit...@st...> - 2006-03-10 18:42:57
|
Hello, I buyed today a Intel Mac Mini. I wanted to know what already works on the machine and what not. I assume that you can boot a kernel and have some sort of framebuffer available. - Does Xorg support the Graphic Card with a native driver? - Is the wavelan interface supported? Thanks, Thomas |
From: Tolentino, M. E <mat...@in...> - 2006-03-10 16:34:54
|
gimli <mailto:gi...@da...> wrote: > The latest mm patches makes the kernel unbootable on ma iMac. >=20 Can you send me your .config? matt |
From: Jimmy K. <ji...@de...> - 2006-03-10 05:35:53
|
Hi, I'm trying to rebuild the latest Ubuntu live CD with a current git snapshot of the Linux kernel, since an option was added that I want to take advantage of. I'm having some trouble figuring out what the right kernel config to use is. Clearly it can't be exactly the same as what's in CVS, because that doesn't mention squashfs, and squashfs and unionfs are needed for this live CD. Or am I wrong? I also see a bunch of scripts contained within addon.tar.bz2, but I'm not sure what has to happen on a Linux machine and what has to happen on a Mac OS X machine. Any advice would be helpful, either asynchronously via email or in real time on IRC (I'm on Freenode and OFTC as Hydroxide.) The problem I'm trying to fix here is that, on my MacBook Pro, any hard drive access using normal kernel-based methods like mount and mkfs.ext3 say that the hard drive is in use, which is preventing me from setting up a filesystem for a by-hand Linux install to the HD. Parted can work with the drive perfectly well, though. I noticed that the kernel is using a "FUA" option to libata when it's accessing the hard drive, and apparently Jeff Garzik added an option to disable that just after -rc5 was released due to how many problems there were with that feature. Am I going down the wrong path here? Is there a bteter way to fix hard drive access? Administrivia questions: Does the Mactel-Linux project have an official IRC channel? And is there a reason why the mailing list archives on SF.net are entirely empty except for some test mails? - Jimmy Kaplowitz ji...@de... |