[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#640391: linux-image-3.0.0-1-686-pae: ark3116 driver regression



On Tue, Sep 13, 2011 at 08:56:54PM +0200, Bart Hartgers wrote:
> >> > [Previous messages are logged at <http://bugs.debian.org/640391>.

> Thanks for the strace. It seems that gpsbabel is treating the device
> as a tty and not just a plain file. My main suspect is still a problem
> with the cts/rts handshaking. Unfortunately, I cannot tell what
> exactly gpsbabel does to the handshake signals because strace
> truncated the termios data. Could you please rerun the strace with the
> '-v' option?

Ok. Attached.

One proviso. The peculiar garmin serial connector on this gps unit
sometimes doesn't make good contact. I am pretty sure that it was ok 
for this run, but it is just possible that the connector was playing
up. (Known problem on this model, I fear.)

ael

fstat64(3, {st_dev=makedev(0, 3), st_ino=4026532018, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=2011/09/13-21:29:17, st_mtime=2011/09/13-21:29:17, st_ctime=2011/09/13-21:29:17}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb778c000
read(3, "MemTotal:        1540708 kB\nMemF"..., 1024) = 1024
close(3)                                = 0
munmap(0xb778c000, 4096)                = 0
open("/dev/ttyUSB0", O_RDWR)            = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {c_iflags=0x500, c_oflags=0x5, c_cflags=0xcbd, c_lflags=0x8a3b, c_line=0, c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x16\x00\x00\x00"}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {c_iflags=0x500, c_oflags=0x5, c_cflags=0xcbd, c_lflags=0x8a3b, c_line=0, c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x16\x00\x00\x00"}) = 0
ioctl(3, SNDCTL_TMR_CONTINUE or TCSETSF, {c_iflags=0, c_oflags=0, c_cflags=0xcbd, c_lflags=0, c_line=0, c_cc[VMIN]=1, c_cc[VTIME]=0, c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x16\x00\x00\x00"}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {c_iflags=0, c_oflags=0, c_cflags=0xcbd, c_lflags=0, c_line=0, c_cc[VMIN]=1, c_cc[VTIME]=0, c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x16\x00\x00\x00"}) = 0
ioctl(3, TCFLSH, 0x2)                   = 0
write(3, "\20\376\0", 3)                = 3
write(3, "", 0)                         = 0
write(3, "\2\20\3", 3)                  = 3
time(NULL)                              = 1315945757
time(NULL)                              = 1315945757

Reply to: