willyvmm / mouSTer

mouSTer - universal USB HID class device to db9 adapter.
77 stars 4 forks source link

Amiga mouse scroll wheel still not working in latest. #28

Closed lipteklips2k15 closed 1 year ago

lipteklips2k15 commented 1 year ago

cannot get amiga mouse scroll wheel to work in any of the firmwares that are supposed to support it including the latest! Mouse works just no scroll! and i have the micromys driver working fine as using a usb mouse on my clockport usb interface scrolls fine.

willyvmm commented 1 year ago

I'm not an Amiga guru, but it works for many people. I'm using a stock A1200 with only 2 drivers installed: freewheel and micromys. Another issue may be the conflict of the "USB clockport" solution with the legacy attempt and the driver fx. prefers USB over legacy. Can you tell me what is Your Hardware and configuration, I will try to get support from some Amiga gurus (if they currently are not meditating).

Afebriwyn commented 1 year ago

2 INI parameters that must be set appropriately - otherwise it didn't work, at least for me: mode=mouse type=amigamm Maybe this already explains your problem?

lipteklips2k15 commented 1 year ago

2 INI parameters that must be set appropriately - otherwise it didn't work, at least for me: mode=mouse type=amigamm Maybe this already explains your problem?

those options are configured and still dosnt work.

Retro-Nerd commented 1 year ago

I'm using firmware 3.17.3150 and the scroll wheel is working fine. A1200, ClassicWB Lite, Freewheel and micromys driver installed. The later revisions didn't work for me.

lipteklips2k15 commented 1 year ago

I'm using firmware 3.17.3150 and the scroll wheel is working fine. A1200, ClassicWB Lite, Freewheel and micromys driver installed. The later revisions didn't work for me.

just tried this firmware and still isnt working.

radius75 commented 1 year ago

Maybe check if the configuration is loaded. Connect the USB flash drive with the empty MOUSTER folder and check what is written in the resulting INI file (version, config)

lipteklips2k15 commented 1 year ago

already done that too.

Afebriwyn commented 1 year ago

Worth a try: Experimental micromys-driver from here: https://forum.icomp.de/index.php?thread/2175-micromys-and-os3-2-mouse-support/

willyvmm commented 1 year ago

Could you please tell us your hardware configuration? Could You please tell us your software (mainly drivers) configuration? Have you tried to disable/remove the USB Driver?

midwan commented 1 year ago

I'm afraid the mouse wheel didn't work for me either, in 4 different mice models I've tried so far. Meanwhile, on the same hardware/software installation, using the Micromys adapter and a PS2 mouse, the wheel works as expected.

This is on AmigaOS 3.2.1, which has native support for Wheel (when enabled), so the FreeWheel program is no longer needed. Only Micromys running should be enough (and it is, with the Micromys adapter).

The mice models I tested were:

The hardware I tested the Mouster on was:

Happy to provide more details if you need them

Retro-Nerd commented 1 year ago

Only for the record. I am using Kickstart/OS 3.1 on my A1200. Firmware 3.17.3150 works fine for me (typical PC HID mouse, wireless), but every revision after that not. So, it can't be an exclusive OS 3.2.X issue here. I followed this advice, and 3.17.3150 does the trick for now.

https://github.com/willyvmm/mouSTer/issues/9#issuecomment-1409662646

midwan commented 1 year ago

I forgot to mention that I also tested 3.17.3150, so I updated my report above to indicate that. It didn't work for me either :(

willyvmm commented 1 year ago

Hi. Could you also tell me if the machine is PAL or NTSC ?

midwan commented 1 year ago

All my machines are PAL

willyvmm commented 1 year ago

Looks like kind of hardware incompatibility that i'm not aware of. Is there a chance that you are a lucky owner of an oscilloscope?

midwan commented 1 year ago

@willyvmm Unfortunately I don't have an oscilloscope :(

willyvmm commented 1 year ago

@midwan can you remember when have you bought the mouSTer? Is there a chance that it's a mouSTer from the first pilot batch?

midwan commented 1 year ago

