XBMC Nightly PPA for Ubuntu

Posted on November 24th, 2011 by rob.
Categories: Linux, Ubuntu.

Here is a good XBMC stable and unstable/nightly PPA for Ubuntu 11.04 or 11.10

https://launchpad.net/~nathan-renniewaldock/+archive/xbmc-stable

https://launchpad.net/~nathan-renniewaldock/+archive/xbmc-nightly

Comments Off

Repace VINO with x11vnc on Login

Posted on November 24th, 2010 by rob.
Categories: Linux, Ubuntu.

Quick guide how to VINO server and install x11vnc…

sudo apt-get purge vino
sudo killall -9 vino-server
sudo apt-get install x11vnc
x11vnc -storepasswd

## edit file /etc/gdm/custom.conf
## add right below [daemon]
KillInitClients=false

## edit file /etc/gdm//Init/Default
# add right before the end of the file "exit 0"
/usr/bin/x11vnc -rfbauth <passwordfile_location> -o /var/log/x11vnc.log -shared -forever -bg -rfbport 5900

0 comments.

Ubuntu 10.04 Lucid 5.1 HDMI Audio (Intel G45) – Boxee 5.1 HDMI Audio

Posted on October 18th, 2010 by rob.
Categories: Linux, Ubuntu.

First of all. This is for a Asus P5Q-EM motherboard with Intel G45 onboard. This doc could work for others, but of course I have no clue!

You can verify the hardware first by running :  aplay -l

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0

You’ll notice card 0 device 3 is the Intel HDMI Audio.. If you don’t have the Intel, look for HDMI and figure out the card and device id for the HDMI out.

A way to test the audio from the card is available by running this speaker-test on the console.

speaker-test -Dhdmi:Intel -c6 -twavq

If that doesn’t work, maybe you don’ thave the intel card, so the -D would not work for your. You can try (replace 0,3 with whatever card,device you have from the output above).

speaker-test -Dhw:0,3 -c6 -twavq

### The Howto Start for getting 5.1 HDMI Audio in Ubuntu 10.04 ###

1) Remove  PULSEAUDIO (replace with ALSA)

sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio

sudo apt-get autoremove
sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss linux-sound-base alsamixergui
sudo apt-get install esound esound-clients esound-common gnome-alsamixer

2) Reboot

3) Set default audio card (HDMI)  *this step I don’t think does much.. but I did it and my system works… so why not

gstreamer-properties

4) THE MOST IMPORTANT STEP.! This will set the HDMI out as the default card so Boxee will work properly with your audio

Create an ~/.asoundrc file for the user you login with when you run Boxee

$ cat &gt; ~/.asoundrc

#START
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave  {
pcm "hw:0,3"
rate 48000
channels 2
format S32_LE
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
# END

* ‘ctrl-d’ to end the cat

5) Disable HARDWARE Acceleration for Video. Otherwise Boxee will just crash on any local video playback.

-  run Boxee
-  go to – settings -> media -> advanced
-  uncheck — ‘enable hardware assisited decoding when possible’
-  Render Method: Software  (or Auto might work)

6) Sound Config Setup

-  run Boxee
-  go to – settings -> system -> Audio Hardware

Audio Output: Digital
DTS Capable Reciever: checked
Dolby Digital (AC3) Reciever: checked

Audio output device: default
Passthrough output device: default

Downmix multichannel audio to stereo: UNCHECK

** NOTE: I will post how to get BOXEE installed soon since that was also a pain in the ass with 10.04 release.

1 comment.

Jailbroken 1.1.4 Iphone

Posted on May 1st, 2008 by rob.
Categories: Iphone, Linux.

Skill Level: EASY!

** Update your phone to 1.1.4 from iTunes if you haven’t already **

1) Download zIphone from http://www.ziphone.org/

2) If you have AT&T, just click the jailbreak option and let it go…

3) Open the installer app after the phone reboots and waste your time

0 comments.