Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard doesn't work at all. #2025

Open
tokafondo opened this issue Jun 20, 2023 · 2 comments
Open

Keyboard doesn't work at all. #2025

tokafondo opened this issue Jun 20, 2023 · 2 comments

Comments

@tokafondo
Copy link

Describe the bug
I cannot make the keyboard work in dosemu. Not at all. No matter which configurations I use, the keyboard is not recognized even in exclusive CTRL-ALT-K mode. Not even in built-in freedos. qemu works, btw.

To Reproduce

  • install dosemu with apt-get
  • run dosemu as installed

Attach program/game binaries or provide an URL
If the problem needs specific DOS files to reproduce, please attach
or provide the download URL.

Attach the log

fdpp: plugin loaded: 1
CONF: config variable parser_version_3 set
CONF: config variable c_system set
CONF: Parsing built-in dosemu.conf file.
CONF: config variable version_3_style_used set
CONF: Parsing /etc/dosemu/dosemu.conf file.
CONF: config variable c_user set
CONF: Parsing /home/yo/.dosemu/dosemurc file.
CONF: Parsing built-in global.conf file.
CONF: mapping driver = 'auto'
debug flags: -a+cw
CONF: timer freq=18, update=54925
CONF: CPU set to 486
CONF: CPUEMU set to sim
CONF: CPU VM set to 2
CONF: CPU VM set to 2 for DPMI
CONF: 8192k bytes EMS memory
CONF: EMS-frame = 0xe000
CONF: dos_up: on
CONF: DPMI-Server on (0x20000)
CONF: DPMI base addr = 0x20000000
CONF: PM DOS API Translator on
CONF: No DJGPP NULL deref checks: on
CONF: 8192k bytes int15 ext memory
CONF: 16384k bytes XMS memory
Warning: CONF: dosemu not running on console
CONF: time mode = 'bios'
SER: directory /var/lock namestub LCK.. binary No
MOUSE: /dev/input/mice, type 7 using internaldriver: yes, emulate3buttons: no baudrate: 0
CONF: disk type 'Floppy' floppy A:
CONF: fastfloppy = 1
default_drives 0
Setting up drive C, /home/yo/.dosemu/drive_c
Added drive 0 (80): /home/yo/.dosemu/drive_c
default_drives 1
Added drive 1 (81): /usr/share/dosemu/dosemu2-cmds-0.3
Setting up default drives from E
Added drive 2 (82): /usr/share/comcom32
Added drive 3 (83): /usr/share/dosemu2-extras/bat
CONF: IPX support off
CONF(LPT0) f: (null)   c: lpr -l  t: 20  port: 0
CONF(LPT1) f: (null)   c: lpr -P PDF  t: 20  port: 0
CONF: not allowing speaker port access
CONF: Packet Driver enabled.
CONF: NE2000 enabled.
CONF: config variable c_system unset
Command line: /usr/bin/dosemu.bin -o /home/yo/.dosemu/boot.log
Warning: Linux kernel 6.0.12; CPU speed is 3355113000 Hz
Warning: CPU-EMU speed is 3355 MHz
CONF: V86 cpu vm set to 2
CONF: DPMI cpu vm set to 2
CONF: not running on console
CONF: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000)
CONF: priv operations unavailable
Warning: dosemu2-2.0pre9 is coming up on Linux version 6.0.12 #1 SMP PREEMPT_DYNAMIC Fri Jun 16 19:12:47 WEST 2023 x86_64
Warning: Compiled with clang version 10.0.0 (gnuc 4.2)Warning:  64bit
Warning: CFLAGS: -Wno-microsoft -Wno-incompatible-pointer-types -Wno-address-of-packed-member -Wall -Wstrict-prototypes -Wmissing-d>
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 16Kb at 0xFA000 for 'r' (Dosemu reserved area)
CONF: reserving 8Kb at 0xFE000 for 'b' (BIOS)
Warning: using CPU emulation for vm86()
Warning: using CPU emulation for DPMI
VID: initializing SDL plugin
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
Registering HWRAM, type=L base=0 size=0x110000
Conventional memory mapped from 0x7fd579e00000 to 0x7fd54f600000
CONF: reserving 16384Kb at 0x900000 for 'x' ((null))
CONF: reserving 8128Kb at 0x110000 for 'X' (EXT MEM)
Registering HWRAM, type=X base=0x110000 size=0x1ef0000
Registering HWRAM, type=U base=0x28710000 size=0x1ef0000
CONF: reserving 64Kb at 0x100000 for 'H' (HMA)
loading fonts for cp858
VID: initializing video sdl
VID: SDL plugin initialization completed
Registering HWRAM, type=e base=0xe0000000 size=0x400000
CONF: reserving 12Kb at 0xC0000 for 'V' (VGAEMU Video BIOS)
Warning: SERIAL $Id$
Warning: userspace pings are disabled.
        To enable them, do as root:
        echo 0 65535 > /proc/sys/net/ipv4/ping_group_range
DPMI: mem init, mpool is 140468224 bytes at 0x7fd56f600000
Warning: Using DPMI with CPU emulator
CONF: detected layout is "es-latin1"
CONF: detected alternate layout: (null)
TIME: using 9154 usec for updating ALRM timer
======================= ENTER CPU-EMU ===============

Warning: WARNING: image filedesc not open
CONF: freeing region for 'E' (EMS page frame)
leavedos(handle_dosemu_keys:42|0) called - shutting down
leavedos thread started
leavedos thread ended
coopthreads stopped
======================= LEAVE CPU-EMU ===============

A regression?
dosemu1 didn't work also

Additional info
Changed nothing, everything by default installation settings

@stsp
Copy link
Member

stsp commented Jun 21, 2023

Maybe this is related to "es-latin1" layout,
although if I set $_layout="es-latin1" it still
works.
So please try the following things separately:

  • set $_layout="us"
  • try dosemu -X
  • try dosemu -t
  • try dosemu -dumb

Does anything work?

@Nobody-Special
Copy link

What distro is it? Debian, Ubuntu or something else? If you provide the distro, I'll try to reproduce the bug and trouble shoot it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants