Keyboard produces garbage

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

I was trying to boot FreeBSD on an old ThinkPad T30 and encountered problems using the keyboard. The system boots up OK but at the login prompt arbitrary numbers/digits, sometimes in twos appear when I try typing anything.

I thought it maybe a faulty keyboard problem, but I tried running Arch Linux on the same machine and had no such issue.

Any ideas on what could be causing this?
 

Vull

Well-Known Member

Reaction score: 239
Messages: 498

Login prompt? On the virtual terminals, or at a window manager login? Which FreeBSD version and/or display manager?
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

Login prompt? On the virtual terminals, or at a window manager login? Which FreeBSD version and/or display manager?
It was happening on boot, no window manager.

I thought it was some sort of hardware error as I had been messing with the machine, but I've installed FreeBSD from scratch and there is no problem, so... false alarm, sorry.
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

I've just 'unsolved' this thread as I've found the problem mentioned to have recurred.

After formatting an existing partition and extracting kernel and base txz onto it and booting from it, the system stopped at the mountroot prompt since there is no /etc/fstab in the distribution files.

When trying to type ufs this came up \\]]

and then a panic and reboot.

This is with FreeBSD 13.0-RELEASE i386 on an old ThinkPad T30.
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

Going through the exact same procedure using FreeBSD 12.0-RELEASE i386 using the same disk and the same machine does not cause the problem. I am able to enter ufs:/dev/ada0p2 at the mountroot prompt and proceed to the login prompt where I can login normally.
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

Just tried the same thing as in #5 but with FreeBSD 12.2-RELEASE i386 and can login normally, so it does look like something in 13.0 which is causing the problem.
 

sko

Aspiring Daemon

Reaction score: 348
Messages: 623

I've seen old Toughbooks with failing ribbon cables to the lid showing weird keyboard (and other) errors. Took me a while to figure this out, as they shouldn't be related to the keyboard in any way, but the problems disappeared after replacing the ribbon cable...
The keyboards themselves also have a foil pcb 'cable' which, depending on how unfortunate it was routed, might fail or slip out of its socket over the years.
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

I've seen old Toughbooks with failing ribbon cables to the lid showing weird keyboard (and other) errors. Took me a while to figure this out, as they shouldn't be related to the keyboard in any way, but the problems disappeared after replacing the ribbon cable...
The keyboards themselves also have a foil pcb 'cable' which, depending on how unfortunate it was routed, might fail or slip out of its socket over the years.
Whilst what you say is true it doesn't explain why the same system with same keyboard and hard disk has FreeBSD 12.0 and 12.2 booting up without any problem, whereas 13.0 has an unusable keyboard.
 
Top