Acer Aspire Revo Ubuntu 10.04 Boxee HDMI Sound

Home » Computer Articles » Linux » Acer Aspire Revo Ubuntu 10.04 Boxee HDMI Sound
July 25, 2010 Linux No Comments

So I purchased a Acer Aspire Revo Model AR3610-E9012, wanted a computer that is small, uses less power.

Wanted to watch streaming video's and play music and of course Web browsing.

With this computer I received a 500G hard drive so I split it up in half, Windows 7 and Ubuntu 10.04.

Here are some of the steps it took me to get Ubuntu 10.04 on the system since the system doesn't have a dvd drive.

Installation of Ubuntu 10.04 x86_64

I used this information from this website. https://help.ubuntu.com/community/Installation/FromUSBStick

Sound Setup

Sound setup through HDMI, Used some information from this website www.greenhughes.com
/etc/modprobe.d/alsa-base.conf

and add at the bottom of the file
options snd-hda-intel model=3stack-6ch-dig (Didn't always seemed to work after some reboots)
options snd-hda-intel model=6stack-dig

Reboot

Once the system has reboot then go to the command line and run aplay -l and look for the the hdmi device, my device showed as device 3.

So the command line I did a test with this command to test sound
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
0 means card 0 and 3 means which device is for hdmi.

No sound, I also had to check the alsa setup.
Run alsamixer and make sure that they are not muted, the only one's I didn't care about was the Mic and Beep which I left muted.

If you make any changes in alsamixer then run alsactl store, this will save your setting after a reboot.

Make sure and also change the sound configuration in Gnome windows manager sound tool. Go to System, Preferences, Sound, Hardware and change to Digital Stereo (HDMI)  Output + Digital Stereo (IEC958) Input. After making all theses changes make sure to reboot.

Now I have all the music going through the hdmi cable to my LG monitor.

Ubuntu Window Manager
One of the things I like is getting the most performance out my workstations so I installed LXDE which is a very light weight window manager.

# apt-get install lxde or use the GUI.

Performance adjustments and other tweaks
Edit /etc/fstab and add noatime to this your main partiton. See example below.
UUID=80b3503f-d8b0-4396-9fd2-741c7e22ed59 /               ext4    errors=remount-ro,noatime 0       1

 

Installed rcconf to disable some service I know I didn't need. Example bluetooth support.

Sets my backgroup picture for the gdm image.
sudo -u gdm gconftool-2 /desktop/gnome/background/picture_filename -s  --type=str /home/username/Pictures/picture.jpg

Grub Boot up options
sudo nano /etc/default/grub
Removes the splash screen
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
sudo update-grub or sudo update-grub2

Starts grub up with a 800x600 resolution
#GRUB_GFXMODE=640x480
#GRUB_GFXMODE=1024x768x24
GRUB_GFXMODE=800x600
sudo update-grub or sudo update-grub2

Change I/O Scheduler
Seems to give a better feeling on the desktop, no hesitation when doing big copies, backups etc, may affect other workloads on the system.
sudo nano /etc/rc.local
test -f /sys/block/sda/queue/scheduler &&
echo deadline > /sys/block/sda/queue/scheduler

Music File ID3 problems
sudo apt-get install eyed3
find . -iname "*.mp3" -exec eyeD3 --to-v2.4 {} backslash;

Hosts file
127.0.0.1       localhost workstation_name
127.0.1.1       workstation_name

File System Tweak
This can help with reads and writes to hard drives, SSD drives may really like this.
sudo nano /etc/fstab
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

Annoying sound effects
sudo apt-get remove ubuntu-sounds

Pcmanfm File Manager default size is really small on my 24in screen.
nano $HOME/.config/pcmanfm/main.lxde
Change Window size for something better on my big screen
[Window]
width=1024
height=768
This seems to be a good size.

Swap Tweak added to the sysctl.conf file. sudo sysctl -p
# Change the system on how it uses Swap Space (Default 60)
vm.swappiness = 10

# Don't shrink the inode cache aggressively (Default 100)
vm.vfs_cache_pressure = 50

Network Performance Adjustments.
net.core.rmem_max = 4194304
net.core.wmem_max = 4194304

# Decrease the time default value for tcp_fin_timeout connection
net.ipv4.tcp_fin_timeout = 30
# Decrease the time default value for tcp_keepalive_time connection
net.ipv4.tcp_keepalive_time = 1800
# Turn off the tcp_window_scaling
net.ipv4.tcp_window_scaling = 0
# Turn off the tcp_sack
net.ipv4.tcp_sack = 0
# Turn off the tcp_timestamps
net.ipv4.tcp_timestamps = 0

Firefox performance cache change.
sudo install -dm700 /dev/shm/firefox-cache

In Firefox goto ab0ut:config
Add new string value: browser.cache.disk.parent_directory with the value = /dev/shm/firefox-cache

 

 

Boxee Installation and setup
Go to the http://www.boxee.tv/ website and click on Download then click on Ubuntu Linux 64-bit

When Boxee is installed go to the settings (For the HDMI sound configuration), System, Audio hardware and change Audio output to digital, make sure to have check marks on  DTS Capable Receiver and Dolby Digital (AC3) capital receiver, Audio output device default and Passthrough output device default.

Use your IPhone or ITouch with the Boxee app to control your Boxee application, I tested it in Windows and Ubuntu and it worked very well.

Error that I received and how to correct
I received this message when booting up the system,
ACPI: resource nForce2_smbus [0x4d00-0x4d3f] conflicts with ACPI region IP2_ [0x4d00-0x4d04]
ACPI: resource nForce2_smbus [0x4e00-0x4e3f] conflicts with ACPI region SM00 [0x004e00-0x004e3f]

Edit your grub configuration file and add acpi_enforce_resources=lax
# sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="acpi_enforce_resources=lax quiet splash"
# sudo update-grub or sudo update-grub2

As I understand this will allow the resource to load properly, these seem to be for the Sensors, I went through the
http://ubuntuforums.org/showthread.php?t=2780 guide to setup the sensors properly.

Edit your Conky conf and add this line where you would like to see it, see my Conky article page.
${color0}CPU Temp: ${color #FF0000}${acpitemp}${color0}°C
or
${color0}${font DejaVuSans:Condensed:Bold:size=10}Temperature: ${font Bitstream Vera Sans:size=9}
${color0}CPU: ${color0}${execi 2 sensors | grep "thermal diode" | awk '{ print $2 }' | cut -d+ -f2}

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.