Jump to content

HP Mini 311 Darwin Project Thread (Part II - CURRENT)


  • This topic is locked This topic is locked
899 replies to this topic

#1
theproto

theproto

    InsanelyMac Legend

  • Donators
  • 618 posts
This project has been closed

#2
rushtrader

rushtrader

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
Helpful links:

Dell 1510 wireless: http://cgi.ebay.com/...em=370267736692
Apple short laptop wireless wifi U.fl bluetooth antenna (< $7): http://cgi.ebay.com/...em=390105191948

Others bought $40 U.FL extenders. I looped these Apple antennas in the area above the half height card and put the small boards under the 1510 and they give better signal then my real apple card in my Vostro 1510 laptop.

RT

#3
theproto

theproto

    InsanelyMac Legend

  • Donators
  • 618 posts
Audio information gathered from the previous thread:

I'm really not that informed on audio. Shoarthing seemed like he really knew what he was doing. Maybe we can get his advice.


Agreed... I have no clue what I am doing with sound either...

Well, the good news it that we have a dump from supervisa and flipped pin configs from you.

Here is the DSDT code I put together to play around with:
Device (HDEF)
			{
				Name (_ADR, 0x00080000)
				Name (_PRW, Package (0x02)
				{
					0x15, 
					0x05
				})
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x08)
						{
							"codec-id", 
							Buffer (0x04)
							{
								0x05, 0x76, 0x1D, 0x11
							}, 

							"layout-id", 
							Buffer (0x04)
							{
								0x0C, 0x00, 0x00, 0x00
							}, 

							"device-type", 
							Buffer (0x0F)
							{
								"IDT 92HD81B1X5"
							}, 

							"PinConfigurations", 
							Buffer (0xA0)
							{
								/* 0000 */	0x00, 0xA7, 0x1C, 0x20, 0x00, 0xA7, 0x1D, 0x90, 
								/* 0008 */	0x00, 0xA7, 0x1E, 0xA1, 0x00, 0xA7, 0x1F, 0x03, 
								/* 0010 */	0x00, 0xB7, 0x1C, 0x1F, 0x00, 0xB7, 0x1D, 0x40, 
								/* 0018 */	0x00, 0xB7, 0x1E, 0x21, 0x00, 0xB7, 0x1F, 0x03, 
								/* 0020 */	0x00, 0xC7, 0x1C, 0xF0, 0x00, 0xC7, 0x1D, 0x00, 
								/* 0028 */	0x00, 0xC7, 0x1E, 0xF0, 0x00, 0xC7, 0x1F, 0x40, 
								/* 0030 */	0x00, 0xD7, 0x1C, 0x10, 0x00, 0xD7, 0x1D, 0x01, 
								/* 0038 */	0x00, 0xD7, 0x1E, 0x17, 0x00, 0xD7, 0x1F, 0x90, 
								/* 0040 */	0x00, 0xE7, 0x1C, 0xF0, 0x00, 0xE7, 0x1D, 0x00, 
								/* 0048 */	0x00, 0xE7, 0x1E, 0xF0, 0x00, 0xE7, 0x1F, 0x40, 
								/* 0050 */	0x00, 0xF7, 0x1C, 0xF0, 0x00, 0xF7, 0x1D, 0x00, 
								/* 0058 */	0x00, 0xF7, 0x1E, 0xF0, 0x00, 0xF7, 0x1F, 0x40, 
								/* 0060 */	0x01, 0x07, 0x1C, 0xF0, 0x01, 0x07, 0x1D, 0x00, 
								/* 0068 */	0x01, 0x07, 0x1E, 0xF0, 0x01, 0x07, 0x1F, 0x40, 
								/* 0070 */	0x01, 0x17, 0x1C, 0x30, 0x01, 0x17, 0x1D, 0x01, 
								/* 0078 */	0x01, 0x17, 0x1E, 0xA6, 0x01, 0x17, 0x1F, 0x90, 
								/* 0080 */	0x01, 0xF7, 0x1C, 0xF0, 0x01, 0xF7, 0x1D, 0x00, 
								/* 0088 */	0x01, 0xF7, 0x1E, 0xF0, 0x01, 0xF7, 0x1F, 0x40, 
								/* 0090 */	0x02, 0x07, 0x1C, 0xF0, 0x02, 0x07, 0x1D, 0x00, 
								/* 0098 */	0x02, 0x07, 0x1E, 0xF0, 0x02, 0x07, 0x1F, 0x40
							}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}
			}

I guess that is where it will be left for now... I'll play a bit longer but hope someone posts some help here... It seems there are a number of ways to go about doing this, some with the config in the DSDT and some not.

EDIT: for reference:

Subsystem Vendor ID: 111D7605
Codec ID in DEC: 287143429
Codec ID FILP HEX: 05 76 61 D1 11

Lightsout565's flipped pin config from originally extracted not flipped within Windows:

<00A71C20 00A71D90 00A71EA1 00A71F03 00B71C1F 00B71D40 00B71E21 00B71F03 00C71CF0 00C71D00 00C71EF0 00C71F40 00D71C10 00D71D01 00D71E17 00D71F90 00E71CF0 00E71D00 00E71EF0 00E71F40 00F71CF0 00F71D00 00F71EF0 00F71F40 01071CF0 01071D00 01071EF0 01071F40 01171C30 01171D01 01171EA6 01171F90 01F71CF0 01F71D00 01F71EF0 01F71F40 02071CF0 02071D00 02071EF0 02071F40>

Supervisa's codec dumps are attached

EDIT: more useful info dumped by supervisa:

00:00.0 Host bridge: nVidia Corporation MCP79 Host Bridge (rev b1)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0

00:00.1 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0

00:03.0 ISA bridge: nVidia Corporation MCP79 LPC Bridge (rev b3)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0

00:03.1 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: 66MHz, fast devsel

00:03.2 SMBus: nVidia Corporation MCP79 SMBus (rev b1)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: 66MHz, fast devsel, IRQ 11
	I/O ports at 3080 [size=64]
	I/O ports at 3040 [size=64]
	I/O ports at 3000 [size=64]
	Capabilities: [44] Power Management version 2

00:03.3 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: 66MHz, fast devsel

00:03.5 Co-processor: nVidia Corporation MCP79 Co-processor (rev b1)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
	Memory at feb80000 (32-bit, non-prefetchable) [size=512K]

00:04.0 USB Controller: nVidia Corporation MCP79 OHCI USB 1.1 Controller (rev b1) (prog-if 10)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
	Memory at d3108000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [44] Power Management version 2
	Kernel driver in use: ohci_hcd

00:04.1 USB Controller: nVidia Corporation MCP79 EHCI USB 2.0 Controller (rev b1) (prog-if 20)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
	Memory at d3109200 (32-bit, non-prefetchable) [size=256]
	Capabilities: [44] Debug port: BAR=1 offset=00a0
	Capabilities: [80] Power Management version 2
	Kernel driver in use: ehci_hcd

00:06.0 USB Controller: nVidia Corporation MCP79 OHCI USB 1.1 Controller (rev b1) (prog-if 10)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
	Memory at d3107000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [44] Power Management version 2
	Kernel driver in use: ohci_hcd

00:06.1 USB Controller: nVidia Corporation MCP79 EHCI USB 2.0 Controller (rev b1) (prog-if 20)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
	Memory at d3109100 (32-bit, non-prefetchable) [size=256]
	Capabilities: [44] Debug port: BAR=1 offset=00a0
	Capabilities: [80] Power Management version 2
	Kernel driver in use: ehci_hcd

00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
	Memory at d3100000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [44] Power Management version 2
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:09.0 PCI bridge: nVidia Corporation MCP79 PCI Bridge (rev b1) (prog-if 01)
	Flags: bus master, 66MHz, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Capabilities: [b8] Subsystem: Hewlett-Packard Company Device 3651

00:0a.0 Ethernet controller: nVidia Corporation MCP79 Ethernet (rev b1)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
	Memory at d3106000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at 30e0 [size=8]
	Memory at d3109000 (32-bit, non-prefetchable) [size=256]
	Memory at d3109300 (32-bit, non-prefetchable) [size=16]
	Capabilities: [44] Power Management version 2
	Kernel driver in use: forcedeth
	Kernel modules: forcedeth

