Posts: 630
Eino
Joined: 12 Oct 2012
#61
Download,and run this script, the script has some automatic fixes, also it sends a bug report to the ALSA teem.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.alsa-project.org/alsa-info.sh"
linktext was:"http://www.alsa-project.org/alsa-info.sh"
====================================

You will see this opon opening it.
This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

dmesg
lspci
lsmod
aplay
amixer
alsactl
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)
See ~/Downloads/alsa_utils_alsa-info.sh --help' for command line options.

Automatically upload ALSA information to
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.alsa-project.org"
linktext was:"http://www.alsa-project.org"
====================================
? [y/N] :
If you answer"N" for no, the script will simply close, and not give any useful information.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#62
I'll grab that script when I have time (probably Friday after work; today is one of my late days, almost a matter of coming home, eating, and falling into bed).

FWIW, with the newly repaired battery having crapped out again and the ongoing problems with the CD-ROM drive and USB ports (the latter of which are most likely beyond my ability to repair), I'm seriously considering abandoning the laptop; there's a limit to how much time and money it's worth putting into such an old machine when I can buy a used or refurbished machine several generations newer for under $200 (the cheapest netbook out there will outperform this laptop by a huge factor, and with better battery life).
Posts: 630
Eino
Joined: 12 Oct 2012
#63
Silent Observer wrote:I'll grab that script when I have time (probably Friday after work; today is one of my late days, almost a matter of coming home, eating, and falling into bed).

FWIW, with the newly repaired battery having crapped out again and the ongoing problems with the CD-ROM drive and USB ports (the latter of which are most likely beyond my ability to repair), I'm seriously considering abandoning the laptop; there's a limit to how much time and money it's worth putting into such an old machine when I can buy a used or refurbished machine several generations newer for under $200 (the cheapest netbook out there will outperform this laptop by a huge factor, and with better battery life).
Between the battery issue, and the CD-ROM, It sounds like it could be an issue with something, causing internal power issues.

Here is one less than $200.00.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.newegg.com/Product/Product.aspx?Item=N82E16834300296"
linktext was:"http://www.newegg.com/Product/Product.a ... 6834300296"
====================================
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#64
Eino wrote:Here is one less than $200.00.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.newegg.com/Product/Product.aspx?Item=N82E16834300296"
linktext was:"http://www.newegg.com/Product/Product.a ... 6834300296"
====================================
Wow, if I had $200 right now, that'd be almost like having a real computer I could carry around! It'll be a few months before I can drop even $200 for a laptop; I've got medical bills (the"patient responsibility" portion of the $106,000 my hospital stay and surgery cost) that are eating up the little"extra" money I have each month. I'll have time to open up the battery again this weekend and see if it's another shorted/vented cell or something else; if it's a cell issue again, I might order a replacement and attempt to upgrade the insulation that's apparently failing to keep the positive tabs off the negative cell cases, and if that works, try to get the CD drive out (replacing it would be pretty cheap, and if that were working I could just about live without the USB -- I've seen PCMCIA sound hardware, and those ports seem fine).
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#65
Okay, Eino, I finally found time to download that script; it gave no indication (that I could interpret) of a problem, but I copied the text of the locally saved output (BTW, my battery showed no sign of a cell failure, it must have been a problem with the power reporting that made it show as discharged after a full charge):

Code: Select all

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.63
!!################################

!!Script ran on: Sun Apr 13 13:33:11 UTC 2014
!!Linux Distribution
!!------------------

Welcome to antiX. Powered by Debian. PRETTY_NAME="Debian GNU/Linux jessie/sid" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"
!!DMI Information
!!---------------

Manufacturer:      Gateway
Product Name:      Solo2500
Product Version:   Rev 1                   
Firmware Version:  10.09
!!Kernel Information
!!------------------

Kernel release:    3.12.3-antix.2-486-smp
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       Yes
!!ALSA Version
!!------------

Driver version:     k3.12.3-antix.2-486-smp
Library version:    1.0.27.2
Utilities version:  1.0.27.2
!!Loaded ALSA modules
!!-------------------

snd_usb_audio
!!Sound Servers on this system
!!----------------------------

No sound servers found.
!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Device         ]: USB-Audio - USB PnP Sound Device
                      C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:07.2-2, full speed
!!PCI Soundcards installed in the system
!!--------------------------------------
!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------
!!Modprobe options (Sound related)
!!--------------------------------

snd_pcsp: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
!!Loaded sound module options
!!---------------------------

!!Module: snd_usb_audio
    autoclock : Y
    device_setup : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
    id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
    ignore_ctl_error : N
    index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    nrpacks : 8
    pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
!!USB Mixer information
!!---------------------
--startcollapse--

USB Mixer: usb_id=0x0d8c013c, ctrlif=0, ctlerr=0
Card: C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:07.2-2, full speed
  Unit: 9
    Control: name="Speaker Playback Volume", index=0
    Info: id=9, control=2, cmask=0x3, channels=2, type="S16"
    Volume: min=-7264, max=-16, dBmin=-2837, dBmax=-6
  Unit: 9
    Control: name="Speaker Playback Switch", index=0
    Info: id=9, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="Auto Gain Control", index=0
    Info: id=10, control=7, cmask=0x0, channels=1, type="BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="Mic Capture Volume", index=0
    Info: id=10, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=0, max=6096, dBmin=0, dBmax=2381
  Unit: 10
    Control: name="Mic Capture Switch", index=0
    Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 13
    Control: name="Mic Playback Volume", index=0
    Info: id=13, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=0, max=6096, dBmin=0, dBmax=2381
  Unit: 13
    Control: name="Mic Playback Switch", index=0
    Info: id=13, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--
!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  4 Apr 13 07:50 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  3 Apr 13 07:50 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  2 Apr 13 07:50 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  1 Apr 13 07:50 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Apr 13 07:50 /dev/snd/timer

/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root  60 Apr 13 07:50 .
drwxr-xr-x 4 root root 180 Apr 13 07:50 ..
lrwxrwxrwx 1 root root  12 Apr 13 07:50 usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00 -> ../controlC0

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Apr 13 07:50 .
drwxr-xr-x 4 root root 180 Apr 13 07:50 ..
lrwxrwxrwx 1 root root  12 Apr 13 07:50 pci-0000:00:07.2-usb-0:2:1.0 -> ../controlC0
!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Device]

Card hw:0 'Device'/'C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:07.2-2, full speed'
  Mixer name    : 'USB Mixer'
  Components    : 'USB0d8c:013c'
  Controls      : 8
  Simple ctrls  : 3
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 151
  Mono:
  Front Left: Playback 124 [82%] [-5.13dB] [on]
  Front Right: Playback 124 [82%] [-5.13dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 127 Capture 0 - 16
  Mono: Playback 0 [0%] [0.00dB] [off] Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Auto Gain Control',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
!!Alsactl output
!!--------------

--startcollapse--
state.Device {
    control.1 {
        iface PCM
        name 'Playback Channel Map'
        value.0 0
        value.1 0
        comment {
            access read
            type INTEGER
            count 2
            range '0 - 36'
        }
    }
    control.2 {
        iface MIXER
        name 'Mic Playback Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.3 {
        iface MIXER
        name 'Mic Playback Volume'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 127'
            dbmin 0
            dbmax 2381
            dbvalue.0 0
        }
    }
    control.4 {
        iface MIXER
        name 'Speaker Playback Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.5 {
        iface MIXER
        name 'Speaker Playback Volume'
        value.0 124
        value.1 124
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 151'
            dbmin -2837
            dbmax -6
            dbvalue.0 -513
            dbvalue.1 -513
        }
    }
    control.6 {
        iface MIXER
        name 'Mic Capture Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.7 {
        iface MIXER
        name 'Mic Capture Volume'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 16'
            dbmin 0
            dbmax 2381
            dbvalue.0 0
        }
    }
    control.8 {
        iface MIXER
        name 'Auto Gain Control'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
}
--endcollapse--
!!All Loaded Modules
!!------------------

Module
af_packet
processor
cpufreq_stats
cpufreq_powersave
cpufreq_conservative
uinput
parport_pc
ppdev
lp
parport
dm_crypt
arc4
ath9k
ath9k_common
ath9k_hw
ath
mac80211
cfg80211
rfkill
snd_usb_audio
snd_usbmidi_lib
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_page_alloc
snd_seq_dummy
snd_seq_midi
snd_seq_oss
snd_seq_midi_event
snd_rawmidi
snd_seq
snd_seq_device
snd_timer
snd
soundcore
pcmcia
pcspkr
evdev
psmouse
serio_raw
yenta_socket
pcmcia_rsrc
pcmcia_core
i2c_piix4
btrfs
xor
raid6_pq
libcrc32c
dm_mod
!!ALSA/HDA dmesg
!!--------------

