Re: No soundcards found - but only kernel 3.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 23 Jan 2013 14:21:47 +0000 (UTC),
User wrote:
> 
> > Make sure that you do *not* set CONFIG_SND_DYNAMIC_MINORS=y.  If this
> > option is set, the dynamic device file assignment like udev becomes
> > mandatory.
> 
> In version(s) 2.6.X => Dynamic device file minor numbers *IS_NOT* set
> 
> In version(s) 3.x.x:
>  -- Preclaim OSS device numbers **is_set**
>  -- Dynamic device file minor numbers  **MANDATORY_SET**
> (as using a RADEON MB, as you said, HDMI promoted that)
>  --  Support old ALSA API **is_set**
> 
> > BTW, this option is forcibly set if you have
> > CONFIG_SND_HDA_CODEC_HDMI=y because HDMI requires more PCM devices
> > than the static devices may have.
> > Takashi
> 
> A CLOSER look at both shows that despite they look the same,
> the numbering order schema in fact differ... and the driver,
> it seems, can not cope with that change (need UDEV to do so ???)
> 
> ALSA Driver Version 1.0.17             ALSA Driver Version 1.0.25
>   0: [ 0]   : control                   11: [ 0]   : control
>   1:        : sequencer                  1:        : sequencer
>   8: [ 0- 0]: raw midi                   2: [ 0- 0]: raw midi
>  16: [ 0- 0]: digital audio playback     9: [ 0- 0]: digital audio playback
>  17: [ 0- 1]: digital audio playback     7: [ 0- 1]: digital audio playback
>  18: [ 0- 2]: digital audio playback     5: [ 0- 2]: digital audio playback
>  19: [ 0- 3]: digital audio playback     3: [ 0- 3]: digital audio playback
>  24: [ 0- 0]: digital audio capture     10: [ 0- 0]: digital audio capture
>  25: [ 0- 1]: digital audio capture      8: [ 0- 1]: digital audio capture
>  26: [ 0- 2]: digital audio capture      6: [ 0- 2]: digital audio capture
>  27: [ 0- 3]: digital audio capture      4: [ 0- 3]: digital audio capture
>  33:        : timer                     33:        : timer
>  64: [ 2]   : control                   14: [ 2]   : control
>  72: [ 2- 0]: raw midi                  13: [ 2- 0]: raw midi
>  73: [ 2- 1]: raw midi                  12: [ 2- 1]: raw midi
> 
> Well if that is the problem, and I NEED HDMI/RADEON ...
> 
> How can I live with that problem ? Without UDEV ?
> - Can I just change the MINOR/MAJOR /dev entries to get
> rid of UDEV ? Or am I forcible to use udev to adjust this detail ?

It's a matter of device number assignment.  You can achieve it easily
even without udev manually or automatically by some script.

For example, in the new case, minor#5 corresponds to
/dev/snd/pcmC0D2p:
	5: [ 0- 2]: digital audio playback

then you need to create a device file like
	mknod /dev/snd/pcmC0D2p c 116 5

Write a script to call for each line of /proc/asound/devices and call
it in an init script after loading the sound modules.


Takashi

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux