View previous topic :: View next topic |
Author |
Message |
tiroy n00b
Joined: 06 May 2005 Posts: 9 Location: Poland, Warsaw
|
Posted: Mon May 23, 2005 1:42 pm Post subject: Compiling alsa driver on Sun Blade 150 |
|
|
Hi folks,
I finally got gentoo working on my Sun Blade 150 (thanks Wiktor!) and installed XFCE - looks and works nice. However I would like to use it's sound chip (ALi Corporation M5451). I have compiled in audio support in the kernel, so basically it's working, but mpg123 plays mp3 files at full volume - I cannot make it playing silent. When I try to run mpg123 with -g it says that it cannot use device properties.
I thought that I could compile and use alsa drivers, and then lower the global volmue, but the compilation stops at this point:
Code: |
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
* PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
if [ ! -d include/sound -a ! -L include/sound ]; then \
ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make dep
make[1]: Entering directory `/var/tmp/portage/alsa-driver-1.0.7-r3/work/alsa-driver-1.0.7'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-1.0.7-r3/work/alsa-driver-1.0.7/acore'
make -C ioctl32 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-1.0.7-r3/work/alsa-driver-1.0.7/acore/ioctl32'
/var/tmp/portage/alsa-driver-1.0.7-r3/work/alsa-driver-1.0.7/include/sndversions.h was updated
sparc-unknown-linux-gnu-gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-1.0.7-r3/work/alsa-driver-1.0.7/include -I/usr/src/linux/include -I/usr/src/linux/include -O2 -m64 -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include ioctl32.c pcm32.c rawmidi32.c timer32.c hwdep32.c seq32.c > .depend
cc1: error: -m64 is not supported by this configuration
cc1: error: -mlong-double-64 not allowed with -m64
cc1: error: -mcmodel= is not supported on 32 bit systems
cc1: error: -m64 is not supported by this configuration
cc1: error: -mlong-double-64 not allowed with -m64
cc1: error: -mcmodel= is not supported on 32 bit systems
cc1: error: -m64 is not supported by this configuration
cc1: error: -mlong-double-64 not allowed with -m64
cc1: error: -mcmodel= is not supported on 32 bit systems
cc1: error: -m64 is not supported by this configuration
cc1: error: -mlong-double-64 not allowed with -m64
cc1: error: -mcmodel= is not supported on 32 bit systems
cc1: error: -m64 is not supported by this configuration
cc1: error: -mlong-double-64 not allowed with -m64
cc1: error: -mcmodel= is not supported on 32 bit systems
cc1: error: -m64 is not supported by this configuration
cc1: error: -mlong-double-64 not allowed with -m64
cc1: error: -mcmodel= is not supported on 32 bit systems
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.7-r3/work/alsa-driver-1.0.7/acore/ioctl32'
make[2]: *** [_sfdep_ioctl32] Error 2
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.7-r3/work/alsa-driver-1.0.7/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.7-r3/work/alsa-driver-1.0.7'
make: *** [include/sndversions.h] Error 2
|
Your help is really appreciated. |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Fri May 27, 2005 10:10 pm Post subject: |
|
|
Even though it is unmasked, alsa-driver really needs 2.6 kernels to build correctly on sparc64.
What driver are you using in the 2.4 kernel and what mixer are you attempting to adjust the volume with? |
|
Back to top |
|
|
tiroy n00b
Joined: 06 May 2005 Posts: 9 Location: Poland, Warsaw
|
Posted: Tue May 31, 2005 8:50 am Post subject: |
|
|
I found this info concerning alsa and 2.6 kernels, so I gave up with alsa compilation. I also found that xmms is able to play mp3 files using eSound plugin. But it plays them only at 8bit resolution :( On the console I get:
Quote: | unsupported sound format: 33
Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
|
Concerning kernel setup - I have disabled "Linux/SPARC audio subsystem (EXPERIMENTAL)" support, in the Sound section I have chosen "<*> Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core", because SB 150 has ALi 5451 inside. Do I need something more?
I was also trying to use Xfce's mixer, but it shows only checkboxes for some controls, but no sliders for volume setup. I thought that starting esd demon might help, but it did not. _________________ --
tiroy |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|