sound again [was: Re: xf4 bug report]
Hmmm...
[...]
Quoted 7 lines
Quoted 2 lines
Glad to hear it boots OK (I wasn't sure that the AppleSCSI driver wouldn't panic on boot - it used to on my Lombard)...
Appearently the problem was a wrong entry in
/etc/conf.modules... it hadalias sound dmasound
Quoted 7 lines
there while correct would be
alias sound
dmasound_awacsAfter I fixed this the sound modules can be correctly loaded during bootup, but there is still no sound. Maybe I should go back to the old kernel and try if it works with that, or don't you think this will make a difference ?
No, I'm afraid it won't make any difference.
The dmasound_awacs entry only arrives with the back-port. As Franz said, the error you were getting before was probably due to the conf.modules entry
- when Ben had built the dmasound in.
So the long & short of it is that you don't get sound out with the "current" set of code. == there *should* be no difference in the implementation between 2.2.17pre10 and the back-port (I checked that fairly carefully)... and this seems to bear that out.
So.. the next thing to do is to find out why you get no sound.
1. what does dmesg now show?
2. have you tried headphones/versus built-in speaker? (others have reported a problem here - which is why the finger of blame is currently pointing at the mixer abstraction)...
3. what does cat /dev/sndstat say?
4. what are you using to try and get sound out (e.g. some of the kde implementations had broken sound anyway) - I never got *any* beeps & whistles until I upgraded.
I can send or post a prog. that sets the snd output to 16bit LE - so that you can just cat <some_file.wav> >/dev/dsp if that's any use.
xmms usually works for me (although I've been using the cvs version)...
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Am 25-Jul-00 schrieb Iain Sandoe:
Hi!
Quoted 3 lines
The
dmasound_awacsentry only arrives with the back-port. As Franz said, the error you were getting before was probably due to the conf.modules entry
- when Ben had built the dmasound in.
Ah.
Quoted 1 line
1. what does dmesg now show?
DMA sound driver core [Ed 3]
4 Buffers of 32 K for Output
Same for Input
AWACS rev 100
registers:
1400 782d 7810 0001 00a1 0021 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 4000 0000 26bb 0010 0000 0002
0001 0000 0000 0000 0000 0000 0000 0000
Quoted 3 lines
2. have you tried headphones/versus built-in speaker? (others have reported a problem here - which is why the finger of blame is currently pointing at the mixer abstraction)...
Up to now only built-in speakers. Will try with headphones :)
Quoted 1 line
3. what does cat
/dev/sndstatsay?
PowerMac (AWACS rev 100) DMA sound driver:
sound.format = 0x20 (signed 16 bit big)
sound.speed = 44100Hz (phys. 44100Hz)
sound.stereo = 0x1 (stereo)
write_sq.block_size = 32768 write_sq.max_count = 4 write_sq.max_active = 4 write_sq.count = 0 write_sq.rear_size = 4096
write_sq.active = 0 write_sq.syncing = 0
read_sq.block_size = 0 read_sq.max_count = 0 read_sq.max_active = 0 read_sq.count = 0 read_sq.rear_size = 0
read_sq.active = 0 read_sq.syncing = 0
Quoted 3 lines
4. what are you using to try and get sound out (e.g. some of the kde implementations had broken sound anyway) - I never got *any* beeps & whistles until I upgraded.
I tried in the Gnome Sound Settings. And I tried Sin naturally :) (Sound works on Linux-x86, and does not contain any x86-specific code, so normally it should work on LinuxPPC straight away - if sound is correctly configured, that is :) )
Quoted 4 lines
I can send or post a prog. that sets the snd output to 16bit LE - so that you can just cat <some_file.wav> >/dev/dsp if that's any use.
xmms usually works for me (although I've been using the cvs version)...
Well, I have some sound programs here... at least the Sin-stuff should work... quite straight WAV-replaying...
Steffen
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/