https://bugzilla.novell.com/show_bug.cgi?id=408536
User bernhard.bender@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408536#c6
--- Comment #6 from Bernhard Bender
So it would be great, if you could get the ATI from both ports (for me it just works to do "screen /dev/ttyUSB0" as root, then i can type directly to the port).
None of the port /dev/ttyUSB[012] shows any response to AT command using the screen command.
Alternatively, please try both combinations:
- umtsmon -s /dev/ttyUSB0,/dev/ttyUSB2 - umtsmon -s /dev/ttyUSB2,/dev/ttyUSB0
i hope that one of those combinations works.
Both fail the same way as reported in comment #1. Note that umtsmon does not say it cannot get an answer to an AT command. To me it seems the program cannot even send data to the device
Could not write to serial device: Resource temporarily unavailable ##P1 t=477: *** CRITICAL ERROR: Could not write to device (anymore)
I used strace to see what happens. Here is an excerpt:
open("/dev/ttyUSB2", O_RDWR|O_EXCL|O_NOCTTY|O_NONBLOCK) = 9 fstat64(9, {st_mode=S_IFCHR|0660, st_rdev=makedev(188, 2), ...}) = 0 ioctl(9, SNDCTL_TMR_TEMPO or TCGETA, {B9600 -opost isig -icanon -echo ...}) = 0 ioctl(9, SNDCTL_TMR_SOURCE or TCSETA, {B115200 -opost isig -icanon -echo ...}) = 0 select(1, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout) select(10, [9], NULL, NULL, {0, 20000}) = 0 (Timeout) write(9, "\r", 1) = -1 EAGAIN (Resource temporarily unavailable) [...repeats many times...] select(1, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout) close(9) = 0 dup(2) = 9 fcntl64(9, F_GETFL) = 0x2 (flags O_RDWR) fstat64(9, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb713c000 _llseek(9, 0, 0xbfffca78, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(9, "Could not write to serial device"..., 67Could not write to serial device: Resource temporarily unavailable ) = 67 close(9) = 0 <<<
So it seems that write()ing to file id 9 (/dev/ttyUSB2) always return EAGAIN... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.