View Single Post
Old 28th September 2010, 03:48 PM
docdrow Offline
Registered User
Join Date: Apr 2007
Location: Cincinnati
Age: 45
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:
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:

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

/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:

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

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

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