You are not logged in.

#1 2010-11-28 21:31:24

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

OSS + CMI8788 Recording

I use an HT Claro Plus sound card. I've basically been going back and forth between using ALSA and OSS. I don't know that much about OSS, but I still honestly prefer it.
I can't seem to get recording with my microphone (pink input jack, it isn't USB or anything) on OSS, but I can on ALSA.

I'm not even sure what the correct Input Device should be.

Pics of ossxmix:
http://imgur.com/eJcCK.png
http://imgur.com/pCH0z.png

Output of ossmix:

 lain:: ossmix -a
Selected mixer 0/CMedia CMI8788
Known controls are:
pcm [<leftvol>:<rightvol>] (currently 100:100)
rear [<leftvol>:<rightvol>] (currently 100:100)
center [<leftvol>:<rightvol>] (currently 100:100)
side [<leftvol>:<rightvol>] (currently 100:100)
ext.monitor.analog ON|OFF (currently ON)
ext.monitor.spdif ON|OFF (currently OFF)
ext.monitor.inputsrc <Line|Mic> (currently Mic)
ext.routing.speaker-spread ON|OFF (currently OFF)
ext.routing.spdif-loopback ON|OFF (currently ON)
spdif-out.enable ON|OFF (currently ON)
spdif-out.adc/dac ON|OFF (currently OFF)
spdif-out.pro <Consumer|Professional> (currently Professional)
spdif-out.audio <Audio|Data> (currently Audio)
spdif-out.copy ON|OFF (currently ON)
spdif-out.pre-emph ON|OFF (currently OFF)
spdif-out.rate <44.1KHz|48KHz|32KHz|88.2KHz|96KHz|64KHz|176.4KHz|192KHz> (currently 192KHz)
spdif-out.vbit ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Multich)
vmix0-src <Fast|High|OFF> (currently High)
vmix0-outvol <monovol> (currently 24.9 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("mpd")
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("VirtualBox")
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("VirtualBox")
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)

Selected mixer 1/AC97 Input Mixer (CMI9780)
Known controls are:
vol [<leftvol>:<rightvol>] (currently 100:100)
vol.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 100:100)
speaker <monovol> (currently 100)
line [<leftvol>:<rightvol>] (currently 100:100)
line.rec ON|OFF (currently OFF)
mic <monovol> (currently 100)
mic.rec ON|OFF (currently ON)
cd [<leftvol>:<rightvol>] (currently 100:100)
cd.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 100:100)
aux1 [<leftvol>:<rightvol>] (currently 100:100)
aux1.rec ON|OFF (currently OFF)
phone [<leftvol>:<rightvol>] (currently 100:100)
phone.rec ON|OFF (currently OFF)
mono <monovol> (currently 100)
mono.rec ON|OFF (currently OFF)
video [<leftvol>:<rightvol>] (currently 100:100)
video.rec ON|OFF (currently OFF)
rear [<leftvol>:<rightvol>] (currently 100:100)
center [<leftvol>:<rightvol>] (currently 100:100)

Output of ossinfo:

 lain:: ossinfo
Version info: OSS 4.2 (b 2003/201010282055) (0x00040100) GPL
Platform: Linux/x86_64 2.6.35-ARCH #1 SMP PREEMPT Sat Oct 30 21:22:26 CEST 2010 (lain)

Number of audio devices:    2
Number of audio engines:    8
Number of MIDI devices:        1
Number of mixer devices:    2


Device objects
 0: osscore0 OSS core services
 1: oss_cmi878x0 CMedia CMI8788 interrupts=519194 (519195)
 2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)
0: CMI8788 UART (MIDI port 1 of device object 1)

Mixer devices
 0: CMedia CMI8788 (Mixer 0 of device object 1)
 1: AC97 Input Mixer (CMI9780) (Mixer 1 of device object 1)

Audio devices
CMedia CMI8788 (MultiChannel)     /dev/oss/oss_cmi878x0/pcm0  (device index 0)
CMedia CMI8788 (SPDIF)            /dev/oss/oss_cmi878x0/pcm1  (device index 1)

Nodes
  /dev/dsp -> /dev/oss/oss_cmi878x0/pcm0
  /dev/dsp_in -> /dev/oss/oss_cmi878x0/pcm0
  /dev/dsp_out -> /dev/oss/oss_cmi878x0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_cmi878x0/pcm1
  /dev/dsp_mmap -> /dev/oss/oss_cmi878x0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_cmi878x0/pcm0

Output of lspci -vnn:

08:01.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]
Subsystem: HT OMEGA Inc. CLARO [7284:9761]
Flags: bus master, medium devsel, latency 64, IRQ 17
I/O ports at e800 [size=256]
Capabilities: [c0] Power Management version 
Kernel driver in use: oss_cmi878x


Setting up OSS might be a bit more of a pain than setting up ALSA, but when it's all said and done I think I'll prefer OSS.

Last edited by Jimi (2010-11-28 21:34:52)

Offline

#2 2010-11-29 18:35:52

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

Re: OSS + CMI8788 Recording

bump

Offline

#3 2010-12-01 02:04:51

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

Re: OSS + CMI8788 Recording

bamp

Offline

#4 2010-12-02 02:53:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: OSS + CMI8788 Recording

Jimi - please refrain from bumping (especially with empty posts):

https://wiki.archlinux.org/index.php/Fo … te#Bumping

Detail what else you have tried, other material you have referenced etc...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2010-12-03 20:18:21

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

Re: OSS + CMI8788 Recording

Thanks for the response, and I apologize.

I tried switching back to ALSA, but I can't get recording to work once I start using dmix.
Really wish I could figure out how to get my recording working on OSS. Working with ALSA just makes my head hurt.

Offline

Board footer

Powered by FluxBB