Print for tracing bugs
I am trying to trace problems with SPDIF in ice1712.c. Is there an easy way to print messages/values out in a terminal window from the running sound driver (using a version of print added in the code), perhaps after doing 'rcalsasound restart' from a Konsole?
Alan
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Quoted 4 lines · Alan Horstmann
I am trying to trace problems with SPDIF in
ice1712.c. Is there an easy way to print messages/values out in a terminal window from the running sound driver (using a version of print added in the code), perhaps after doing 'rcalsasound restart' from a Konsole?
Yes just add printk()'s to the driver code.
Lee
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Quoted 2 lines · you
Yes just add printk()'s to the driver code.
Thanks. I can get these to print to var/log/messsages, but how do I get them to come immediately to a konsole?
Alan
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Quoted 5 lines · Alan Horstmann
Quoted 2 lines · you
Yes just add printk()'s to the driver code.
Thanks. I can get these to print to var/log/messsages, but how do I get them to come immediately to a konsole?
No idea, that's a KDE issue. Most GUI terminals don't print out the kernel messages.
Try a text console.
Lee
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Quoted 11 lines · Alan Horstmann
Quoted 2 lines · you
Yes just add printk()'s to the driver code.
Thanks. I can get these to print to var/log/messsages, but how do I get them
to come immediately to a konsole?Alan
In the konsole type
tail -f /var/log/messages
As messages appear in the file, they will be displayed.
Quoted 4 lines · you
In the konsole type
tail -f/var/log/messagesAs messages appear in the file, they will be displayed.
That's great; thanks for the help.
Alan
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642