openSUSE Forums > Hardware » pseudo terminals: /dev/ptmx and similar

Go Back   openSUSE Forums > Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read


Hardware Questions about drivers, peripheral cabling, configuration

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-Oct-2009, 09:00
robert_spitzenpfeil's Avatar
Puzzled Penguin
 
Join Date: Sep 2009
Posts: 2
robert_spitzenpfeil hasn't been rated much yet
Default pseudo terminals: /dev/ptmx and similar

/dev/ptmx <-> /dev/pts/ vs. /dev/ptyp <-> /dev/ttyp

Here it goes:

I remember that quite some time ago I could pair 2 programs like "screen" or "minicom" using /dev/ptyp master and a corresponding /dev/ttyp slave device. These devices are gone for some time now.

Nowadays I think I have to start one of these accessing /dev/ptmx and a slave device is automatically created as /dev/pts/<something>. This auto-create seems to work.

The problem I have is that although I have rw permissions on the devices, no data is going through and I get an error.

Example:

- screen /dev/ptmx
- /dev/pts/X is created with proper perms
- screen /dev/pts/X

--> "I/O error, no pty found" or similar.



Help ;-)
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2