Is there a way to disable a specific USB device? (Wireless mouse issues on OS 9...)

mcmcjohn

Active member
OS9.jpg

Based on my own experience and feedback from others, it seems that wireless mouse compatibility is a known issue on Mac OS 9. There’s one common factor that stands out, these devices are "USB Composite Devices". That means a single USB receiver dongle includes multiple components such as a keyboard, mouse, and HID device.

As you can see in the image I uploaded (I’ve marked it with a red line), when I install the UGREEN receiver, three devices show up simultaneously, Keyboard, Mouse, and HID. For comparison, I tested another compatible wireless mouse, and in that case (shown at the very top of the image), only a single usb device(marked "마우스 (USB Receiver)") was detected.

That made me wonder, if it's possible to disable just the Keyboard and HID components of the UGREEN device, leaving only the mouse, perhaps the mouse function could work properly.

So I’d like to ask: is there any way to disable or block specific USB devices in Mac OS 9?
 

mcmcjohn

Active member
Maybe you can create a stub USB driver that matches on those interfaces only.

Oh... what is the stub USB driver...? I didn't know that. Actually, it's not just the UGREEN mouse, many other 2.4GHz wireless mice also show this behavior, so I really wish there were a proper solution.
 

joevt

Well-known member
Oh... what is the stub USB driver...? I didn't know that. Actually, it's not just the UGREEN mouse, many other 2.4GHz wireless mice also show this behavior, so I really wish there were a proper solution.
I don't know. It's a USB driver that matches to a USB device but doesn't do anything.
You have to research how to create a USB driver that can override the default driver - is it even possible in classic Mac OS?
There's a USB DDK for classic Mac OS. Maybe it has sufficient info.
https://developer.apple.com/library...eviceManagers/usb/usb_ref/usb_api_ref_v26.pdf
http://macintoshgarden.org/forum/writing-a-usb-driver

Also maybe check USB Overdrive. I don't know if it will help with your problem.
http://macintoshgarden.org/apps/usb-overdrive-14
 

mcmcjohn

Active member
I don't know. It's a USB driver that matches to a USB device but doesn't do anything.
You have to research how to create a USB driver that can override the default driver - is it even possible in classic Mac OS?
There's a USB DDK for classic Mac OS. Maybe it has sufficient info.
https://developer.apple.com/library...eviceManagers/usb/usb_ref/usb_api_ref_v26.pdf
http://macintoshgarden.org/forum/writing-a-usb-driver

Also maybe check USB Overdrive. I don't know if it will help with your problem.
http://macintoshgarden.org/apps/usb-overdrive-14

I've found almost 100% working solution... I will post it!
 
Top