Hi, I installed OSS4 from the DEB packages on an Ubuntu 10.04 machine with a geode processor running a 2.6.32-21-386 kernel. I am using it with an external USB sound card.
Sound output works fine (osstest works).
Sound input does not work:
stoledo@frogg:~/portaudio/bin$ ossrecord -d 1 -t 10 xxx.wav
/dev/oss/usb041e3040-2/pcmin0: Input/output error
The kernel log contains an error message from oss (I also get it with soundon):
[38329.795474] osscore: This processor architecture is not compatible with vmix (info=-1) - Not enabled.
I understood that the error message might be due to the CPU not supporting floating point, but this Geode processor does have a floating point unit. Will switching from the -386 kernel to the -generic version of the kernel help?
Thanks, Sivan
stoledo@frogg:~/portaudio/bin$ ossinfo -v3
Version info: OSS 4.2 (b 2003/201005280201) (0x00040100) TRIAL
Platform: Linux/i586 2.6.32-21-386 #32-Ubuntu SMP Fri Apr 16 11:08:57 UTC 2010 (frogg)
Number of audio devices: 2
Number of audio engines: 2
Number of MIDI devices: 0
Number of mixer devices: 1
Device objects
0: osscore0 OSS core services
1: oss_usb0 USB audio core services
2: usb041e3040-0 USB sound device
3: usb041e3040-1 USB sound device
4: usb041e3040-2 USB sound device
MIDI devices (/dev/midi*)
Mixer devices
0: USB sound device (Mixer 0 of device object 2)
Device file /dev/oss/usb041e3040-0/mix0, Legacy device /dev/mixer0
Priority: 0
Caps:
Device handle: USB-usb041e3040-0-mx01
Device priority: 0
Audio devices
USB sound device play /dev/oss/usb041e3040-1/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 0/USB sound device play
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: USB-usb041e3040-1-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: STEREO
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 44100 (44100)
HW Type: Not indicated.
Minimum latency: Not indicated
USB sound device rec /dev/oss/usb041e3040-2/pcmin0 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 1/USB sound device rec
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: USB-usb041e3040-2-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: STEREO
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 44100 (44100)
HW Type: Not indicated.
Minimum latency: Not indicated
Nodes
/dev/dsp -> /dev/oss/usb041e3040-1/pcm0
/dev/dsp_in -> /dev/oss/usb041e3040-2/pcmin0
/dev/dsp_out -> /dev/oss/usb041e3040-1/pcm0
/dev/dsp_mmap -> /dev/oss/usb041e3040-1/pcm0
stoledo@frogg:~/portaudio/bin$ ossmix
Selected mixer 0/USB sound device
Known controls are:
output.mute ON|OFF (currently OFF)
output.vol <monovol> (currently 65535)
rec.vol <monovol> (currently 65535)
play-altset <OFF|1|2|3|4|5|6|7|8|9|10|11|12|13|14> (currently 1)
rec-altset <OFF|1|2|3|4|5|6> (currently 1)
