Re: [ANNOUNCE] OSS Proxy using CUSE

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: H. Peter Anvin
Date: Thursday, August 28, 2008 - 4:38 pm

Greg KH wrote:

Why?  Because there is a lot of complexity in the tty layer, and there 
is no point in replicating the entire tty layer with all its ioctls 
through a fragile user-space emulator.  For cases like this, a pty is 
easier (your daemon opens /dev/ptmx, and then symlinks the appropriate 
pty to /dev/pilot) and works better.


Indeed.  It would be nice to fix, because it would make implementing 
serial ports as ptys+userspace a much more capable replacement.  It's 
not trivial, though, because the interpretation of the BREAK has to be 
done when received, not when sent, which means supporting a 257th value 
in the underlying buffer setup.

	-hpa
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] OSS Proxy using CUSE, Tejun Heo, (Thu Aug 28, 12:05 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, Adrian Bunk, (Thu Aug 28, 1:01 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, Greg KH, (Thu Aug 28, 3:18 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, H. Peter Anvin, (Thu Aug 28, 4:05 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, Greg KH, (Thu Aug 28, 4:14 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, Alan Cox, (Thu Aug 28, 4:32 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, H. Peter Anvin, (Thu Aug 28, 4:38 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, Tejun Heo, (Thu Aug 28, 6:33 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, Adrian Bunk, (Thu Aug 28, 11:50 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, Tejun Heo, (Fri Aug 29, 12:26 am)
Re: [ANNOUNCE] OSS Proxy using CUSE, Miklos Szeredi, (Fri Aug 29, 1:09 am)
Re: [ANNOUNCE] OSS Proxy using CUSE, Adrian Bunk, (Fri Aug 29, 1:21 am)
Re: [ANNOUNCE] OSS Proxy using CUSE, Tejun Heo, (Fri Aug 29, 1:28 am)
Re: [ANNOUNCE] OSS Proxy using CUSE, Takashi Iwai, (Fri Aug 29, 3:40 am)
Re: [ANNOUNCE] OSS Proxy using CUSE, Tejun Heo, (Fri Aug 29, 3:47 am)
Re: [ANNOUNCE] OSS Proxy using CUSE, Pavel Machek, (Tue Sep 2, 8:25 am)
Re: [ANNOUNCE] OSS Proxy using CUSE, Jan Engelhardt, (Thu Nov 27, 1:59 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, Tejun Heo, (Thu Nov 27, 7:23 pm)
Re: [ANNOUNCE] OSS Proxy using CUSE, Jan Engelhardt, (Fri Nov 28, 4:35 am)
Re: [ANNOUNCE] OSS Proxy using CUSE, Tejun Heo, (Fri Nov 28, 5:02 am)
Re: [ANNOUNCE] OSS Proxy using CUSE, Jan Engelhardt, (Fri Nov 28, 5:56 am)
[ANNOUNCE] OSS Proxy 1.2 using CUSE, Tejun Heo, (Mon Apr 13, 7:46 pm)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Miklos Szeredi, (Wed Apr 22, 12:58 pm)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Tejun Heo, (Wed Apr 22, 4:59 pm)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Miklos Szeredi, (Tue Apr 28, 9:01 am)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Takashi Iwai, (Tue Apr 28, 9:42 am)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Miklos Szeredi, (Tue Apr 28, 10:17 am)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Takashi Iwai, (Tue Apr 28, 12:32 pm)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Miklos Szeredi, (Tue Apr 28, 1:12 pm)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Takashi Iwai, (Tue Apr 28, 2:34 pm)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Tejun Heo, (Tue Apr 28, 4:35 pm)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Miklos Szeredi, (Wed Apr 29, 12:13 am)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Miklos Szeredi, (Wed Apr 29, 12:20 am)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Tejun Heo, (Wed Apr 29, 12:46 am)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Tejun Heo, (Fri Jun 19, 11:13 pm)
Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE, Tejun Heo, (Fri Jun 19, 11:37 pm)