You are not logged in.

#1 2011-03-09 01:49:44

dbdii407
Member
From: Estados Unidos
Registered: 2010-03-14
Posts: 27
Website

OSS 4.2 and Mumble

I decided to remove ALSA in replace of OSS. I'm satisfied with everything.... except for one thing. I cannot use my USB microphones in Mumble. After reading around the net, I noticed that the USB functionality in OSS isn't ready, but it seems to be loaded on my system. Mumble has OSS selected as default though, grayed out.

My question is: Is there anyway to get my USB microphone/USB webcam's mic working with Mumble?

Mumble Screenshot: http://min.us/mvfc1t1

lsmod:

[dbdii407@myhost ~]$ lsmod
Module                  Size  Used by
ipv6                  280362  8 
btusb                  11689  0 
bluetooth              53970  1 btusb
oss_usb               122195  3 
oss_ich                16803  9 
osscore               551852  2 oss_usb,oss_ich
uas                     8170  0 
usb_storage            43628  0 
usbhid                 36375  0 
hid                    78055  1 usbhid
arc4                    1394  2 
ecb                     2057  2 
zd1211rw               44266  0 
mac80211              199532  1 zd1211rw
cfg80211              139317  2 zd1211rw,mac80211
rfkill                 16122  2 bluetooth,cfg80211
uvcvideo               61928  0 
videodev               65502  1 uvcvideo
v4l1_compat            16010  2 uvcvideo,videodev
v4l2_compat_ioctl32    10228  1 videodev
radeon                925113  2 
ttm                    52821  1 radeon
drm_kms_helper         26587  1 radeon
uhci_hcd               22230  0 
ohci_hcd               21338  0 
drm                   173731  4 radeon,ttm,drm_kms_helper
ppdev                   5854  0 
ehci_hcd               38814  0 
parport_pc             31800  1 
i2c_algo_bit            4927  1 radeon
lp                      8992  0 
i2c_nforce2             5208  0 
usbcore               139176  11 btusb,oss_usb,uas,usb_storage,usbhid,zd1211rw,uvcvideo,uhci_hcd,ohci_hcd,ehci_hcd
fan                     2410  0 
floppy                 57559  0 
thermal                 7890  0 
processor              25265  0 
parport                30087  3 ppdev,lp,parport_pc
forcedeth              52434  0 
button                  4882  0 
edac_core              35034  0 
shpchp                 26725  0 
sg                     25972  0 
i2c_core               19217  6 videodev,radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_nforce2
evdev                   9361  8 
pcspkr                  1835  0 
edac_mce_amd            9223  0 
pci_hotplug            24687  1 shpchp
k8temp                  3483  0 
ext4                  334690  2 
mbcache                 5802  1 ext4
jbd2                   69898  1 ext4
crc16                   1313  1 ext4
sr_mod                 15402  0 
cdrom                  36363  1 sr_mod
sd_mod                 27120  4 
pata_amd               11068  0 
pata_acpi               3296  0 
sata_nv                21048  3 
libata                169396  3 pata_amd,pata_acpi,sata_nv
scsi_mod              125814  6 uas,usb_storage,sg,sr_mod,sd_mod,libata

controller:

[dbdii407@myhost ~]$ lspci | grep audio
00:10.2 Multimedia audio controller: nVidia Corporation MCP51 AC97 Audio Controller (rev a2)

ossinfo:

[dbdii407@myhost ~]$ ossinfo
Version info: OSS 4.2 (b 2004/201101052228) (0x00040100) GPL
Platform: Linux/x86_64 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 25 07:53:43 CET 2011 (myhost)

Number of audio devices:    4
Number of audio engines:    9
Number of MIDI devices:        0
Number of mixer devices:    3


Device objects
 0: osscore0 OSS core services
 1: oss_ich0 Nvidia MCP51 interrupts=661463 (898354)
 2: oss_usb0 USB audio core services
 3: usb046d0804-0 USB sound device
 4: usb046d0804-1 USB sound device
 5: usb046d0a03-0 USB sound device
 6: usb046d0a03-1 USB sound device

MIDI devices (/dev/midi*)

Mixer devices
 0: ICH AC97 Mixer (ALC655) (Mixer 0 of device object 1)
 1: USB sound device (Mixer 0 of device object 3)
 2: USB sound device (Mixer 0 of device object 5)

Audio devices
Nvidia MCP51                      /dev/oss/oss_ich0/pcm0  (device index 0)
Nvidia MCP51 S/PDIF out           /dev/oss/oss_ich0/spdout  (device index 1)
USB sound device rec              /dev/oss/usb046d0804-1/pcmin0  (device index 2)
USB sound device rec              /dev/oss/usb046d0a03-1/pcmin0  (device index 3)

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

Last edited by dbdii407 (2011-03-09 01:50:32)

Offline

#2 2011-03-09 07:54:17

Splex
Member
Registered: 2009-03-09
Posts: 33

Re: OSS 4.2 and Mumble

Try rebuilding the package using the PKGBUILD from ABS with OSS installed.  For some reason the device selection is grayed out when using the binaries from the repo.

Offline

#3 2011-03-09 11:17:21

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: OSS 4.2 and Mumble

This is not needed (at least for me). The device selection is grayed out but my mic works fine with OSS and mumble from community.

Offline

#4 2011-03-09 11:35:38

Splex
Member
Registered: 2009-03-09
Posts: 33

Re: OSS 4.2 and Mumble

When I rebuilt the package from ABS, I saw that the device selection works correctly (not grayed out.)  It is then possible to select a device other than the default '/dev/dsp'

Offline

#5 2011-03-09 11:47:08

dbdii407
Member
From: Estados Unidos
Registered: 2010-03-14
Posts: 27
Website

Re: OSS 4.2 and Mumble

Sweet! That did exactly what you described Splex. Now just to figure out how to get the mics actually working. For some reason, nothing comes through and ossxmix no longer shows both mics.

[dbdii407@myhost ~]$ ossxmix -S
/dev/oss/usb046d0804-0/mix0: No such file or directory
/dev/oss/usb046d0a03-0/mix0: No such file or directory
[dbdii407@myhost ~]$ sudo ossdetect -v
Detected Nvidia MCP51
Detected Generic USB audio/MIDI device (BETA)
Detected Generic USB audio/MIDI device (BETA)
Detected Generic USB audio/MIDI device (BETA)
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)

I have no idea what I may have done in the past ~ hours for them to disappear from the mixer.

EDIT:
Running the following command got 2 "USB sound device"s containing rec back on ossxmix, i'm assuming they're my USB mics. Still can't hear anything.

[dbdii407@myhost dev]$ sudo ossdetect -d -v
mknod /dev/sndstat c 252 0 -m 20666
mknod /dev/midi c 252 1 -m 20666
mknod /dev/mixer c 252 2 -m 20666
mknod /dev/oss/oss_ich0/mix0 c 251 3 -m 20666
mknod /dev/oss/oss_ich0/pcm0 c 251 4 -m 20666
mknod /dev/oss/oss_ich0/spdout c 251 11 -m 20666
mknod /dev/oss/usb046d0804-0/mix0 c 250 13 -m 20666
mknod /dev/oss/usb046d0804-1/pcmin0 c 250 14 -m 20666
mknod /dev/oss/usb046d0a03-0/mix0 c 250 16 -m 20666
mknod /dev/oss/usb046d0a03-1/pcmin0 c 250 17 -m 20666

Last edited by dbdii407 (2011-03-09 21:18:33)

Offline

Board footer

Powered by FluxBB