Lynx L22 Glitches out on osstest

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, kodachi, cesium

Lynx L22 Glitches out on osstest

Postby Hector_Graze » Thu Nov 22, 2012 1:38 pm

Hector here,
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!!
Hector_Graze
 
Posts: 4
Joined: Wed Nov 21, 2012 11:35 pm

Re: Lynx L22 Glitches out on osstest

Postby igorzwx » Thu Nov 22, 2012 2:01 pm

Hector_Graze wrote: 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.

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!!


The "open source" version of OSS4 should not work with this card.

You need the closed source driver. It is in the package which can be downloaded from the 4Front site. It is free.

See also:
https://help.ubuntu.com/community/OpenSound
http://manuals.opensound.com/usersguide/lynxtwo.html
http://manuals.opensound.com/devlists/lynxtwo.html
igorzwx
 
Posts: 863
Joined: Sun Jun 28, 2009 9:31 pm

Re: Lynx L22 Glitches out on osstest

Postby Hector_Graze » Thu Nov 22, 2012 2:52 pm

Hi Igor,
Funnily enough I believe I may actually be using the one from the site. My error, I build a couple of them last night...

From the code snippet :
Code: Select all
Sound subsystem and version: OSS 4.2 (b 2007/201207032126) (0x00040100)


And from the .tar file on the site :
Code: Select all
oss-linux-v4.2-2007-i686 (1)


I'm on a Mac at the moment so I can't open the .deb file but I guess they are the same. I checked the manifest and there seems to be some references to the L22 in there.

I guess I'll purge the lot and start again.

Thanks.
Hector_Graze
 
Posts: 4
Joined: Wed Nov 21, 2012 11:35 pm

Re: Lynx L22 Glitches out on osstest

Postby igorzwx » Thu Nov 22, 2012 3:30 pm

Hector_Graze wrote: My error, I build a couple of them last night...

From the code snippet :
Code: Select all
Sound subsystem and version: OSS 4.2 (b 2007/201207032126) (0x00040100)


And from the .tar file on the site :
Code: Select all
oss-linux-v4.2-2007-i686 (1)



That ".tar file on the site" is not a "source code", it is already built as "closed source".

If you have Ubuntu, you may try this:

Step 1: Deinstall OSS4 with "purge". (Do not forget to remove the OSS folder /usr/lib/oss )

Step 2: Install Prerequisite Packages:
Code: Select all
sudo apt-get install -y binutils libgtk2.0-0 sed gcc libc6
sudo apt-get install -y libesd0 libsdl1.2debian-oss

https://help.ubuntu.com/community/OpenS ... e_Packages

Step 3:
Installing from DEB File
Download the OSS deb file from the 4front website. Select the (DEB) packages, with the architecture you have in parenthesis. e.g. 64 bit use (amd64), and 32 bit use (x86). Click submit and download the package.
Code: Select all
sudo dpkg -i oss-linux*.deb

https://help.ubuntu.com/community/OpenS ... m_DEB_File
igorzwx
 
Posts: 863
Joined: Sun Jun 28, 2009 9:31 pm

Re: Lynx L22 Glitches out on osstest

Postby Hector_Graze » Thu Nov 22, 2012 3:58 pm

Thanks, I'll try that on my base image again.

Quick question though, is what's in the .tar not the same as what's in the .deb once it's uncompressed?
Hector_Graze
 
Posts: 4
Joined: Wed Nov 21, 2012 11:35 pm

Re: Lynx L22 Glitches out on osstest

Postby igorzwx » Thu Nov 22, 2012 4:21 pm

Hector_Graze wrote:Thanks, I'll try that on my base image again.

Quick question though, is what's in the .tar not the same as what's in the .deb once it's uncompressed?


The OSS4 things should be the same.
Most probably, you did not install some "prerequisite packages", or made something wrong.
The manual is here: https://help.ubuntu.com/community/OpenSound
But it is outdated.