@willyvmm From checking my mails: [Order #11977] (January 27, 2021)

myzar commented 1 year ago

Same situation here order: [Order #15150] (May 15, 2022)

A1200 PAL Machine , tried everything two different logitech mouse , no joy

willyvmm commented 1 year ago

@myzar, @lipteklips2k15: please be patient, we're investigating this issue. In the meantime, please inform me when you have bought the mouSTer.

lipteklips2k15 commented 1 year ago

a very long time ago - I cant be sure because a lot has happend since but at least a year.

gklka commented 1 year ago

Hello! I've also tried the 3.17.3150 firmware today with the required settings (mode=mouse and type=amigamm). Installed Micromys driver from http://wiki.icomp.de/wiki/Micromys#Download. I have an A1200 equipped with Vampire V2 and a vanilla AmigaOS 3.2.1. I know, that in theory 3.2 support scrolling without the need of FreeWheel, but also tried to install that program, but unfortunately did not change anything. Scrolling is not working for me.

Tested mouses:

MBry0 commented 1 year ago

If of any use, i tried 4 mice and they all work, scrollwheel included.

Mouse tested:

EDIT: MouSTer bought in november 2021.

myzar commented 1 year ago

I think i've solved the mistery after trying almost everything, it's not an hardware/firmware problem , this microsys driver doesn't work on rtg , if i switch to a pal mode , scrolling works , as soon as i switch to a rtg screen scrolling stops working.

lipteklips2k15 commented 1 year ago

I think i've solved the mistery after trying almost everything, it's not an hardware/firmware problem , this microsys driver doesn't work on rtg , if i switch to a pal mode , scrolling works , as soon as i switch to a rtg screen scrolling stops working.

My actual micromys mouse adapter works fine with rtg so its not that

myzar commented 1 year ago

I think i've solved the mistery after trying almost everything, it's not an hardware/firmware problem , this microsys driver doesn't work on rtg , if i switch to a pal mode , scrolling works , as soon as i switch to a rtg screen scrolling stops working.

My actual micromys mouse adapter works fine with rtg so its not that

well do a quick test switch to a pal screen and you'll see that magically it works

gklka commented 1 year ago

I did test this on PAL screens, even with pure 3.1 Kickstart + loadwb only, but it does not work for me.

TuKo1982 commented 1 year ago

Tried here with 3475 and indeed it does work in PAL but not in RTG.

My configuration :

midwan commented 1 year ago

Just got the (latest) adapter back, so I could test as well. Unfortunately, it still doesn't work for me, not even in PAL mode as mentioned above.

I tried it under Workbench, DOpus and IBrowse, all of which work fine with scrolling when using an actual Micromys adapter and a PS2 mouse connected. RTG or PAL mode did not seem to make a difference in my environment.

lipteklips2k15 commented 1 year ago

still not working here across 5 different amigas some with RTG some just with PAL tried all firmwares that are supposed to support scrollwheel on amiga using different micromys drivers and freewheel and nothing! please fix this its driving me nuts :P

gklka commented 1 year ago

What can we help you to locate the issue? Are there any debug tools or methods to identify the problem? (Apart from owning an oscilloscope...)

willyvmm commented 1 year ago

So... I'm trying to obtain a Pistorm for A500 - as seems to be the only option to get RTG. That could be an advantage if someone have tested it with the Pistorm. And ... oscilloscope is still the best tool. Until I understand what is cause of this issue - I'm not able to fix it. I can only do a blind guess and try Trial and error ... The strangest thing is ... Everything is working in my test setup. I use a stock A1200 with no hardware extensions and clean (almost) OS. So. I'm working on that, and trust me, it's it's terribly annoying. I'm Dreaming on that issue ... so it's serious.

gklka commented 1 year ago

Don't take it too seriously :)

Is there a difference in mouSTer hardware? Or are all of the units behaving the same?

Maybe putting together a test configuration and a step-by-step instructions how to test it would help. It is clear that something is going off among us, and we are not testing the same thing, because it seems three different observations have been made:

I'm glad to help you if I can.

midwan commented 1 year ago

I agree that we need to be more specific with the test scenarios, in order to start making more sense of this and narrow things down. In my case for example, all my systems have identical software installations: AmigaOS 3.2.1, P96 3.3.2, no hacks/patches on top if I can avoid it.

Some people mentioned it worked for them using other AmigaOS versions + FreeWheel + PAL.

Perhaps the OS version is related, as OS 3.2.x adds native support for the wheel and the FreeWheel tool is no longer required. If however the mouSTer only works with PAL and FreeWheel (and OS versions older than 3.2.x), that might explain some things.

@willyvmm Which OS are you testing with? I assume you're also running on PAL since you mentioned a standard A1200. Are you also using FreeWheel?

lipteklips2k15 commented 1 year ago

ok here are the systems I have tested on - A1200 with Vampire 1200, running Coffin OS R60, A1200 with TF1230 running Amiga OS 3.1, A500 with Firebird V4 running Coffin OS R61, A600 with PIStorm and Caffine OS and finally A1200 with PIStorm32 Lite and Caffine OS. The machines that have RTG have been tested using PAL and RTG screen modes.

midwan commented 1 year ago

@lipteklips2k15 CoffinOS and CaffeineOS are not really an OS however, it's just a packaged/bundled/patched together AmigaOS 3.9, which AFAIK can also be upgraded to 3.2.x. Best mention if you are using the 3.9 version or if you have done the upgrade to 3.2.x in this case.

You didn't mention if FreeWheel is being used?

Also, might be useful to mention the version of P96 used for the RTG modes. Not sure if it matters, but since this is still unknown it's best to gather all the details. :)

lipteklips2k15 commented 1 year ago

@lipteklips2k15 CoffinOS and CaffeineOS are not really an OS however, it's just a packaged/bundled/patched together AmigaOS 3.9, which AFAIK can also be upgraded to 3.2.x. Best mention if you are using the 3.9 version or if you have done the upgrade to 3.2.x in this case.

You didn't mention if FreeWheel is being used?

Also, might be useful to mention the version of P96 used for the RTG modes. Not sure if it matters, but since this is still unknown it's best to gather all the details. :)

Freewheel is installed on all systems and my actual Micromys adapter works fine on all setups including scroll wheel as for the OS installs of Caffine and Coffin they are as stock so thats 3.9 based (I wont pay for OS 3,2 for personal reasons) and the free version of P96.

gklka commented 1 year ago

I just tested it with my Amiga 600, which has floppy only. Kickstart 2.05, booted from Workbench 3.1 Install floppy, then loaded the stable Micromys driver first, then FreeWheel 2.2.2 (from AmiNet) second from an another floppy.

I think it is also worth mentioning the programs you tried to scroll: I test with Workbench windows both in icon and list view, and ARTM which has a GadTools scroll widget.

And yeah, it did not work. :/

willyvmm commented 1 year ago

Hi. Ok. Thanks for your support and willingness to help :)

I've missed something important or got fixed with some wrong assumption. So Let's take One small step at a time.

The first step is to confirm if there is no error in the USB descriptor parser engine. Please install firmware from this link: https://we.tl/t-TiHytJm5kE This firmware is based on the latest prerelease, and is preconfigured + has debug activated. It should be fully functional, so there is nothing against using it :)

The procedure is simple:

  1. Unpack and Copy the firmware file to the MOUSTER folder on a PenDrive.
  2. Insert the Pendrive into the mouSTer
  3. wait until it stops flashing rapidly, and start sending a morse R(remove) status
  4. Remove the PendDrive
  5. Connect your wheel mouse
  6. Wait 1 second
  7. Remove the Mouse
  8. Insert PenDrive with an empty MOUSTER folder
  9. Wait until it stops flashing rapidly, and start sending a morse R(remove) status
  10. Remove the PenDrive, and send me the generated mouster.dbg file. Please attach a short info on what mouse it is.

In the 5th line, you should see true - that means the mouSTer has correctly detected the wheel on your mouse. Based on the debug data I will be able to partially emulate the mouse in my debug setup.

Looking forward to the results :) Thanks.

gklka commented 1 year ago

gklka.zip

Here are mine: as mentioned earlier, I have a Logitech M280 and a Logitech Performance MX mouse. Both comes with a wireless receiver and otherwise work well. The mouSTer was plugged into my A1200.

willyvmm commented 1 year ago

Thanks @gklka - No errors here.

willyvmm commented 1 year ago

I have an Idea.

Could someone run Amiga Test Kit: https://github.com/keirf/Amiga-Stuff/releases Then press F4, F1, F1, F1 (Controller ports and Change port 1 to Analog) And then use the wheel. This maybe sounds a bit stupid, but it's a very simple oscilloscope substitute. You should be able to see something like this in this video: https://youtu.be/Xjt7pnYqhJA The right dot is always ca in the same position, and the left one is changing position when using the wheel or press the middle button. Only one is visible on the screen at the same time. The Bonus would be to take a video or few pictures (upload fx to https://wetransfer.com/) The Supreme Bonus would be to do the same with Org. Micromys. (in this case a longer video would be appreciated) Then go back to the main menu, press ESC to change 50/60Hz, and try again.

Thanks for your support.

midwan commented 1 year ago

@willyvmm Just did the test: https://youtu.be/7BhNGBFRIUk

midwan commented 1 year ago

@willyvmm Attaching the debug output from fw 3.17.3475004 as well: MOUSTER.zip

The mouse used in this case is the "official Raspberry Pi mouse"

willyvmm commented 1 year ago

Thanks. No error Here.

I can state that all mouses has been recognized correctly. Its time to get the next step.

gklka commented 1 year ago

It seems, that M280 gives signals for scrolling, but Performance MX is not:

M280: https://youtu.be/A-cva6UHLm0 Performance MX: https://youtu.be/ao96C5atA_M

willyvmm commented 1 year ago

Thanks. That's a huge help. Overall seems that I will write my own driver. The MM seems to be unnecessarily overcomplicated. Additionally, the configuration process of the mouSTer firmware has to be simplified. Stay tuned.

JanNadziejowski commented 1 year ago

Willy I checked this FW build 3.17.3475004. Unfortunately it does not work.

TomCat666 commented 1 year ago

I think your own driver might be the way to go. Also HID2AMI author wrote his own driver rather than use micromys since it was overcomplicated there too. Latest (3475) working fine here with the M235 Logitech mouse, mouse wheel working fine in OS 3.2.1 with micromys and muiwheelpatch. The only thing that has problems with it is the Directory Opus 4.16 ... but that has problems with mouse wheel in WinUAE also (just erradic behaviour when scrolling with the wheel), it has nothing to do with mouSTer or micromys.

willyvmm commented 1 year ago

This weekend I received a PiStorm32-Lite. It seems to be the most popular configuration. And ... Everything is working. Workbench, Rtg. Classic, 3.2.1 ... I'm not able to recreate this issue. It works every time.