Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-02-2013, 09:44 PM
|
#1
|
Member
Registered: Mar 2009
Posts: 353
Rep:
|
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.
|
|
|
12-02-2013, 10:14 PM
|
#2
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
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.
|
|
|
12-02-2013, 10:54 PM
|
#3
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,575
|
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.
|
|
|
12-02-2013, 11:06 PM
|
#4
|
Member
Registered: Mar 2009
Posts: 353
Original Poster
Rep:
|
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
|
|
|
12-02-2013, 11:16 PM
|
#5
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
|
Possibly this:
alsamixer
alsactl store
|
|
|
12-03-2013, 01:04 AM
|
#6
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
deleted OP does not want any help from a non-slacker
Last edited by aus9; 12-06-2013 at 07:59 AM.
|
|
|
12-03-2013, 01:42 AM
|
#7
|
Member
Registered: Mar 2009
Posts: 353
Original Poster
Rep:
|
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.
|
|
|
12-03-2013, 02:23 AM
|
#8
|
Member
Registered: Jun 2008
Posts: 399
Rep:
|
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.
|
|
|
12-03-2013, 03:13 AM
|
#9
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
deleted for same reason
Last edited by aus9; 12-06-2013 at 07:59 AM.
|
|
|
12-03-2013, 03:40 AM
|
#10
|
Member
Registered: Nov 2013
Location: Antalya
Distribution: Slackware64 current
Posts: 119
Rep:
|
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?
|
|
|
12-03-2013, 03:59 AM
|
#11
|
Member
Registered: Jun 2008
Posts: 399
Rep:
|
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.
|
|
|
12-03-2013, 04:19 AM
|
#12
|
Member
Registered: Nov 2013
Location: Antalya
Distribution: Slackware64 current
Posts: 119
Rep:
|
@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.
|
|
|
12-03-2013, 05:00 AM
|
#13
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
deleted for same reason
Last edited by aus9; 12-06-2013 at 07:59 AM.
|
|
|
12-03-2013, 05:42 AM
|
#14
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,575
|
A pity the quick and dirty did not work.
Please also supply the exact model of your HP computer.
|
|
|
12-03-2013, 07:32 AM
|
#15
|
Member
Registered: Mar 2009
Posts: 353
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|