What seems to be different is the so-called "microarchitecture":
Code: Select all
oss-linux-4.2-2007_i386.deb 
oss-linux-v4.2-2007-i686.tar.bz2


i686 is what you have on Arch Linux.
32bit Ubuntu seems to be optimized for i386. This means really ancient processors of the last century:
1985 Intel 80386 - i386 http://en.wikipedia.org/wiki/Intel_80386
This might be a reason why Ubuntu is so slow in comparison with Arch Linux.
Although, of course, Arch Linux today is buggy crap infected with PulseAudio and systemd
http://bbs.archbang.org/viewtopic.php?pid=18181
http://bbs.archbang.org/viewtopic.php?id=3365

In short, i686 may (or may not) be a problem with Ubuntu in this particular case.
igorzwx
 
Posts: 863
Joined: Sun Jun 28, 2009 9:31 pm

Re: Lynx L22 Glitches out on osstest

Postby cesium » Fri Nov 23, 2012 10:52 am

SNDCTL_MIX_READ is an ioctl to try and read from the mixer. If you can change settings normally it's not too big a deal. I'm not sure where FQ_VIDEO comes from - it's not a sound ioctl. ossxmix is a gtk+2 program - do other such programs show such errors if you run them from the command line. Lastly, it's difficult for the forum to help since the driver is closed source, but if you try to run 'osstest -V' instead of osstest the first time, is the result different?
cesium
 
Posts: 896
Joined: Sun Aug 12, 2007 12:51 am

Re: Lynx L22 Glitches out on osstest

Postby igorzwx » Fri Nov 23, 2012 9:24 pm

Hector_Graze wrote:I'm on a Mac at the moment so I can't open the .deb file


It should be possible to open a ".deb file" on Mac, because "Debian packages are standard Unix ar archives that include two tar archives optionally compressed with gzip (zlib), Bzip2, lzma, or xz (lzma2): one archive holds the control information and another contains the program data" http://en.wikipedia.org/wiki/Deb_(file_format)

EXAMPLE (it should work on Mac too):
Code: Select all
$ ar xv oss-linux-4.2-2007_i386.deb
x - debian-binary
x - control.tar.gz
x - data.tar.gz
$ ls
control.tar.gz
data.tar.gz
debian-binary
oss-linux-4.2-2007_i386.deb


See also:
How to compress and uncompress files and folders in OS X Mountain Lion 10.8 using Terminal
http://www.coolestguyplanettech.com/how ... -terminal/

The Arch Linux developers (those who infected Arch Linux with PulseAudio and systemd) tend to use the "deb2targz" script for the purpose (largely because of ignorance and stupidity, perhaps):

You can convert it to a tar.gz using You can convert it to a tar.gz using "deb2targz" (in [community]).
https://bbs.archlinux.org/viewtopic.php ... 70#p752370


http://www.miketaylor.org.uk/tech/deb/
DO NOT USE THE deb2targz SCRIPT!

It turns out to be complete waste of time: Debian packages are ar achives, and can be inspected and unpacked using the standard Unix command-line utility ar as follows:

Code: Select all
$ ls -l google-musicmanager-beta_current_i386.deb
-rw-r--r-- 1 mike mike 2991982 2011-10-21 08:37
google-musicmanager-beta_current_i386.deb
$ ar tv google-musicmanager-beta_current_i386.deb
rw-r--r-- 0/0      4 Sep 14 21:12 2011 debian-binary
rw-r--r-- 0/0   4688 Sep 14 21:12 2011 control.tar.gz
rw-r--r-- 0/0 2987102 Sep 14 21:12 2011 data.tar.lzma
$ ar xv google-musicmanager-beta_current_i386.deb
data.tar.lzma
x - data.tar.lzma
$ ls -l data.tar.lzma
-rw-r--r-- 1 mike mike 2987102 2011-10-21 08:39 data.tar.lzma
$

(I would remove the script completely, but Aram Ayazyan tells me that it is used by packages in Arch Linux.)


