LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Help getting my sound card to work (https://www.linuxquestions.org/questions/slackware-14/help-getting-my-sound-card-to-work-450037/)

beserkjay 05-30-2006 05:19 PM

Help getting my sound card to work
 
So I finally got everything up and running with slackware minus my sound card.

I am at a loss at where to begin, is there anything I can download to help me set up my sound card drivers?

My laptop is a Compaq Armada 1750
333mhz
128ram
6.5gig hd

Thanks:)

Alien Bob 05-30-2006 05:29 PM

Perhaps:
Run
Code:

alsaconf
to detect your card, then run
Code:

alsamixer
to set the volume and finally run
Code:

alsactl store
to make these changes permanent across reboots.

Eric

dennisk 05-30-2006 06:42 PM

What Alien Bob sugguests will almost certainly get you up and running. If alsamixer complains that it can't find the soundcard use the option to tell it to look for a second device rather than the first. From memory the command is
Code:

alsamixer -c 1
Typing
Code:

man alsamixer
at the commandline will show you for sure.

Dennisk

beserkjay 05-30-2006 08:23 PM

hmmm alsaconf gives an output of

Code:

which: no gettext in (/usr/local/sbin...)
which: no awk in (/usr/local/sbin...)
Error, awk not found. cant contiune.

alsamixer says:

Code:

alsamixer: function snd_ctl_open failed for default: No such device.
alsamixer -c 1 also says:

Code:

alsamixer: function snd_ctl_open failed for hw :1: No such device

osor 05-30-2006 08:52 PM

Quote:

Originally Posted by beserkjay
hmmm alsaconf gives an output of

Code:

which: no gettext in (/usr/local/sbin...)
which: no awk in (/usr/local/sbin...)
Error, awk not found. cant contiune.


Your `which' is broken (it should first look for programs in /usr/bin). Never mind that now: to find the card chipset, show us
Code:

lspci -vv

beserkjay 05-30-2006 08:55 PM

Quote:

Originally Posted by osor
Your `which' is broken (it should first look for programs in /usr/bin). Never mind that now: to find the card chipset, show us
Code:

lspci -vv

ack how do I fix it:confused:

And lspci -vv is a huge output, anyway I can save it to something and paste it rather then type it out?

detpenguin 05-30-2006 10:51 PM

copy and paste the output by highlighting the text in your terminal, then come here and right click and paste it...

beserkjay 05-31-2006 12:09 AM

I don't know how to copy out of a terminal :(

After doing a little research it seems like linux doesnt like the sound card because its ISA.

detpenguin 05-31-2006 12:17 AM

you can copy out of a terminal by using your cursor, and highlighting the text. place your cursor at the top, left click and move your cursor down until all the text is highlighted...in linux, that copies it. then open the place you want to place it, and hit your middle mouse button, and the text will be pasted there for you.

onedingo 05-31-2006 12:41 AM

Quote:

Originally Posted by beserkjay
I don't know how to copy out of a terminal :(

After doing a little research it seems like linux doesnt like the sound card because its ISA.

Use:
lspci -vv > out.txt
and you should be able to copy from that.

I use an ISA soundcard (ESS1868 AudioDrive) in one of my machines without problems.

drkstr 05-31-2006 01:38 AM

Quote:

ack how do I fix it
I think this should do it.
Code:

export PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"
export PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH

This should be in your /etc/profile though, did you do something to break it?

As far as your sound goes, I had to compile the kernel to get working with my device. If your going to do it anyways, you might want to consider upgrading to 2.6 since sound is better supported in this kernel. YOu will then need to compile Sound support, alsa, and the correct sound card all as modules (modules makes it easier for 'alsaconf' to work).

Make sure when you recompile the kernel, you enable proper support for your other hardware as well.

When your finished, follow the directions given earlier to configure alsa on your system.

regards,
...drkstr

beserkjay 05-31-2006 05:36 PM

ok heres my output of lspci -vv:

Code:

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (
rev 03)
        Subsystem: Compaq Computer Corporation Armada 1750 Laptop System Chipset
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort+ >SERR- <PERR-
        Latency: 64
        Region 0: Memory at 44000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 1.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64
bit- FW- AGP3- Rate=x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x2

00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (re
v 03) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00001000-00001fff
        Memory behind bridge: 40000000-410fffff        BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+

00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Step
ping- SERR+ FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 0

00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-
if 80 [Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 64
        Region 4: I/O ports at 2020 [size=16]

00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog
-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort

- <MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 2000 [size=32]

00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Interrupt: pin ? routed to IRQ 9

00:11.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
        Subsystem: Compaq Computer Corporation Armada E500
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 168, cache line size 04
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 7fffe000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=176
        Memory window 0: 10000000-103ff000 (prefetchable)
        Memory window 1: 10400000-107ff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
        16-bit legacy interface ports at 0001

00:11.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
        Subsystem: Compaq Computer Corporation Armada E500
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 168, cache line size 04
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 7ffff000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=176
        Memory window 0: 10800000-10bff000 (prefetchable)
        Memory window 1: 10c00000-10fff000
        I/O window 0: 00004800-000048ff
        I/O window 1: 00004c00-00004cff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001        Bus: primary=00, secondary=03, subordinate=03, sec-latency=176
        Memory window 0: 10800000-10bff000 (prefetchable)
        Memory window 1: 10c00000-10fff000
        I/O window 0: 00004800-000048ff
        I/O window 1: 00004c00-00004cff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001

01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage LT Pro AGP-133
(rev dc) (prog-if 00 [VGA])
        Subsystem: Compaq Computer Corporation 3D Rage LT Pro (Compaq Armada 17
50)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste
pping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbor
t- <MAbort- >SERR- <PERR-
        Latency: 66 (2000ns min), cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 40000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at 1000 [size=256]
        Region 2: Memory at 41000000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [50] AGP version 1.0
                Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans-
64bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x
2
        Capabilities: [5c] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3ho
t-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC
(rev 01)
        Subsystem: D-Link System Inc D-link DWL-G650 (Rev B3,B5) Wireless cardb
us adapter
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste
pping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbor
t- <MAbort- >SERR- <PERR-
        Latency: 168 (2500ns min, 7000ns max), cache line size 04
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 10400000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3
hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-


drkstr 05-31-2006 05:47 PM

Now use that information to configure your kernel correctly. You will need to select the right module under Device
Code:

Drivers-><M>Sound Support-><M>ALSA->Isa Cards-><M>Your sound card
. Post back if you need any help picking the correct options.

regards,
...drkstr

beserkjay 05-31-2006 05:50 PM

I don't know how to compile my kernel. What will recompiling my kernel do? Does it mean I have to reinstall everything?

osor 05-31-2006 06:17 PM

Quote:

Originally Posted by onedingo
Use:
lspci -vv > out.txt
and you should be able to copy from that.

I use an ISA soundcard (ESS1868 AudioDrive) in one of my machines without problems.

Ummm...
If he has an ISA soundcard, lspci won't tell us anything. The old lsisa command is not included on most modern distros. The only thing to do (that I can think of) is snoop around in /proc.


All times are GMT -5. The time now is 12:45 PM.