PDA

View Full Version : no sound with Knoppix 3.3



raapie
01-16-2004, 09:29 AM
I am using Knoppix 3.3 and I am not able to use sound. I use the professional but fully supported RME Hammerfall.

Anyone?

champagnemojo
01-16-2004, 10:42 AM
Have you tried typing knoppix alsa at bootup?

raapie
01-16-2004, 11:23 AM
how can I do that?

thanks for your help btw!

SoVieT
01-16-2004, 12:49 PM
When you boot on the CD, type on the line BOOT :


knoppix alsa

raapie
01-16-2004, 02:14 PM
yes, thanks. I misread your reply.

no, that's still not working. I tried to runn Knoppix on my Sony laptop using the same soundcard, but this time it's uaing the cardbus (PCMCIA). Still no luck...

mmm. any ideas?

windos_no_thanks
01-16-2004, 02:56 PM
The output of

lspci -v
could be useful. Would you mind posting it ?

fingers99
01-16-2004, 03:28 PM
In the meantime, a long shot would be to set the bios to "non-plug and play" and reboot with

boot: knoppix alsa

raapie
01-16-2004, 03:41 PM
I am now running my Sony laptop for Knoppix. I typed the lspci -v command under the root-shell. But how can I get that text into a file to I can share it? Print+Screen doesn't seem to work like under Windows. Please let me know how I can send the command info to a file, then I will copy it to my other machine and post it here.

I am trying to write about my Linux experiments... must be nice for newbies like me ;-) check http://www.raapie.nl/linux/

Markus
01-16-2004, 04:36 PM
typing "lspci -v > pcifile" will make a file named pcifile.
You can check it by typing "cat pcifile"

raapie
01-16-2004, 06:07 PM
I will try later.

probably my soundcard, RME Hammerfall, is not supported. I runned sndconfig from the Rool shell. It did show me a message 'A PCI sound card was found...' but the another dialog showing 'The RME Hammerfall DSP is not supported'.

So I think it's not supported, right?

fingers99
01-16-2004, 06:43 PM
According to

http://www.rme-audio.com/english/linux/alsa.htm

Hammerfall is supported in Alsa. Odd.

I'd not be surprised if sndconfig (which is for pretty much obsolescent soundcards) couldn't handle it.

If we're talking (as I'm begining to suspect) about a Hard Drive install, you should run

alsa_init

But, in the meantime, please do post your lspci -v output.

raapie
01-16-2004, 07:41 PM
I did:
lspci -v > pcifile

at root

and then

cat pcifile

it did show info, but I thought it would create a txt-file. where can I find it?

it shows this text about the RME:
(03:00.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP (rev0b)

Flags: stepping, medium devsel, IRQ3
Memory at 20800000 (32 bit, non-prefetchable) [size=64k]

Is that useful?

THanks a lot for your help so far! I am sure I will start making some music on Linux one day :lol:

Oh... I am running from CD-rom and didn't do an installation (need to clean up the junk on my harddrives etc..)

fingers99
01-16-2004, 08:34 PM
To find the whole file (what you've posted doesn't mean a lot to me, but, then, I'm sure the whole lot will to someone) do this:

su
updatedb
locate pcifile

You can then pop up pdifile in (say) gvim:

gvim pdifile

left mouse click and drag to highlight the lot, move the cursor to one of these boxes and (depending on 3 button or 2 button mouse) either middle button click or both-buttons-at-once click.

windos_no_thanks
01-16-2004, 08:34 PM
I did:
lspci -v > pcifile

at root

and then

cat pcifile

it did show info, but I thought it would create a txt-file. where can I find it?

it shows this text about the RME:
(03:00.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP (rev0b)

Flags: stepping, medium devsel, IRQ3
Memory at 20800000 (32 bit, non-prefetchable) [size=64k]

Is that useful?

THanks a lot for your help so far! I am sure I will start making some music on Linux one day :lol:

Oh... I am running from CD-rom and didn't do an installation (need to clean up the junk on my harddrives etc..)

pcifile IS the .txt file :-) in Linux (and Unix in general) the file names don't have to end in a certain way to be a certain type of file (even tough they often do)
Just do a "mv pcifile pcifile.txt" to make windoze understand what it is. (Some applications in windoze might still not understand the line separation though)

Markus
01-16-2004, 09:02 PM
Well, at least the card is detected.

Have you tried sound with headphones, I remember reading about some trouble with digital speakers if you'd happen to have such.

According to:
http://www.alsa-project.org/alsa-doc/index.php3?vendor=vendor-RME#matrix
all but "Hammerfall DSP MADI" are supported by alsa.

PS: the pcifile was created in the directory where you ran the command.

windos_no_thanks
01-16-2004, 09:07 PM
Might be some other hardware that gets detected as the audio device.
The full output of "lspci -v" (pcifile) will show us if that is the case.

raapie
01-16-2004, 09:50 PM
both partitions on my Sony laptop are of NTFS. I couldn't copy the pcifile to the second partition... I tried my desktop, couldn't copy the file either even on my fat32 partition. I don't know why. Anyway, my desktop has a floppy-disk so I copied it on that one (my laptop doesn't have a floppy disk by the way, so I am out of luck on that box...). so here's the pcifile:

00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
Subsystem: Asustek Computer, Inc.: Unknown device 8024
Flags: bus master, medium devsel, latency 64
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: cc800000-cddfffff
Prefetchable memory behind bridge: cdf00000-cfffffff

00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0

00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 32
I/O ports at d800 [size=16]

00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at d400 [size=32]

00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
Flags: medium devsel, IRQ 9

00:09.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP (rev 32)
Flags: bus master, stepping, medium devsel, latency 32, IRQ 5
Memory at cc000000 (32-bit, non-prefetchable) [disabled] [size=64K]

00:0b.0 FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 04) (prog-if 10 [OHCI])
Subsystem: Pinnacle Systems Inc.: Unknown device 000e
Flags: bus master, medium devsel, latency 32
Memory at cb800000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: [44] Power Management version 2

00:0d.0 Multimedia audio controller: Yamaha Corporation: Unknown device 1000
Subsystem: Yamaha Corporation: Unknown device 1000
Flags: bus master, stepping, slow devsel, latency 32, IRQ 5
Memory at cb000000 (32-bit, non-prefetchable) [disabled] [size=256K]

00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Compex FN22-3(A) LinxPRO Ethernet Adapter
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at d000 [size=256]
Memory at ca800000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04) (prog-if 00 [VGA])
Subsystem: Matrox Graphics, Inc. Millennium G400 MAX/Dual Head 32Mb
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at ce000000 (32-bit, prefetchable) [size=32M]
Memory at cd000000 (32-bit, non-prefetchable) [size=16K]
Memory at cc800000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at cdff0000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Capabilities: [f0] AGP version 2.0

windos_no_thanks
01-16-2004, 10:04 PM
Hmm, looks like there is another audio device present:


00:0d.0 Multimedia audio controller: Yamaha Corporation: Unknown device 1000
Subsystem: Yamaha Corporation: Unknown device 1000
Flags: bus master, stepping, slow devsel, latency 32, IRQ 5
Memory at cb000000 (32-bit, non-prefetchable) [disabled] [size=256K]

What modules are loaded ?
(do "lsmod > modules.txt" for instance)

raapie
01-16-2004, 10:21 PM
it's a non-supported Yamaha SW1000xg

windos_no_thanks
01-16-2004, 10:26 PM
it's a non-supported Yamaha SW1000xg
I'm not sure but I suppose it could still make the auto-detect fail.
Seeing if the module for Hammerfall is loaded or not would be helpful. :-)

raapie
01-16-2004, 10:45 PM
hello... you're all so fantastic with your support! anyways... the lsmod output:

Module Size Used by Not tainted
snd-pcm-oss 37540 0 (autoclean) (unused)
snd-pcm 56576 0 (autoclean) [snd-pcm-oss]
snd-timer 14824 0 (autoclean) [snd-pcm]
snd-page-alloc 4016 0 (autoclean) [snd-pcm]
mga 102456 9
autofs4 8756 1 (autoclean)
af_packet 13448 0 (autoclean)
nls_cp437 4380 0 (autoclean)
nls_iso8859-1 2876 0 (autoclean)
ntfs 51168 0 (autoclean)
msdos 4652 0 (autoclean)
snd-mixer-oss 11256 0 (autoclean) [snd-pcm-oss]
snd 27556 0 (autoclean) [snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
soundcore 3428 0 (autoclean) [snd]
agpgart 38296 3
8139too 17096 1
mii 2256 0 [8139too]
serial 52004 0 (autoclean)
usbnet 12066 0 (unused)
crc32 2832 0 [8139too usbnet]
usb-uhci 21868 0 (unused)
usbcore 57472 1 [usbnet usb-uhci]
apm 9768 2
rtc 6940 0 (autoclean)
cloop 9092 2

windos_no_thanks
01-16-2004, 11:01 PM
Hmm, can't see a snd-hdsp module, it might be needed..
What happens if you try:


insmod /lib/modules/extra/alsa/snd-hdsp.o

(I don't have this card myself though so I'm only guessing)

raapie
01-17-2004, 02:29 PM
it responded with:
unresolved symbol snd_hammerfall_free_buffer
etc.

thanks for your help anyway!

raapie
01-17-2004, 02:31 PM
sorry... the topic seems missing.

I did use the insmod command, but the unresolved symbol was the result. still no sound.

On my laptop I only get sound from the Yamaha onboard AG-XG module. But the Hammerfall isn't working on that one either...

champagnemojo
01-18-2004, 02:55 AM
Did you try loading
snd-hammerfall-mem
and then loading
snd-hdsp

A quick google search seemed to indicate that it was necessary to load the other one first.

dolo724
01-18-2004, 08:41 AM
Today I loaded 3.3-11-19-03 on my Toshiba 2805-s401. It has a Yamaha ymf-754 which I was told by sndconfig was not supported.

I had booted from CD, then used Ctrl+Alt+F1 to view the boot info, it showed my soundcard, but also the errors that the sound.o file was missing. Booting with "knoppix alsa" option did enable the sound.

But after using the knx-hdinstall script, I received errors in kde saying that /dev/dsp did not exist or was not available.

In a root shell I ran alsa_init and watched it configure the module and load it.

Now sound works, and nicely. I tested it okay in the kde-control-center.

Thanks!
Mike

raapie
01-18-2004, 12:11 PM
I tried it on my laptop using the cardbus (PCMCIA) for the Hammerfall. runned als_init from root shell. it shows me this:
aumix: no device found

on both my dekstop (using PCI) and laptop (using PCMCIA) I can't get my RME Hammerfall to work.

I guess I am out of luck...