Re: SYSFS, was Re: [PATCH] RFC - add prealloc_max proc file

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

 



On Fri, 6 Oct 2006, Takashi Iwai wrote:

> > > > BTW: Shouldn't all(?) these proc files eventually go to sysfs?
> > > 
> > > There is already a function to add a sysfs file
> > > (snd_add_device_sysfs_file()), so it must be pretty easy.
> > 
> > Yes and no. An layer for concrete device/substream should be added.
> 
> Right, it's missing.
> 
> > Anyway, actually we can move most of values from proc to sysfs for 2.6.
> > Any problems with it?
> 
> Proc files for showing information are OK, but controlling the driver
> over proc file isn't a recommended way on 2.6 kernel.  That's what
> sysfs is for.
> 
> Anyway it's no big deal but just TODO.

I'd like to create similar layer as in proc, but it seems that we must 
place cards root somewhere. Do you think that /sys/class/soundcard is good 
place and name for this root?

						Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux