On Sun, Feb 23, 2014 at 09:09:53PM +0100, Emanuel Koczwara wrote:
> Hi,
>
> W dniu 23.02.2014 18:58, Johan Hovold pisze:
> > Perhaps the printer is sending some status bytes that we shouldn't
> > pass to user space. Could you provide a log from when you send a
> > command and get a response while running with debugging enabled? You
> > can enable debugging with echo "module usbserial +p"
> > >/sys/kernel/debug/dynamic_debug/control
>
> root@emanuel-laptop:/home/emanuel# echo "module usbserial +p" >
> /sys/kernel/debug/dynamic_debug/control
> bash: /sys/kernel/debug/dynamic_debug/control: No such file or directory
>
> How can I enable it?
You might need to mount debugfs:
mount -t debugfs none /sys/kernel/debug
and make sure your kernel is compiled with CONFIG_DYNAMIC_DEBUG (and
CONFIG_DEBUG_FS) enabled.
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html