It's expecting hex. I checked that. The weird think is that setting it to the same number yields different results.
Kirk
Jim Bauer wrote:
On Monday 21 June 2004 11:00, Kirk True wrote:
Hi all,
In order to keep my debug logging from becoming overwhelming I've created a bit mask that determines what statements to print. I can dynamically change the bit mask via the /proc interface. The problem I'm seeing is that with certain bits set, no output occurs.
First thought. Is your handler for your /proc file expecting hex or decimal numbers? Have you tried cat-ing your /proc file after writing to it to see if it contains what you expect?
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/