Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Lars

Pages: 1 ... 25 26 [27] 28 29 ... 86
391
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: January 12, 2022, 09:03:49 pm »
By now, I finally finished libusb (and also libuvc). Additionally, BWW has now built hidapi.
All 3 packages can now be installed from netlabs-exp.

Dave, can you build hidapitester.exe and link to hidapi dynamically ? That would allow me to test the hidapi->libusb chain.
I did test with your static build of "hidapitester.exe" but I don't know how many "hacks" you needed to get hidapitester running properly.

Cheers,
Lars

392
Hardware / Re: New ArcaOS USB driver and Floppy drive
« on: January 11, 2022, 11:30:01 am »
Ivan's question is not about broken floppies.
It's about "kicking" the drive to read the disk when you insert a new disk.
I remember that I had a hell of a time to get that to work correctly. I wish AN much fun with it :-).

393
Applications / Re: LIBC panic errors anyone?
« on: January 10, 2022, 10:12:22 am »
Yes, I have also seen this trap report:

Don't shoot the messenger. It looks like there is an actual improvement in libc to properly report if you call "free" on the very same pointer more than once (which is forbidden).

Consequently, that likely means that the affected applications actually have a problem managing their dynamic memory. These problems can go unnoticed if for example a memory page is not directly assigned to another allocation and therefore remains accessible for some time. That's why it is so important to report this error.

About lsusb: if you see them in LIBUSB, then that's the reason why I am still working on it :-)

Cheers,
Lars

394
Well, IJFW should never hang the whole system.
But if the load becomes too massive, FXWRAP.SYS will start overflowing its internal work queues. That will lead to connections timing out because packets are being rejected (from being added to the work queue) but it should not lead to system hangs. If it does, there is still something not quite right.
But it should be clear, that in this case, you will never be able to achieve a high throughput. FXWRAP.SYS will then act like a "throttle".

395
Quote
What was the problem with Injoy?
The version I had hangs the system sometimes when running in SMP mode. Older version (4.0 or 4.1?) didn't do that. But they where slower.

Now I've data throughput about 25Mbit/s. With older ijfw version about half of that. Without the firewall I get about 50-70Mbit/s at same hardware.
Andy, are you now running successfully with the latest IJFW build I gave to you on 30.12.2021 ?

396
Hardware / Re: Iomega ZIP 100 IDE
« on: January 01, 2022, 12:46:10 am »
I seem to vaguely remember that with newer versions of DANIS506.ADD the DANIATAP.FLT is no longer needed.
What also seems odd that one driver reports use of IRQ 10 and the other of IRQ 16 for the very same controller. Just try without the FLT driver.

397
Setup & Installation / Re: ArcaOS, VirtualBox, and mouse freezes
« on: December 27, 2021, 09:52:37 am »
Finally, make sure that a USB mouse is emulated as a PS/2 mouse. I don't remember if something specific has to be set up in the VB GUI or if this is default behavior.

398
Setup & Installation / Re: ArcaOS, VirtualBox, and mouse freezes
« on: December 27, 2021, 09:49:52 am »
If you install a new VB version, you will need to manually update the OS/2 additions. Somewhere in the VB GUI you will find an option to attach the additions. That will put the additions on the first CD-ROM Drive letter in your OS/2 guest. Unlock any DLLs in the "os2additions" Folder and then copy over and restart the guest.

399
Setup & Installation / Re: VirtualBox and ArcaOS 5.0.7
« on: December 21, 2021, 12:46:06 pm »
Okay, here's an updated patch.

Since Lars was worried about Lewis's reaction to using os_os2ecs.png I changed it to os_os2_other.png :).
Good man !

400
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: December 16, 2021, 05:58:52 pm »
What byte means what actually depends on the HID report descriptor. ("burned" into the USB device). That is basically a structure that describes the hid report data structure in a defined way (a little bit like a DTD would do for XML).
In short: there is no hard and fast meaning for a specfic bit/byte.

401
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: December 16, 2021, 12:12:43 pm »
ah, thanks. I had misunderstood what "timeout" was supposed to mean in this context. Now I understand.

402
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: December 16, 2021, 08:03:59 am »
ok, I now tested hidapitester (with my latest usb100.dll) with a:

[C:\hidapitester]hidapitester --list
054C/0CE6: Sony Interactive Entertainment - Wireless Controller

When I do a:
[C:\hidapitester]hidapitester --vidpid 54c:ce6 -t 1500 --open --read-input-forever
Opening device, vid/pid: 0x054C/0x0CE6
Reading 64-byte input report 0, 1500 msec timeout...read 64 bytes:
 01 7E 7E 7E 81 00 00 CA 08 00 00 00 3A 03 22 95 F9 FF F9 FF FF FF 80 00 26 1F DD 07 D9 0F 76 34
 FD 90 20 D0 00 8A 42 D6 23 5F 09 09 00 00 00 00 00 E7 99 76 34 28 08 00 CB CD FB 46 B6 52 46 0D
Reading 64-byte input report 0, 1500 msec timeout...read 64 bytes:
 01 7F 7E 7E 81 00 00 CB 08 00 00 00 3B 03 22 95 FE FF FB FF FE FF C8 FF A6 1E 69 09 C2 C2 C8 42
 00 90 20 D0 00 8A 42 D6 23 5F 09 09 00 00 00 00 00 19 EC 1A 51 28 08 00 31 3D D5 3B 34 44 48 46
Reading 64-byte input report 0, 1500 msec timeout...read 64 bytes:
 01 7F 7E 7E 81 00 00 CC 08 00 00 00 3C 03 22 95 FD FF FB FF FE FF AB FF AF 1E 5F 09 14 8F 1B 51
 00 90 20 D0 00 8A 42 D6 23 5F 09 09 00 00 00 00 00 36 34 1C 51 28 08 00 42 44 C6 9A 2F F7 4C 37
Reading 64-byte input report 0, 1500 msec timeout...read 64 bytes:
 01 7F 7E 7E 81 00 00 CD 08 00 00 00 3D 03 22 95 FF FF F9 FF FB FF A9 FF B4 1E 57 09 A8 4D 1D 51
 00 90 20 D0 00 8A 42 D6 23 5F 09 09 00 00 00 00 00 B6 66 1E 51 28 08 00 9B DD 74 72 F1 B3 C2 98


and it keeps going on forever. However, how would I now see an individual user action like pressing a button ? The HID report keeps pouring in with a fairly high rate.


403
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: December 14, 2021, 07:39:17 am »
Ok thanks, I'll download all that and have a try.

404
Setup & Installation / Re: VirtualBox and ArcaOS 5.0.7
« on: December 14, 2021, 07:36:51 am »
And you are picking the eCS icon?
Lewis is going to cut you into four :-)

405
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: December 13, 2021, 08:36:14 am »
I tried further analyze the write errors from hidtest:
1.) It tries to write a feature report with number 0x02. The call to libusb_control_transfer gives me a return value of -1 (Input/Output value).
2.) Later, it writes to the device. The call to libusb_control_transfer also gives me a return value of -1.

When I press button or turn the stick, the read data gives me different data values. So that works at least.

@Lars: If you want to compile hidapi yourself, I have forked hidapi and applied Dave's diff and committed them. You find my repo here: https://github.com/josch1710/hidapi.

Hi Jochen,

I'd be happy if you'd send me the built version and a test app that calls hidapi. Or if you could enable LIBUSB_DEBUG=4 and dump stderr to a file. I simply do not have the time to build yet another library and libusb is still work in progress.
hidapi and a test app would help me in verifying that libusb will do ok also for that secondary library (I am currently interacting with libuvc exclusively).

Pages: 1 ... 25 26 [27] 28 29 ... 86