View Single Post
  #45  
Old 28th September 2010, 03:48 PM
docdrow Offline
Registered User
 
Join Date: Apr 2007
Location: Cincinnati
Age: 42
Posts: 59
Re: Alienware M11X Thread

Sorry, I had a typo in mine. No need for that debug kernel now guys! Here ya go.

In /etc/rc.d/rc.local put:
Code:
echo 0 >/sys/bus/pci/devices/0000:01:00.0/enable
echo 1 >/sys/bus/pci/devices/0000:01:00.0/remove
/sbin/insmod /usr/local/lib/m11xr2hack.ko
/sbin/rmmod /usr/local/lib/m11xr2hack.ko
Make sure you blacklist nouveau:

Code:
echo blacklist nouveau >/etc/modprobe.d/blacklist-nouveau.conf
And rebuild your initrd after placing that blacklist file in modprobe.d:

Code:
/sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --install $(uname -r)
And finally, build this hack module You'll have to do this everytime you update your kernel:

Code:
make clean
make
mv m11xr2hack.ko /usr/local/lib
chmod 0400 /usr/local/lib/m11xr2hack.ko
See attached Makefile and m11xr2hack.c

-George
Attached Files
File Type: txt m11xr2hack-dot-c.txt (2.8 KB, 2127 views)
File Type: txt Makefile.txt (178 Bytes, 1287 views)

Last edited by docdrow; 28th September 2010 at 10:20 PM.
Reply With Quote