I'm skipping some stuff which I consider irrelevant this time:
I did not say for you to simply uncomment the existing IOP reset method. You already said that it wasn't working in your earlier posts. What I did advice you to do was to design a working method for performing a proper IOP reset, based on how it is done in other applications, some of whose source code is available (including that of uLE).
Originally Posted by protomank
And exactly why do you assume that I would be unfamiliar with modules which are also used internally by uLE ? (though probably different versions of them)
Anf finnaly, I believe usbd and usbhdfsd are not what you are thinking. usbd is the driver to access the PS2 USB hardware, and usbhdfsd is to load the mass: filesystem (FAT).
You most definitely have had module conflicts in many of your tests, considering how your program initialization was done. And in some cases where related modules are already present when new ones are loaded, this will interfere with the loading and/or proper initialization of the new modules, preventing them from working right. And this can explain the bad sound effects you got when launching the program by other means than PS2Link, which uses its own methods for cleaning out IOP modules between applications.
If you took anything I said to mean that the solution is 'simple' then you have completely misunderstood what I said.
Sadly, it seems like the solution is not so simple,
'Amuses' ? I guess I have a different sense of humor then.
I do not think, after all my testings, that the problem lies in module conflict, but somewhere else. WHY it runs fine from ps2link amuses me :-P
But I definitely think that the PS2Link method of reinitializing IOP has something to do with this. Since PS2Link does that job, your application didn't have to, but when you run it in other ways that lack becomes apparent.
I'm afraid you won't find any magic value that resolves issues not related to prioritization. You will need other changes too, for a complete solution.
Maybe I should try a lot of different values for the sound thread priority until I find one that works? I've tryied some, but did not worked.
Well, we try.
Thanks anyway, I am glad someone finally took a time to help me :)
I see from one of your later posts that you have now managed to implement a working IOP reset based on tips by ragnarok2040, and then used another tip of his to fix your sound issues, so hopefully your problems should all be solved now.
Best regards: dlanor