LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how do i force alsa to reconfigure to new hardware after moving drive to new machine? (https://www.linuxquestions.org/questions/slackware-14/how-do-i-force-alsa-to-reconfigure-to-new-hardware-after-moving-drive-to-new-machine-4175486630/)

unclejed613 12-02-2013 09:44 PM

how do i force alsa to reconfigure to new hardware after moving drive to new machine?
 
a few months back i moved my drive to a new machine. it's slack 13.37. the old machine was a "generic" sempron machine, the "new" one is an HP with a pentium D.

i can no longer capture PCM to various ham radio programs, even though info from alsamixer says PCM is the capture source.

ReaperX7 12-02-2013 10:14 PM

ALSA should have auto-reconfigured. However, you may wish to Google search for AlienBOB's website and then check out the alsaconf script he has there to possibly help.

allend 12-02-2013 10:54 PM

I would try, as root, deleting /var/lib/alsa/asound.state and then running 'alsactl store'. It might be best to reboot after doing this.

unclejed613 12-02-2013 11:06 PM

sorry... didn't work.... i'd hate to have to resort to running cables between the headphone output and the line input, but i guess that's what i have to do to get this to work
it seems that the capture input even though it's reported as this:
Code:

00-00: ALC888 Analog : ALC888 Analog : playback 1 : capture 1
00-02: ALC888 Analog : ALC888 Analog : capture 1

must be something ekse

Woodsman 12-02-2013 11:16 PM

Possibly this:

alsamixer
alsactl store

aus9 12-03-2013 01:04 AM

deleted OP does not want any help from a non-slacker

unclejed613 12-03-2013 01:42 AM

results from "cat /proc/asound.pcm same as in post #4 ..... .asoundrc, /etc/asoundrc.conf, /etc/modprobe.d/sound.conf files do not exist....

this seems to be a limitation of the audio hardware, but i'm not absolutely sure of that yet.... i'm thinking i might just get a "real" sound card, and that might have more internal signal routing options... the problem with hardware built in to the motherboard, is that it was designed in a hurry (or to give minimal functionality at a low price point), and doesn't have the same features a well thought out sound card would have.... i.e you can get a volkswagen for free, but the porsche will cost you quite a bit more..... (or for those of us in the US, you can get a Suburban for next to nothing, but the Cadillac built on the same chassis will cost as much as a house)

xj25vm 12-03-2013 02:23 AM

I have had problems over the years recording from the PCM device in Alsa. On my old laptop, I could get it to record in Windows, but the Linux driver just wouldn't show the PCM (or other corresponding) device for me to record internal sound. I tried all sort of things suggested on the net, and even all the variations/models of that sound card using the modprobe.d - but in the end I couldn't find one which would allow me to record internal sound under Linux. My new laptop looks a bit more promising as it at least shows a PCM device, but I have been unsuccessful so far getting Audacity to capture from it.

aus9 12-03-2013 03:13 AM

deleted for same reason

arsivci0 12-03-2013 03:40 AM

I'm not sure if this will contribute to the discussion but after reading this thread I just checked mixer settings and noticed PCM gone. The only change I can remember between a fresh install and current setup is I now use a generic kernel instead of the huge one. Are we missing a module?

xj25vm 12-03-2013 03:59 AM

I believe the pcm channel only shows up in the mixer for certain card models and for certain drivers. If the kernel module thinks your card doesn't have that capability, or your card really doesn't have that capability, pcm won't show up in alsamixer. I believe that is why the usual advice is to try a number of models in the module configuration (under /etc/modprobe.d) in case there is some variant of your card/sound chipset which supports pcm.

arsivci0 12-03-2013 04:19 AM

@jj25vm: I guess so. I only wanted to say HUGE kernel did think the card had that functionality whereas module loaded by generic did not. So rebooting w/ huge and checking may shed some light to the problem. Personally I do not care whether PCM shows up or not, I'm not doing anything with it. I will check modprobe.d, though.

aus9 12-03-2013 05:00 AM

deleted for same reason

allend 12-03-2013 05:42 AM

A pity the quick and dirty did not work.

Please also supply the exact model of your HP computer.

unclejed613 12-03-2013 07:32 AM

Code:

bash-4.1# modinfo snd_hda_intel
filename:      /lib/modules/2.6.37.6-smp/kernel/sound/pci/hda/snd-hda-intel.ko
description:    Intel HDA driver
license:        GPL
alias:          pci:v00001022d*sv*sd*bc04sc03i00*
alias:          pci:v00001002d*sv*sd*bc04sc03i00*
alias:          pci:v000017F3d00003010sv*sd*bc*sc*i*
alias:          pci:v00001102d00000009sv*sd*bc*sc*i*
alias:          pci:v00006549d00001200sv*sd*bc*sc*i*
alias:          pci:v000010DEd*sv*sd*bc04sc03i00*
alias:          pci:v000010B9d00005461sv*sd*bc*sc*i*
alias:          pci:v00001039d00007502sv*sd*bc*sc*i*
alias:          pci:v00001106d00003288sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA48sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA40sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA38sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA30sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA28sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA20sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA18sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA10sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA08sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA00sv*sd*bc*sc*i*
alias:          pci:v00001002d0000970Fsv*sd*bc*sc*i*
alias:          pci:v00001002d0000960Fsv*sd*bc*sc*i*
alias:          pci:v00001002d00007919sv*sd*bc*sc*i*
alias:          pci:v00001002d0000793Bsv*sd*bc*sc*i*
alias:          pci:v00001002d00004383sv*sd*bc*sc*i*
alias:          pci:v00001002d0000437Bsv*sd*bc*sc*i*
alias:          pci:v00008086d*sv*sd*bc04sc03i00*
alias:          pci:v00008086d0000811Bsv*sd*bc*sc*i*
alias:          pci:v00008086d00001D20sv*sd*bc*sc*i*
alias:          pci:v00008086d00001C20sv*sd*bc*sc*i*
depends:        snd-hda-codec,snd-pcm,snd,snd-page-alloc
vermagic:      2.6.37.6-smp SMP mod_unload 686
parm:          index:Index value for Intel HD audio interface. (array of int)
parm:          id:ID string for Intel HD audio interface. (array of charp)
parm:          enable:Enable Intel HD audio interface. (array of bool)
parm:          model:Use the given board model. (array of charp)
parm:          position_fix:DMA pointer read method.(0 = auto, 1 = LPIB, 2 = POSBUF, 3 = VIACOMBO). (array of int)
parm:          bdl_pos_adj:BDL position adjustment offset. (array of int)
parm:          probe_mask:Bitmask to probe codecs (default = -1). (array of int)
parm:          probe_only:Only probing and no codec initialization. (array of int)
parm:          single_cmd:Use single command to communicate with codecs (for debugging only). (bool)
parm:          enable_msi:Enable Message Signaled Interrupt (MSI) (int)
parm:          patch:Patch file for Intel HD audio interface. (array of charp)
bash-4.1#

hp model number as far as i can tell is dx2300m/e2160/54310/7k US

Code:

bash-4.1# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
bash-4.1# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC888 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
bash-4.1#



All times are GMT -5. The time now is 06:41 PM.