Re: USB und PC104

Bernhard Walle <[email protected]> Sun, 13 Feb 2011 20:48:18 +0100
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigDFE46520A6BD7AAF1393B8E1
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Am 13.02.11 20:18, schrieb Thomas Moritz:
> Am Samstag, 12. Februar 2011 20:03:15 schrieb Bernhard Walle:
>=20
> mdev -s
> echo mdev > /proc/sys/kernel/hotplug

Sicher dass das geht? Nimm besser den absoluten Pfad (/bin/mdev o.=E4.).

> + /etc/mdev.conf
> ...aber s. unten.

In util-linux/mdev.c (der Busybox):

>  * $envvar=3Dval format is useful for loading modules for hot-plugged d=
evices
>  * which do not have driver loaded yet. In this case /sys/class/.../dev=

>  * does not exist, but $MODALIAS is set to needed module's name
>  * (actually, an alias to it) by kernel. This rule instructs mdev
>  * to load the module and exit:
>  *    $MODALIAS=3D.* 0:0 660 @modprobe "$MODALIAS"
>  * The kernel will generate another hotplug event when /sys/class/.../d=
ev
>  * file appears.

Damit m=FCsste es gehen.

Gru=DF,
Bernhard


--------------enigDFE46520A6BD7AAF1393B8E1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFNWDWIiGU2lt2vZFQRAi3iAJ4vMDodsLbaireDYQjFjXelTmMvMACfS8R/
BT/vfB6b7nbEQqRrw/Sw3fY=
=ZJ+6
-----END PGP SIGNATURE-----

--------------enigDFE46520A6BD7AAF1393B8E1--