If PulseLinux [Lennax] developers do not know the standard Unix commands, they have to reinvent the wheel http://en.wikipedia.org/wiki/Reinventing_the_wheel

It seems that the "deb2targz" script was already moved from the "community repository" of Arch Linux to AUR (to hide it there, perhaps):

Code: Select all
$ yaourt deb2targz
1 aur/deb2targz 0.1-6 (0)
    convert a Debian Linux .deb file to a .tar.gz
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==>


Since Linux today is rather difficult to use (because it is becoming increasinly buggy, "irrational", and unpredictable), it may make sense to learn Mac OS. My friends in Ukraine have already switched to Mac for understandable reasons.

NOTE: If I am not mistaken, the term "irrational behaviour" might be translated to the Linux-speak as "head up the arse behavior":

Among those critical of the new version [of Gnome] is Linus Torvalds, the creator of the Linux Kernel and a routine user of GNOME before abandoning it at the release of GNOME 3.0. Torvalds criticized GNOME 3.0 by stating, "The developers have apparently decided that it's 'too complicated' to actually do real work on your desktop, and have decided to make it really annoying to do." Torvalds cited specific usability problems he pointedly summarized as "crazy crap," and the "'head up the arse' behavior" of Gnome 3.0. http://en.wikipedia.org/wiki/Controvers ... #Criticism
igorzwx
 
Posts: 863
Joined: Sun Jun 28, 2009 9:31 pm

Re: Lynx L22 Glitches out on osstest

Postby arbor-wim » Mon Dec 03, 2012 4:42 pm

I would like to know if there is any news on this issue? I don't want to hyjack this thread, but before I create a new thread with details, it would be interesting to know if this issue has been resolved.

To summarize:
I have also a Lynx L22, I am using oss-linux-4.2-2007_i386.deb to install OSS, first I was using ubuntu 12.04 too, but now I have installed debian 6, but nothing has changed. The hardware is detected fine, but osstest is returning "Input/output error" on every output device. There is also a onboard audio device which works fine with osstest.
arbor-wim
 
Posts: 3
Joined: Mon Dec 03, 2012 4:30 pm

Re: Lynx L22 Glitches out on osstest

Postby arbor-wim » Mon Dec 10, 2012 12:40 pm

After contacting support I have performed some further test. Maybe it helps if I post it here too. I have plugged the Lynx L22 into a 8-year-old dell Dimension 4600 and tried again. Now it seems to work. I'll add all details to be able to compare with a non-working system.

I have installed ubuntu 12.04.1 server i386 and did this to install OSS:
Code: Select all
sudo apt-get install binutils vim  sed gcc libc6 libesd0 build-essential linux-headers-`uname -r` gawk libtool
sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio
sudo /etc/init.d/alsa-utils stop
sudo apt-get remove alsa-base alsa-utils
sudo apt-get install  linux-sound-base
sudo dpkg-reconfigure linux-sound-base
sudo apt-get install  libgtk2.0-0  libgtk2.0-dev
sudo dpkg -i oss-linux-4.2-2007_i386.deb
osstest

(note that alsa and pulse were not even installed, so I could have left out the deinstallation).

osstest output:
Code: Select all
Sound subsystem and version: OSS 4.2 (b 2007/201207032126) (0x00040100)
Platform: Linux/i686 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012

*** Scanning sound adapter #-1 ***
/dev/oss/lynxtwo0/pcm0 (audio engine 0): LynxL22 Play 1
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 48040.00 Hz (0.08%)>
/dev/oss/lynxtwo0/pcm1 (audio engine 1): LynxL22 Play 2
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 48040.00 Hz (0.08%)>
/dev/oss/lynxtwo0/pcm2 (audio engine 2): LynxL22 Play 3
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 48040.00 Hz (0.08%)>
/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> OK <right> OK <stereo> OK <measured srate 48037.00 Hz (0.08%)>
/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

*** Scanning sound adapter #1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 17): Intel ICH5 (24D5)
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47986.00 Hz (-0.03%)>

