[alsa-devel] Can someone verify support for "AzTech Sound Galaxy Nova 16 Extra II-3D - using AZT-2316/R Chipset - FCC-ID:I38-MMSN846" ?

Rene Herman rene.herman at gmail.com
Thu May 17 11:22:56 CEST 2007


On 05/17/2007 10:48 AM, ramkromberg at mail.com wrote:

> Yes, its like you said Rene, sb8 works although the sound is distorted 
> and the module can't be removed...
> Later I can modprobe sgalaxy too, and the sound works without a hitch.

Okay, don't know what the trouble is with that distortion (if you haven't 
set the volumes to 100, that is) but not too important right now.

> Also since now I can compile some code - your "eeprom.c" compiles and 
> works - I'm available for further testing...

I might want you to test some mode-resetting code later; will be sure to ask 
if needed.

> I also noticed that the binary you sent was 506kb while my compilation 
> is 9kb, maybe you sent an early/later version with some additional 
> includes for verbose ?
> I compiled it with "gcc -W -Wall -o eeprom eeprom.c" like you said (on 
> my xubuntu 7.04 with build-essentials deb package installed).

Now try it with "gcc -static -W -Wall -o eeprom eeprom.c". I compiled the 
binary I provided with that "-static" flag which means the program includes 
all library code directly inside the binary and doesn't link to the library 
code you already have on your system.

I did this to avoid any version problems that may exist between different 
distributions. Essentially you're only guaranteed that a dynamic executable 
will work on the system on which it was compiled (rather, on a system with 
the same versions of the libraries installed as on the system on which it 
was compiled). In this case the program only links to the system C library 
and did nothing weird so it wasn't much of an issue, but I don't even want 
to deal with any _possible_ problems of that nature...

Yes, with a normal (ie, dynamic) link that 9k is correct.

Rene.


More information about the Alsa-devel mailing list