Re: [PATCH] input: Document the bcm5974 driver

From: Niels de Vos
Date: Tue Apr 28 2009 - 07:54:14 EST


Hi Henrik,

Henrik Rydberg wrote:
> This patch adds documentation for the bcm5974 to Documentation/input/.
>
> Signed-off-by: Henrik Rydberg <rydberg@xxxxxxxxxxx>
> ---
...
> +Debug output
> +------------
> +
> +To ease the development for new hardware version, verbose packet output can
> +be switched on with the debug kernel module parameter. The range [1-9]
> +yields different levels of verbosity. Example (as root):
> +
> +rmmod bcm5974 && sudo modprobe bcm5974 debug=9
> +
> +tail -f /var/log/debug
> +
> +rmmod bcm5974 && sudo modprobe bcm5974 debug=0

What about skipping rmmod and modprobe by doing
echo -n 9 > /sys/module/bcm5974/parameters/debug
and
echo -n 0 > /sys/module/bcm5974/parameters/debug
?

Kind regards,
Niels


Attachment: signature.asc
Description: OpenPGP digital signature