On Fri, Apr 14, 2017 at 11:04:19AM +0800, Liu Yu wrote: > hello folks, > > I'm working on a pl2303 serial-USB, trying to connect two PC while > encounter a issue. > what I have done is connecting the serial with windows PC(win7) and > connecting the USB with linux PC( centos7.2) > when I tried to setup the tty in linux PC with agetty, it > successfully prompts login in putty in windows PC side. > however, after I input the username and ENTER, the putty in > windows PC side got reset, while the agetty in linux PC got exit, > with the error: > /dev/ttyUSB0: cannot get controlling tty: Operation not permitted > /dev/ttyUSB0: cannot set process group: Inappropriate ioctl for device > btw: I'm the root Are there any kernel log messages when this happens? As the connection is working to start with, then the kernel and device should be working, so perhaps this is a agetty issue or configuration issue? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html