atarijookie / ce-atari

Official repository for Cosmos Ex software
http://joo.kie.sk/?page_id=384
34 stars 9 forks source link

Block USB keyboard in linux #134

Open atarijookie opened 7 years ago

atarijookie commented 7 years ago

I swear to flying spaghetti monster that I've created this one, but I can't find it. If it's here somewhere, we can link them and close this one.

When using USB keyboard through CE, the input not only goes to ST, but also to linux console on RPi, which is auto-logged in in Raspbian.

Things to do: 1) disable auto login, so user won't be logged in automatically (seen through HDMI) 2) disable linux console input from USB, add some switching between linux console and Atari IKDB

@mikrosk - do you have any idea how to solve 2), or at least do the preparation for switching that keyboard, like you're currently doing for your IKBD fake joysticks switching?

miniupnp commented 7 years ago

left to be implemented : update motd / documentation so user are aware of LCTRL+LALT+RCTRL+RALT

mikrosk commented 7 years ago

Ah, right, because we don't have an CE_CONF entry about that. Btw, help related, I've been thinking that every screen could have a help section. I.e. you press F11/HELP and you'd see a short description what's what, similar to HDDriver.

miniupnp commented 7 years ago

it has nothing to do with CE_CONF. A user just plugging the RPi to HDMI output + USB keyboard have to be informed on how to activate the keyboard !

mikrosk commented 7 years ago

@miniupnp: I'm aware of that. :) That's what I meant by "because we don't have an CE_CONF entry about that". Perhaps I should separate my thoughts because I just create chaos. The help key idea is unrelated to this particular issue.

atarijookie commented 7 years ago

left to be implemented : update motd / documentation so user are aware of LCTRL+LALT+RCTRL+RALT

I will add that in the shell script to modify motd, possibly create a web help page for that...

miniupnp commented 7 years ago

@atarijookie you may need to edit /etc/issue instead, it is shown BEFORE login. http://unix.stackexchange.com/questions/16255/how-can-i-change-whats-displayed-at-a-login-shell

atarijookie commented 7 years ago

You're right, motd is shown after login :+1:

mikrosk commented 5 years ago

Guys, didn't we forget about one scenario? Now I have used the magic combo to unlock the keyboard so I can type in shell, shouldn't Atari keyboard emulation be disabled until I lock it again? Because Atari is mirroring my shell commands, quite odd. :)