First off let me say thanks for all the information I've got from the site, forum and the community in general. I couldn't have got this far into what I'm doing without all the people who've gone to the trouble of writing all the articles and toot's etc. Not sure if that's a good thing or not yet though!
Anyway, I'm putting together two machines with Ubuntu 12.04, Mate desktop, OSS4 and Lynx L22 sound cards. The problem I'm having is that when I start osstest I get a burst of the test audio file and then nothing. When I try soundoff and soundon nothing happens, I just get a tiny click from the L22 as soundon turns back on, but I can't even get osstest to repeat the problem until I reboot. I've tried a couple of versions of OSS I'm currently running the one I build from Mercurial, some didn't see the card at all.
When I run osstest I get the following :
- Code: Select all
hectorsputer@hectorsputer-desktop:~$ osstest
Sound subsystem and version: OSS 4.2 (b 2007/201207032126) (0x00040100)
Platform: Linux/i686 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012
*** Scanning sound adapter #-1 ***
/dev/oss/lynxtwo0/pcm0 (audio engine 0): LynxL22 Play 1
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/lynxtwo0/pcm1 (audio engine 1): LynxL22 Play 2
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/lynxtwo0/pcm2 (audio engine 2): LynxL22 Play 3
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/lynxtwo0/pcm3 (audio engine 3): LynxL22 Play 4
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/lynxtwo0/pcm4 (audio engine 4): LynxL22 Play 5
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/lynxtwo0/pcm5 (audio engine 5): LynxL22 Play 6
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/lynxtwo0/pcm6 (audio engine 6): LynxL22 Play 7
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/lynxtwo0/pcm7 (audio engine 7): LynxL22 Play 8
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/lynxtwo0/pcmin0 (audio engine 8): LynxL22 Record 1
- Skipping input only device
/dev/oss/lynxtwo0/pcmin1 (audio engine 9): LynxL22 Record 2
- Skipping input only device
/dev/oss/lynxtwo0/pcmin2 (audio engine 10): LynxL22 Record 3
- Skipping input only device
/dev/oss/lynxtwo0/pcmin3 (audio engine 11): LynxL22 Record 4
- Skipping input only device
/dev/oss/lynxtwo0/pcmin4 (audio engine 12): LynxL22 Record 5
- Skipping input only device
/dev/oss/lynxtwo0/pcmin5 (audio engine 13): LynxL22 Record 6
- Skipping input only device
/dev/oss/lynxtwo0/pcmin6 (audio engine 14): LynxL22 Record 7
- Skipping input only device
/dev/oss/lynxtwo0/pcmin7 (audio engine 15): LynxL22 Record 8
- Skipping input only device
/dev/oss/lynxtwo0/pcm8 (audio engine 16): LynxL22 7.1 output
- Skipping multi channel device
*** Some errors were detected during the tests ***
ossinfo returns the following message :
- Code: Select all
hectorsputer@hectorsputer-desktop:~$ ossinfo -v3
Version info: OSS 4.2 (b 2007/201207032126) (0x00040100)
Platform: Linux/i686 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 (citradioadmin-desktop)
Number of audio devices: 17
Number of audio engines: 17
Number of MIDI devices: 0
Number of mixer devices: 3
Device objects
0: osscore0 OSS core services
1: lynxtwo0 LynxL22 interrupts=46 (66)
Firmware revision: 13 PCB Revision 1
2: oss_usb0 USB audio core services
MIDI devices (/dev/midi*)
Mixer devices
0: LynxL22 Adapter (Mixer 0 of device object 1)
Device file /dev/oss/lynxtwo0/mix0, Legacy device /dev/mixer0
Priority: -2
Caps:
Device handle: PCI00231621-0000:02:00.0-mx01
Device priority: -2
1: LynxL22 Record/Play (Mixer 1 of device object 1)
Device file /dev/oss/lynxtwo0/mix1, Legacy device /dev/mixer1
Priority: -2
Caps: LAYOUT_B NARROW
Device handle: PCI00231621-0000:02:00.0-mx02
Device priority: -2
2: LynxL22 Outputs (Mixer 2 of device object 1)
Device file /dev/oss/lynxtwo0/mix2, Legacy device /dev/mixer2
Priority: -2
Caps: LAYOUT_B NARROW
Device handle: PCI00231621-0000:02:00.0-mx03
Device priority: -2
Audio devices
LynxL22 Play 1 /dev/oss/lynxtwo0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 0/LynxL22 Play 1
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au01
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Play 2 /dev/oss/lynxtwo0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/LynxL22 Play 2
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au02
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Play 3 /dev/oss/lynxtwo0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/LynxL22 Play 3
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au03
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Play 4 /dev/oss/lynxtwo0/pcm3 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 3/LynxL22 Play 4
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au04
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Play 5 /dev/oss/lynxtwo0/pcm4 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 4/LynxL22 Play 5
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au05
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Play 6 /dev/oss/lynxtwo0/pcm5 (device index 5)
Legacy device /dev/dsp5
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 5/LynxL22 Play 6
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au06
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Play 7 /dev/oss/lynxtwo0/pcm6 (device index 6)
Legacy device /dev/dsp6
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 6/LynxL22 Play 7
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au07
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Play 8 /dev/oss/lynxtwo0/pcm7 (device index 7)
Legacy device /dev/dsp7
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 7/LynxL22 Play 8
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au08
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Record 1 /dev/oss/lynxtwo0/pcmin0 (device index 8)
Legacy device /dev/dsp8
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 8/LynxL22 Record 1
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au09
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Record 2 /dev/oss/lynxtwo0/pcmin1 (device index 9)
Legacy device /dev/dsp9
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 9/LynxL22 Record 2
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au10
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Record 3 /dev/oss/lynxtwo0/pcmin2 (device index 10)
Legacy device /dev/dsp10
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 10/LynxL22 Record 3
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au11
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Record 4 /dev/oss/lynxtwo0/pcmin3 (device index 11)
Legacy device /dev/dsp11
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 11/LynxL22 Record 4
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au12
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Record 5 /dev/oss/lynxtwo0/pcmin4 (device index 12)
Legacy device /dev/dsp12
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 12/LynxL22 Record 5
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au13
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Record 6 /dev/oss/lynxtwo0/pcmin5 (device index 13)
Legacy device /dev/dsp13
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 13/LynxL22 Record 6
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au14
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Record 7 /dev/oss/lynxtwo0/pcmin6 (device index 14)
Legacy device /dev/dsp14
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 14/LynxL22 Record 7
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au15
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 Record 8 /dev/oss/lynxtwo0/pcmin7 (device index 15)
Legacy device /dev/dsp15
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 15/LynxL22 Record 8
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au16
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated
LynxL22 7.1 output /dev/oss/lynxtwo0/pcm8 (device index 16)
Legacy device /dev/dsp16
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 16/LynxL22 7.1 output
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Device handle: PCI00231621-0000:02:00.0-au17
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: MULTICH
Supported number of channels (min - max): 2 - 8
Native sample rates (min - max): 8000 - 200000
HW Type: Not indicated.
Minimum latency: Not indicated
Nodes
/dev/dsp -> /dev/oss/lynxtwo0/pcm0
/dev/dsp_in -> /dev/oss/lynxtwo0/pcmin0
/dev/dsp_out -> /dev/oss/lynxtwo0/pcm0
/dev/dsp_mmap -> /dev/oss/lynxtwo0/pcm0
/dev/dsp_multich -> /dev/oss/lynxtwo0/pcm8
hectorsputer@hectorsputer-desktop:~$
And when I run ossdetect I get :
- Code: Select all
hectorsputer@hectorsputer-desktop:~$ sudo ossdetect -v
Detected Lynx-L22 Studio Interface
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)
Thing is I don't have any USB audio or MIDI device connected, just a keyboard.
Interestingly when I try soundoff I get the following message :
- Code: Select all
hectorsputer@hectorsputer-desktop:~$ sudo soundoff
SNDCTL_MIX_READ: Input/output error
SNDCTL_MIX_READ: Input/output error
freq.pci <decimal value> (currently 33250127) (Read-only)
So I'm wondering what SNDCTL_MIX_READ does. I did have some timestamp issues during install some sort of a stmestamp related header file. I put this down to a compiler issue, reinstalled gcc and the build and install was fine.
In other tests like ossxmix the GUI works fine and lets me change settings etc. but in the background on the terminal window I'm getting continous error messages about FQ_VIDEO
- Code: Select all
citradioadmin@citradioadmin-desktop:~$ ossxmix
TRIM_OUT3/4
SNDCTL_MIX_READ: Input/output error
TRIM_IN3/4
SNDCTL_MIX_READ: Input/output error
FQ_VIDEO
SNDCTL_MIX_READ: Input/output error
TRIM_IN3/4
SNDCTL_MIX_READ: Input/output error
TRIM_OUT3/4
SNDCTL_MIX_READ: Input/output error
FQ_VIDEO
SNDCTL_MIX_READ: Input/output error
FQ_VIDEO
SNDCTL_MIX_READ: Input/output error
FQ_VIDEO
SNDCTL_MIX_READ: Input/output error
FQ_VIDEO
The FQ_VIDEO continues every second or two until I quit.
I'm intending to get the supported version as soon as I get these systems up and running, but I'm still prototyping and I've got some other issues to sort beforehand. I'm only bricking the system every second day now!
I'd really appreciate any help, I'm hoping to get OSS happening here as a matter of principle! It's been a good learning experience already!!
