View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue May 16, 2006 7:54 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
Is there a one-line operation that will update the ALSA sound drivers? I'd really like to find an easier way than what I've been doing.

I've been following the directions on the ALSA website - a tedious operation. I suspect there might be a better way.

There are 5 main files to download and unzip into their own directorys.
Then, for each of these, you must type:
./configure
make
make install
make clean

Each of the 5 directories takes about 5 minutes to work over, so you spend about 25 minutes sitting there wating to type the next command.

Is there a simple command such as 'update-ALSA' that will just fetch, compile and install the drivers?

Eric

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject: this is somewhat easier
PostPosted: Sun May 21, 2006 10:07 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
Since nobody knows an easier way to update ALSA drivers, I guess I'll go with a home-brew script to do the work for me.

This does all the same steps as I've been doing during installs - without me having to sit here and wait to type the next command! Excellent! :)

Put the contents of this into a text file, name it something like "alsa11update.sh" and then call it like other scirpts: (ex. "sh alsa11update.sh").

At the end of all this, you need to run 'alsamixer' from a command line and unmute all the sound channels - then you can rock and roll!

Enjoy!
Eric

Code:
cd /usr/src
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.11.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.11.tar.bz2
wget ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.0.11.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.11.tar.bz2
wget ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.11.tar.bz2

bunzip2 alsa-driver-1.0.11.tar.bz2
bunzip2 alsa-lib-1.0.11.tar.bz2
bunzip2 alsa-plugins-1.0.11.tar.bz2
bunzip2 alsa-utils-1.0.11.tar.bz2
bunzip2 alsa-tools-1.0.11.tar.bz2

tar -xvf alsa-driver-1.0.11.tar
tar -xvf alsa-lib-1.0.11.tar
tar -xvf alsa-plugins-1.0.11.tar
tar -xvf alsa-utils-1.0.11.tar
tar -xvf alsa-tools-1.0.11.tar

cd /usr/src/alsa-driver-1.0.11
./configure
make
make install
make clean

cd /usr/src/alsa-lib-1.0.11
./configure
make
make install
make clean

cd /usr/src/alsa-utils-1.0.11
./configure
make
make install
make clean

cd /usr/src/alsa-plugins-1.0.11
./configure
make
make install
make clean

cd /usr/src/alsa-driver-1.0.11
./snddevices


Eric

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Last edited by neutron68 on Sun Jun 18, 2006 7:31 pm, edited 3 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 27, 2006 11:28 am 
Offline
Joined: Mon Aug 29, 2005 12:54 pm
Posts: 6
Thanks! That fixed my ALI sound card problem on my ASUS P4DR just great..

Bill


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 27, 2006 11:39 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Just in case you didnt know, you can bunzip and untar in the same step with:

tar -xvjf nameoffile.tar.bz2

The j is the important bit :)


Top
 Profile  
 
 Post subject: thanks for tip!
PostPosted: Fri Jun 02, 2006 12:13 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
mad_paddler wrote:
Just in case you didnt know, you can bunzip and untar in the same step with:

tar -xvjf nameoffile.tar.bz2

The j is the important bit :)


Thanks for the tip. I've never seen that before!

Eric

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 18, 2006 3:44 pm 
Offline
Joined: Wed Mar 15, 2006 8:31 pm
Posts: 2
THANK YOU !!!!

I spent 2 hours yesterday trying to get the sound working with R5C7 and the modules were loaded for both my sound cards, but I couldn't get any sound no matter what I did.

Ran your script and loaded the new module and it works like a charm!!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 13, 2006 9:56 pm 
Offline
Joined: Thu Jul 06, 2006 9:35 pm
Posts: 10
Any scripts like this available for the IR blaster for PVR150 ?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 20, 2006 7:39 am 
Offline
Joined: Sun Aug 20, 2006 3:55 am
Posts: 11
Alsa drivers were fairly easy for me... Yea you have to install it manually but it's a single file and a handful of commands.

I used the instructions by syracuse from another thread:

To get the sound to work (Realtek 880) for both stereo and 5.1 coax out:
a) open a term window (i.e. Alt-x),
b) become super-user (su)
c) cd /usr/src
d) wget ftp://ftp.alsa-project.org/pub/driver/a ... c5.tar.bz2
e) tar jxvf alsa-driver-1.0.11rc5.tar.bz2
f) cd alsa-driver-1.0.11rc5
g) ./configure
h) make
i) make install


Top
 Profile  
 
 Post subject: PVR-150
PostPosted: Thu Aug 24, 2006 10:30 am 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
infringer wrote:
Any scripts like this available for the IR blaster for PVR150 ?


I believe that support scripts are built-in to Knoppmyth for the PVR-150.

If you choose the Hauppauge remote during your Knoppmyth setup, I think the IR communications get set up for you.

If you didn't choose a remote at setup time you can re-run the script:
/usr/local/bin/lirc-reconfig.sh

There is another script for the IR Blaster hardware, but I expect this gets called automatically after you run the script I just listed:
/usr/local/bin/irblaster.sh

Eric

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu