Author Topic: Lenovo Thinkpad T14s 1st Gen - 20T1  (Read 16427 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4847
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #15 on: December 23, 2023, 03:40:44 pm »
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
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #16 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 

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4847
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #17 on: December 24, 2023, 12:58:36 pm »
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
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #18 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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4847
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #19 on: December 26, 2023, 02:09:03 pm »
Hello Wim

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

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #20 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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4847
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #21 on: December 31, 2023, 05:07:13 pm »
Thanks Wim

I'm attaching the BIN and log.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #22 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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4847
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #23 on: January 01, 2024, 02:40:36 pm »
Thanks Wim

The camera keeps the lights up, but I get no image on vmvideo.exe (no parameters).
I'm attaching the log.

Regards
« Last Edit: January 01, 2024, 02:49:42 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #24 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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4847
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #25 on: January 06, 2024, 11:12:19 pm »
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.

Hi Wim

Today I finally tried the "Logitech C920 HD Pro Webcam" that used to work on the past. The webcam camera lights up, but as you suspected I can not get video from it.

I tried the same "Logitech C920 HD Pro Webcam" on a Thinkpad L420, with USBUHCD 12.14 (USB 2.0) and the devices worked you webcam10.zip (from your website) and "webcam-test-20240101.zip ".

Maybe it is an issue with USB 3.x.

Regards

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4847
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #26 on: January 07, 2024, 12:11:23 am »
Hello.

Going back to the network adapter of this machine, I got the special cable adapter to connect the Ethernet cable.  (PN: SC10P42354). I checked the cable on Windows 11 and it worked.

When I installed ArcaOS 5.1 it recognized the adapter with the E1000B driver.
It has the following HardwareID, 8086:0D4E which is listed on Arca Noae website.

But, I can not get network and I'm not good with Network troubleshooting. On boot, the device driver E1000B.OS2 (1.1.8 ) does not report any problem. The lights of the cable light up. But on the T14s I get no IP or DNS, so no ping.  On "NetWork adapters and Protocols" I have the E1000B driver and IBM TCPIP (0). Nothing else.

ping to 127.0.0.1 replies "no route to host".

What do you suggest me to troubleshoot this Ethernet adapter  and TCPIP ?

Regards

« Last Edit: January 07, 2024, 12:37:37 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4847
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Lenovo Thinkpad T14s 1st Gen - 20T1
« Reply #27 on: January 07, 2024, 12:31:25 am »
Hello.

On "DDNS Configuration" I get a "(MSG04) Configuration failed: DHCP client is not running" error.

So I run C:\MTPN\BIN\setup.cmd and it restarted the DHCP server and I got IP !!!!!
Seems that "DHCPSTRT -i lan0 -d 0 " did the trick.

DHCP client won't start again on my next boot, I need to find out how to turn it on in the config.sys.

Regards
« Last Edit: January 07, 2024, 01:11:57 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.