hatari 2.2.1 not seeing real joypads on ubuntu

A forum about the Hatari ST/STE/Falcon emulator - the current version is v2.3.0

Moderators: simonsunnyboy, thothy, Moderator Team

Post Reply
User avatar
rmd
Atari maniac
Atari maniac
Posts: 92
Joined: Fri Dec 15, 2017 11:30 am
Location: Berlin, Zermany
Contact:

hatari 2.2.1 not seeing real joypads on ubuntu

Post by rmd »

Hello,
I'm trying to use real joypads with hatari 2.2.1, they work correctly under linux but when I get into hatari's Joyticks setup, the "use real joystick" option has (none available) written under its title. Am I missing something?
simonsunnyboy
Moderator
Moderator
Posts: 5309
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: hatari 2.2.1 not seeing real joypads on ubuntu

Post by simonsunnyboy »

Make sure to connect any joypads before starting Hatari. Hatari does not support hotplugging.

Sometimes device files may be missing, create or symlink them if necessary.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
User avatar
rmd
Atari maniac
Atari maniac
Posts: 92
Joined: Fri Dec 15, 2017 11:30 am
Location: Berlin, Zermany
Contact:

Re: hatari 2.2.1 not seeing real joypads on ubuntu

Post by rmd »

simonsunnyboy wrote: Sometimes device files may be missing, create or symlink them if necessary.
you mean in /dev? what it is expecting?
simonsunnyboy
Moderator
Moderator
Posts: 5309
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: hatari 2.2.1 not seeing real joypads on ubuntu

Post by simonsunnyboy »

In the past I had to backlink /dev/input/js0 to /dev/js0 but that may have been SDL1 times.

My Logitech F710 pad here does create device /dev/input/js0 with the xpad driver but is listed with Hatari and SDL2 under Ubuntu. That pad works fine.

Try installing jstest-gtk. This should show device names for connected joypads if everything is correct.
Bildschirmfoto_2019-11-01_14-50-53.png
You do not have the required permissions to view the files attached to this post.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
User avatar
rmd
Atari maniac
Atari maniac
Posts: 92
Joined: Fri Dec 15, 2017 11:30 am
Location: Berlin, Zermany
Contact:

Re: hatari 2.2.1 not seeing real joypads on ubuntu

Post by rmd »

simonsunnyboy wrote:In the past I had to backlink /dev/input/js0 to /dev/js0 but that may have been SDL1 times.

My Logitech F710 pad here does create device /dev/input/js0 with the xpad driver but is listed with Hatari and SDL2 under Ubuntu. That pad works fine.

Try installing jstest-gtk. This should show device names for connected joypads if everything is correct.
Yes I see them both with similar /dev/input/js0 and js1 files with jstest-gtk, but not in hatari.
kolli
Atari nerd
Atari nerd
Posts: 45
Joined: Sat Jul 23, 2016 7:37 pm

Re: hatari 2.2.1 not seeing real joypads on ubuntu

Post by kolli »

Maybe a problem with permissions? User should be member of group input, if I remember correctly.
User avatar
rmd
Atari maniac
Atari maniac
Posts: 92
Joined: Fri Dec 15, 2017 11:30 am
Location: Berlin, Zermany
Contact:

Re: hatari 2.2.1 not seeing real joypads on ubuntu

Post by rmd »

kolli wrote:Maybe a problem with permissions? User should be member of group input, if I remember correctly.
thanks, I just added my user to input and restarted, unfortunately I still have the same problem. :evil:
neanderthal
Captain Atari
Captain Atari
Posts: 202
Joined: Sun Jul 10, 2016 10:58 pm

Re: hatari 2.2.1 not seeing real joypads on ubuntu

Post by neanderthal »

rmd wrote:
kolli wrote:Maybe a problem with permissions? User should be member of group input, if I remember correctly.
thanks, I just added my user to input and restarted, unfortunately I still have the same problem. :evil:
Yeah,,remember had some odd probbs myself when tested that out,,tweaked around with /dev/input files..got it to work somehow.Can see if remember to test it again in the weekend.
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2315
Joined: Sun Jul 31, 2011 1:11 pm

Re: hatari 2.2.1 not seeing real joypads on ubuntu

Post by Eero Tamminen »

Is your joystick visible to other SDL2 programs (e.g. games)?
Post Reply

Return to “Hatari”