*** Some errors were detected during the tests ***

I had the first Lynx L22 output (analog) connected to some speakers, and heard a melody during the test.

output of ossinfo -v3
Code: Select all
Version info: OSS 4.2 (b 2007/201207032126) (0x00040100)
Platform: Linux/i686 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 (ubuntu)

Number of audio devices:   18
Number of audio engines:   23
Number of MIDI devices:      0
Number of mixer devices:   4


Device objects
0: osscore0 OSS core services
1: lynxtwo0 LynxL22 interrupts=17911 (17911)
    Firmware revision: 13 PCB Revision 1
2: oss_ich0 Intel ICH5 (24D5) interrupts=1981 (1981)
3: 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:01.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:01.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:01.0-mx03
    Device priority: -2

3: ICH AC97 Mixer (AD1980) (Mixer 0 of device object 2)
    Device file /dev/oss/oss_ich0/mix0, Legacy device /dev/mixer3
    Priority: 10
    Caps:
    Device handle: PCI01551028-0000:00:1f.5-mx01
    Device priority: 10


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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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:01.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

Intel ICH5 (24D5)                 /dev/oss/oss_ich0/pcm0  (device index 17)
    Legacy device /dev/dsp17
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 17/Intel ICH5 (24D5)
                     Available for use
      Engine      2: 18/Intel ICH5 (24D5) (vmix)
                     Available for use
      Engine      3: 19/Intel ICH5 (24D5) (vmix)
                     Available for use
      Engine      4: 20/Intel ICH5 (24D5) (vmix)
                     Available for use
      Engine      5: 21/Intel ICH5 (24D5) (vmix)
                     Available for use
      Engine      6: 22/Intel ICH5 (24D5)
                     Available for use
    Input formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI01551028-0000:00:1f.5-au01
    Related mixer dev: 3
    Sample rate source: 17
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 5000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_in -> /dev/oss/lynxtwo0/pcmin0
  /dev/dsp_out -> /dev/oss/lynxtwo0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_mmap -> /dev/oss/lynxtwo0/pcm0
  /dev/dsp_multich -> /dev/oss/lynxtwo0/pcm8


output of sudo ossdetect -v
Code: Select all
Detected Lynx-L22 Studio Interface
Detected Intel AC97 (ICH5)
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)


output of ossmix -a
Code: Select all
Selected mixer 0/LynxL22 Adapter
Known controls are:
clock.rate <8000|11025|16000|22050|32000|44100|48000|64000|88200|96000|128000|176400|192000|200000> (currently 200000)
clock.ratelock ON|OFF (currently OFF)
clock.source <Internal|Digital|External|header|Video|LStream1|LStream2> (currently Internal)
clock.reference <Auto|13.5MHz|27MHz|Word|Word256> (currently Auto)
clock.digfmt <AES/EBU|S/PDIF> (currently AES/EBU)
clock.digmode <SRC_On|SRC_Off:ClockSyncronous|SRC_Off|SRC_On:Digital_Out|XMit_Only> (currently SRC_On)
converters.dither <None|Triangular|Shaped_Triangular|Rectangular> (currently None)
converters.recalibrate ON|OFF (currently OFF)
trim.out1/2 <-10db|+4db> (currently -10db)
trim.out3/4 <-10db|+4db> (currently 255(too large (a=2)?))
trim.in1/2 <-10db|+4db> (currently -10db)
trim.in3/4 <-10db|+4db> (currently 255(too large (a=2)?))
freq.l/r_clock <decimal value> (currently 48000) (Read-only)
freq.digin <decimal value> (currently 0) (Read-only)
freq.ext <decimal value> (currently 0) (Read-only)
freq.hdr <decimal value> (currently 0) (Read-only)
freq.video <decimal value> (currently -1) (Read-only)
freq.lstream1 <decimal value> (currently 0) (Read-only)
freq.lstream2 <decimal value> (currently 0) (Read-only)
freq.pci <decimal value> (currently 33250127) (Read-only)

