Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263738 - cvoicecontrol and alsa problem
Summary: cvoicecontrol and alsa problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 15:07 UTC by renato gallo
Modified: 2009-03-25 15:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description renato gallo 2009-03-25 15:07:00 UTC
while all other sound applications seems to work properly cvoicecontrol complains it cannot find the sound dev.....

emerge -pv cvoicecontrol

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-sound/cvoicecontrol-0.9_alpha-r1  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB









microphone_config                                                     
No mixer devices available!                                                            
Please purchase a sound card and install it!                                           
TOOLBOX voximp # lspci|grep sound
TOOLBOX voximp # lspci
00:00.0 Host bridge: nVidia Corporation Device 07c3 (rev a2)
00:00.1 RAM memory: nVidia Corporation nForce 630i memory controller (rev a2)
00:01.0 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.1 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.2 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.3 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.4 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.5 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.6 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:02.0 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:03.0 ISA bridge: nVidia Corporation MCP73 LPC Bridge (rev a2)             
00:03.1 SMBus: nVidia Corporation MCP73 SMBus (rev a1)                       
00:03.2 RAM memory: nVidia Corporation MCP73 Memory Controller (rev a1)      
00:03.3 Co-processor: nVidia Corporation MCP73 Co-processor (rev a2)         
00:03.4 RAM memory: nVidia Corporation MCP73 Memory Controller (rev a1)      
00:04.0 USB Controller: nVidia Corporation GeForce 7100/nForce 630i (rev a1) 
00:04.1 USB Controller: nVidia Corporation MCP73 [nForce 630i] USB 2.0 Controller (EHCI) (rev a1)                                                                                         
00:08.0 IDE interface: nVidia Corporation MCP73 IDE (rev a1)                                 
00:09.0 Audio device: nVidia Corporation MCP73 High Definition Audio (rev a1)                
00:0a.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)                     
00:0b.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)                     
00:0c.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)                     
00:0d.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)                     
00:0e.0 IDE interface: nVidia Corporation MCP73 IDE (rev a2)                                 
00:0f.0 Ethernet controller: nVidia Corporation MCP73 Ethernet (rev a2)                      
00:10.0 VGA compatible controller: nVidia Corporation GeForce 7050/nForce 610i (rev a2)      
TOOLBOX voximp # lspci|grep audio
TOOLBOX voximp # lspci|grep -i audio
00:09.0 Audio device: nVidia Corporation MCP73 High Definition Audio (rev a1)
TOOLBOX voximp # microphone_config
No mixer devices available!       
Please purchase a sound card and install it!
TOOLBOX voximp # lsmod|grep snd             
snd_seq_oss            25664  0 
snd_seq_midi_event      7808  1 snd_seq_oss
snd_seq                37776  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            32640  0 
snd_mixer_oss          14720  1 snd_pcm_oss
snd_ymfpci             27920  0 
snd_vx222              11280  0 
snd_vx_lib             26240  1 snd_vx222
snd_virtuoso           11012  0 
snd_via82xx_modem      10508  0 
snd_via82xx            19624  0 
snd_trident            28548  0 
snd_sonicvibes         17552  0 
snd_rme9652            21904  0 
snd_rme96              18948  0 
snd_rme32              17552  0 
snd_riptide            18848  0 
snd_pcxhr              30992  0 
snd_oxygen              7684  0 
snd_nm256              64292  0 
snd_mona               22404  0 
snd_mixart             29712  0 
snd_mia                21764  0 
snd_maestro3           17028  0 
snd_layla24            24068  0 
snd_layla20            21636  0 
snd_korg1212           19588  0 
snd_intel8x0m          12944  0 
snd_intel8x0           25896  0 
snd_indigoio           17668  0 
snd_indigodj           17156  0 
snd_indigo             17156  0 
snd_ice1724            79176  0 
snd_ak4114              9600  1 snd_ice1724
snd_pt2258              6528  1 snd_ice1724
snd_ice1712            47124  0 
snd_ice17xx_ak4xxx      5760  2 snd_ice1724,snd_ice1712
snd_ak4xxx_adda         9344  3 snd_ice1724,snd_ice1712,snd_ice17xx_ak4xxx
snd_cs8427              9088  1 snd_ice1712
snd_i2c                 6784  4 snd_ice1724,snd_pt2258,snd_ice1712,snd_cs8427
snd_hifier              6660  0 
snd_oxygen_lib         24448  3 snd_virtuoso,snd_oxygen,snd_hifier
snd_hdspm              29584  0 
snd_hdsp               38660  0 
snd_hda_intel         416676  0 
snd_gina24             22404  0 
snd_gina20             19332  0 
snd_fm801              13840  0 
snd_es1968             22288  0 
snd_es1938             17540  0 
snd_ens1371            18192  0 
snd_ens1370            20112  0 
snd_emu10k1x           14084  0 
snd_emu10k1           116368  0 
snd_util_mem            5760  2 snd_trident,snd_emu10k1
snd_echo3g             24580  0 
snd_darla24            18052  0 
snd_darla20            16516  0 
snd_cs5530              7044  0 
snd_sb16_dsp            9472  1 snd_cs5530
snd_cs46xx             71256  0 
snd_cs4281             15632  0 
snd_cmipci             27920  0 
snd_ca0106             27536  0 
snd_bt87x              11924  0 
snd_azt3328            17668  0 
snd_aw2                10688  0 
snd_au8830             42004  0 
snd_au8820             27024  0 
snd_au8810             36500  0 
snd_atiixp_modem       11020  0 
snd_atiixp             13716  0 
snd_als4000            10768  0 
snd_sb_common          13824  3 snd_cs5530,snd_sb16_dsp,snd_als4000
snd_opl3_lib           10240  9 snd_ymfpci,snd_sonicvibes,snd_riptide,snd_fm801,snd_es1938,snd_cs4281,snd_cmipci,snd_azt3328,snd_als4000
snd_hwdep               8456  5 snd_hdspm,snd_hdsp,snd_hda_intel,snd_emu10k1,snd_opl3_lib
snd_mpu401_uart         8064  16 snd_ymfpci,snd_via82xx,snd_trident,snd_sonicvibes,snd_riptide,snd_ice1712,snd_oxygen_lib,snd_fm801,snd_es1968,snd_es1938,snd_cmipci,snd_azt3328,snd_au8830,snd_au8820,snd_au8810,snd_als4000
snd_rawmidi            17024  15 snd_mia,snd_layla24,snd_layla20,snd_ice1724,snd_hdspm,snd_hdsp,snd_ens1371,snd_ens1370,snd_emu10k1x,snd_emu10k1,snd_echo3g,snd_cs46xx,snd_cs4281,snd_ca0106,snd_mpu401_uart
snd_seq_device          7956  5 snd_seq_oss,snd_seq,snd_emu10k1,snd_opl3_lib,snd_rawmidi
snd_als300              9732  0
snd_ali5451            16272  0
snd_ad1889             11664  0
snd_ac97_codec         92488  27 snd_ymfpci,snd_via82xx_modem,snd_via82xx,snd_trident,snd_riptide,snd_nm256,snd_maestro3,snd_intel8x0m,snd_intel8x0,snd_ice1724,snd_ice1712,snd_fm801,snd_es1968,snd_ens1371,snd_emu10k1x,snd_emu10k1,snd_cs46xx,snd_cs4281,snd_ca0106,snd_au8830,snd_au8820,snd_au8810,snd_atiixp_modem,snd_atiixp,snd_als300,snd_ali5451,snd_ad1889
snd_pcm                54024  63 snd_pcm_oss,snd_ymfpci,snd_vx_lib,snd_via82xx_modem,snd_via82xx,snd_trident,snd_sonicvibes,snd_rme9652,snd_rme96,snd_rme32,snd_riptide,snd_pcxhr,snd_oxygen,snd_nm256,snd_mona,snd_mixart,snd_mia,snd_maestro3,snd_layla24,snd_layla20,snd_korg1212,snd_intel8x0m,snd_intel8x0,snd_indigoio,snd_indigodj,snd_indigo,snd_ice1724,snd_ak4114,snd_ice1712,snd_oxygen_lib,snd_hdspm,snd_hdsp,snd_hda_intel,snd_gina24,snd_gina20,snd_fm801,snd_es1968,snd_es1938,snd_ens1371,snd_ens1370,snd_emu10k1x,snd_emu10k1,snd_echo3g,snd_darla24,snd_darla20,snd_sb16_dsp,snd_cs46xx,snd_cs4281,snd_cmipci,snd_ca0106,snd_bt87x,snd_azt3328,snd_aw2,snd_au8830,snd_au8820,snd_au8810,snd_atiixp_modem,snd_atiixp,snd_als4000,snd_als300,snd_ali5451,snd_ad1889,snd_ac97_codec
snd_timer              17680  6 snd_seq,snd_ymfpci,snd_emu10k1,snd_azt3328,snd_opl3_lib,snd_pcm
snd_page_alloc          9488  35 snd_ymfpci,snd_via82xx_modem,snd_via82xx,snd_trident,snd_rme9652,snd_riptide,snd_pcxhr,snd_mona,snd_mixart,snd_mia,snd_layla24,snd_layla20,snd_korg1212,snd_intel8x0m,snd_intel8x0,snd_indigoio,snd_indigodj,snd_indigo,snd_hdsp,snd_hda_intel,snd_gina24,snd_gina20,snd_es1968,snd_ens1370,snd_emu10k1x,snd_emu10k1,snd_echo3g,snd_darla24,snd_darla20,snd_cs46xx,snd_ca0106,snd_bt87x,snd_atiixp_modem,snd_atiixp,snd_pcm
gameport               10000  17 snd_ymfpci,snd_via82xx,snd_trident,snd_sonicvibes,snd_riptide,snd_es1968,snd_es1938,snd_ens1371,snd_ens1370,snd_cs46xx,snd_cs4281,snd_cmipci,snd_azt3328,snd_au8830,snd_au8820,snd_au8810,snd_als4000
ac97_bus                4992  1 snd_ac97_codec
Comment 1 renato gallo 2009-03-25 15:07:11 UTC
emerge --info
Portage 2.1.6.10 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28.8 x86_64)                                                                                         
=================================================================                            
System uname: Linux-2.6.28.8-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5                                                                                           
Timestamp of tree: Tue, 24 Mar 2009 08:45:02 +0000                                           
app-shells/bash:     4.0_p10-r1                                                              
dev-java/java-config: 1.3.7-r1, 2.1.7                                                        
dev-lang/python:     2.4.4-r13, 2.5.4-r2                                                     
dev-python/pycrypto: 2.0.1-r6                                                                
dev-util/cmake:      2.6.3                                                                   
sys-apps/baselayout: 2.0.0                                                                   
sys-apps/openrc:     0.4.3-r1                                                                
sys-apps/sandbox:    1.6                                                                     
sys-devel/autoconf:  2.13, 2.63                                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                               
sys-devel/binutils:  2.19.1-r1                                                               
sys-devel/gcc-config: 1.4.1                                                                  
sys-devel/libtool:   2.2.6a                                                                  
virtual/os-headers:  2.6.28-r1                                                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                               
CBUILD="x86_64-pc-linux-gnu"                                                                 
CFLAGS="-march=nocona -O2 -pipe"                                                             
CHOST="x86_64-pc-linux-gnu"                                                                  
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"                                                              
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                   
CXXFLAGS="-march=nocona -O2 -pipe"                                                           
DISTDIR="/usr/portage/distfiles"                                                             
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                            
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                                                     
LANG="it_IT.UTF-8"                                                                           
LDFLAGS="-Wl,-O1"                                                                            
LINGUAS="it en"                                                                              
MAKEOPTS="-j5"                                                                               
PKGDIR="/usr/portage/packages"                                                               
PORTAGE_CONFIGROOT="/"                                                                       
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                         
PORTAGE_TMPDIR="/var/tmp"                                                                    
PORTDIR="/usr/portage"                                                                       
PORTDIR_OVERLAY="/usr/local/portage/layman/wschlich-testing /usr/local/portage/layman/sunrise /usr/local/portage/layman/mozilla /usr/local/portage/layman/kde-testing"                    
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                        
USE="2dnow 3dnowext 7zip X Xaw3d a52 aac aalib accessibility acl acpi ada addbookmarks akode akonadi alias alsa amd64 amr amrb apache2 applet aqua_theme archive ares arts artswrappersuid artworkextra athena autoipd automount autoreplace avahi bash-completion beagle belagle berkdb bidi bittorrent bl bluetooth bookmarks branding bzip2 cairo caps captury carbone_theme cdda cddb cdio cdparanoia cdr chm cisco clamavfontconfig cli compiz connectionstatus consolekit contactnotes cpudetection cracklib crypt cscope ctype cups cupsddk curl dbus debug designer-plugin device-mapper dga digitalradio directfb disk-partition diskio djvu dmx dnd doc dri dts dv dvb dvd dvdr dvi editor eds elf emacs emacx enca encode eolconv epiphany esd exif expat extensible fam fasttrack fax fbcon fbcondecor festival ffmpeg filepicker filter firefox flac fltk fontforge foomaticdb fortran freetts freewnn ftp fuse gadu galago gd gdbm gedit ggi gif gimp glib glitz gnokii gnome gnome-keyring gnomecd gnutella gnutls google-gadgets gpg gphoto2 gpm gps graphwiz groupwise gsf gsm gstreamer gtk gtkhtml guile gz gzip-el hal hdri hesiod hfs highlight history hotplug howl-compat httpd hybrid-auth iceweasel iconv idn ieee1394 imagemagick imlib innodb inotify inquisitio iproute2 ipv6 irc irda irmc isdnlog jack jadetex jai java java5 javamail javascript jbig jce jingle jmf jms jmx joystick jpeg jpeg2k kde kde4 kdrive kerberos kipi ladspa lame lapack laptop latex lcms ldap legacyssl libcaca libffi libnotify libsamplerate libssh2 lilo lirc live lm_sensors logitech-mouse lua lzma lzo mad mbrola md5sum mdnsresponder-compat mfd-rewrites midi mmap mmx mng mono motif mozdevelop mp2 mp3 mpeg mudflap mule multilib musepack mysql mysqli mythtv nas nat nautilus ncurses neXt nemesi netmeeting network networking networkmanager new-login nls nntp nowlistening npp nptl nptlonly nsplugin nss odbc odk offensive ogg old-daemons openal openexr openft opengl openmp openntpd opensslcrypt openstreetmap oracle pam parse-clocks passwordsave pch pcre pda pdf perl phonon php pink pkcs11 plasma plugins png pnm pop portage povray ppds pppd pulseaudio python python-bindings q32 q8 qa qt3 qt3support qt4 quicktime radio rar raster rdesktop readline redland reflection remote resolvconf rpm rrdcgi rss rtc ruby ruby-bindings samba sametime sasl savedconfig scannerschedule script scripting sdl seamonkey semantic-desktop sendmail sesame2 session slang slp smartcard smp sms smux snmp sockets socks5 solver sound speechd speex spell spl sql srt sse sse2 ssl ssse3 startup-notification statistics stemmer suid svg swat swig sysfs syslog t1lib tcl tcltk tcpd teletext test test-programs tetex texteffect tga theora thumbnail tidy tiff tk toolkit-scroll-bars tools tracker translator truetype tseng tunepimp unicode usb utils v4l v4l2 vcd vim-pager vim-syntax vim-with-x visibility vnc vorbis wavpack wddx webinterface webkitwebpresence wifi winpopup wireless wlm wmf x264 xanim xattr xcb xcomposite xemacs xext xfacexforms xft xim xine xinerama xinetd xml xml2 xorg xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib zoran zsh-completion zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" DVB_CARDS="tda1004x" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse acecad aiptek digitaledge elographics fpit hyperpen jamstudio joystick magellan mutouch palmax spaceorb summa synaptics tek4957 ur98 vmmouse void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 renato gallo 2009-03-25 15:19:17 UTC
the failing checking code is in the source mixer.c



MixerDevices *scanMixerDevices()
{
  int i,j;            /***** counter variables */
  int mask_mixer, fd; /***** mixer device related variables */
  glob_t result;      /***** result of the glob() call */

  MixerDevices *devices; /***** temporary variable */

  /***** get a list of device names that fit the pattern /dev/mixer*  */

  if (glob("/dev/mixer*", 0, NULL, &result) != 0)
    return NULL;
  if (result.gl_pathc < 1)
    return NULL;

  /*****
   * allocate memory for the structure that will contain
   * the information about the list of available mixer devices
   *****/
  devices       = malloc(sizeof(MixerDevices));
  devices->name = malloc((sizeof (char *))*result.gl_pathc);

  /***** check each mixer device whether it is working properly */

  for (i = 0, j = 0; i < result.gl_pathc; i++)
  {
    /***** scan abilities of current mixer device */

    if ((fd = open(result.gl_pathv[i], O_RDWR, 0)) != -1       &&
	ioctl(fd, SOUND_MIXER_READ_DEVMASK, &mask_mixer) != -1 &&
	(mask_mixer & SOUND_MASK_MIC)   &&
	/* (mask_mixer & SOUND_MASK_IGAIN) && */
	ioctl(fd, SOUND_MIXER_READ_RECMASK, &mask_mixer) != -1 &&
	(mask_mixer & SOUND_MASK_MIC))
    {
      /***** if mixer device looks ok add it to the list */

      devices->name[j] = malloc(strlen(result.gl_pathv[i])-5+1);
      strcpy(devices->name[j], result.gl_pathv[i]+5);
      j++;
    }

    close(fd);
  }

  devices->count = j; /***** number of ok looking mixer devices */

  return devices; /***** return the information */
}
Comment 3 renato gallo 2009-03-25 15:20:24 UTC
ls /dev/snd
controlC0  hwC0D0  pcmC0D0c  pcmC0D0p  pcmC0D1p  seq  timer
Comment 4 renato gallo 2009-03-25 15:25:08 UTC
to see the mixer devices I have to restart in this order udev and hal