[linrad] Re: segmentation fault

2007-09-06 Thread Leif Asbrink
Hi Dan,
 
 There is no file /dev/sndstat. Can it be known by another name?

Try the command ossinfo

 73

Leif / SM5BSZ


#
This message is sent to you because you are subscribed to
  the mailing list linrad@antennspecialisten.se.
To unsubscribe, E-mail to: [EMAIL PROTECTED]
To switch to the DIGEST mode, E-mail to [EMAIL PROTECTED]
To switch to the INDEX mode, E-mail to [EMAIL PROTECTED]
Send administrative queries to  [EMAIL PROTECTED]



[linrad] Re: segmentation fault

2007-09-06 Thread Dan Sawyer

Leif,

That command does not exist. This configurations appears to be ALSA with 
alsa-oss. There is a file /etc/asound.state that shows a CS46xx. This is 
the sound device.


Below are the snd modules installed:

snd_rtctimer3360  0
snd_intel8x0   31260  0
snd_ac97_codec 90720  1 snd_intel8x0
ac97_bus2048  1 snd_ac97_codec
snd_seq_dummy   3588  0
snd_seq_oss28672  0
snd_seq_midi_event  6656  1 snd_seq_oss
snd_seq44368  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device  7436  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss38688  0
snd_mixer_oss  15360  1 snd_pcm_oss
snd_pcm70152  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer  20420  3 snd_rtctimer,snd_seq,snd_pcm
snd47460  9 
snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer

soundcore   7456  1 snd
snd_page_alloc  9352  2 snd_intel8x0,snd_pcm
rtc12120  1 snd_rtctimer

Thanks - Dan



#
This message is sent to you because you are subscribed to
 the mailing list linrad@antennspecialisten.se.
To unsubscribe, E-mail to: [EMAIL PROTECTED]
To switch to the DIGEST mode, E-mail to [EMAIL PROTECTED]
To switch to the INDEX mode, E-mail to [EMAIL PROTECTED]
Send administrative queries to  [EMAIL PROTECTED]



[linrad] Re: segmentation fault

2007-09-06 Thread Leif Asbrink
Hello Dan,

 That command does not exist. This configurations appears to be ALSA with 
 alsa-oss. There is a file /etc/asound.state that shows a CS46xx. This is 
 the sound device.
 
 Below are the snd modules installed:
 
 snd_rtctimer3360  0
 snd_intel8x0   31260  0
 snd_ac97_codec 90720  1 snd_intel8x0
 ac97_bus2048  1 snd_ac97_codec
 snd_seq_dummy   3588  0
 snd_seq_oss28672  0
 snd_seq_midi_event  6656  1 snd_seq_oss
 snd_seq44368  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
 snd_seq_device  7436  3 snd_seq_dummy,snd_seq_oss,snd_seq
 snd_pcm_oss38688  0
 snd_mixer_oss  15360  1 snd_pcm_oss
 snd_pcm70152  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
 snd_timer  20420  3 snd_rtctimer,snd_seq,snd_pcm
 snd47460  9 
 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
 soundcore   7456  1 snd
 snd_page_alloc  9352  2 snd_intel8x0,snd_pcm
 rtc12120  1 snd_rtctimer

This does not tell me anything. I have often had problems 
with ALSA in the past. I think it is because alsa-oss is
not given much attention by the developers - they provide
it for lazy people with old softwares who are (like me)
reluctant to rewrite for the ALSA interface.

I installed the latest Debian testing a couple of days ago.
It came with alsa but without alsa-oss and it works perfectly
well on the laptop. On the stationary computer I have the
stable release of Debian and it uses OSS since the alsa
plus alsa-oss package did not work properly. 

The (non-working) stationary has SND_LIB_VERSION_STR = 1.0.13

The well working lap-top does have the /dev/sndstat file:
hp:/home/dsp# cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc3 emulation code)
Kernel: Linux hp 2.6.21-2-686-bigmem #1 SMP Wed Jul 11 05:05:14 UTC 2007
i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA Intel at 0xe858 irq 20

Audio devices:
0: AD198x Analog (DUPLEX)

This was all automatically installed with the standard packages
for Debian. There is no longer any alsa-oss package and Linrad
compiles and runs without any problem under X11.

(It is quite another thing that I had to modify both mousetest
and the linrad main routine in order to make the screen work
properly. These changes will come with Linrad-02.39)
(There will also be a proper error message rather than a 
seg-fault in an error situation like the one you have right now:
[1289]routine:set_analog_iofile:lsetad.c
No usable device found for loudspeaker output.)


It seems to me you should de-install alsa and alsa-oss and then
install ALSA v1.0.14rc3. Maybe that would help.

73

Leif / SM5BSZ

 

#
This message is sent to you because you are subscribed to
  the mailing list linrad@antennspecialisten.se.
To unsubscribe, E-mail to: [EMAIL PROTECTED]
To switch to the DIGEST mode, E-mail to [EMAIL PROTECTED]
To switch to the INDEX mode, E-mail to [EMAIL PROTECTED]
Send administrative queries to  [EMAIL PROTECTED]