Gentoo Archives: gentoo-dev

From: Jeremy Huddleston <eradicator@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: ALSA and kernel 2.6.1-gentoo-r1 and /etc/init.d/alsasound
Date: Mon, 23 Feb 2004 22:38:25
Message-Id: 200402231438.04973.eradicator@gentoo.org
In Reply to: Re: [gentoo-dev] Re: ALSA and kernel 2.6.1-gentoo-r1 and /etc/init.d/alsasound by Greg KH
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 sysfs support is in the alsa-driver if you use kernel 2.6.3 or later. With
5 lower versions, it uses dummy functions...
6
7 in alsa-driver-1.0.2c/include/adriver.h...
8
9 /* sysfs */
10 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 2)
11 struct class_simple;
12 static inline void class_simple_device_add(struct class_simple *class, int
13 devnum, ...) { return; }
14 static inline void class_simple_device_remove(int devnum) { return; }
15 #endif
16
17 - --Jeremy
18
19 > But the in-kernel one has features that the out of kernel one does not
20 > (sysfs support being one, which is needed for udev...)
21 >
22 > thanks,
23 >
24 > greg k-h
25 >
26 > --
27 > gentoo-dev@g.o mailing list
28 -----BEGIN PGP SIGNATURE-----
29 Version: GnuPG v1.2.3 (GNU/Linux)
30
31 iD8DBQFAOoDKgKpk8srJOlIRAtGfAKCGvojuMKTxOr94G+VjQPaEZ7dxTwCeL60/
32 M01fgUTuTtXnHDMP77itF0Y=
33 =tCus
34 -----END PGP SIGNATURE-----
35
36 --
37 gentoo-dev@g.o mailing list

Replies