English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 01 April 2018, 17:15   #1
Spec-Chum
Registered User
 
Join Date: Dec 2016
Location: England
Posts: 87
Mouse and Joystick show "No Host Device"

Hiya, I'm having an issue where both the mouse and joystick both show "No Host Device" in the launcher.

In game I can F12 to select the mouse manually but the joystick doesn't show up at all.

fs-uae-device-helper.exe --list doesn't show anything at all.

Worked before, but this was a while ago as I've not used FS-UAE for a while and I'm currently on 2.9.7dev3

Any ideas?
Spec-Chum is offline  
Old 06 April 2018, 15:08   #2
Herbert West
Registered User
 
Join Date: Jul 2017
Location: Hamburg / Germany
Posts: 11
Whoops. just recognized I suddenly got the same or a very similar problem. Windows 10 64 here, also latest dev. This should be a new bug, I can't remember having this issue before.

On my system, mouse and joystick both show "no host" very often when I try to start the launcher or a game through launchbox. This seems to be failing SOMETIMES only. If I start the launcher after new windows launch or wait ten minutes after ending a game, it may find my xinput controller and mouse again. But if I start immediately after closing game/launcher, it will almost certainly fail to find my controllers.

Windows Update conflict, perhaps?
Herbert West is offline  
Old 06 April 2018, 15:35   #3
Herbert West
Registered User
 
Join Date: Jul 2017
Location: Hamburg / Germany
Posts: 11
Also, using a fresh new portable of the dev FS UAE doesn't help this time.

If logs are needed, I'll try and provide soon.
Herbert West is offline  
Old 01 May 2018, 23:53   #4
Spec-Chum
Registered User
 
Join Date: Dec 2016
Location: England
Posts: 87
Just a quickie, but a goodie!

I've no idea what it did but the new April 2018 Windows 10 update fixed this!

Mouse and joypad now fully working again.
Spec-Chum is offline  
Old 02 May 2018, 18:17   #5
Spec-Chum
Registered User
 
Join Date: Dec 2016
Location: England
Posts: 87
Oh, spoke too soon.

After a reboot it's gone again

Weird...
Spec-Chum is offline  
Old 05 May 2018, 13:48   #6
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Maybe same as Herbert West mentioned, that it sometimes works after reboot.

Anyway, I've still no idea why this happens, and only for some users. I cannot reproduce the issue at all on my computers (never seen the problem).
FrodeSolheim is offline  
Old 05 May 2018, 17:30   #7
Spec-Chum
Registered User
 
Join Date: Dec 2016
Location: England
Posts: 87
Quote:
Originally Posted by FrodeSolheim View Post
Maybe same as Herbert West mentioned, that it sometimes works after reboot.

Anyway, I've still no idea why this happens, and only for some users. I cannot reproduce the issue at all on my computers (never seen the problem).
After some investigation I actually now know what's causing it! Hoorah!

Sadly, I've no idea why...

It's ASUS Sonic Studio, the sound app for ASUS motherboards. When I updated to the April 2018 update it also updated the Realtek Audio drivers, which were incompatible with Sonic Studio, so it didn't load.

I put these back to the proper ASUS released versions, Sonic Studio loaded again and no inputs on FS-UAE.

Close down Sonic Studio and, BINGO, inputs work again!

Hopefully this helps!

EDIT: I've just checked and, even though Sonic Studio is loaded, everything in it is set to "OFF".
Spec-Chum is offline  
Old 05 May 2018, 18:26   #8
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
This can help tremendously, figuring out what / something that triggers the problem is often the greatest obstacle to solving issues like this. Does opening / closing Sonic Studio reliably cause the Launcher to fail/succeed in detecting devices? I.e. does it happen every time you either have Sonic Studio running / not running?
FrodeSolheim is offline  
Old 05 May 2018, 19:04   #9
Spec-Chum
Registered User
 
Join Date: Dec 2016
Location: England
Posts: 87
Quote:
Originally Posted by FrodeSolheim View Post
This can help tremendously, figuring out what / something that triggers the problem is often the greatest obstacle to solving issues like this. Does opening / closing Sonic Studio reliably cause the Launcher to fail/succeed in detecting devices? I.e. does it happen every time you either have Sonic Studio running / not running?
It's every time, yes. Without fail.
Spec-Chum is offline  
Old 05 May 2018, 19:21   #10
Spec-Chum
Registered User
 
Join Date: Dec 2016
Location: England
Posts: 87
I can't for the life of me think what Sonic Studio is doing that effects Input detention though
Spec-Chum is offline  
Old 05 May 2018, 23:30   #11
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
I managed to reproduce the problem in a virtual machine (no Sonic Studio installed; no reason to think it does something wrong, but it clearly triggers the problem).

Anyway; I got a similar problem in a vritual machine, fs-uae-device-helper --list worked on time, then no longer. Debugging further, I found that it seems the problem is that the output is buffered and never actually output (I expected the output to - at latest - be flushed at program exit when the program exits normally...).

Explicitly flushing stdout after printing to stdout / before exiting seems to fix the problem! I will create a test binary later (possibly not until tomorrow, my build box is busy)

Last edited by FrodeSolheim; 05 May 2018 at 23:49.
FrodeSolheim is offline  
Old 06 May 2018, 00:09   #12
Spec-Chum
Registered User
 
Join Date: Dec 2016
Location: England
Posts: 87
Awesome

Glad i could help.
Spec-Chum is offline  
Old 06 May 2018, 22:29   #13
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Please try this version and see if the problem is gone for good: http://fs-uae.net/devel/2.9.7dev5/
FrodeSolheim is offline  
Old 07 May 2018, 12:36   #14
Spec-Chum
Registered User
 
Join Date: Dec 2016
Location: England
Posts: 87
Quote:
Originally Posted by FrodeSolheim View Post
Please try this version and see if the problem is gone for good: http://fs-uae.net/devel/2.9.7dev5/
Confirmed working, even with Sonic Studio on!
Spec-Chum is offline  
Old 07 May 2018, 23:02   #15
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Thanks for confirming
FrodeSolheim is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" DemosongIHunter request.Music 45 23 May 2022 20:07
Any way to restore "Host/Game Ports & Input" settings to default? Foebane support.WinUAE 4 15 February 2018 20:44
Joystick working with "Launcher" but not with "Arcade" FredB support.FS-UAE 1 12 October 2014 23:38
Bug: Mouse still captured when selecting "start mouse uncaptured" scoobydude512 support.WinUAE 1 24 June 2013 10:28
"MiggyMouse" PS/2 mouse adapter bundled with brand new optical mouse. Mounty MarketPlace 6 30 January 2013 10:50

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:21.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08839 seconds with 13 queries