LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-02-2013, 09:44 PM   #1
unclejed613
Member
 
Registered: Mar 2009
Posts: 353

Rep: Reputation: 32
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.
 
Old 12-02-2013, 10:14 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121
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.
 
Old 12-02-2013, 10:54 PM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,575

Rep: Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848
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.
 
Old 12-02-2013, 11:06 PM   #4
unclejed613
Member
 
Registered: Mar 2009
Posts: 353

Original Poster
Rep: Reputation: 32
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
 
Old 12-02-2013, 11:16 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Possibly this:

alsamixer
alsactl store
 
Old 12-03-2013, 01:04 AM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
deleted OP does not want any help from a non-slacker

Last edited by aus9; 12-06-2013 at 07:59 AM.
 
Old 12-03-2013, 01:42 AM   #7
unclejed613
Member
 
Registered: Mar 2009
Posts: 353

Original Poster
Rep: Reputation: 32
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)

Last edited by unclejed613; 12-03-2013 at 01:46 AM.
 
Old 12-03-2013, 02:23 AM   #8
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Rep: Reputation: 70
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.
 
Old 12-03-2013, 03:13 AM   #9
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
deleted for same reason

Last edited by aus9; 12-06-2013 at 07:59 AM.
 
Old 12-03-2013, 03:40 AM   #10
arsivci0
Member
 
Registered: Nov 2013
Location: Antalya
Distribution: Slackware64 current
Posts: 119

Rep: Reputation: 23
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?
 
Old 12-03-2013, 03:59 AM   #11
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Rep: Reputation: 70
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.
 
Old 12-03-2013, 04:19 AM   #12
arsivci0
Member
 
Registered: Nov 2013
Location: Antalya
Distribution: Slackware64 current
Posts: 119

Rep: Reputation: 23
@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.
 
Old 12-03-2013, 05:00 AM   #13
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
deleted for same reason

Last edited by aus9; 12-06-2013 at 07:59 AM.
 
Old 12-03-2013, 05:42 AM   #14
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,575

Rep: Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848Reputation: 2848
A pity the quick and dirty did not work.

Please also supply the exact model of your HP computer.
 
Old 12-03-2013, 07:32 AM   #15
unclejed613
Member
 
Registered: Mar 2009
Posts: 353

Original Poster
Rep: Reputation: 32
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#

Last edited by unclejed613; 12-03-2013 at 07:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving hard drive with RHEL 4 from one machine to another. thephilly Linux - Newbie 6 06-11-2009 12:03 PM
keep having to reconfigure alsa everytime i turn computer on rich13348 Linux - Software 10 04-17-2009 05:06 AM
Moving a Linux Kiosk machine to new hardware The PIT Debian 2 04-18-2008 01:59 PM
kernel panic when moving drive to new machine gimecoffee Linux - Kernel 13 11-14-2007 11:27 AM
Need to force debian to reconfigure everything on boot k4zau Debian 2 10-13-2006 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration