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 - Wim Brul

Pages: [1] 2 3 ... 20
1
Programming / Re: Increasing MDOS Environment limit
« on: August 21, 2024, 12:03:37 pm »
There is light at the end of the tunnel. You may use the SET command to produce larger environment variables.

So rather than unREMarking the SET DELDIR= line you could use the following:

Code: [Select]
SET DELDIR=C:\DELETE,512;D:\DELETE,512;E:\DELETE,512;F:\DELETE,512;G:\DELETE,512;H:\DELETE,512;M:\DELETE,512;N:\DELETE,512;
SET DELDIR=%DELDIR%O:\DELETE,512;Q:\DELETE,512;S:\DELETE,512;Z:\DELETE,512;

Similarly for the PATH= line you could add SET PATH=%PATH% line(s) as follows:

Code: [Select]
PATH=H:\OS2\MDOS;H:\OS2;H:\;H:\OS2\MDOS\WINOS2;H:\TCPIP\DOS\BIN;H:\SYS\MDOS\BIN;
SET PATH=%PATH%E:\WIM\STUDIE\MDOS;G:\ENVIRON;

I have SHELL=H:\OS2\MDOS\COMMAND.COM H:\OS2\MDOS /E:1024 in my CONFIG.SYS.

2
Programming / Re: DosDevIOCtl disabling keyboard in VIO mode
« on: March 02, 2024, 10:22:10 am »
Your call to DosDevIOCtl to get old input mode has been coded incorrectly. Should use the parameter packet rather than the data packet.

3
Hi Wim,

here is the result. I also took pictures from the informations given by latest usb.ids and Hardware Explorer (not Hardware manager!), the white light does shine.

Hope this helps.

Sigurd

Thank you Sigurd. It does help. I made some changes in the video format negotiation.
Please download webcam-test-20240131.zip and repeat the test you did last time.

Wim

4
Thank you Sigurd. Error code [00008120] means I/O failed. I need to get more detailed information.

Please download webcam-test-20240101.zip that I prepared for Martin Iturbide to test the internal webcam of his Lenovo Thinkpad T14s 1st Gen - 20T1.

Run webcam /d04F2:B78B:5011 /* to select the Integrated Camera i.e. not the IR one and to get more information.

Wim

5
Hi Sigurd,

Nice laptop! Can you post the USB hardware report (using lsusb -v) of the internal webcam?

Would you be so kind to try and test the internal webcam using my UVC Webcam Server programs?
Just use "webcam" to run Webcam Server and "wmvideo" to run Webcam Monitor Video.

Regards,
Wim

6
Hardware / Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« on: January 01, 2024, 06:50:01 pm »
Thanks Martin,

After scheduling all eight UsbStartIsoTransfer(s) the ObtainThread now awaits forever signalling of their completion by the USB Host Controller Driver.
Apparently this signalling does not occur at all. Reason unknown. It seems to me that there is something wrong with the 12.14 USB Host Controller Driver.
Perhaps it is a good idea to plugin an external webcam to see whether or not  that webcam does indeed work well with the USB Host Controller Driver.

Regards,
Wim

7
Hardware / Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« on: January 01, 2024, 11:23:07 am »
Hi Martin,
Thanks Wim

I'm attaching the BIN and log.

Regards
Appears that ObtainThread is working alright in so far that it scheduled all eight UsbStartIsoTransfer()s. Still error code [0000280] which means timeout error.

Perhaps the 3 seconds timeout value is just too short. Therefore I now changed it to wait forever. Please test and report again.

Regards
Wim

8
Hardware / Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« on: December 31, 2023, 10:45:34 am »
Hi Martin,
Hello Wim

I got the same results here. tested "webcam /m" and "webcam /*"

Regards
Alas too bad. More information required. Please test the attached using webcam /* and append the results.

Regards,
Wim

9
Hardware / Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« on: December 26, 2023, 11:34:07 am »
Hi Wim

I run webcam.exe /*

I'm attaching the console log and the bin file.
Just i detail I forgot to tell you before, the webcam.exe program keeps running, it does not quit automatically, I usually do the ctrl+c myself after a while of not reporting anything else on the console.

Regards

Thanks again Martin. This webcam actually contains both an "Integrated Camera" and an "Integrated IR Camera".
Scanning the USB descriptors by the webcam program resulted in setting up the "Integrated IR Camera" but no video data was obtained.
I suspect that by using webcam /m the "Integrated Camera" would be setup instead of the "Integrated IR Camera".

However I decided to change scanning the USB descriptors to always use the first camera rather than the last one.
So please test again with this version using webcam /* and report back like you did before.

Regards,
Wim

10
Hardware / Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« on: December 24, 2023, 11:44:05 am »
Hi Wim

I downloaded " webcam-test-20231223.zip ". webcam.exe give me this.

Quote
[C:\DESKTOP\WEBCAM10]webcam
started.
format:yuyv
 acquire webcam
 set configuration
 negotiate video format
 obtain video format
 commit video format
 set video alt interface
 starting iso video
/n server (video) On-Line.
[00000280]
obtain video error.

I can notice that the Webcam lights turns on.

When I run wmvideo (no parameters) the application shows, but I get no video, Snapshot and Testshot menu does not do anything.

Regards

Thanks Martin,

So basically the same result. Now it is time to try and get some more information about what is going on. So I modified webcam.exe to do so when you specify an additional parameter.
With that parameter specified it will show some more debug information and it will create a webcam.bin file  containing video header data.

Just run webcam /* by itself and report back your results like you did before. Attach that webcam.bin file too.

Regards,
Wim 

11
Hardware / Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« on: December 23, 2023, 03:23:31 pm »
Hi Martin,

Quote
I'm attaching the lsusb -v report of the webcam. Let me know if this is the one you are looking for. Thanks.
Yes, that is the one I was looking for.

I am not sure what is the best way to tackle this. Why don't we start testing whether or not my latest development version works?

Run webcam and wmvideo (so without parameters) to test with named pipe.

Regards,
Wim

12
Hardware / Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« on: December 21, 2023, 01:20:26 pm »
Hi Martin,

Can you post the USB hardware report of the builtin webcam?

Regards,
Wim


13
Hardware / Re: Touch Screen and Pen support on ArcaOS 5.1.0
« on: September 14, 2023, 03:13:51 pm »
Hallo Martin,

Alas, in ..generic.log the touch screen device does not show up as a USB device nor as a COM device. In Linux Debian it shows up as an SMBus attached I2C device from Synopsys Designware. That system knows how to deal with that and represents it as USB device 056A:508C:0001 (which we tried and failed on our system). As far as I know there is no software to deal with I2CBus/SMBus devices from an application in our operating system. Therefore pen and touch cannot be supported on this laptop.

Regards, Wim.     

14
Hardware / Re: Touch Screen and Pen support on ArcaOS 5.1.0
« on: September 12, 2023, 05:27:04 pm »
While searching the internet I found "GNU Linux Debian 11 hardware review - Lenovo Ideapad MIIX 510 12ISK_dmesg.txt" which I attached here.

It appears there as a USB device and its device driver statement would be:

Code: [Select]
DEVICE=C:\OS2\BOOT\USBECD.SYS /D:056A:508C:0001 /N:$LENOVO$ /S /V

To be on the save side use the wildcard character # for the device release number:

Code: [Select]
DEVICE=C:\OS2\BOOT\USBECD.SYS /D:056A:508C:#### /N:$LENOVO$ /S /V

After reboot you may run the USBWRITE.CMD script to obtain and display the device descriptor, configuration descriptors and associated interface and endpoint descriptors. Use  USBWRITE $LENOVO$ for this particular USB device.

15
Programming / Re: Strange behaviour in SDL2
« on: June 27, 2023, 06:12:42 pm »
I did some tests on my Dell Latitude e6500 laptop with ArcaOS 5.0 and Lars' USB 10.249 drivers installed.

1) USBAUDIO.SYS selected as default audio device. Every time I start PrBoom I get sound and PrBoom keeps running with sound. Its SfxVolume control works. Its Music Volume has no effect. Perhaps because I have no MIDI support installed. With rocksndiamonds there is always sound.

2) USBAUD2.SYS selected as default audio device. Every time I start PrBoom I rarely get sound and PrBoom keeps running that way. Once I use its SfxVolume control then most of the time only the next invokation of PrBoom produces sound. With rocksndiamonds there is never sound.

Once USBAUD2.SYS does not get an audio buffer in time it stops sending audio to the device.
This is a flaw in USBAUD2.SYS. I have prepared a fix for that.

Pages: [1] 2 3 ... 20