Dmitry Timoshkov
a63be0823a
ntdll: Make set_line_control() for a serial device print slightly more informative messages.
2013-09-26 10:46:56 +02:00
Dmitry Timoshkov
a20b07c558
ntdll: Make asynchronous WaitCommEvent report correct number of bytes returned.
2013-09-26 10:46:54 +02:00
Dmitry Timoshkov
f031c676c1
server: Add a serial event mask change counter.
2013-09-10 11:18:57 +02:00
Alexandre Julliard
f21961cc14
ntdll: Add a configure check for the tcdrain function.
...
Also remove the tcgetattr check that is no longer used.
2013-09-05 13:18:21 +02:00
Dmitry Timoshkov
c25776a981
ntdll: Avoid a needless goto.
2013-09-03 16:58:19 +02:00
Dmitry Timoshkov
52d1080544
ntdll: Properly set flag which indicates buffer empty state.
2013-08-29 11:21:11 +02:00
Dmitry Timoshkov
f4f5d06df4
ntdll: Stop waiting for COM-port events if the device handle gets closed.
2013-08-28 11:36:23 +02:00
Dmitry Timoshkov
b299d4d4f8
ntdll: Add a trace for transmitter's buffer empty flag.
2013-08-28 11:36:01 +02:00
Dmitry Timoshkov
d21b05b06d
ntdll: Properly test line status register for TIOCSER_TEMT bit.
2013-08-27 21:30:03 +02:00
Dmitry Timoshkov
e3dcdadaca
ntdll: Fallback to ioctl(TIOCOUTQ) if ioctl(TIOCSERGETLSR) fails.
...
Most Linux USB-serial drivers don't support TIOCSERGETLSR.
2013-08-27 21:30:03 +02:00
Dmitry Timoshkov
1202c14e6e
ntdll: Ignore ioctl(TIOCGICOUNT) failures.
...
Most USB-serial Linux drivers don't support it.
2013-08-27 21:30:03 +02:00
Alexandre Julliard
f7161ebe89
ntdll: Don't use TIOCGICOUNT if we don't have linux/serial.h to define the necessary struct.
2013-07-29 21:08:02 +02:00
Alexandre Julliard
af59e6f1b7
configure: Get rid of the check for strings.h.
2013-01-09 12:25:14 +01:00
Uwe Bonnes
89c2a4c596
ntdll: Generate a single EV_TXEMPTY when the TX buffer turns empty.
2011-10-14 20:26:44 +02:00
Alexandre Julliard
4d7ad03c3c
ntdll: Use the more portable cfsetospeed() function to set serial baud rate.
2010-10-08 11:56:46 +02:00
Ken Thomases
85f32011cd
ntdll: Fix set_baud_rate for high rates for non-Linux (bad copy/paste).
2010-07-06 19:28:27 +02:00
Alexandre Julliard
3b67ad9bd4
ntdll: Fix the NtCreateEvent prototype.
...
It takes an event type, not a manual reset flag.
2010-01-18 20:34:54 +01:00
Alexandre Julliard
72241b5d47
ntdll: Make sure that serial ioctl calls fail on non-serial handles.
2009-09-10 11:06:01 +02:00
Mike Kaplinskiy
3f232785d3
ntdll: Remember to set the iosb status if using a worker thread for serial wait.
2009-09-08 12:12:28 +02:00
Michael Stefaniuc
d2f6f56873
ntdll: Remove superfluous pointer casts.
2009-03-23 12:40:53 +01:00
Francois Gouget
96848a0605
Remove spaces before '\n's.
2009-03-09 12:05:58 +01:00
G. Paul Ziemba
df05a90a3f
ntdll: Clear IEXTEN when clearing ICANON.
2009-01-07 14:21:03 +01:00
Pavel Troller
0f6b925bdc
ntdll: Fix serial.c for linux-2.6.28.
2009-01-04 14:59:55 +01:00
Andrew Talbot
e198b4eb84
ntdll: Remove a superfluous semicolon.
2008-12-24 19:59:27 +01:00
Wolfgang Walter
a24f10b511
ntdll: Fix set_XOff and set_XOn.
2008-12-22 14:21:07 +01:00
Alexandre Julliard
d1b3d484f7
server: Add functions for conversions between server object handles and pointer-style handles.
2008-12-08 16:05:17 +01:00
Francois Gouget
e723395617
ntdll: Remove WINAPI on static functions where not needed.
2008-11-28 12:54:32 +01:00
Alexandre Julliard
03fbe01632
ntdll: Ignore failures to retrieve serial status for events we are not interested in.
...
Based on a patch by Valentine Sinitsyn.
2008-05-07 21:10:39 +02:00
Alexandre Julliard
b1ace4490e
ntdll: Always set VTIME to 0 to avoid blocking, don't try to set it from the comm timeouts.
2008-05-07 20:17:32 +02:00
Austin English
05faae7b5a
Spelling fixes.
2008-04-09 12:07:39 +02:00
Eric Pouech
2ea3dd12b1
ntdll: Fixed getting the RTS status from line, and now using sane default values for all (compilation/system) cases.
2008-01-22 12:58:14 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Alexandre Julliard
0a2fda7020
ntdll: Restore typecast that is really needed.
2008-01-15 20:36:48 +01:00
Andrew Talbot
00981b580a
ntdll: Remove unneeded casts.
2008-01-14 13:10:00 +01:00
Michael Stefaniuc
0ecf2edca0
ntdll: Remove duplicate includes.
2007-11-19 13:54:09 +01:00
Tom Brus
fa4304f06e
ntdll: Serial/COM code misinterpreted XON/XOFF direction.
2007-10-29 13:58:51 +01:00
Michael Stefaniuc
b8880e1640
ntdll: Remove a break after a break. Found by Smatch.
2007-07-26 11:51:05 +02:00
Michael Stefaniuc
0f14b3a574
ntdll: Don't produce unreachable code during conditional compilation. Found by Smatch.
2007-07-19 11:57:23 +02:00
Andrew Talbot
61cb830b9b
ntdll: Constify some variables.
2007-06-26 12:56:50 +02:00
Reinhard Karcher
64c1c017c4
ntdll: Fix DTR and CTS controls in serial code.
2007-01-03 12:01:31 +01:00
Alexandre Julliard
83ce958793
ntdll: Store the fd type in the cache and return it in server_get_unix_fd.
2006-11-20 14:15:06 +01:00
Alexandre Julliard
9ddb9294da
ntdll: Added a server_get_unix_fd function that avoids doing a dup() of the fd when not required.
2006-11-03 11:38:44 +01:00
Hans Leidekker
f7b0ba7aa7
ntdll: Win64 printf format warning fixes.
2006-10-18 12:35:26 +02:00
Alexandre Julliard
d9634e397c
ntdll: Fixed typo in serial.c.
2006-10-04 22:16:34 +02:00
Eric Pouech
d990c0d8e5
ntdll-kernel32: WaitCommEvent.
...
- implemented IOCTL_SERIAL_WAIT_ON_MASK for DeviceIoControl
on serial lines in ntdll
- now using thread pool (instead of simple thread) for the
background operations (this should help some high load
situations)
- used this to implement WaitCommEvent on top NtDll functions
- in kernel32, removed now the no longer used termios/ioctls...
for comm devices
2006-10-03 20:19:08 +02:00
Alexandre Julliard
2208694ab2
ntdll: Cast termios.c_cflag to avoid a printf format warning.
2006-06-13 14:16:57 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Eric Pouech
0ddd1c9e18
ntdll: Fix serial timeout regression.
2006-05-15 11:03:43 +02:00
Eric Pouech
5f9e9836cf
ntdll/kernel32: EscapeCommFunction & associated IOCTLs
...
- implemented ntdll's serial IOCTL: CLR_DTR, CLR_RTS, SET_DTR,
SET_RTS, SET_XOFF, SET_XON, RESET_DEVICE
- implemented kernel32.EscapeCommFunction on top of them
2006-05-09 21:08:14 +02:00
Eric Pouech
fcdc293bb0
ntdll/kernel32: SetupComm & SET_QUEUE_SIZE
...
- stubbed out ntdll's serial IOCTL SET_QUEUE_SIZE
- implemented kernel32.SetupComm on top of it
2006-05-09 21:07:35 +02:00