getting dev_dbg() to talk

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

 




Ive just converted some code from printk()s to dev_dbg()s, and things run,
but I havent succeeded in inducing any output.

I tried using sysctl :

 514  sysctl kernel.printk
 515  sysctl kernel.printk=" 8 4 1 7"

it looks like Im missing the -w, but it has remembered what I wrote,
(I retried too, no difference)

soekris:~# sysctl kernel.printk
kernel.printk = 8       4       1       7

so it should now log everything to the console, no ?


have I misunderstood man sysctl or Docs/sysctl/kernel.txt somehow ?

is there a /proc or /sys control point for use with dev_*() functions,
perhaps to turn them on/off on a driver basis ?

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux