LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-30-2012, 01:39 PM   #16
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45

Quote:
Originally Posted by gerdy View Post
so this was the result of the apt-get



apt-get install firmware-linux firmware-linux-free
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package firmware-linux is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'firmware-linux' has no installation candidate
I'm going to head back to alsaproject and try to upgrade the driver.
-

Make sure you have main, contrib and non-free in your /etc/apt/sources.list.

Code:
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
Like above and for each deb line you have.
 
Old 05-30-2012, 01:48 PM   #17
gerdy
Member
 
Registered: May 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
so the apt-get would look something like this?


apt-get install firmware-linux deb http://ftp.us.debian.org/debian/squeeze main contrib non-free
 
Old 05-30-2012, 01:56 PM   #18
gerdy
Member
 
Registered: May 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
once I've downloaded the driver, how do i install it? I know windows installs the drivers by going through device manager.
 
Old 05-30-2012, 02:22 PM   #19
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by gerdy View Post
so the apt-get would look something like this?


apt-get install firmware-linux deb http://ftp.us.debian.org/debian/squeeze main contrib non-free
No, the line 62chevy told you is meant to be added to your /etc/apt/sources.list. You actually don't have to add the whole line since you probably have the server already, just add contrib and non-free at the end of each server line, after main. Then execute

Code:
apt-get update
apt-get install firmware-linux
It should install both, the free and the non-free firmware.

Note that it doesn't ensure the sound card will work. You still should install the alsa-driver tarball as I suggested before, in post #5. If the guide is correct, it should work with your sound card. In order to install the alsa-driver tarball, you should follow these steps:

1) Download the tarball from here: ftp://ftp.alsa-project.org/pub/drive...1.0.25.tar.bz2 and save it in your user directory.

2) Uncompress it with:

Code:
tar -xjvf alsa-driver-1.0.25.tar.bz2
3) cd into it.

4) Execute the following commands:

Code:
./configure
make
su
make install
./snddevices
modprobe snd-hda-intel
After that, execute alsamixer and make sure that all the channels are unmute and adjusted at a proper volume. Restart, and hopefully it will work.

Last edited by Hungry ghost; 05-30-2012 at 02:27 PM.
 
Old 05-30-2012, 02:47 PM   #20
gerdy
Member
 
Registered: May 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
ok. I input the tar -xjvf alsa-driver-1.0.25.tar.bz2 and it's been 20 minutes so far and nothing has popped up since. if I downloaded it, it would be in the archive manager do I need to navigate there or anything to be able to decompress it?
 
Old 05-30-2012, 03:02 PM   #21
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Yes, you need to navigate into the directory containing the driver with the cd command. Something like:

Code:
cd /path/to/dir/containing/alsa-driver-1.0.25.tar.bz2
 
Old 05-30-2012, 03:42 PM   #22
gerdy
Member
 
Registered: May 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
okay. navigated there and am now trying the tar -xjv alsa-driver-1.0.25.tar.bz2 command. I'm doing this in root by the way. so I hope this thing will decompress quickly
 
Old 05-30-2012, 04:10 PM   #23
gerdy
Member
 
Registered: May 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
so it was taking a while so I guessed it couldn't find it, so I did an ls on the folder to see what all it had and got this.


alsa-driver-1.0.25# ls
acinclude.m4 firewire modules sparc
aclocal.m4 gitcompile parisc support
acore hal2 pci SUPPORTED_KERNELS
alsa-kernel i2c pcmcia synth
aoa include ppc test
arm INSTALL README TODO
CARDS-STATUS install-sh Rules.make toplevel.config
configure isa Rules.make1 toplevel.config.in
configure.in kconfig-vers sh usb
COPYING Makefile snddevices utils
doc Makefile.conf.in snddevices.in version
drivers mips soc version.in
FAQ misc sound WARNING



then saw drivers and did a cd and an ls on that and got this



alsa-driver-1.0.25/drivers# ls
aloop.c Makefile mts64.patch pcsp serial-u16550.c
dummy.c mpu401 opl3 portman2x4.patch virmidi.c
Kconfig mtpav.c opl4 serialmidi.c vx



why isn't the tar -xjvf alsa-driver-1.0.25.tar.bz2 command not working for decompressing it?
 
Old 05-30-2012, 04:17 PM   #24
gerdy
Member
 
Registered: May 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
When I try to edit the /etc/apt/sources.list, I tried to navigate to it, it said not a directory.


/etc/apt# ls
apt.conf.d preferences.d sources.list sources.list.d trusted.gpg
listchanges.conf secring.gpg sources.list~ trustdb.gpg trusted.gpg.d
:/etc/apt# cd /etc/apt/sources.list
bash: cd: /etc/apt/sources.list: Not a directory


that was the result
 
Old 05-30-2012, 05:07 PM   #25
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by gerdy View Post
why isn't the tar -xjvf alsa-driver-1.0.25.tar.bz2 command not working for decompressing it?
It seems you already decompressed it somehow, since you can enter the directory alsa-driver-1.0.25 from the command line. BTW, the commands I gave you above are meant to be executed inside this directory, not inside the "drivers" directory or any other.

As for your sources.list file, it is a text file, not a directory, so you can't cd into it; that's why you get that error. I would suggest to back it up before attempting to edit it, just in case. If you want a GUI editor, you can launch gedit as root.
 
Old 05-30-2012, 05:50 PM   #26
gerdy
Member
 
Registered: May 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
ok, awesome. so just to make sure I understand this correctly. I will do your commands from above under the /Desktop/alsa-driver-1.0.25 directory?
 
Old 05-30-2012, 06:27 PM   #27
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Yes, you must be inside the alsa-driver-1.0.25 directory in order to compile it.
 
Old 05-31-2012, 01:46 PM   #28
gerdy
Member
 
Registered: May 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
ok. so here's where I'm located and I starred off with the ./configure and I got this.



Desktop/alsa-driver-1.0.25# ./configure
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/ethan/Desktop/alsa-driver-1.0.25':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
 
Old 05-31-2012, 02:54 PM   #29
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Install the package build-essential with apt-get and retry to run the configure script.
 
Old 05-31-2012, 04:14 PM   #30
gerdy
Member
 
Registered: May 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
ok, so I just went through the folder on my desktop called alsa-drivers-1.0.25 and this was just after I did the ./configure again and i saw that in shell it said something about the configure.log. so I went there and underneath the section core tests, it shows the result as I posted earlier in the config.log why is that?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound, and then no sound. Debian squeeze. edhe1 Linux - Newbie 2 09-05-2011 12:23 PM
[SOLVED] Sound problems with new squeeze install? lugoteehalt Debian 5 06-10-2011 05:46 AM
Sound in Squeeze, Lord have mercy! jlinkels Debian 5 04-23-2011 07:00 AM
[SOLVED] more squeeze problems - no sound now jamesac Debian 13 02-13-2011 06:49 PM
no sound in squeeze/ lenny chroot donnied Debian 1 07-28-2010 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration