Failed to initialize audio device

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
TBR-Hannover Offline
Junior Member
Posts: 10
Joined: Mar 2011
Reputation: 0
Location: Hannover, germany
Post: #1
Hello everyone,

today I tried to make my HTPC fit for autologin. But now XBMC won't recognize the audio device anymore and the message "Failed to initialze audio device" appears.
I realized it as follows:

Code:
sudo nano /etc/init/tty1.conf:
     # exec /sbin/getty 38400 tty1
    exec /sbin/rungetty --autologin tbr tty1

Code:
nano /home/tbr/.bash_profile
    #!/bin/bash
    irexec –d
    if [ $(tty) = "/dev/tty1" ]; then
        startx
    fi

Code:
nano /home/tbr/.xinitrc
    #!/bin/bash
    xbmc-standalone

Switching back to starting xbmc from commandline, everything works fine. Can anybody help me out of this dilema?

Thanks in advance and kind regards!

Tim

Hardware: Thermaltake DH202, Gigabyte MA770-UD3, AMD Athlon II X2 215, Gainward GT 430, 2GB RAM DDR2-800, Seagate Barracuda LP 5900.12 500 GB, Scythe Shuriken Rev.B, be quiet Pure Power 300W, TP-Link TL-WN851N, 2x Hauppauge HVR-1200
Software: ubuntu 10.04.2 (commandline) , xbmc und tvheadend (pvr-ppa: opdenkamp)
find quote
TBR-Hannover Offline
Junior Member
Posts: 10
Joined: Mar 2011
Reputation: 0
Location: Hannover, germany
Post: #2
Facepalm!

In my case

Code:
sudo adduser tbr audio

did it...

Hardware: Thermaltake DH202, Gigabyte MA770-UD3, AMD Athlon II X2 215, Gainward GT 430, 2GB RAM DDR2-800, Seagate Barracuda LP 5900.12 500 GB, Scythe Shuriken Rev.B, be quiet Pure Power 300W, TP-Link TL-WN851N, 2x Hauppauge HVR-1200
Software: ubuntu 10.04.2 (commandline) , xbmc und tvheadend (pvr-ppa: opdenkamp)
find quote