Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0001093]: snd-usb-audio device link is wrong
Date: Tue, 9 Aug 2005 13:44:51 +0200	[thread overview]
Message-ID: <7b79f1bebfea41cf76e0999b17ef7d5e@bugtrack.alsa-project.org> (raw)


The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1093> 
======================================================================
Reported By:                davidz
Assigned To:                Clemens Ladisch
======================================================================
Project:                    ALSA - driver
Issue ID:                   1093
Category:                   USB - usb-audio
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Distribution:               Fedora
Kernel Version:             2.6.12-rc3
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             05-06-2005 23:43 CEST
Last Modified:              08-09-2005 13:44 CEST
======================================================================
Summary:                    snd-usb-audio device link is wrong
Description: 

When using my USB Plantronics headset (which works fine), there is a minor
cosmetic bug

        [davidz <at> daxter hal]$ ls -l /sys/class/sound/pcmC2D0c/
        total 0
        -r--r--r--  1 root root 4096 Apr 29 16:57 dev
        lrwxrwxrwx  1 root root    0 Apr 29 16:57 device ->
../../../devices/pci0000:00/0000:00:1d.1/usb3/3-2
        [davidz <at> daxter hal]$ ls -l /sys/class/sound/pcmC2D0c/device/
        total 0
        drwxr-xr-x  3 root root    0 Apr 29 16:57 3-2:1.0
        drwxr-xr-x  3 root root    0 Apr 29 16:57 3-2:1.1
        drwxr-xr-x  3 root root    0 Apr 29 16:57 3-2:1.2
        drwxr-xr-x  3 root root    0 Apr 29 16:57 3-2:1.3

However,

        [davidz <at> daxter hal]$ tree
/sys/bus/usb/drivers/snd-usb-audio/
        /sys/bus/usb/drivers/snd-usb-audio/
        |-- 3-2:1.0 ->
../../../../devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0
        |-- 3-2:1.1 ->
../../../../devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.1
        |-- 3-2:1.2 ->
../../../../devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.2
        `-- module -> ../../../../module/snd_usb_audio

Thus, the 'device' symlink in /sys/class/sound/pcmC2D0c/ appears to be
wrong - it needs to point at the USB interface - not the USB device. This
is with ALSA in 2.6.12-rc3. Should be a one line fix. See also

 http://article.gmane.org/gmane.linux.hotplug.devel/7714
 http://article.gmane.org/gmane.linux.hotplug.devel/7717

Thanks,
David
======================================================================

----------------------------------------------------------------------
 Clemens Ladisch - 05-10-05 16:07 
----------------------------------------------------------------------
Now fixed in CVS.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-06-05 23:43 davidz         New Issue                                    
05-06-05 23:43 davidz         Distribution              => Fedora          
05-06-05 23:43 davidz         Kernel Version            => 2.6.12-rc3      
05-10-05 16:07 Clemens LadischStatus                   assigned => resolved
05-10-05 16:07 Clemens LadischResolution               open => fixed       
05-10-05 16:07 Clemens LadischNote Added: 0004634                          
08-09-05 13:44 perex          Status                   resolved => closed  
======================================================================




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

             reply	other threads:[~2005-08-09 11:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-09 11:44 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-10 14:07 [ALSA - driver 0001093]: snd-usb-audio device link is wrong bugtrack
2005-05-06 21: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=7b79f1bebfea41cf76e0999b17ef7d5e@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox