[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linrad] Re: segmentation fault



Hi Dan,

> --------------------------------------------------------------------------------
> /dev/dsp opened as RDONLY
> 16bit format supported
> Max no of channels = 4
> Max speed 192000 Hz
> Min sampling speed = 1000 Hz
> 
> FLAG= 1
> j=0   k=0
> 63:    /dev/dsp     1000 -  192000 Hz   4 Chan.   16 bit  
> RDONLY                   color=28 m=0
> Checking /dev/dsp64
> 
> 
>  /dev/dsp selected by user for input.   dev_flag=1
> Only RDONLY available
> ui.input_mode=4  ui.rx_channels=1  ui.ad_channels =2
> 9600 Hz selected by user
> 9600 Hz reported by device
> Input format: 16 bit
> Read test OK
> No output device found while input is open.
At this point it is clear that your device does not allow
duplex. 

I tried to look for 82801DB/DBL/DBM but was unable to find out
what that is. Seems to be some kind of general purpose controller.

Anyway, Linrad should be perfectly happy even if there is no 
possibility to run duplex. The next part of your log file should
give a useful output device while the input is not opened
(for use when processing recorded files, SDR14 or network data)

> /dev/dsp0
> /dev/dsp1
> /dev/dsp2
> /dev/dsp3
> /dev/dsp4
> /dev/dsp5
> /dev/dsp6
> /dev/dsp7
> /dev/dsp8
> /dev/dsp9
> /dev/dsp10
> /dev/dsp11
> /dev/dsp12
> /dev/dsp13
> /dev/dsp14
> /dev/dsp15
> /dev/dsp16
> /dev/dsp17
> /dev/dsp18
> /dev/dsp19
> /dev/dsp20
> /dev/dsp21
> /dev/dsp22
> /dev/dsp23
> /dev/dsp24
> /dev/dsp25
> /dev/dsp26
> /dev/dsp27
> /dev/dsp28
> /dev/dsp29
> /dev/dsp30
> /dev/dsp31
> /dev/dsp32
> /dev/dsp33
> /dev/dsp34
> /dev/dsp35
> /dev/dsp36
> /dev/dsp37
> /dev/dsp38
> /dev/dsp39
> /dev/dsp40
> /dev/dsp41
> /dev/dsp42
> /dev/dsp43
> /dev/dsp44
> /dev/dsp45
> /dev/dsp46
> /dev/dsp47
> /dev/dsp48
> /dev/dsp49
> /dev/dsp50
> /dev/dsp51
> /dev/dsp52
> /dev/dsp53
> /dev/dsp54
> /dev/dsp55
> /dev/dsp56
> /dev/dsp57
> /dev/dsp58
> /dev/dsp59
> /dev/dsp60
> /dev/dsp61
> /dev/dsp62
> /dev/dsp
> /dev/dsp64

The result is very odd. Linrad tries to open all these devices.
The statement is 
  rx_audio_out=open( dev_name, O_WRONLY|O_NONBLOCK, 0);
for each one of the device files and they all give 
rx_audio_out=-1 which is an error.

What does your /dev/sndstat file contain?
The very first line should say something about what sound system
you have. Something is wrong with it.....

73

Leif / SM5BSZ


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <linrad@xxxxxxxxxxxxxxxxxxxxx>.
To unsubscribe, E-mail to: <linrad-off@xxxxxxxxxxxxxxxxxxxxx>
To switch to the DIGEST mode, E-mail to <linrad-digest@xxxxxxxxxxxxxxxxxxxxx>
To switch to the INDEX mode, E-mail to <linrad-index@xxxxxxxxxxxxxxxxxxxxx>
Send administrative queries to  <linrad-request@xxxxxxxxxxxxxxxxxxxxx>

LINRADDARNIL