All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0002321]: no audio and very few mixer options with C-Media 106 based USB sound card
Date: Thu, 3 Aug 2006 20:37:03 +0200	[thread overview]
Message-ID: <32b1ef27300a239c425ff0440c5892da@bugtrack.alsa-project.org> (raw)


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2321> 
======================================================================
Reported By:                doobedoobedo
Assigned To:                Clemens Ladisch
======================================================================
Project:                    ALSA - driver
Issue ID:                   2321
Category:                   USB - usb-audio
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Gentoo
Kernel Version:             2.6.14/5
======================================================================
Date Submitted:             08-01-2006 16:43 CEST
Last Modified:              08-03-2006 20:37 CEST
======================================================================
Summary:                    no audio and very few mixer options with C-Media 106
based USB sound card
Description: 
no audio output with the snd-usb-audio module

amixer output:
Simple mixer control 'PCM',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4095
  Front Left: Capture 2048 [50%] [on]
  Front Right: Capture 2048 [50%] [on]
Simple mixer control 'PCM Capture Source',0
  Capabilities: enum
  Items: 'Mic' 'Input 1' 'Input 2' 'Mixer'
  Item0: 'Mic'
Simple mixer control 'PCM',1
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4095
  Front Left: Capture 2048 [50%]
  Front Right: Capture 2048 [50%]
Simple mixer control 'Mic',0
  Capabilities: pvolume cvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 8191 Capture 0 - 4095
  Front Left: Playback 2048 [25%] [off] Capture 2048 [50%]
  Front Right: Playback 2048 [25%] [off] Capture 2048 [50%]
Simple mixer control 'Auto Gain Control',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 8191
  Mono:
  Front Left: Playback 2048 [25%] [on]
  Front Right: Playback 2048 [25%] [on]
Simple mixer control 'Speaker',1
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 37
  Mono: Playback 15 [41%] [on]

speaker 0 and mic will only decrease in volume in alsamixer, although no
sound is played trough the speakers at all.
======================================================================

----------------------------------------------------------------------
 doobedoobedo - 08-03-06 20:32 
----------------------------------------------------------------------
Thanks for the suggestion 

$ cat .asoundrc
pcm.swapchannels {
    type route
    slave.pcm hw:1,0
    #slave.channels 6
    ttable.0.0 1
    ttable.1.1 1
    ttable.2.2 1
    ttable.3.3 1
    ttable.4.4 1
    ttable.5.5 1
}

$ aplay -D swapchannels sound/Surround-SDL-testfiles/chan-id.wav
ALSA lib conf.c:1587:(snd_config_load1) _toplevel_:49:0:Unexpected char
ALSA lib conf.c:2827:(snd_config_hook_load) /home/ron/.asoundrc may be old
or corrupted: consider to remove or fix it
ALSA lib conf.c:2691:(snd_config_hooks_call) function snd_config_hook_load
returned error: Invalid argument
ALSA lib conf.c:3054:(snd_config_update_r) hooks failed, removing
configuration
aplay: main:547: audio open error: Invalid argument

Then if I remove .asoundrc

$ aplay -c6 -D hw:1,0 sound/Surround-SDL-testfiles/chan-id.wav
Playing WAVE 'sound/Surround-SDL-testfiles/chan-id.wav' : Signed 16 bit
Little Endian, Rate 44100 Hz, Channels 6
aplay: set_params:906: Channels count non available

However the following works (albeit with swapped channels)

$ aplay -D plughw:1,0 sound/Surround-SDL-testfiles/chan-id.wav
Playing WAVE 'sound/Surround-SDL-testfiles/chan-id.wav' : Signed 16 bit
Little Endian, Rate 44100 Hz, Channels 6

----------------------------------------------------------------------
 rlrevell - 08-03-06 20:37 
----------------------------------------------------------------------
Try putting "hw:1,0" in quotes

Issue History
Date Modified  Username       Field                    Change              
======================================================================
08-01-06 16:43 doobedoobedo   New Issue                                    
08-01-06 16:43 doobedoobedo   Distribution              => Gentoo          
08-01-06 16:43 doobedoobedo   Kernel Version            => 2.6.14/5        
08-01-06 16:51 doobedoobedo   Issue Monitored: doobedoobedo                    
08-01-06 16:54 doobedoobedo   Note Added: 0011376                          
08-03-06 03:40 doobedoobedo   Note Added: 0011393                          
08-03-06 17:34 doobedoobedo   Note Added: 0011404                          
08-03-06 19:15 rlrevell       Note Added: 0011407                          
08-03-06 20:32 doobedoobedo   Note Added: 0011408                          
08-03-06 20:37 rlrevell       Note Added: 0011409                          
======================================================================



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

             reply	other threads:[~2006-08-03 18:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-03 18:37 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-05 15:16 [ALSA - driver 0002321]: no audio and very few mixer options with C-Media 106 based USB sound card bugtrack
2006-08-04  0:06 bugtrack
2006-08-03 23:54 bugtrack
2006-08-03 23:31 bugtrack
2006-08-03 23:21 bugtrack
2006-08-03 22:58 bugtrack
2006-08-03 21:13 bugtrack
2006-08-03 21:02 bugtrack
2006-08-03 18:32 bugtrack
2006-08-03 17:15 bugtrack
2006-08-03 15:34 bugtrack
2006-08-03  1:40 bugtrack
2006-08-01 14:54 bugtrack
2006-08-01 14:43 bugtrack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32b1ef27300a239c425ff0440c5892da@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.