Selected mixer 1/LynxL22 Record/Play
Known controls are:
record.pcm8.lsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently Ain1)
record.pcm8.rsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently Ain2)
record.pcm8.mute.l ON|OFF (currently OFF)
record.pcm8.mute.r ON|OFF (currently OFF)
record.pcm9.lsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently Ain3)
record.pcm9.rsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently Ain4)
record.pcm9.mute.l ON|OFF (currently OFF)
record.pcm9.mute.r ON|OFF (currently OFF)
record.pcm10.lsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently LbL)
record.pcm10.rsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently LbR)
record.pcm10.mute.l ON|OFF (currently OFF)
record.pcm10.mute.r ON|OFF (currently OFF)
record.pcm11.lsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently DinL)
record.pcm11.rsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently DinR)
record.pcm11.mute.l ON|OFF (currently OFF)
record.pcm11.mute.r ON|OFF (currently OFF)
record.pcm12.lsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently Ain1)
record.pcm12.rsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently Ain2)
record.pcm12.mute.l ON|OFF (currently OFF)
record.pcm12.mute.r ON|OFF (currently OFF)
record.pcm13.lsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently Ain3)
record.pcm13.rsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently Ain4)
record.pcm13.mute.l ON|OFF (currently OFF)
record.pcm13.mute.r ON|OFF (currently OFF)
record.pcm14.lsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently LbL)
record.pcm14.rsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently LbR)
record.pcm14.mute.l ON|OFF (currently OFF)
record.pcm14.mute.r ON|OFF (currently OFF)
record.pcm15.lsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently DinL)
record.pcm15.rsrc <Ain1|Ain2|Ain3|Ain4|LbL|LbR|DinL|DinR> (currently DinR)
record.pcm15.mute.l ON|OFF (currently OFF)
record.pcm15.mute.r ON|OFF (currently OFF)

Selected mixer 2/LynxL22 Outputs
Known controls are:
output.a1.-.mute ON|OFF (currently OFF)
output.a2.-.mute ON|OFF (currently OFF)
output.a3.-.mute ON|OFF (currently OFF)
output.a4.-.mute ON|OFF (currently OFF)
output.a5.-.mute ON|OFF (currently OFF)
output.a6.-.mute ON|OFF (currently OFF)
output.a7.-.mute ON|OFF (currently OFF)
output.a8.-.mute ON|OFF (currently OFF)
output.a9.-.mute ON|OFF (currently OFF)
output.a10.-.mute ON|OFF (currently OFF)
output.a11.-.mute ON|OFF (currently OFF)
output.a12.-.mute ON|OFF (currently OFF)
output.a13.-.mute ON|OFF (currently OFF)
output.a14.-.mute ON|OFF (currently OFF)
output.a15.-.mute ON|OFF (currently OFF)
output.a16.-.mute ON|OFF (currently OFF)

Selected mixer 3/ICH AC97 Mixer (AD1980)
Known controls are:
vol [<leftvol>:<rightvol>] (currently 75:75)
vol.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 75:75)
speaker <monovol> (currently 0)
line [<leftvol>:<rightvol>] (currently 32:32)
line.rec ON|OFF (currently ON)
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
cd [<leftvol>:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 32:32)
aux1.rec ON|OFF (currently OFF)
phone [<leftvol>:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
mono <monovol> (currently 75)
mono.rec ON|OFF (currently OFF)
video [<leftvol>:<rightvol>] (currently 0:0)
video.rec ON|OFF (currently OFF)
rear [<leftvol>:<rightvol>] (currently 75:75)
center [<leftvol>:<rightvol>] (currently 75:75)
micboost ON|OFF (currently ON)
mixext.rear2linejack ON|OFF (currently ON)
mixext.center2micjack ON|OFF (currently ON)
mixext.spkmode <FRONT|SPREAD> (currently FRONT)
mixext.mix-lfe2front ON|OFF (currently OFF)
mixext.micboost ON|OFF (currently OFF)
spdout.enable ON|OFF (currently OFF)
spdout.adc/dac ON|OFF (currently OFF)
spdout.pro <Consumer|Professional> (currently Consumer)
spdout.audio <AUDIO|DATA> (currently AUDIO)
spdout.copy ON|OFF (currently OFF)
spdout.pre-emph ON|OFF (currently OFF)
spdout.rate <48000|44100|32000> (currently 48000)
spdout.vbit ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm18 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm19 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm20 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm21 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)


