Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
less, TTY and fbcon
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
cova
n00b
n00b


Joined: 12 Apr 2010
Posts: 26

PostPosted: Thu Mar 29, 2012 10:20 am    Post subject: less, TTY and fbcon Reply with quote

Hi all,
I'm facing an issue that I can't really make head or tail of. I've installed several gentoo laptops but this is a novelty
what happens is that "less" is not working properly. Basically, each time i use less to read a file, every keystroke that i enter (no matter if I'm connected with ssh or konsole) is garbled or better, only half of keystrokes reach less.
It seems that tty is shared among two processes (and I wonder why less uses tty at all).
If I use local vt (alt+F1), without X active on the machine, and at the same time I log into the same box with ssh I end in the situation where one keystroke on local keryboard is sent to local vt and the second stroke is sent on ssh (i can see it on remote end).
The only peculiar thing of the machine is that it make use of fbcon (radeon). I tried every combination of kernel parameters (like console=tty1, etc..) and fbcon=map:X and so on, with no help.
other utilities that doesn't uses tty works without problems (like mc).

Interesting enough, even ssh shows some hiccups: every time I enter the machine with ssh I get this:

sshd[5278]: error: Failed to disconnect from controlling tty.

Maybe the solution is trivial, but I can't sort it out :(

the system is a ~ amd64 with kernel 3.2.13 and packages up-to date as 29/03/12

I'm using fbcon with radeon KMS driver (that works just fine with X).

Can someone give me at least a pointer in the right direction? many thanks for any answer.
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Mar 30, 2012 2:23 pm    Post subject: Reply with quote

Maybe something's wrong with inittab?
_________________
My blog
Back to top
View user's profile Send private message
cova
n00b
n00b


Joined: 12 Apr 2010
Posts: 26

PostPosted: Fri Mar 30, 2012 3:50 pm    Post subject: Reply with quote

dE_logics wrote:
Maybe something's wrong with inittab?


just checked, inittab is exactly the same as the working machines. interesting enough, on working machine consolekit uses /dev/tty1, while the one showing the issue consolekit opens /dev/tty

(I mean console-kit-daemon of course)


less has as fd 3 /dev/tty in both cases.

Mabye it is not related, but sounds like a weird coincidence nonetheless...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum