Howto: ASRock ION 330HT - XBMC Live Dharma Beta4 (remote/audio)
#1
Hi guys,

A short guide on how to get the remote & audio to work after a XBMC Live Dharma Beta 4 install on your ASRock ION 330HT within 5 minutes:

SSH into your asrock and execute the following commands after having installed XBMC Live to your HDD:

1. Remote:
Code:
wget "http://europe.asrock.com/downloadsite/drivers/Nettop/Ubuntu/IR(10.04)2.6.32-25.zip"
unzip IR\(10.04\)2.6.32-25.zip
sudo dpkg -i lirc-nct677x-1.0.4-ubuntu10.04_kernel2.6.32-25.deb

2. Audio:
Code:
sudo wget http://pastebin.com/download.php?i=f5f9654bb -O /etc/asound.conf
sudo wget http://pastebin.com/download.php?i=f2e38265 -O /usr/share/alsa/cards/HDA-Intel.conf

In XBMC :
- use Audio Mixer add-on (Progams > Program Add-ons > Audio-mixer) and un-mute 'IEC958,1'
- Change both audio output devices (System > Settings > System> Audi Output)to "hdmi"

For reference (should the pastebin links timeout at some point) (credit goes to Reolio):

/etc/asound.conf:
Code:
pcm.!hdmi-remap {
type asym
playback.pcm {
type plug
slave.pcm "remap-surround71"
}
}

pcm.!remap-surround71 {
  type route
  slave.pcm "hw:0,3"
  ttable {
    0.0= 1
    1.1= 1
    2.4= 1
    3.5= 1
    4.2= 1
    5.3= 1
    6.6= 1
    7.7= 1
  }
}

/usr/share/alsa/cards/HDA-Intel.conf
Code:
#
# Configuration for the Intel HD audio (ICH6/ICH7)
#

<confdir:pcm/front.conf>

HDA-Intel.pcm.front.0 {
    @args [ CARD ]
    @args.CARD {
        type string
    }
    type softvol
    slave.pcm  "remap-surround71"
        
    control {
        name "PCM Playback Volume"
        card $CARD
    }
}    

# default with dmix+softvol & dsnoop
HDA-Intel.pcm.default {
    @args [ CARD ]
    @args.CARD {
        type string
    }

       type asym
        playback.pcm {
                type plug
                slave.pcm {
                        type softvol
                        slave.pcm "remap-surround71"
                        control {
                                name "PCM Playback Volume"
                                card $CARD
                        }
                }
        }

    capture.pcm {
        type plug
        slave.pcm {
            type softvol
            slave.pcm {
                @func concat
                strings [ "dsnoop:" $CARD ]
            }
            control {
                name "Digital Capture Volume"
                card $CARD
            }
            min_dB -30.0
            max_dB 30.0
            resolution 121
        }
        # to avoid possible phase inversions with digital mics
        route_policy copy
    }
    hint.device 0
}

<confdir:pcm/surround40.conf>
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
<confdir:pcm/surround71.conf>

HDA-Intel.pcm.surround40.0 cards.HDA-Intel.pcm.front.0
HDA-Intel.pcm.surround51.0 cards.HDA-Intel.pcm.front.0
HDA-Intel.pcm.surround71.0 cards.HDA-Intel.pcm.front.0

<confdir:pcm/iec958.conf>

HDA-Intel.pcm.iec958.0 {
    @args [ CARD AES0 AES1 AES2 AES3 ]
    @args.CARD {
        type string
    }
    @args.AES0 {
        type integer
    }
    @args.AES1 {
        type integer
    }
    @args.AES2 {
        type integer
    }
    @args.AES3 {
        type integer
    }
    type asym
    playback.pcm {
        type hooks
        slave.pcm {
            type hw
            card $CARD
            device 1
        }
        hooks.0 {
            type ctl_elems
            hook_args [
            {
                name "IEC958 Playback Default"
                lock true
                preserve true
                value [ $AES0 $AES1 $AES2 $AES3 ]
            }
            {
                name "IEC958 Playback Switch"
                lock true
                preserve true
                value true
            }
            ]
        }
    }
    capture.pcm {
        type hooks
        slave.pcm {
            type hw
            card $CARD
            device 1
        }
        hooks.0 {
            type ctl_elems
            hook_args [
            {
                name "IEC958 Capture Switch"
                lock true
                preserve true
                value true
            }
            ]
        }
    }
    hint.device 1
}