ossmix -a output the following to stderr:
Code: Select all
SNDCTL_MIX_READ(enum2): Input/output error
SNDCTL_MIX_READ(enum2): Input/output error
SNDCTL_MIX_READ(value2): Input/output error


other info
Code: Select all
arbor@ubuntu:~$ uname -a
Linux ubuntu 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux
arbor@ubuntu:~$ cat /etc/issue
Ubuntu 12.04.1 LTS \n \l
arbor@ubuntu:~$ dmesg | tail -30
[  633.824050] [drm] nouveau 0000:01:00.0: Setting dpms mode 1 on vga encoder (output 0)
[ 1607.873860] snd_intel8x0 0000:00:1f.5: PCI INT B disabled
[ 1609.485660] lynxtwo 0000:02:01.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 1609.606452] oss_ich 0000:00:1f.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 1609.639260] usbcore: registered new interface driver oss_usb
[ 1624.499580] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
[ 1680.077798] lynxtwo:  Dev 11 Dropout [1]
[ 1681.180022] osscore: Output timed out (sync) on audio engine 3
[ 1681.196840] lynxtwo:  Dev 12 Dropout [1]
[ 1682.300021] osscore: Output timed out (sync) on audio engine 4
[ 1682.317217] lynxtwo:  Dev 13 Dropout [1]
[ 1683.420024] osscore: Output timed out (sync) on audio engine 5
[ 1704.551387] lynxtwo:  Dev 15 Dropout [1]
[ 1705.656031] osscore: Output timed out (sync) on audio engine 7
[ 1893.726832] lynxtwo: GetControl failed. Err=17
[ 1893.727496] lynxtwo: GetControl failed. Err=17
[ 1893.728971] lynxtwo: GetControl failed. Err=17
[ 2268.128027] [drm] nouveau 0000:01:00.0: Setting dpms mode 1 on vga encoder (output 0)
[ 5977.629228] lynxtwo: GetControl failed. Err=17
[ 5977.630140] lynxtwo: GetControl failed. Err=17
[ 5977.712198] usbcore: deregistering interface driver oss_usb
[ 5977.718144] oss_ich 0000:00:1f.5: PCI INT B disabled
[ 5977.724162] lynxtwo 0000:02:01.0: PCI INT A disabled
[ 5991.973918] lynxtwo 0000:02:01.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 5992.095223] oss_ich 0000:00:1f.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 5992.119682] usbcore: registered new interface driver oss_usb
[ 5992.385168] lynxtwo: SetControl failed: dst=48 src=51 ctl=16 val=0 err=17
[ 6044.842150] lynxtwo: GetControl failed. Err=17
[ 6044.842828] lynxtwo: GetControl failed. Err=17
[ 6044.843346] lynxtwo: GetControl failed. Err=17

Note some errors are caused by trying to output to LynxL22 Play 4 and later, which do not exist. So this is not an issue.

I will now try again in the non-working system.
arbor-wim
 
Posts: 3
Joined: Mon Dec 03, 2012 4:30 pm

Re: Lynx L22 Glitches out on osstest

Postby arbor-wim » Wed Feb 13, 2013 2:27 pm

For completeness I like to add that I was not able to make the LynxL22 pci working in the new pc. I gave up and used a different (more modern) pci-e based card instead. That worked without any issues.
arbor-wim
 
Posts: 3
Joined: Mon Dec 03, 2012 4:30 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron