tiistai 3. kesäkuuta 2008

Installation of new drives and start from the beginning

Last weekend I went to my parents and got new optical drive and hard drive. On Monday I installed those to my Mini. Here's a good video how to change those drives.

After updating the hardware I pretty much started from the beginning, to make it short here's the list what I did:
  • Minimum install of OS X 10.4.7 (3GB)
  • Installation of Boot Camp Beta (1.4) and partitioning (8GB OS X, rest for Linux)
  • Installation of rEFIt (modified refit conf file so that legacy OS is first selection and timeout 1 second)
  • Installed Fedora 9, This time partition map was like this: 8GB to /, 131GB to /video and 2GB swap partition
  • I didn't install Gnome, but XFCE instead. Also left out other packages as much as possible I ended up with 798 packages to be installed
This I didn't need to do any tricks to get booting of Fedora working. But when I tried to login and login window just reappeared. The reason is that DVD doesn't actually include packages for XFCE as can be read from here.

So in login screen I pressed Ctrl+Alt+F6 to get in terminal, logged in and installed XFCE by typing:

yum groupinstall XFCE

First thing I did in desktop was disabling of SELinux. As the Mini won't be connected to Internet it is easier to do everything without SELinux.

Then I downloaded firmware for the Artec T14 from here. The correct file is dvb-usb-dibusb-6.0.0.8.fw and it needs to be put under /lib/firmware.

Next thing was to install Lirc. I Downloaded 0.8.3 version from www.lirc.org. The setup didn't run because there was no dialog program in the system so installed it by typing:

yum install dialog

Then I ran setup for the Lirc just to realise that it is better to do that manually so I can get two drivers compiled.

./configure --enable-dyncodes --with-driver=macmini --with-driver=samsung

make
make install

Then I started to learn the codes with irrecord.

irrecord -H macmini -d /dev/hiddev0 apple1.conf

At the end irrecord ask to press repeatly same button as fast as possible, but macmini driver doesn't actually work like that so I just pressed two buttons and after irrecord ended I comment ed min_repeat and toggle_bit_mask lines from the conf-file.

I then tested the configuration by starting lirc and using irw to see the commands.

/usr/local/sbin/lircd -H macmini -d /dev/hiddev0 ./apple1.conf

Ei kommentteja: