Re: [linux-usb-devel] ark3116: receive returns negative

From: Greg KH
Date: Thu May 17 2007 - 08:48:25 EST


On Wed, May 16, 2007 at 06:04:45PM +0200, Jan Engelhardt wrote:
> Hello,
>
>
> I seem to have problems with the ark3116 driver from 2.6.18.8. This is a
> USB-RS232 cable. Just opening the /dev/ttyUSB0 device
> gives (this is the
> debug output enabled by `modprobe ark3116 debug=1`).
>
> The lines that look suspicious are
> /serial/ark3116.c: 124 < 1 bytes [0xFFFFFFB0]
> and
> /serial/ark3116.c: ark3116_ioctl cmd 0x5401 not supported

Why is this suspicious? We don't support all ioctls for all usb-serial
drivers, perhaps this one is just not really needed?

> I have also seen things like "id here < -62 [0x10]", which would
> indicate that usb_control_msg() returned something very negative
> (-ETIME!?).

But does the driver seem to work properly?

> Issuing a write() on an open fd to ttyUSB does not generate any further
> debug output. Is the driver even complete/functional?

Do you get data through the device properly?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/