geode & "This processor ... with vmix"

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium, kodachi

geode & "This processor ... with vmix"

Postby sivan_toledo » Sun Dec 19, 2010 5:58 am

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)
sivan_toledo
New Member
 
Posts: 3
Joined: Sun Dec 19, 2010 5:50 am

Re: geode & "This processor ... with vmix"

Postby cesium » Sun Dec 19, 2010 7:57 pm

You can fix this by rebuilding OSS from source (see instructions on wiki page), and giving to configure script the argument "--config-vmix=FIXEDPOINT".
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: geode & "This processor ... with vmix"

Postby sivan_toledo » Mon Dec 20, 2010 8:41 am

Thanks a lot for the advice, but it still does not work.

I installed OSS4 from the sources with the fixed point option, and indeed I do not get the vmix warning/error.

But when I run ossrecord, I still get an input/output error. When this happens, oss also writes a kernel log messge. Here are the kernel messages from the boot phase nad then the message about the IO errors:

[ 44.918317] New audioctl device 1/0 - USB sound device
[ 44.947364] New audio streaming device 1/1 - USB sound device
[ 44.952055] New audio streaming device 1/2 - USB sound device
[ 44.956646] usbcore: registered new interface driver oss_usb
[ 45.680745] eth0: no IPv6 routers present
[ 1792.951772] oss usbaudio: Audio input timed out on device 1.
[ 1805.416497] oss usbaudio: Audio input timed out on device 1.

The hardware is a Creative Soundblaster Live 24 USB and I think that there is nothing wrong with it; seems to record fine on Windows.

osstest works fine.

Here are the outputs of the OSS utilities:

stoledo@frogg:~$ ossmix
Selected mixer 0/USB sound device
Known controls are:
output.mute ON|OFF (currently OFF)
output.vol <monovol> (currently 57568)
rec.vol <monovol> (currently 16448)
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)
stoledo@frogg:~$ ossinfo -v
Version info: OSS 4.2 (b 2003/201012200706) (0x00040100) OSS_HG
Hg revision: changeset: 920:232d0de71550, tag: tip, date: Tue Nov 02 23:45:15 2010 +0200, summary: Misc changes to ossplay
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 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


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:

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: Available for use
USB sound device rec /dev/oss/usb041e3040-2/pcmin0 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: Available for use

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:~$ ossrecord -d /dev/dsp_in -t 10 xxx.wav
/dev/dsp_in: Input/output error
sivan_toledo
New Member
 
Posts: 3
Joined: Sun Dec 19, 2010 5:50 am

Re: geode & "This processor ... with vmix"

Postby cesium » Tue Dec 21, 2010 1:59 pm

Try changing rec-altset in the mixer and see if recording works then...
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: geode & "This processor ... with vmix"

Postby sivan_toledo » Wed Dec 22, 2010 6:33 am

I tried to do that (change rec-altset) and it didn't work. I am using a USB sound card (SB Live 24 USB); is this the reason for the failure? I saw on other posts that OSS4 does not support recording from USB devices.
sivan_toledo
New Member
 
Posts: 3
Joined: Sun Dec 19, 2010 5:50 am

Re: geode & "This processor ... with vmix"

Postby cesium » Wed Dec 22, 2010 10:50 pm

It's a problem for OSS4 under Linux, and usually doesn't work - however, I thought it was worth a shot trying since it occasionally does work...
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron