[LINUX] HOW-TO install Ubuntu on Asrock 330HT and setup XBMC with its default remote
#1
Thumbs Up 
This is a rough list of the things that i have done to get everything working on my Asrock ION 330HT. Some of these settings are user preferred settings. I did not include the full steps because some of these don't need logical thinking at all. I geuss this has to be dummy proof. These settings and scripts have been tested with the default remote that comes with the Asrock ION 330HT. It is possible that other remotes won't work without script tweaking.

1. Downloaded Ubuntu from http://www.ubuntu.com/getubuntu/download and burned it to a CD.
2. Connected my Asrock Keyboard, Mouse, Ethernet, VGA cable
3. Turned on the Asrock and inserted the Ubuntu CD.
4. Restarted the Asrock and pressed "F11" for boot options.
5. Selected the DVD drive and pressed "Enter"
6. Selected the "Dutch language" and pressed "Install Ubuntu version 9.10"
7. Partioned 25GB to the "/" (root) map on "Ext 3" filesystem
8. Partioned 290GB (the rest) to the "/home" map on "Ext 3" filesystem
9. Chosen a username for the "default useraccount" and a password and than selected "automaticly log me in"
10. Accepted the terms and installed Ubuntu.
11. Pressed "Delete" to boot to the Bios and turned off the Front LED
12. Booted into Ubuntu and installed the latest Nvidia drivers via the "preferences" > "Hardware manager"
13. Updated Ubuntu with the "System" > "Preferences" > "Update manager".
14. Restarted the Asrock.
15. Started the "terminalwindow" from "Applications" > "tools" > "terminalwindow" and changed the root password with
Code:
sudo passwd root
to a password i prefered.
16. Typed
Code:
alsamixer
in the "terminalwindow" and unmuted every sound device by pressing the "m" key while navigating with the "arrow" keys having all of the squares in a green colour.
17. Returned to the commandline by pressing "escape" and switched to root inserting this command
Code:
su root
and typed in the password "thepasswordyoudedicatedtoroot"
18. Installed XBMC by inserting these commands
Code:
add-apt-repository ppa:team-xbmc
apt-get update
apt-get install xbmc
apt-get update
19. Closed the "terminalwindow" and installed "XBMC standalone" by going to "preferences" > Synaptic packedmanager" and searched for "XBMC"
20. Marked "XBMC standalone" from the list and pressed "apply"
21. Returned to the list and searched for "samba" and marked "Samba" and "smbfs" and pressed "apply"
22. Shared my "Video" and "Music" folder located in "locations" > "personal folder" and right clicked on the "music" folder and selected "properties" from the popup.
23. Selected the "Share" tab and switched on "Share this map" and "Allow others to create and delete files in this folder" and clicked "Create shared folder"
24. Selected the "permissions" tab and select "others" > "Folder acces": "Create and delete files" and "File acces": "Read and write" and pressed "Add permissions to the files and folder"
25. Closed the window and did the same with "Movies" and "Images" and "Music"
26. Restarted the Asrock.
27. Selected "others" and logged in as "root"
28. started "gedit" from "applications" > "tools" > "gedit Text Editor"
29. Insert this code into the editor
Code:
#!/bin/sh

case "$1" in
        resume)
                curl "http://127.0.0.1:8080/xbmcCmds /xbmcHttp?command=ExecBuilt&Inparameter=LIRC.Stop"
                /etc/init.d/lirc stop
                /etc/init.d/lirc start
                sleep 1
                rmmod lirc_wb677
                modprobe lirc_wb677
                curl "http://127.0.0.1:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=LIRC.Start"
                echo `date` "lirc resume script completed!!!" >>/tmp/script.log
        ;;
esac
30. Saved the file to the "sleep.d" directory by selecting "file" > "save as" > "filesystem/etc/pm/sleep.d/99lirc-resume.sh"
31. Closed "gedit" and started up the terminal window from "applications" > "tools" > "terminalwindow"
32. Chmodded the "99lirc-resume.sh" file by inserting this command
Code:
chmod 755 /etc/pm/sleep.d/99lirc-resume.sh
33. Closed down the "terminalwindow" and retrieved the "Lirc 1.0.1 driver" by starting "Firefox" and inserting this URL http://rapidshare.com/files/332793615/IR_9.10_.zip
34. Saved the file to the desktop and right clicked the package and selected "extract here"
35. Openend up the file and selected the PDF file and followed the instructions as they are described.
36. Verified that the correct Lirc driver was installed by opening up the "terminalwindow" and inserted this command
Code:
dpkg -s lirc-nct677x | grep Version

37. Verified that the Lirc driver was the same as this
Code:
Version: 1.0.1-ubuntu9.10
38. Restarted the Asrock
39. Logged in as the default user and pressed "Enter"
40. Selected "Login Screen" from "System" > "Management" > "Login Screen"
41. Clicked "unlock" and selected "Log in as": "youruserprofile" and deselected "Allow 10 seconds for anyone else to log in first"
42. Logged off and selected "XBMC" from sessions and logged in as "default user" and typed in the password and pressed "Enter"
43. Loaded into XBMC and selected "system" > "appearance" > "international" and selected "language" to "Dutch" and "timezone country" to "Netherlands" and "Timezone" to "Europe/Amsterdam"
44. Closed the window and selected "Video" > "Library" and switched on "Download actor thmbnails when adding to library" and "Update library on startup"
45. Selected "Playback" from the list and selected "Render Method": "VDPAU" and switched on "VDPAU Studio level color conversion"
46. Selected "Srapers" from the list and selected "Default movie scraper": "IMDb.com"
47. Closed the window and selected "Network" from the list and select "Services" from the list and switched on "Allow control of XBMC via HTTP"
48. Closed the window and selected "System" from the list and selected "Audio output" from the list and selected "Audio ouput": "Digital" and switched on "Dolby Digital (AC3) capable receiver" and "DTS Capable Receiver" and turned off "Downmix multichannel audio to stereo"
49. Selected selected "Power saving" from the list and selected "shutdown function": "suspend"
50. Returned to the main menu by select the house icon on the top left and clicked the shutdown icon on the bottom left and selected the reboot icon from the popup window.
51. Screamed my ass off because everything worked

Done!

If you followed these steps than your system is able to:
- Wakeup from suspend and your remote is still working in XBMC.
- Share files accros a Windows Network.
- Run XBMC obviously.
- Remote control XBMC by using FTP.
- Support optical cable and play Digital DTS sound.
- Make some sick noise. (Will only work if you got an awesome speaker system)
- Make you feel great.
- Stand still on a place where you want to put it.
- Stand still until it breaks because its been overused by allot of people who just enjoyed XBMC to the max.
- Spend years on a trashpile untill it gets recycled to be a new generation Asrock Mediacenter.

Big Grin
Asrock ION 330HT, XBMCFreak Nuvoton 10.00 Experimental version 2
Reply
#2
switching from Windows and Mediaportal. Followed it and as you said. It Works like a charm! Thanx
Reply
#3
i did everything as described, but the remote control doesnt work.

Also how do i use my windows pc to transfer files to the asrock via ethent cable? Can you elaborate a bit further pls. thx
Reply
#4
My Remote was working fine until now. Seems like the buttons are are mixed up. Tried uninstalling the package and install it again but same problem. The down button is now "ok" button etc. Not very experienced in linux, but tried to replace a configfile bit no luck... any suggestions?
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO install Ubuntu on Asrock 330HT and setup XBMC with its default remote0