00:0b.0 SATA controller: nVidia Corporation MCP79 AHCI Controller (rev b1) (prog-if 01)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 2301
	I/O ports at 30d8 [size=8]
	I/O ports at 30ec [size=4]
	I/O ports at 30d0 [size=8]
	I/O ports at 30e8 [size=4]
	I/O ports at 30c0 [size=16]
	Memory at d3104000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [44] Power Management version 2
	Capabilities: [8c] SATA HBA <?>
	Capabilities: [b0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 Enable+
	Kernel driver in use: ahci

00:10.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: d2000000-d2ffffff
	Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
	Capabilities: [40] Subsystem: Hewlett-Packard Company Device 3651
	Capabilities: [48] Power Management version 2
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable-
	Kernel modules: shpchp

00:15.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	Memory behind bridge: d3000000-d30fffff
	Capabilities: [40] Subsystem: Hewlett-Packard Company Device 3651
	Capabilities: [48] Power Management version 3
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
	Capabilities: [80] Express Root Port (Slot+), MSI 00
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:16.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	Capabilities: [40] Subsystem: Hewlett-Packard Company Device 3651
	Capabilities: [48] Power Management version 3
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
	Capabilities: [80] Express Root Port (Slot+), MSI 00
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

02:00.0 VGA compatible controller: nVidia Corporation Device 087f (rev b1)
	Subsystem: Hewlett-Packard Company Device 3651
	Flags: bus master, fast devsel, latency 0, IRQ 10
	Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 2000 [size=128]
	Expansion ROM at <ignored> [disabled]
	Capabilities: [60] Power Management version 2
	Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Kernel modules: nvidiafb

03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
	Subsystem: Hewlett-Packard Company Device 365e
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at d3000000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information <?>
	Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting <?>
	Capabilities: [13c] Virtual Channel <?>
	Capabilities: [160] Device Serial Number ff-ff-00-ff-ff-00-00-00
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: wl
	Kernel modules: wl


#4
step2008

step2008

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 112 posts
Hello,

May I ask for a modification in the top post ?

Because I am colorblind, it is difficult to distinguish between the colored STATUS, could you please replace them with the plain term (VANILLA, EXTRAS, etc.) ?

Thanks

Steph

#5
theSlug

theSlug

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 151 posts
  • Location:MBR
Hackintosh Netbook users take note: Snow Leopard 10.6.2 update kills support for Atom Processor!

http://stellarola.tu...-and-other-news

#6
mckernanlive

mckernanlive

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
I have seen this requested quite a few times in the previous thread, but here is a post with teardown pics of our beloved Mini 311:

HP Mini 311 Teardown

#7
theproto

theproto

    InsanelyMac Legend

  • Donators
  • 618 posts

Hello,

May I ask for a modification in the top post ?

Because I am colorblind, it is difficult to distinguish between the colored STATUS, could you please replace them with the plain term (VANILLA, EXTRAS, etc.) ?

Thanks

Steph


Fair call, I'll keep the color but instead of the word STATUS I'll call it out for you.

#8
theSlug

theSlug

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 151 posts
  • Location:MBR
expansion:

  Name:	pci168c,2a
  Type:	Other Network Controller
  Bus:	PCI
  Slot:	PCI Slot 1
  Vendor ID:	0x168c
  Device ID:	0x002a
  Subsystem Vendor ID:	0x1a3b
  Subsystem ID:	0x1067
  Revision ID:	0x0001
  Link Width:	x1

working out of the box atheros N card (from Zotac ION A).

byebye

theSLug

#9
superviza

superviza

    InsanelyMac Geek

  • Donators
  • 198 posts
  • Gender:Male
  • Location:Brisbane - Australia

expansion:
 
   Name:	pci168c,2a
   Type:	Other Network Controller
   Bus:	PCI
   Slot:	PCI Slot 1
   Vendor ID:	0x168c
   Device ID:	0x002a
   Subsystem Vendor ID:	0x1a3b
   Subsystem ID:	0x1067
   Revision ID:	0x0001
   Link Width:	x1

working out of the box atheros N card (from Zotac ION A).

byebye

theSLug



Thanks for the addition.

Is this card 1/2 or full height ?

If half height, what slot have you got it in ?

#10
shoarthing

shoarthing

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 833 posts
  • Location:Blighty

Is this card 1/2 or full height ?

. . full: this will have 32 & 64bit support in 10.6.2 [32bit only at present].

#11
superviza

superviza

    InsanelyMac Geek

  • Donators
  • 198 posts
  • Gender:Male
  • Location:Brisbane - Australia

. . full: this will have 32 & 64bit support in 10.6.2 [32bit only at present].


Thanks for the info, good to know what cards are working OOB in SL. (without removing pin 20)

shoarthing:

I think we are still a little lost on the audio side of things. Are you able to advise what you think our next move should be? (our current status is in the 2nd post)

#12
theSlug

theSlug

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 151 posts
  • Location:MBR

Thanks for the info, good to know what cards are working OOB in SL. (without removing pin 20)



nono... i have taped before installation... when i have time, if you wan't, i try without tape on pin 20. but IMHO the card is automatically disable. is a hw/bios related issue.


but.. any bios mod for removing "whitelist" for the slot?
is not out?

byebye

EDIT: anyone tried the apple antennas and the u.fl extension for compare signal result?

theSLug

#13
Ego_OSX

Ego_OSX

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 112 posts
I'm thinking of swapping out the webcam module with an iSight cam to see if this fixes the darkness issue.
thoughts?

#14
step2008

step2008

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 112 posts

I have seen this requested quite a few times in the previous thread, but here is a post with teardown pics of our beloved Mini 311:

HP Mini 311 Teardown

If you want to do it yourself:
http://h10032.www1.h...l/c01898746.pdf

PS: @theproto, Thanks for the change in the top post.

#15
theproto

theproto

    InsanelyMac Legend

  • Donators
  • 618 posts
Today is a good day folks... We have made some leaps and bounds in the department of stability!

Say goodbye to NVEnabler! While we could NOT get a valid nvidia rom dump from our HP's signed firmware I just noticed shoarthing was nice enough to have posted his ION's ROM and since NVIDIA is really not using any variants yet of this chipset thought I would give it a shot!

Success! And stable! I have not tired HDMI yet however I did notice that PC EFI did load it from the ROM. VGA works like a charm, connect a monitor and click detect displays.

I have also made a few changes to the DSDT, including LID sleep initiation and additional USB power management steps.

I am also starting to look at Azalia for audio.

I will be getting a new archive up within the next day. I can say this is huge news for stability, my biggest concern still. We may have a completely stable ION shortly only lacking audio until we tackle that.

EDIT: I mean, I can't tell you how nice it is to close the lid, open it back up 10 times in a row, reboot a few times and continue doing it and KNOW your work is going to be there without being greeted with the kernel panic!

Its like a real Mac! But better in many ways!

TOP POST UPDATED WITH NEW ARCHIVE

#16
superviza

superviza

    InsanelyMac Geek

  • Donators
  • 198 posts
  • Gender:Male
  • Location:Brisbane - Australia

Today is a good day folks... We have made some leaps and bounds in the department of stability!

Say goodbye to NVEnabler! While we could NOT get a valid nvidia rom dump from our HP's signed firmware I just noticed shoarthing was nice enough to have posted his ION's ROM and since NVIDIA is really not using any variants yet of this chipset thought I would give it a shot!

Success! And stable! I have not tired HDMI yet however I did notice that PC EFI did load it from the ROM. VGA works like a charm, connect a monitor and click detect displays.

I have also made a few changes to the DSDT, including LID sleep initiation and additional USB power management steps.

I am also starting to look at Azalia for audio.

I will be getting a new archive up within the next day. I can say this is huge news for stability, my biggest concern still. We may have a completely stable ION shortly only lacking audio until we tackle that.

EDIT: I mean, I can't tell you how nice it is to close the lid, open it back up 10 times in a row, reboot a few times and continue doing it and KNOW your work is going to be there without being greeted with the kernel panic!

Its like a real Mac! But better in many ways!

TOP POST UPDATED WITH NEW ARCHIVE


Your post has brought a smile to my face.. On a day were work was dragging a$ :(

Best I go gets my 311 out of my bag and give it a crack....

Happy days B)

We really are 1 step away now.....

EDIT: Bummer, looks like you have removed the archive for abit. Will check back.

EDIT2: I have noticed with my current set of files, Bluetooth doesent want to turn back on after sleep or being toggled off using the "Wireless Toggle" button. Have you noticed the same behavior ?

#17
mckernanlive

mckernanlive

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
Thanks again for the badass work here guys.
What kind of battery life are you guys getting?
I'd like to know how it compares to the Windows 7 battery life, which I hear is 3-4 hours, depending on what you're doing.

Thanks!

#18
Lightsout565

Lightsout565

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
  • Gender:Male
  • Location:United States
Thanks for the awesome work! Just hope I can pick up a Dell 1510 this weekend. Also, I was just wondering Proto, how big of a performance boost are we talking with the mach_modbin kernel? I haven't even touched the stock vanilla.

#19
theproto

theproto

    InsanelyMac Legend

  • Donators
  • 618 posts

Your post has brought a smile to my face.. On a day were work was dragging a$ ;)

Best I go gets my 311 out of my bag and give it a crack....

Happy days :)

We really are 1 step away now.....

EDIT: Bummer, looks like you have removed the archive for abit. Will check back.

EDIT2: I have noticed with my current set of files, Bluetooth doesent want to turn back on after sleep or being toggled off using the "Wireless Toggle" button. Have you noticed the same behavior ?


I am concerened that the files I had uploaded did not work for sleep.

After I downloaded and installed them I was unable to wake as I had been. unfortunately I am unable to repeat the perfect working resume either and am getting frustrated.

I know it was working with NVEnabler completely removed and not loaded over and over.

I am quite sure i'll figure out here the exact state of my system and be able to upload the exact config that is working as expected.

#20
MowgliBook

MowgliBook

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 998 posts
  • Gender:Male
Ok, I just received my Compaq Mini 311c (French version)

Did a BootCD with the 2NOV09_Archive to install easily and properly.
I'll start working on Sound as soon as possible.

http://www.mediafire.com/MowgliBook





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy