Pham Ngoc Hai personal web site

Syndicate

Softwares
ALSA, IEC958 S/PDIF to Z5500
 
Written by Pham Ngoc Hai, on 08-02-2008 09:18

After trying the builtin ALSA driver with kernel 2.6.24-rc4 and alsa-utils-1.0.14 from portage with no success to get the S/PDIF output from my  Intel Corporation 82801G sound card, I was about to give up, then I thought may be the lastest ALSA driver would do. I grabbed alsa-driver-1.0.16-rc2, compiled, installed... then again no S/PDIF output. I thought may be I'd wait for a few months but I would give a last shot, I downloaded the snapshot alsa-driver-hg20080207.tar.bz2, compiled, installed, by the way, I unmask alsa-utils and upgraded it as well.

I did a speaker-test and voila my Logitech Z5500 was able to detect the optical input signal. Now I can bypass the crappy DAC of the sound card on my Fujitsu Amilo Si1520.

You'll need to disable ALSA and OSS in the kernel, but you must let Kernel sound support on.

To config alsa driver:

./configure --with-cards=hda-intel --with-card-options=hda-codec-conexant

And then make, make install as the INSTALL doc says.

To test S/PDIF

speaker-test -Diec958 -c2

If things go well, you might be able to see the blinking red light in the S/PDIF output from the sound card. 

You need alsa-utils to do speaker-test.

 

My sound card is: 

Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

Which is intel-hda in ALSA

 

Speakers:

Ligitech Z5500

 

Cable:

Toslink to 3.5 mini (Optical)

 

Last update: 08-02-2008 09:22

Published in : Computer stuff, Softwares
Keywords : ALSA, IEC958 S/PDIF to Z5500
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

Bug in blogSidebar2.4 Joomla component
 
Written by Pham Ngoc Hai, on 28-11-2007 06:59

I found a bug in blogSidebar 2.4 component.
When the admin changes the values in the component setting,
those settings are not saved.
Empty values go in to the config file, this makes the side
bar module not find the correct setting so it displays
nothing when users click on the date in the calendar.
A simple fix is to put those lines:
$columns = mosGetParam($_REQUEST, 'columns');
$intro = mosGetParam($_REQUEST, 'intro');
$leading = mosGetParam($_REQUEST, 'leading');
$links = mosGetParam($_REQUEST, 'links');


above the line:
saveConfig ($option, $columns, $intro, $leading, $links);

in /administrator/components/com_blogsidebar/admin.blogsidebar.php

Last update: 15-03-2008 09:12

Published in : Computer stuff, Softwares
Keywords : blogSidebar 2.4 joomla component bug
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...



Search

Calendar

 Aug   September 2010   Oct

SMTWTFS
   1  2  3  4
  5  6  7  8  91011
12131415161718
19202122232425
2627282930 
ASIC High Level Synthesis

Random Photos






Donate

Enter Amount:

Sponsored Links

Copyright © 2007 Joomla Templates By Joomladesigns.  Modified By Pham Ngoc Hai