<confdir:pcm/hdmi.conf>

HDA-Intel.pcm.hdmi.0 {
    @args [ CARD AES0 AES1 AES2 AES3 ]
    @args.CARD {
        type string
    }
    @args.AES0 {
        type integer
    }
    @args.AES1 {
        type integer
    }
    @args.AES2 {
        type integer
    }
    @args.AES3 {
        type integer
    }
    type hooks
    slave.pcm {
        type plug
        slave.pcm "remap-surround71"
    }
    hooks.0 {
        type ctl_elems
        hook_args [
        {
            name "IEC958 Playback Default"
            lock true
            preserve true
            value [ $AES0 $AES1 $AES2 $AES3 ]
        }
        {
            name "IEC958 Playback Switch"
            lock true
            preserve true
            value true
        }
        ]
    }
    hint.device 3
}

<confdir:pcm/modem.conf>

HDA-Intel.pcm.modem.0 {
    @args [ CARD ]
    @args.CARD {
        type string
    }
    type hw
    card $CARD
    device 6
    hint.show off
}

Have fun
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#2
About the audio part, what does this accomplish? Sound over HDMI and passthrough over SPDIF? Or just HDMI? Surround or Stereo?

I'm asking because I run Dharma B4 on the ASRock ION 330HT and only use my receiver for audio over SPDIF and all the topics on these forums get very confusing. I'm never quite sure if it's about simultanuous, surround, HDMI, SPDIF, analogue or whatever.

My setup sounds fine at the moment, with sound set to Digital, AC3 and DTS on and device set to alsa:iec958 and using the live.d script generated asoundrc

Only issue I have is my receiver not handling incoming packets very well when I pause video.
Reply
#3
Thanx!
Works just fine!
Reply
#4
you forgot to mention that you need to select the "Nuvotron transceiver" out of the list when loading the IR driver

good work and thanks Big Grin
ASRock 330HT, XBMC Eden

Image
Reply
#5
good thread. i was just about to post up the exact same instructions, but yours are much neater than mine Smile

as smithr99 said: "Nuvotron Transceivers/Remotes", followed by "None" for IR transmitters.

(have 2x asrock ion330ht's)
Reply
#6
if your kernel is newer than 2.6.32-25 you might have problems.

also, my audio worked out of the box (so to speak) I'm not sure what your suggestions do??
Reply
#7
btw; I created a livecd which has integrated drivers for the asrock ion 330. You might want to give this a try:

http://www.xbmcfreak.nl/en/xbmcfreak-liv...4-nuvoton/
Reply
#8
Thanks, Worked great
Reply
#9
With the last version of dharma, the remote driver fail to install.

I have also use the xbmcfreak version http://xbmcfreak.binkey.nl/xbmcfreak-100...ton-v2.zip

(the link above doesn't go anymore)

I can't get the xbmcfreak version installed on my asrock (maybe is because I am installing it in a usb memory?)
Reply
#10
New clues

I install the xbmcfreak version (on a usb memory not directly in the hard disk just to test) and when I boot from the usb memory I get the following

ALERT ! /dev/mapper/XBMCLive-root does not exist. Dropping to a shell!

Busy Box v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)

and (initramfs) as prompt
Reply
#11
Any Idea?
Reply
#12
Maybe something wrong in the bios?
Reply
#13
I have an ASRock ION 3D with xbmc live installed and I'm trying to get the remote working. I've downloaded the drivers from http://www.asrock.com/Nettop/download.as...es&o=Linux
When I try:
sudo dpkg -i lirc-nct677x-x64-1.0.4-ubuntu10.04_kernel2.6.32-23.deb

It says it's missing the dependency lirc. So I try:
sudo apt-get install lric

And it says there are several missing dependencies that are not installable... so now I'm stuck. Any suggestions?
Reply
#14
I only got the remote working with the xbmcfreak version.

Now everything working. The problem was with the usb memory installation. It seems not to work exactly as the harddisk.

Installed in the internal hard disk, everithing is working.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Howto: ASRock ION 330HT - XBMC Live Dharma Beta4 (remote/audio)00
This forum uses Lukasz Tkacz MyBB addons.