Can’t use usb mouse in dos game

The intent of this forum is to discuss my DOS TSR programs (available at http://bretjohnson.us), how they work and don't work, new/missing features, status of updates, and anything else related to them that may need to be discussed.

Can’t use usb mouse in dos game

Postby homewayma » Fri Feb 10, 2023 7:14 pm

Hi Bret,
there is a problem.I can't use a USB mouse under Dos because UHCI also uses IRQ5, and like the sound card, it will freeze when entering the game. Looking at the picture, I can't change the interrupt used by the USB, and I can't change the interrupt used by the sound card, because it is an ess sound card, loaded with essaudio.com commands.
https://s2.loli.net/2023/02/11/ePhT5FUfq92p3nO.jpg

https://s2.loli.net/2023/02/11/bx6Rol8yrVPgYvt.jpg

https://s2.loli.net/2023/02/11/QIOgq2aCGdJkw9S.jpg

https://s2.loli.net/2023/02/11/K37uYX2dsFZk6zJ.jpg
homewayma
 
Posts: 2
Joined: Sat Feb 04, 2023 12:44 am

Re: Can’t use usb mouse in dos game

Postby Bret » Wed Feb 15, 2023 11:33 am

Sorry it took so long to get back to you on this. For some reason the Forum didn't notify me and I haven't checked in a few days.

According to the second picture, when you try to assign IRQ 9 to the USB controller IRQ 5 isn't yet enabled, which probably means that the sound card isn't turned on (I assume you haven't run the ESSAUDIO program yet)? Try running the ESSAUDIO program (but not installing USBUHCIL) before looking at the IRQ status and see if IRQ 5 becomes enabled.

Also, does the audio work in the game when you just install ESSAUDIO but don't install USBUHCIL (or vice versa)? Does it make any difference which order you install things (ESSAUDIO before or after USBUHCIL)?

I think those tests should pretty much confirm that the problem really is an IRQ conflict and not something else.

I also see from the first picture is that it is an Intel USB controller which means it is integrated onto your motherboard (as far as I know Intel never made plug-in USB controllers), but I assume your audio card is probably a plug-in type. If the audio card was integrated onto the motherboard the BIOS setup should make sure there was no IRQ conflict. Try to get into the BIOS setup and see if there's anything you can play with regarding IRQ settings (probably somewhere in a "Plug and Play" section). Also, sometimes audio cards have a jumper setting you can use to control the IRQ number or can make it a manual setup instead of automatic.

If none of those work, there are a few other things can try.
Bret
 
Posts: 478
Joined: Fri Oct 10, 2008 3:43 am
Location: Rio Rancho, NM

Re: Can’t use usb mouse in dos game

Postby homewayma » Sun Feb 19, 2023 4:49 am

Bret wrote:Sorry it took so long to get back to you on this. For some reason the Forum didn't notify me and I haven't checked in a few days.

According to the second picture, when you try to assign IRQ 9 to the USB controller IRQ 5 isn't yet enabled, which probably means that the sound card isn't turned on (I assume you haven't run the ESSAUDIO program yet)? Try running the ESSAUDIO program (but not installing USBUHCIL) before looking at the IRQ status and see if IRQ 5 becomes enabled.

Also, does the audio work in the game when you just install ESSAUDIO but don't install USBUHCIL (or vice versa)? Does it make any difference which order you install things (ESSAUDIO before or after USBUHCIL)?

I think those tests should pretty much confirm that the problem really is an IRQ conflict and not something else.

I also see from the first picture is that it is an Intel USB controller which means it is integrated onto your motherboard (as far as I know Intel never made plug-in USB controllers), but I assume your audio card is probably a plug-in type. If the audio card was integrated onto the motherboard the BIOS setup should make sure there was no IRQ conflict. Try to get into the BIOS setup and see if there's anything you can play with regarding IRQ settings (probably somewhere in a "Plug and Play" section). Also, sometimes audio cards have a jumper setting you can use to control the IRQ number or can make it a manual setup instead of automatic.

If none of those work, there are a few other things can try.

Thank you for your help!
I tried, and without loading CONFIG.SYS and AUTOEXEC.BAT, USBUHCI or USBUHCIL still uses IRQ5.
I'm confused……
Also, this is a COMPAQ Presario 1700 laptop(17X266,without PS2 port but S-Video) , and there are not many options to set in the BIOS.
homewayma
 
Posts: 2
Joined: Sat Feb 04, 2023 12:44 am


Return to Programs

Who is online

Users browsing this forum: No registered users and 1 guest

cron