LinHES Forums
http://forums.linhes.org/

Sound card installation (sb16 compatible)
http://forums.linhes.org/viewtopic.php?f=2&t=1035
Page 1 of 2

Author:  yhan [ Sun Mar 21, 2004 3:25 pm ]
Post subject:  Sound card installation (sb16 compatible)

Hi

Question regarding the backend and the sound card installation :

I have an installation problem with my soundboard, ok that's a very old one, an SB16 compatible.

How can I force alsa to detect it and to use it ?

When the sound (/etc/init.d/Sound) is starting, I got that error msg : aumix: error opening mixer

The backend is giving this error :

Cannot open DSP '/dev/dsp', dying.
open: No such device
Could not detect audio blocksize

Thanks for you help

Yhan

Author:  Dinki [ Sun Mar 21, 2004 7:38 pm ]
Post subject: 

You should be able to do '/etc/init.d/alsa-autoconfig' to set up your '/etc/modutils/alsa-0.9-knoppix' settings file.

If I'm not mistaken, I had to edit this script as it was looking for 'lspci' at '/sbin/lspci' instead of '/bin/lspci' . Just make that change and all should be well.

Good luck

Author:  adrianbc [ Mon Mar 22, 2004 10:19 am ]
Post subject: 

I also just put in an old sound card (sound blaster AWE 32 ISA). I ran alsa-autoconfig but I still don't have any sound. When I try to watch a recording I get a blank screen. After I kill the process, I get a bunch of

Error opening audio device (/dev/dsp):
/dev/dsp: No such device
player: Can't open audio device: /dev/dsp

My files were encoded using a PVR250 - which I am able to verify on another machine (win xp).

Also, aumix won't start for me either.

Author:  Dinki [ Mon Mar 22, 2004 10:29 am ]
Post subject: 

Without turning this into an alsa support forum, can you post the contents of '/etc/modutils/alsa-0.9-knoppix' and 'lsmod' ?

Author:  adrianbc [ Mon Mar 22, 2004 10:44 am ]
Post subject: 

I don't have anything at /etc/modutils/alsa-0.9-knoppix .


Here is my lspci output:

root@mythtv:~ # lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
Subsystem: ABIT Computer Corp. KT7/KT7-RAID/KT7A/KT7A-RAID Mainboard
Flags: bus master, medium devsel, latency 8
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: e1000000-e2ffffff
Prefetchable memory behind bridge: d0000000-d7ffffff
Capabilities: [80] Power Management version 2

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
Subsystem: ABIT Computer Corp.: Unknown device 0000
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: VIA Technologies, Inc. VT8235 Bus Master ATA133/100/66/33 IDE
Flags: bus master, medium devsel, latency 32
I/O ports at e000 [size=16]
Capabilities: [c0] Power Management version 2

00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 16) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at e400 [size=32]
Capabilities: [80] Power Management version 2

00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 16) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at e800 [size=32]
Capabilities: [80] Power Management version 2

00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
Subsystem: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Flags: medium devsel, IRQ 11
Capabilities: [68] Power Management version 2

00:09.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
Subsystem: Netgear FA310TX
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at ec00 [size=256]
Memory at e3000000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at <unassigned> [disabled] [size=256K]

00:11.0 Multimedia video controller: Internext Compression Inc: Unknown device 0016 (rev 01)
Subsystem: Hauppauge computer works Inc.: Unknown device 4009
Flags: bus master, medium devsel, latency 64, IRQ 7
Memory at dc000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0322 (rev a1) (prog-if 00 [VGA])
Subsystem: PROLINK Microsystems Corp: Unknown device 1152
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 7
Memory at e1000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0

Author:  Dinki [ Mon Mar 22, 2004 11:01 am ]
Post subject: 

adrianbc wrote:
I don't have anything at /etc/modutils/alsa-0.9-knoppix


Well that's a problem. That's the file that specifies what module(s) will be used for sound.
It looks like autodetect is not working, so you will probably want to manually configure it.

If you're using a SB16 PCI sound card, check out:

http://www.alsa-project.org/alsa-doc/do ... le=ens1371

from that page, you should make your /etc/modutils/alsa-0.9-knoppix read something like:

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-ens1371
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

Then you'll have to do a 'update-modules' followed by a 'modprobe snd-card-0' . Then when you do a 'lsmod' (not 'lspci') you should see the 'snd-ens1371' module loaded and listed under 'sound' . Then you'll want to fire up 'alsamixer' and adjust your volume, capture source, etc ...

I'm not an ALSA expert, but I have had a fair amout of practice with configuring it when I added my second sound card.

Author:  adrianbc [ Mon Mar 22, 2004 11:20 am ]
Post subject: 

I have an ISA card the Sound Blaster AWE 32. Does this still apply?

adrian

Author:  Xsecrets [ Mon Mar 22, 2004 11:25 am ]
Post subject: 

My guess is that you will have to go to google for that one unless someone here has a better memory than me. I held on to my awe32 long past it's time, but I still gave it up over two years ago. It worked fine, but I can't remember what all was involved in getting it working at the moment.

Author:  adrianbc [ Mon Mar 22, 2004 11:40 am ]
Post subject: 

I found an SB Live on my windows box which I could probably swap in. I imagine that this will be much easier to setup. Tier 1?

Author:  Xsecrets [ Mon Mar 22, 2004 12:07 pm ]
Post subject: 

yes the sblive will be autodetected and configured when you run the sound script.

Author:  cesman [ Mon Mar 22, 2004 1:35 pm ]
Post subject: 

You'll need run the alsa-autoconfig script followed by update-modules...

Author:  adrianbc [ Mon Mar 22, 2004 2:33 pm ]
Post subject: 

Thanks.

That appeared to do the trick. I have sound (and video) now but the sound is really faint (barely audible with the sound cranked up). I tried adjusting the channel volume in alsamixer but I can't save the levels. From what I understand, this is normally done with ...

"alsactrl store"

but that doesn't work.


aumix is another option - but it doesn't show all the channels on the live card.

Author:  Charles [ Sun Aug 29, 2004 7:29 am ]
Post subject:  My Turn!

I have a Creative SB 128, it is detected as a ens1371 card in alsa-0.9-knoppix. I can adjust all the mixer slides to no avail. I have no audio in: Tux Racer, an imported DVD and an imported CD. I followed the posts in this thread and in the alsa-project site and I am now suffiently confused and still without sound. Any thoughts, or commands I can try to give more valuble info?

Author:  Xsecrets [ Sun Aug 29, 2004 9:36 am ]
Post subject: 

I've heard lots of people having problems with the soundblaster pci128's I would go with another card if possible.

Author:  saruman [ Mon Aug 30, 2004 12:43 am ]
Post subject: 

I had issue a while back with an onboard SB-16 compatible sound card.
Finally got it working (after trying everything I could find on this and other boards) by using RedHat's sndconfig.
There are debs available. I don't remember where I found them though.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/