Author Topic: Touch Screen and Pen support on ArcaOS 5.1.0  (Read 13316 times)

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1029
  • Karma: +24/-0
    • View Profile
    • Blonde Guy
Re: Touch Screen and Pen support on ArcaOS 5.1.0
« Reply #15 on: September 15, 2023, 04:56:30 am »
AcpiTree is a sample program from the ACPI toolkit, which is distributed with ACPI, but not installed by default.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4811
  • Karma: +101/-1
    • View Profile
Re: Touch Screen and Pen support on ArcaOS 5.1.0
« Reply #16 on: September 15, 2023, 06:30:04 am »
Did AcpiTree compile for you?
I get,
Code: [Select]
        wcc386 acpitree -bm -bt=OS2 -6s -fpi -zq -zp4 -DACPI_APPLICATION
acpitree.c(73): Error! E1031: Name 'Sharable' not found in struct/union acpi_resource_irq
acpitree.c(145): Error! E1031: Name 'Sharable' not found in struct/union acpi_resource_extended_irq

Which is weird as Shareable is declared in acrestyp.h,
Code: [Select]
typedef struct acpi_resource_irq
{
    UINT8                           DescriptorLength;
    UINT8                           Triggering;
    UINT8                           Polarity;
    UINT8                           Shareable;
    UINT8                           WakeCapable;
    UINT8                           InterruptCount;
    UINT8                           Interrupts[1];

} ACPI_RESOURCE_IRQ;
{/code]
...
[code]
typedef struct acpi_resource_extended_irq
{
    UINT8                           ProducerConsumer;
    UINT8                           Triggering;
    UINT8                           Polarity;
    UINT8                           Shareable;
    UINT8                           WakeCapable;
    UINT8                           InterruptCount;
    ACPI_RESOURCE_SOURCE            ResourceSource;
    UINT32                          Interrupts[1];

} ACPI_RESOURCE_EXTENDED_IRQ;

Andrew Stephenson

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: Touch Screen and Pen support on ArcaOS 5.1.0
« Reply #17 on: September 15, 2023, 02:06:22 pm »
Did AcpiTree compile for you?
I get,
Code: [Select]
        wcc386 acpitree -bm -bt=OS2 -6s -fpi -zq -zp4 -DACPI_APPLICATION
acpitree.c(73): Error! E1031: Name 'Sharable' not found in struct/union acpi_resource_irq    <---- SPELLING #1
acpitree.c(145): Error! E1031: Name 'Sharable' not found in struct/union acpi_resource_extended_irq    <---- SPELLING #1

Which is weird as Shareable is declared in acrestyp.h,
Code: [Select]
typedef struct acpi_resource_irq
{
    UINT8                           DescriptorLength;
    UINT8                           Triggering;
    UINT8                           Polarity;
    UINT8                           Shareable;    <--- SPELLING #2
    UINT8                           WakeCapable;
    UINT8                           InterruptCount;
    UINT8                           Interrupts[1];

} ACPI_RESOURCE_IRQ;
{/code]

[/quote]
« Last Edit: September 15, 2023, 02:19:52 pm by Andrew Stephenson »

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4811
  • Karma: +101/-1
    • View Profile
Re: Touch Screen and Pen support on ArcaOS 5.1.0
« Reply #18 on: September 15, 2023, 05:23:12 pm »
Good eyes, thanks.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4757
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Touch Screen and Pen support on ArcaOS 5.1.0
« Reply #19 on: September 20, 2023, 02:08:23 am »
Hi Dave.

If you compiled AcpiTree, please share it here. I want to give it a try.

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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4811
  • Karma: +101/-1
    • View Profile
Re: Touch Screen and Pen support on ArcaOS 5.1.0
« Reply #20 on: September 20, 2023, 03:16:01 am »
Sure, hard to figure out the output.