Re: [Linuxwacom-devel] [PATCH] Move a read error to DBG to silent hotplugging messages

2011-02-13 Thread Peter Hutterer
On Fri, Feb 11, 2011 at 05:07:46PM -0800, Ping Cheng wrote: Error reading wacom device : device not found is displayed in Xorg.0.log 10 times each time a device is unplugged. This is too much for those who unplugging the device many times a day. So, move it to DBG level 1 for a less noisy

Re: [Linuxwacom-devel] [PATCH] Move a read error to DBG to silent hotplugging messages

2011-02-13 Thread Ping Cheng
On Sun, Feb 13, 2011 at 7:53 PM, Peter Hutterer peter.hutte...@who-t.netwrote: On Fri, Feb 11, 2011 at 05:07:46PM -0800, Ping Cheng wrote: Error reading wacom device : device not found is displayed in Xorg.0.log 10 times each time a device is unplugged. This is too much for those who

Re: [Linuxwacom-devel] [PATCH] Move a read error to DBG to silent hotplugging messages

2011-02-13 Thread Peter Hutterer
On Sun, Feb 13, 2011 at 09:04:40PM -0800, Ping Cheng wrote: On Sun, Feb 13, 2011 at 7:53 PM, Peter Hutterer peter.hutte...@who-t.netwrote: On Fri, Feb 11, 2011 at 05:07:46PM -0800, Ping Cheng wrote: Error reading wacom device : device not found is displayed in Xorg.0.log 10 times each

Re: [Linuxwacom-devel] [PATCH] Move a read error to DBG to silent hotplugging messages

2011-02-13 Thread Ping Cheng
On Sun, Feb 13, 2011 at 9:21 PM, Peter Hutterer peter.hutte...@who-t.netwrote: - /* for all other errors, hope that the hotplugging code will - * remove the device */ - if (errno != EAGAIN errno != EINTR) -

[Linuxwacom-devel] [PATCH] Move a read error to DBG to silent hotplugging messages

2011-02-11 Thread Ping Cheng
Error reading wacom device : device not found is displayed in Xorg.0.log 10 times each time a device is unplugged. This is too much for those who unplugging the device many times a day. So, move it to DBG level 1 for a less noisy log file. Also added errno to the log message since users would