[   14.464159] pci 0000:05:00.0: BAR 0: assigned [mem 0x28000000-0x2800ffff]
[   16.342263] usbcore: registered new interface driver snd-usb-audio
[   17.430712] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0c0000-0x0fffff:
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#66
Well, this is potentially interesting, and possibly contains some new informationon the sound issue: I tried running speaker-test independent of Control Centre, with the following result:

Code: Select all

speaker-test -t sine -f 440

speaker-test 1.0.27.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
^CWrite error: -19,No such device
xrun_recovery failed: -19,No such device
Transfer failed: No such device
This followed a fresh restart in which alsa loaded without errors and volumeicon started up (as far as I could tell) properly; the internal LED in the USB sound device went out concurrent with the appearance of"Front Left" and volumeicon jumping to maximum available CPU, but had been on, as normal, previously. I was prompted to check this by trying to run xmms and noting that when I started to play an mp3 file, the sound device LED blinked for a second or so as it normally would when receiving sound data before going out and CPU jumping to 100%.

The alsa_utils_alsa-info.sh script added the following in the dmesg section after the above:

Code: Select all

--
[  305.010819] usb 1-2: Manufacturer: C-Media Electronics Inc.      
[  305.020645] ALSA sound/usb/clock.c:300 3:1:1: cannot set freq 48000 to ep 0x1
[  305.023642] ALSA sound/usb/clock.c:300 3:2:1: cannot set freq 48000 to ep 0x82
[  305.108738] usbhid 1-2:1.3: can't add hid device: -71
This seems to point to a specific subprogram that's failing...

Edit: I found
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://bugzilla.redhat.com/show_bug.cgi?id=991234"
linktext was:"this bug report"
====================================
suggesting this USB sound device problem is a long-lived kernel bug (Fedora 13 or older through 19) but was apparently fixed on Fedora when they rebased to kernel 3.11.1 -- I've had this bug on my laptop on kernels 3.10.7 (original to antiX 13.2), 3.11.5, 3.12.1 and 3.12.3, suggesting if it's a kernel bug, it's still present in newer versions than 3.11.1.
Posts: 630
Eino
Joined: 12 Oct 2012
#67
C-Media Electronics Inc. USB is supported by ALSA, but the driver module is not loading correctly.
It's shows in the report, and speaker test.

I need to see the sound core module. run this as root, and post the findings.

Code: Select all

modinfo soundcore
Also post what you have in etc/​modules.conf
add the following if it is not there.

Code: Select all

# ALSA portion
       alias char-major-116 snd
       alias snd-card-0 snd-usb-audio
# OSS/Free portion
       alias char-major-14 soundcore
       alias sound-slot-0 snd-card-0
Reboot, then run the speaker test again.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#68
Eino wrote:I need to see the sound core module. run this as root, and post the findings.

Code: Select all

modinfo soundcore

Code: Select all

modinfo soundcore
filename:       /lib/modules/3.12.3-antix.2-486-smp/kernel/sound/soundcore.ko
alias:          char-major-14-*
license:        GPL
author:         Alan Cox
description:    Core sound module
srcversion:     BA10B686BFB621A9029D067
depends:        
intree:         Y
vermagic:       3.12.3-antix.2-486-smp SMP mod_unload modversions 486 
parm:           preclaim_oss:int
Also post what you have in etc/​modules.conf
add the following if it is not there.

Code: Select all

# ALSA portion
       alias char-major-116 snd
       alias snd-card-0 snd-usb-audio
# OSS/Free portion
       alias char-major-14 soundcore
       alias sound-slot-0 snd-card-0
Reboot, then run the speaker test again.
I don't have a file named modules.conf in etc -- there is one called just modules (empty aside from comments saying it should contain a list of modules to load at boot), is that the one I should modify? Or should I create a modules.conf?
Posts: 630
Eino
Joined: 12 Oct 2012
#69
Silent Observer wrote: I don't have a file named modules.conf in etc -- there is one called just modules (empty aside from comments saying it should contain a list of modules to load at boot), is that the one I should modify? Or should I create a modules.conf?
The correct sound core is loading. So that part is OK.

I'm bad, it's in"etc/modules-load.d", that's where you will find modules.conf
If modules.conf is empty add the lines from the earlier post then reboot.
Posts: 667
jdmeaux1952
Joined: 01 Nov 2013
#70
I'm keeping up with this one because it has peaked my interest. Don't remember a lot about this particular problem beforehand, but I like the way Eino thinks. One step at a time.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#71
Eino wrote:I'm bad, it's in"etc/modules-load.d", that's where you will find modules.conf
If modules.conf is empty add the lines from the earlier post then reboot.
Well, in fact, etc/modules-load.d/modules.conf is a link to etc/modules. It was empty except for initial comments; I've added those lines you gave, and I'm about to restart. Back in a flash.

Edit: Haven't tried a sound test yet, but this start I had a bunch of lines including"modprobe FATAL: module alias not found", which I think doesn't bode well. And, a minute later, I was right (sometimes it sucks to be right).

Code: Select all

speaker-test -t sine -f 440

speaker-test 1.0.27.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
Write error: -19,No such device
xrun_recovery failed: -19,No such device
Transfer failed: No such device
I note the speakertest didn't hang and require a ^C to break this time, but it failed anyway.
Posts: 630
Eino
Joined: 12 Oct 2012
#72
Remove or comment out the lines added to etc/modules-load.d/modules.conf
It's time to take a fresh look at things.
Run and post the following.

Code: Select all

cat /proc/asound/version

Code: Select all

cat /proc/asound/cards

Code: Select all

cat /proc/asound/modules

Code: Select all

find /lib/modules/`uname -r` | grep snd

Code: Select all

lsusb -v | grep -A7 -i"audio"

Code: Select all

 cat /proc/asound/card*/codec* | grep Codec
As root
check is to see if you have etc/init.d/alsa-utils If not found install it by doing

Code: Select all

apt-get update && apt-get install alsa-utils
Also check to see if there is more than one alsactl executable in your path and remove the oldest one.

Code: Select all

which alsactl
This will return everything, with a lot of information. I'm not going to stop till I solve this one.

One of the things I'm looking for. If you have a 2.0.x series kernel (the command ``uname -a'' tells you something like ``Linux 2.0.35 #6 Wed Sep 23 10:19:16 CEST 1998 i686 unknown'') then you need to leave out sound drivers in the kernel. ALSA 0.4.x and later do not work with the 2.0 series kernel.
The sound drivers need to match the kernel.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#73
Okay, I've commented the lines added to etc/modules (which is the original to which the modules.conf points). I've got alsutils, and which alsactl as root returned only a single filepath. I'm currently using antiX-specific kernel 3.12.3, though I also have 3.10.7 (the original for antiX 13.2), 3.11.5, and 3.12.1 installed and available on reboot. Here's the dump from those comands you gave:

Code: Select all

dqualls@Little-Luddite:~
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k3.12.3-antix.2-486-smp.
dqualls@Little-Luddite:~
$ cat /proc/asound/cards
 0 [Device         ]: USB-Audio - USB PnP Sound Device
                      C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:07.2-2, full speed
dqualls@Little-Luddite:~
$ cat /proc/asound/modules
 0 snd_usb_audio
