Author Topic: Hardware Explorer  (Read 6190 times)

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 64
  • Posts: 623
  • Karma: +0/-0
    • View Profile
Re: Hardware Explorer
« Reply #60 on: February 14, 2020, 09:15:30 am »
Sent to you via email.

Digi

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 12
  • Posts: 46
  • Karma: +1/-0
  • http://os2.snc.ru/
    • View Profile
    • OS/2 ports and applications
Re: Hardware Explorer
« Reply #61 on: February 15, 2020, 06:39:54 pm »
Hardware Explorer 0.0.6 is available for download.
  http://os2.snc.ru/product-HwExplorer.html

See "History of changes" on the web page (or whatsnew.txt).
Many thanks to everyone who helped.
Special thanks to Lars Erdmann for helping with the code receiving the VBE data.
« Last Edit: February 15, 2020, 07:00:14 pm by Digi »

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 192
  • Posts: 2644
  • Karma: +5/-0
    • View Profile
Re: Hardware Explorer
« Reply #62 on: February 15, 2020, 07:19:40 pm »
Looks good on a SNAP system, thanks.

Dariusz Piatkowski

  • Hero Member
  • *****
  • Thank You
  • -Given: 14
  • -Receive: 17
  • Posts: 778
  • Karma: +0/-0
    • View Profile
Re: Hardware Explorer
« Reply #63 on: February 16, 2020, 06:47:37 am »
Digi,

Here are a couple of screenshots showing the results in both OS2 and OS4 kernels.

Seems like the OS4 version is more 'complete', however that also means there are double occurencies of hardware being listed.

For example, if you look at the Realtek NIC you will find the following:
1) r8169_0 Network Adapter
2) Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

They are certainly referencing the same hardware, that being the NIC.

I think similar can be said for other devices such as SB chipset and matching IDE_x/1/2 xATA controller icons, or the PCI_Bus_0 and duplicate PCI_Bus_0 icons. PCI_Bus_1/2/3 are not duplicated, however in the OS2 version of the output only PCI_Bus_0 is shown.

OS4User

  • Full Member
  • ***
  • Thank You
  • -Given: 71
  • -Receive: 7
  • Posts: 242
  • Karma: +0/-0
    • View Profile
Re: Hardware Explorer
« Reply #64 on: February 16, 2020, 08:45:42 am »
Seems like the OS4 version is more 'complete', however that also means there are double occurencies of hardware being listed.

For example, if you look at the Realtek NIC you will find the following:
1) r8169_0 Network Adapter
2) Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller


You are very observant :).  OS/4 version is not just more 'complete'   -  OS/4 adds to it's RM all equipment that is available on PCI bus, considering  bus topology.

What you can see under PCI_Bus_0  is your real PCI tree and thus PCI_Bus_0 is your root bridge.

OS/4 RM combines real PCI tree and adapters added by drivers if a certain driver provides PCI address for its  adapter.   For ex.  Lars's USB controllers' drivers.

If a driver does not provide PCI address - then you can see its adapter under PCI_Bus_Misc node which is artificial and does not reflect real PCI tree.


Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 64
  • Posts: 623
  • Karma: +0/-0
    • View Profile
Re: Hardware Explorer
« Reply #65 on: February 17, 2020, 05:53:14 pm »
One obswrvation:
The port and memory ranges are too big by one,that is,the highest port/memory address should be one less as it is now.

guzzi

  • Sr. Member
  • ****
  • Thank You
  • -Given: 2
  • -Receive: 18
  • Posts: 327
  • Karma: +0/-0
    • View Profile
Re: Hardware Explorer
« Reply #66 on: February 17, 2020, 06:15:56 pm »
Version 0.0.3 installed ok and worked. Version 0.0.6 traps the system with a trap 0003 in usbresmg. First time it did install over 0.0.3 but opening it resulted in the trap and after rebooting the system trapped again. Booted to command prompt and deleted hwexp.dll. Rebooted to wps and uninstalled using warpin. Installed again. This time the trap already occurred during installation.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 192
  • Posts: 2644
  • Karma: +5/-0
    • View Profile
Re: Hardware Explorer
« Reply #67 on: February 17, 2020, 06:32:51 pm »
See ticket 0002740 at the Arca Noae bug tracker.

guzzi

  • Sr. Member
  • ****
  • Thank You
  • -Given: 2
  • -Receive: 18
  • Posts: 327
  • Karma: +0/-0
    • View Profile
Re: Hardware Explorer
« Reply #68 on: February 17, 2020, 06:51:42 pm »
See ticket 0002740 at the Arca Noae bug tracker.

Solved. Thanks.

Digi

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 12
  • Posts: 46
  • Karma: +1/-0
  • http://os2.snc.ru/
    • View Profile
    • OS/2 ports and applications
Re: Hardware Explorer
« Reply #69 on: February 17, 2020, 07:12:42 pm »
One obswrvation:
The port and memory ranges are too big by one,that is,the highest port/memory address should be one less as it is now.

Indeed. Thank you! What a stupid mistake.  :)

Digi

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 12
  • Posts: 46
  • Karma: +1/-0
  • http://os2.snc.ru/
    • View Profile
    • OS/2 ports and applications
Re: Hardware Explorer
« Reply #70 on: February 17, 2020, 07:28:52 pm »
See ticket 0002740 at the Arca Noae bug tracker.

Solved. Thanks.

There are also no problems with drivers from Lars, can be found on Hobbes. I even have one device (USB microscope) that works well with these drivers, but doesn’t work with Arca drivers.

ivan

  • Hero Member
  • *****
  • Thank You
  • -Given: 2
  • -Receive: 44
  • Posts: 1213
  • Karma: +0/-0
    • View Profile
Re: Hardware Explorer
« Reply #71 on: February 18, 2020, 03:45:37 pm »
Hi Digi,

You might be interested in the results I get from my AMD Ryzen box.  Sorry it is split but I only have a 1920x1200 monitor.

Digi

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 12
  • Posts: 46
  • Karma: +1/-0
  • http://os2.snc.ru/
    • View Profile
    • OS/2 ports and applications
Re: Hardware Explorer
« Reply #72 on: February 18, 2020, 04:52:30 pm »
You might be interested in the results I get from my AMD Ryzen box.  Sorry it is split but I only have a 1920x1200 monitor.

Thanks! It’s a little strange for me that at least the manufacturer has not determined on a USB mouse and keyboard. Check if the usb.ids file is in the %etc% directory?

It would be interesting to see the results under OS/4. There, the picture with your PCI bridges will be much clearer and more logical.
« Last Edit: February 18, 2020, 05:09:33 pm by Digi »

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 64
  • Posts: 623
  • Karma: +0/-0
    • View Profile
Re: Hardware Explorer
« Reply #73 on: February 18, 2020, 06:57:33 pm »
You might be interested in the results I get from my AMD Ryzen box.  Sorry it is split but I only have a 1920x1200 monitor.

Thanks! It’s a little strange for me that at least the manufacturer has not determined on a USB mouse and keyboard. Check if the usb.ids file is in the %etc% directory?

It would be interesting to see the results under OS/4. There, the picture with your PCI bridges will be much clearer and more logical.
That might be a misunderstanding. My USB keyboard and mouse drivers will try and query the string descriptor for the product and they will also add a device to the RM tree. If they fail,they will instead display that message. Therefore I assume that Ivan is using my driver set.
By the way: my USBMSD.ADD also adds a RM device for each USB stick/disk/floppy/cdrom attached.
« Last Edit: February 18, 2020, 07:00:06 pm by Lars »

ivan

  • Hero Member
  • *****
  • Thank You
  • -Given: 2
  • -Receive: 44
  • Posts: 1213
  • Karma: +0/-0
    • View Profile
Re: Hardware Explorer
« Reply #74 on: February 18, 2020, 07:06:21 pm »
Hi Digi,

That could be due to the fact this board has a massive amount of USB 3 and 3.1 ports attached to both the processor and a dedicated  USB 3 chip.

To be able to use any USB device requires a real (Via) USB 2 addin card.  The keyboard is highlighted in the lower screen grab which also shows the trackball as Kensington Orbit Optical.