Showing posts with label Mac. Show all posts
Showing posts with label Mac. Show all posts

Friday, November 7, 2008

Getting PS2 keyboard to work

Need to borrow a USB keyboard.

In terminal:
cd /system/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/

rename ApplePS2Mouse.kext and ApplePS2Trackpad.kext:
mv ApplePS2Mouse.kext ApplePS2Mouse.kext.bak
mv ApplePS2Trackpad.kext ApplePS2Trackpad.kext.bak

Leave ApplePS2Keyboard.kext alone.

Repair permission

cd /System/Library
sudo rm -rf Extensions.mkext Extensions.kextcache

reboot
Disable USB keyboard in BIOS.

Taruga sound patch

Taruga sound card driver patch:
1)apply taruga's ALC882 AppleHDA v0.4b.mkext (no sound yet)
2) patch ALC882M codec dump with AppleHDAPatcher v1.16.

To get ALC882 codec dump, boot with any Linux live CD (I used Ubuntu), in terminal type:
cd /proc/asound/card0
ls
Look for file start with codec#, mine is codec#2
cat codec#2
Copy screen output to a text file and save it on a USB drive. In OSX Drag and drop the saved txt file onto taruga's patcher.

Mac OSX on Thinkpad R61

INTEL CORE2DUO T9300
15.4 WSXGA+, CAMERA, BT
GMA X3100, GM965S-V, PCIE
1GB PC2-5300 667MHZ 1DIMM
ULTNAV(TRACPOINT TOUPAD) FPR
80GB HARDDISKDRIVE 5400RPM
DVD REC 8X MAX ULTRABAY
11ABGWIFI WL LAN
INTEGR.BLUETOOTH PAN

$777 plus tax

Componant manufacturer:
Ricoh MS/SD/xD reader 1180, 0592/0843/0852
Ricoh 1394 controller 1180, 0832
HDAUDIO modem
WLAN Atheros 168c, 1014
LAN BroadCom 14E4, 1693
PCMCIA Ricoh R/RL/5C476(II), 1180, 0476
Conexant HD Audio 14F1, 5045

Disc: Leo4All v2

Install: Plug in a USB mouse, internal mouse does not work during installation. To get bluetooth recognized, must enable bluetooth in Access Connection in Vista and then shutdown. No problem otherwise. Reboot into Leopard a success, working component: high speed USB, bluetooth, internal camera, firewire, SATA.

Enable WLAN: add 168c,1014 to Info.plist in AirPortAtheros.kext.
Enable Video QE CI: download Apple Graphics Update package and install.
Enable PCMCIA: use IOPCCardFamily.kext and IOPCIFamily.kext from Chun-Nan
Enable sound: use AppleAzaliaAudio.kext, speaker out only. Use bluetooth headset for private listening.

No solution yet:
Broadcom LAN
Conexant HD Audio (headphone, mic)
Touchpad: scrolling, tap-to-click
Built-in card reader

Emergency procedure:

F8
boot -s
/sbin/fsck -fy
/sbin/mount -uw /

Mac OSX 10.5.3 Leopard on PC

Mac OSX 10.5.3 with Netkas PC EFI v5.1

Abit AW9D Max w/ C2D E6400

Working:
Video: Nvidia 7900GS with NVkush
Audio: ALC882 with Taruga AppleHDA patcher v18
LAN: Dual Marvell 88E8056
Firewire
SiliconImage 3132 SATA
Microsoft wireless desktop 6000
High speed USB (USB2) with Orbyte EHCI driver
Bluetooth SYBA SD-U1BTC2-IS (Dial up networking, file transfer, stereo headset)
WLAN 802.11n Linksys WMP300n v1 (US version Broadcom 4329 chipset)
Sleep, shutdown and restart problem fixed by restoring AppleEFIRuntime.kext