Skip to contentSkip to conversation

HAL2 driver 0.2

DISCUSSION Ulf Carlsson 3 participants 9 messages Apr 6, 1999 – Apr 8, 1999 MIPS

lore
Share & tools
lore
#0 lore raw

Hello,

I've uploaded new version of ALSA HAL2 sounddrivers now. Works much better.

New features:
o Better sound quality
o Support for both Mono / Stereo
o Support for sample rates in range 4.000 kHz to 48.000 kHz
o Support for both Big endian and Little endian
o Limited support for recording (doesn't work very good yet)

Check: ftp://ftp.linux.sgi.com/pub/linux/mips/test/ALSA

(don't forget to patch mpg123)

- Ulf

#1 lore raw
Quoted 5 lines · Ulf Carlsson

Hello,

I've uploaded new version of ALSA HAL2 sounddrivers now. Works much better.

Check: ftp://ftp.linux.sgi.com/pub/linux/mips/test/ALSA

-rw------- 1 9032 user 915 Apr 6 21:57 ALSA-HAL2-HOWTO

Is this supposed to be non readable?

Ciao
Matthias

Signature · 7 lines
Matthias Kleinschmidt
Cedar Dell 568B, Box 5398
UMass Dartmouth
285 Old Westport Rd.
North Dartmouth, MA 02747
Tel.:  +1 508 910 6851
email: [email protected]
#2 lore raw

Matthias wrote:
:Ulf wrote:
:> Hello,
:>
:>I've uploaded new version of ALSA HAL2 sounddrivers now. :>Works much better.
:>
:> Check: ftp://ftp.linux.sgi.com/pub/linux/mips/test/ALSA :
:-rw------- 1 9032 user 915 Apr 6 21:57 ALSA-HAL2-HOWTO
:
:Is this supposed to be non readable?
:
:Ciao
: Matthias
:

Matthias,

Thanks for noticing, I just fixed that.

Signature · 1 line
Peace, Ariel
#3 lore raw
In reply to Ulf Carlsson

Hi,

Quoted 3 lines · Ulf Carlsson

Hello,

I've uploaded new version of ALSA HAL2 sounddrivers now. Works much better.

I got a new kernel from cvs and compiled with soundcore.o.
When I try to install alsa-driver-0.3.0-pre5-1.mipseb.rpm I get many errors about unresolved symbols. And when I try to load snd.o I get the following output:

snd.o: unresolved symbol lookup_dentry_Rbf9ede0c snd.o: unresolved symbol register_chrdev_R79319a7e snd.o: unresolved symbol create_proc_entry_R4bfb68d0 snd.o: unresolved symbol __up_R224e7279
snd.o: unresolved symbol register_sound_dsp_Rb255d4ae snd.o: unresolved symbol proc_unregister_R77de8be6 snd.o: unresolved symbol __down_R3d27099f
snd.o: unresolved symbol register_sound_special_Rdf061e7e snd.o: unresolved symbol mem_map_R89246c1b snd.o: unresolved symbol proc_root_R04ac0340

Does anyone have a solution for that?

Matthias

Signature · 6 lines
Matthias Kleinschmidt
Cedar Dell 568B, Box 5398
UMass Dartmouth
285 Old Westport Rd.
North Dartmouth, MA 02747
email: [email protected]
#4 lore raw
Quoted 4 lines

I got a new kernel from cvs and compiled with soundcore.o.
When I try to install alsa-driver-0.3.0-pre5-1.mipseb.rpm I get many errors about unresolved symbols. And when I try to load snd.o I get the following output:

Oops, sorry. I had compiled the modules with a kernel configured to set version information on all symbols. I've uploaded a new version, this problem should be solved now. Please download alsa-driver-0.3.0-pre5-2.mipseb.rpm instead.

- Ulf

#5 lore raw
Quoted 3 lines · Ulf Carlsson

Oops, sorry. I had compiled the modules with a kernel configured to set version information on all symbols. I've uploaded a new version, this problem should be solved now. Please download alsa-driver-0.3.0-pre5-2.mipseb.rpm instead.

I had version information activated in the first place. Now I compiled the kernel without it and installed alsa...-pre5-2... but I still have unresolved modules.

insmod snd.o now gives me

snd.o: unresolved symbol register_sound_dsp_Rb255d4ae snd.o: unresolved symbol register_sound_special_Rdf061e7e

If my kernel configuration would be helpful it can be found at
http://www-fs.mach.uni-karlsruhe.de/~matthias/.config

Matthias

Signature · 7 lines
Matthias Kleinschmidt
Cedar Dell 568B, Box 5398
UMass Dartmouth
285 Old Westport Rd.
North Dartmouth, MA 02747
Tel.:  +1 508 910 6851
email: [email protected]
#6 lore raw
Quoted 8 lines

I had version information activated in the first place. Now I compiled the kernel without it and installed alsa...-pre5-2... but I still have unresolved modules.

insmod snd.o now gives me

snd.o: unresolved symbol register_sound_dsp_Rb255d4ae snd.o: unresolved symbol register_sound_special_Rdf061e7e

This is a bit strange. I don't have those symbols either. I have the normal register_sound_dsp and register_sound_special symbols. I'm looking at this problem and how I'll solve it completely. It's a bit tricky to build modules which are compatible.

It looks like the rest of the symbols in the kernel are resolved. Maybe you forgot to rebuild the modules or to install them when you built them?

Anyhow, in the meanwhile you may build your own driver package. There shouldn't be any problem if you have a kernel installed in /usr/src/linux, just get the source package of the drivers instead an execute:

rpm --rebuild alsa-driver-0.3.0-pre5-2.src.rpm

(Please have a bit patiance, you're the first tester)

- Ulf

#7 lore raw
Quoted 2 lines · Ulf Carlsson

It looks like the rest of the symbols in the kernel are resolved. Maybe you forgot to rebuild the modules or to install them when you built them?

Ok, I apologize. I forgot to rebuild soundcore.o. Now I can load the modules. But the order in your HOWTO is wrong. I had to load snd-timer before snd-pcm1. Playing wavs and mpegs works as well after building the ALSA devices.
Great job!

Quoted 5 lines

Anyhow, in the meanwhile you may build your own driver package. There shouldn't be any problem if you have a kernel installed in /usr/src/linux, just get the source package of the drivers instead an execute:

rpm --rebuild alsa-driver-0.3.0-pre5-2.src.rpm

Unfortunately that did not work. Maybe because all files in that package have timestamps Jan xx 2000?

Quoted 1 line

(Please have a bit patiance, you're the first tester)

No problem. I'm only trying to help.

Matthias

Signature · 7 lines
Matthias Kleinschmidt
Cedar Dell 568B, Box 5398
UMass Dartmouth
285 Old Westport Rd.
North Dartmouth, MA 02747
Tel.:  +1 508 910 6851
email: [email protected]
#8 lore raw
Quoted 4 lines

Ok, I apologize. I forgot to rebuild soundcore.o. Now I can load the modules. But the order in your HOWTO is wrong. I had to load snd-timer before snd-pcm1. Playing wavs and mpegs works as well after building the ALSA devices.

Ok, this is another thing I forgot. I did a ``make install'' once so my devices where ok all the time. Maybe I can extract that util which sets up the devices from ALSA or is it included in the RPM?

I've fixed the HOWTO now.

Quoted 1 line

Great job!

Thanks :-)

Quoted 4 lines
Quoted 1 line

rpm --rebuild alsa-driver-0.3.0-pre5-2.src.rpm

Unfortunately that did not work. Maybe because all files in that package have timestamps Jan xx 2000?

I have set my clock correctly now, I actually did that yesterday. I have also touched the all the files on my harddrives so I will not end up with any Jan xx 2000 files again. I'll upload correct versions..

- Ulf