Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dosbox -startmapper Not Working (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
eusanpe
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 107

PostPosted: Sun Mar 16, 2008 2:31 am    Post subject: dosbox -startmapper Not Working (SOLVED) Reply with quote

Hello All:

I am running Dosbox CVS with my desktop being KDE 3.5.9 but I cannot get the startmapper to start. I have disabled all of the control <F1-12> keys but nothing. I run dosbox -startmapper but nothing starts. I have toggled the fullscreen mode and nothing. My KDE keyboard layout is Evdev-managed keyboard. My dosbox.conf, xorg.conf and emerge --info are displayed below.. Has anyone else had an issue like this. I am using amd64 with nvidia driver 169.12. I also tried to run it in fluxbox but it didn't work either.

Any ideas would be appreciated.

BTW.. I posted this on the Dosbox forum and one person suggested to try a precompiled binary. Well I tried an x64 one and it didn't work either.

Thanks,
Tony

dosbox.conf
===================
[sdl]
fullscreen=true
fulldouble=false
fullresolution=original
windowresolution=original
output=opengl
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true
overscan=0

[dosbox]
language=
machine=vga_s3
captures=capture
memsize=63

[render]
frameskip=0
aspect=false
scaler=normal3x

[vsync]
vsyncmode=off
vsyncrate=75

[cpu]
core=auto
cycles=auto
cycleup=500
cycledown=20

[vga]
#svgachipset=s3
#videoram=2048

[mixer]
nosound=false
rate=22050
blocksize=2048
prebuffer=10

[midi]
mpu401=intelligent
device=default
config=

[sblaster]
sbtype=sb16
sbbase=220
irq=5
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[speaker]
pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[joystick]
joysticktype=auto
timed=true
autofire=false
swap34=false
buttonwrap=true

[serial]
serial1=disabled
serial2=disabled
serial3=disabled
serial4=disabled

[dos]
xms=true
ems=true
umb=true
keyboardlayout=none

[ipx]
ipx=false

[autoexec]
===============================

xorg.conf
========
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "evdev"
Option "XkbLayout" "us"
Option "Device" "/dev/input/event0"
EndSection
================

Emerge --info

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz
Timestamp of tree: Sat, 15 Mar 2008 19:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python: 2.4.4-r6, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mtune=nocona -O2 -fomit-frame-pointer -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -mtune=nocona -O2 -fomit-frame-pointer -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility acpi alsa amd64 ao arts audiofile bash-completion berkdb bzip2 cairo calendar cddb cdio cdparanoia cdr cdrw chm cpudetection cups curl cxx dbus dell dga dhcp disk-partition divx djbfft djvu dmx dri drm dts dv dvb dvd dvdr dvdread dxr3 emacs encode esd exif expat fam ffmpeg fftw filepicker firefox flac fltk fontconfig foomaticdb ftp gd gdbm ggi gif gimp glib glitz gmedia gphoto2 gpm graphviz gs gstreamer hal hddtemp hdri htmlhandbook iconv ieee1394 imagemagick imlib ipod irda jabber java javascript jpeg jpeg2k kde lame laptop lcms libcaca libsamplerate lm_sensors lzo mad midi mikmod mmap mmx mmxext mng modplug mono motif mp3 mp3rtp mp4 mpeg mplayer msn musepack musicbrainz nas ncurses network-cron nls nptl nptlonly nsplugin ntp ogg openal openexr opengl oscar oss paste64 pda pdf perl plasma png povray ppds python qt3 qt4 quicktime radio rar rdesktop readline realmedia rtc samba sasl sdl semantic-desktop slit sndfile sound spell srt sse sse2 ssl ssse3 subversion svg swat syslog tcl teletext tga theora tiff timidity tk toolbar toolkit-scroll-bars truetype unicode usb v4l v4l2 vcd visualization vnc vorbis wavpack wmf wmp wxwindows x264 xanim xattr xcomposite xft xine xinerama xml xorg xpm xscreensaver xv xvid zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="dmix adpcm alaw asym copy dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by eusanpe on Mon Mar 17, 2008 2:23 am; edited 1 time in total
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sun Mar 16, 2008 8:30 am    Post subject: Reply with quote

Is dosbox crashing, or just going straight into the emulator instead of doing the mapping mode?

If it's crashing, then one thing I like to try in situations like that is running the program under strace (essentially it logs all of the kernel calls the program tries to make to the console) so you can get a better idea of what it's doing before it crashes. For this case, you'd emerge strace and do "strace -fF dosbox -startmapper". The -fF are in case the program tries to fork() apart into two processes, so strace keeps watching both.

Side note, -startmapper appears to work fine for me on amd64 (at least it shows something, I didn't try changing the mappings), both with and without a dosbox.conf.
Back to top
View user's profile Send private message
eusanpe
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 107

PostPosted: Sun Mar 16, 2008 6:20 pm    Post subject: Reply with quote

Thank you for replying...

Dosbox works great except that the keymapper will not start. I ran the strace command just to see what
it displays and the only things that have to do with -startmapper is below:

[pid 13871] stat("-startmapper", 0x7ffff84fd850) = -1 ENOENT (No such file or directory)
[pid 13871] getcwd("/home/tony", 512) = 11
[pid 13871] stat("/home/tony/-startmapper", 0x7ffff84fd850) = -1 ENOENT (No such file or directory)
[pid 13871] brk(0x3769000) = 0x3769000

---------------------------------------------------------
It looks like that it doesn't understand the command line option. I tried <CTRL><F1> and nothing
happened. I am stumped. Do you or anyone have a default mapper.txt file for a Dell XPS laptop
keyboard or just a laptop keyboard? I then could at least edit this manually until I can get the virtual
keyboard working.

Thanks,
Tony
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sun Mar 16, 2008 8:02 pm    Post subject: Reply with quote

Maybe the difference is in the versions we're using... I've got 0.72 here. You could try installing that just to use the mapper, then go back to CVS?
Back to top
View user's profile Send private message
eusanpe
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 107

PostPosted: Mon Mar 17, 2008 2:22 am    Post subject: Reply with quote

That was it. I don't know why the dosbox-cvs doesn't call the keyboard mapper but using
the non-cvs version does. I still cannot get it to pull up with <ctrl><f1> but who cares for
now. I can figure that out later.

Thank you for the suggestion. I have been using the cvs version for so long that I never
thought of using the regular version..


Tony
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players 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