Solved Changing Keyboard Layout In sc

D

Deleted member 62636

Guest
Hello, I have tried changing the screen resolution with vidcontrol but I got an error:
module_register_init: MOD_LOAD (vesa, 0xffffffff8251100, 0) error 19
sysctl_unregister_oid: failed to unregister sysctl

With this reply, I changed my console mode from vt to sc and I successfully changed my screen resolution.
But unfortunately my keyboard layout changed to English, how can I change my keyboard layout with sc console or is there an easy way to change the screen resolution with vt ?
 
is there an easy way to change the screen resolution with vt
vt(4):
Code:
     kern.vt.fb.default_mode
             Set this value to a graphic mode to override the default mode
             picked by the vt backend.  The mode is applied to all output
             connectors.  This is currently only supported by the vt_fb
             backend when it is paired with a KMS video driver.
 
vt(4):
Code:
     kern.vt.fb.default_mode
             Set this value to a graphic mode to override the default mode
             picked by the vt backend.  The mode is applied to all output
             connectors.  This is currently only supported by the vt_fb
             backend when it is paired with a KMS video driver.
I tried setting it in
Code:
/boot/loader.conf
alongside
Code:
hw.vga.textmode=1
from your reply but It didn't work
 
You either set text mode on or set a graphics mode resolution.
 
You either set text mode on or set a graphics mode resolution.
OK, now only
Code:
kern.vty=vt
kern.vt.fb.default_mode="1024x768"
remains in the file, but the resolution is still the same.
 
What video card do you have? And what version of FreeBSD?
 
What video card do you have? And what version of FreeBSD?
I am using my onboard Intel graphics in FreeBSD 12.2. BTW at the boot screen it displays "VT (vga) resolution 640x480" for less than a second. This issue didn't happen on sc(4).
 
Rather than installing this can I just keep using sc(4) ?
If you're not going to use X, then yes. If you want to use X then you're going to need vt(4) and that DRM driver.

To change your keyboard layout in sc(4) you can use the same kbdmap(1) command (or keymap= in rc.conf).
 
If you're not going to use X, then yes. If you want to use X then you're going to need vt(4) and that DRM driver.

To change your keyboard layout in sc(4) you can use the same kbdmap(1) command (or keymap= in rc.conf).
Thanks! BTW I have a problem with changing display device, should I post it on General or System Hardware?
 
Display has to be on and attached for the console to detect it. Annoying if you want to switch to an external monitor for example. Should be fine here, it's a general problem with the base OS, not a specific hardware issue.
 
Back
Top