linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ark3116: receive returns negative
@ 2007-05-16 16:04 Jan Engelhardt
  2007-05-17 12:45 ` [linux-usb-devel] " Greg KH
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Engelhardt @ 2007-05-16 16:04 UTC (permalink / raw)
  To: ark3116_driver; +Cc: Linux Kernel Mailing List, linux-serial, linux-usb-devel

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

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

Issuing a write() on an open fd to ttyUSB does not generate any further 
debug output. Is the driver even complete/functional?
I do not know where to go from here, please advise.


Full output:
/serial/ark3116.c: ark3116_open - port 0
/serial/ark3116.c: 111 < 1 bytes [0x03]
/serial/ark3116.c: 112 > ok
/serial/ark3116.c: 113 > ok
/serial/ark3116.c: 114 > ok
/serial/ark3116.c: 115 > ok
/serial/ark3116.c: 116 < 1 bytes [0x03]
/serial/ark3116.c: 117 > ok
/serial/ark3116.c: 118 < 1 bytes [0x02]
/serial/ark3116.c: 119 > ok
/serial/ark3116.c: 120 < 1 bytes [0x00]
/serial/ark3116.c: 121 > ok
/serial/ark3116.c: 122 < 1 bytes [0x01]
/serial/ark3116.c: 123 > ok
/serial/ark3116.c: 124 < 1 bytes [0xFFFFFFB0]
/serial/ark3116.c: ark3116_set_termios - port 0
/serial/ark3116.c: setting CS8
/serial/ark3116.c: setting parity to NONE
/serial/ark3116.c: setting 1 stop bit
/serial/ark3116.c: 000 < 1 bytes [0x02]
/serial/ark3116.c: setting baudrate to 9600 (->reg=312)
/serial/ark3116.c: 147 > ok
/serial/ark3116.c: 148 > ok
/serial/ark3116.c: 149 > ok
/serial/ark3116.c: 150 > ok
/serial/ark3116.c: 151 < 1 bytes [0x03]
/serial/ark3116.c: 152 > ok
/serial/ark3116.c: updating bit count, stop bit or parity (cfg=0x03)
/serial/ark3116.c: 153 < 1 bytes [0x00]
/serial/ark3116.c: 154 > ok
/serial/ark3116.c: ark3116_ioctl cmd 0x5401 not supported


	Jan
-- 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-17 15:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-16 16:04 ark3116: receive returns negative Jan Engelhardt
2007-05-17 12:45 ` [linux-usb-devel] " Greg KH
2007-05-17 14:10   ` Jan Engelhardt
2007-05-17 14:51     ` Jan Engelhardt
2007-05-17 14:58       ` Greg KH
2007-05-17 15:16         ` [PATCH] Re: [linux-usb-devel] " Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).