dqualls@Little-Luddite:~
$ find /lib/modules/`uname -r` | grep snd
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/firewire/snd-isight.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/firewire/snd-firewire-speakers.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/firewire/snd-firewire-lib.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/firewire/snd-scs1x.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/snd-page-alloc.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/snd-hwdep.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/snd-pcm.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/snd.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/snd-hrtimer.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/snd-timer.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/seq/snd-seq-midi-emul.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/seq/snd-seq-virmidi.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/seq/snd-seq-dummy.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/seq/snd-seq.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/seq/oss/snd-seq-oss.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/seq/snd-seq-midi.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/snd-rawmidi.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pcmcia/vx/snd-vxpocket.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-layla24.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-indigodjx.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-gina24.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-echo3g.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-mia.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-darla24.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-layla20.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-indigodj.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-mona.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-darla20.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-indigo.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-gina20.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-indigoio.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/echoaudio/snd-indigoiox.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/riptide/snd-riptide.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-es1938.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-ca0110.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-ca0132.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-idt.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-analog.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-hdmi.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-cirrus.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-si3054.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-conexant.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-cmedia.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-realtek.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/hda/snd-hda-codec-via.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-via82xx.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-sis7019.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-via82xx-modem.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-fm801.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-atiixp-modem.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/cs46xx/snd-cs46xx.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/lola/snd-lola.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-azt3328.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-ens1370.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-bt87x.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/oxygen/snd-oxygen-lib.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/oxygen/snd-virtuoso.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/oxygen/snd-oxygen.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/ali5451/snd-ali5451.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/cs5535audio/snd-cs5535audio.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/asihpi/snd-asihpi.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/ice1712/snd-ice17xx-ak4xxx.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/ice1712/snd-ice1724.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/ice1712/snd-ice1712.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-als4000.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-intel8x0m.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-ens1371.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-sonicvibes.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-rme96.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-cmipci.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-rme32.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-als300.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/korg1212/snd-korg1212.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-cs4281.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-ad1889.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-es1968.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-maestro3.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/rme9652/snd-rme9652.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/rme9652/snd-hdsp.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/rme9652/snd-hdspm.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-cs5530.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/snd-atiixp.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/ca0106/snd-ca0106.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/trident/snd-trident.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/lx6464es/snd-lx6464es.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/pcxhr/snd-pcxhr.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/emu10k1/snd-emu10k1.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/emu10k1/snd-emu10k1x.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/emu10k1/snd-emu10k1-synth.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/nm256/snd-nm256.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/mixart/snd-mixart.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/vx222/snd-vx222.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/ymfpci/snd-ymfpci.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/au88x0/snd-au8820.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/au88x0/snd-au8810.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/au88x0/snd-au8830.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/ctxfi/snd-ctxfi.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/i2c/snd-i2c.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/i2c/other/snd-ak4114.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/i2c/other/snd-pt2258.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/i2c/other/snd-ak4117.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/i2c/other/snd-ak4xxx-adda.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/i2c/other/snd-ak4113.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/i2c/snd-cs8427.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/snd-dummy.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/mpu401/snd-mpu401.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/snd-virmidi.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/snd-mts64.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/snd-serial-u16550.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/snd-portman2x4.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/snd-mtpav.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/snd-aloop.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/opl3/snd-opl3-synth.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/opl3/snd-opl3-lib.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/drivers/vx/snd-vx-lib.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/usb/usx2y/snd-usb-usx2y.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/usb/usx2y/snd-usb-us122l.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/usb/misc/snd-ua101.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/usb/6fire/snd-usb-6fire.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/usb/snd-usbmidi-lib.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/usb/caiaq/snd-usb-caiaq.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/usb/hiface/snd-usb-hiface.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/synth/snd-util-mem.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/synth/emux/snd-emux-synth.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/isa/sb/snd-sb-common.ko
/lib/modules/3.12.3-antix.2-486-smp/kernel/sound/isa/sb/snd-sb16-dsp.ko
dqualls@Little-Luddite:~
$ lsusb -v | grep -A7 -i"audio"
Couldn't open device, some information will be missing
Bus 001 Device 002: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
--
  idProduct          0x013c CM108 Audio Controller
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
--
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength          100
        bInCollection           2
        baInterfaceNr( 0)       1
--
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
Couldn't open device, some information will be missing
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
--
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
--
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               9
--
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             7
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               8
--
      AudioControl Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      5 (SELECTOR_UNIT)
        bUnitID                 8
        bNrInPins               1
        baSource( 0)           10
        iSelector               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 9
        bSourceID              15
        bControlSize            1
        bmaControls( 0)      0x01
--
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                10
        bSourceID               2
        bControlSize            1
        bmaControls( 0)      0x43
--
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                13
        bSourceID               2
        bControlSize            1
        bmaControls( 0)      0x03
--
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      4 (MIXER_UNIT)
        bUnitID                15
        bNrInPins               2
        baSourceID( 0)          1
        baSourceID( 1)         13
--
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
--
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
--
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         1 Milliseconds
          wLockDelay              1 Milliseconds
--
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
--
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           7
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
--
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
dqualls@Little-Luddite:~
$ cat /proc/asound/card*/codec* | grep Codec
cat: /proc/asound/card*/codec*: No such file or directory
dqualls@Little-Luddite:~
Posts: 630
Eino
Joined: 12 Oct 2012
#74
dqualls@Little-Luddite:~
$ cat /proc/asound/card*/codec* | grep Codec
cat: /proc/asound/card*/codec*: No such file or directory
This should show something, or at the least the directory.
like this.

Code: Select all

.$ cat /proc/asound/card*/codec* | grep Codec
cat: /proc/asound/card0/codec97#0: Is a directory
I still need to compare the module library with another one with the same kernel.
Hopefully you have everything, otherwise you will need to re-install ALSA.
Posts: 630
Eino
Joined: 12 Oct 2012
#75
as root try the following, with the usb sound plugged in.
I want to go with this other than a complete re-install.
I'll give you step by step instruction on a complete re-install if this don't work.

Code: Select all

dpkg --purge alsa-base

then

Code: Select all

apt-get install alsa-base 
then

Code: Select all

 alsa force-reload