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 15:39:45 +0000 (UTC),
User wrote:
> 
> 
> > 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
> 
> Thanks a lot Takashi, I will do that to avoid using udev
> solely to this. But one question remains:
> 
> - If they are dyn. assgn. can I count that they will de facto
> be the same next boot (remember that in this particular case
> I have my own rc.x carefully crafted to load my mods.)

The minor number assignment _should_ be same if the module loading
and initialization order is static, unchanged in different boots.

But writing a script for doing the above would be trivial, too...


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