Haiku on the Viglen Connect 9 Tablet (Intel Atom)

This Intel-based tablet fell into my hands earlier today. It will boot from USB over OTG, so I thought I’d give Haiku32 R1B4 a shot.

It has a quad-core 64-bit Intel Atom Z3735G, 1GB RAM and 32GB storage. It has a MicroSD card slot, a Micro HDMI port, and a few buttons (Vol Up, Vol Down, Power, Windows/Meta). It has an EFI32 BIOS, so wouldn’t boot Haiku64 directly, but it might chainload it via Grub or rEFInd (haven’t tried this).

The MicroUSB socket works fine with OTG - keyboard, mouse and USB storage all worked through a USB 2.0 hub.

Initial things I noticed that didn’t work:

  • Digitiser (touchscreen)
  • WiFi
  • Bluetooth
  • Audio
  • Shutdown doesn’t power off the device

As you can see, graphics worked fine in full colour, even with the portrait resolution.

To be honest, I’m pleased that this boots at all!

I was wondering what information the Haiku developers need from me about the non-working devices? HID and PID? The device currently runs Windows 10 Home and will boot into Ventoy and the gparted LiveISO (Debian-based), so I should be able to get a fair amount of information on what devices it has.

I’m not a driver developer, but I’m happy to test things out.

5 Likes

Isn’t this processor 64 bit, but only the EFI 32 bit?

“189 MB used” !!! where are the “bloat in Haiku” guys at? :stuck_out_tongue:

7 Likes

Yes, it is. I’ve edited my post to be clearer.

1 Like

It would be interesting to see the system log for the device. I do not have any time for Haiku myself at the moment. So not sure if someone will do anything with that info though.

2 Likes

there are uefi branch from GitHub - davidkaroly/haiku at hybrid-boot though you have to compile it first.

but i doubt you can build it successfully, like me. i got error when i compile.

C++ objects/linux/x86_64/release/build/libroot/atomic.o 
C++ objects/linux/x86_64/release/build/libroot/byteorder.o 
C++ objects/linux/x86_64/release/build/libroot/find_directory.o 
In file included from ../headers/build/os/BeBuild.h:5,
                 from ../headers/build/../os/support/ByteOrder.h:9,
                 from ../headers/build/os/support/ByteOrder.h:1,
                 from ../src/build/libroot/byteorder.cpp:8:
../headers/build/../os/BeBuild.h:59:9: error: #error Unsupported compiler!
   59 | #       error Unsupported compiler!
      |         ^~~~~
In file included from ../headers/build/os/BeBuild.h:5,
                 from ../headers/build/../os/support/SupportDefs.h:12,
                 from ../headers/build/os/support/SupportDefs.h:2,
                 from ../headers/build/../os/kernel/OS.h:14,
                 from ../headers/build/os/kernel/OS.h:9,
                 from ../src/build/libroot/atomic.cpp:5:
../headers/build/../os/BeBuild.h:59:9: error: #error Unsupported compiler!
   59 | #       error Unsupported compiler!
      |         ^~~~~
In file included from ../headers/build/os/BeBuild.h:5,
                 from ../headers/build/../os/support/SupportDefs.h:12,
                 from ../headers/build/os/support/SupportDefs.h:2,
                 from ../headers/build/../os/kernel/OS.h:14,
                 from ../headers/build/os/kernel/OS.h:9,
                 from ../headers/build/../os/kernel/image.h:9,
                 from ../headers/build/os/kernel/image.h:1,
                 from ../headers/build/../os/storage/FindDirectory.h:9,
                 from ../headers/build/os/storage/FindDirectory.h:1,
                 from ../src/build/libroot/find_directory.cpp:10:
../headers/build/../os/BeBuild.h:59:9: error: #error Unsupported compiler!
   59 | #       error Unsupported compiler!
      |         ^~~~~

gcc -c "../src/build/libroot/byteorder.cpp" -O2 -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -D'HAIKU_BUILD_ATTRIBUTES_DIR="/home/pengguna/haiku/generated.x86_64/attributes"' -D_HAIKU_BUILD_DONT_REMAP_FD_FUNCTIONS=1 -include ../headers/build/BeOSBuildCompatibility.h -fPIC -DARCH_x86_64 -D_NO_INLINE_ASM -D__NO_INLINE__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAIKU_HOST_USE_XATTR_REF -DHAIKU_HOST_PLATFORM_LINUX -DHAIKU_HOST_PLATFORM_64_BIT -DHAIKU_PACKAGING_ARCH=\"x86_64\" -iquote ../build/user_config_headers -iquote ../build/config_headers -iquote ../src/build/libroot -iquote objects/common/build/libroot -iquote objects/linux/x86_64/common/build/libroot -iquote objects/haiku/x86_64/common/build/libroot -I ../headers/build -I ../headers/build/os -I ../headers/build/os/app -I ../headers/build/os/drivers -I ../headers/build/os/kernel -I ../headers/build/os/interface -I ../headers/build/os/storage -I ../headers/build/os/support -I ../headers/build/private/kernel -I ../headers/build/private/libroot -I ../headers/build/private/system -I ../headers/private/system -I ../headers/build/host/linux -I ../headers/build -I ../headers/build/os -I ../headers/build/os/add-ons/registrar -I ../headers/build/os/app -I ../headers/build/os/bluetooth -I ../headers/build/os/drivers -I ../headers/build/os/kernel -I ../headers/build/os/interface -I ../headers/build/os/locale -I ../headers/build/os/storage -I ../headers/build/os/support -I ../headers/build/private -o "objects/linux/x86_64/release/build/libroot/byteorder.o"

...failed C++ objects/linux/x86_64/release/build/libroot/byteorder.o ...

gcc -c "../src/build/libroot/atomic.cpp" -O2 -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -D'HAIKU_BUILD_ATTRIBUTES_DIR="/home/pengguna/haiku/generated.x86_64/attributes"' -D_HAIKU_BUILD_DONT_REMAP_FD_FUNCTIONS=1 -include ../headers/build/BeOSBuildCompatibility.h -fPIC -DARCH_x86_64 -D_NO_INLINE_ASM -D__NO_INLINE__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAIKU_HOST_USE_XATTR_REF -DHAIKU_HOST_PLATFORM_LINUX -DHAIKU_HOST_PLATFORM_64_BIT -DHAIKU_PACKAGING_ARCH=\"x86_64\" -iquote ../build/user_config_headers -iquote ../build/config_headers -iquote ../src/build/libroot -iquote objects/common/build/libroot -iquote objects/linux/x86_64/common/build/libroot -iquote objects/haiku/x86_64/common/build/libroot -I ../headers/build -I ../headers/build/os -I ../headers/build/os/app -I ../headers/build/os/drivers -I ../headers/build/os/kernel -I ../headers/build/os/interface -I ../headers/build/os/storage -I ../headers/build/os/support -I ../headers/build/private/kernel -I ../headers/build/private/libroot -I ../headers/build/private/system -I ../headers/private/system -I ../headers/build/host/linux -I ../headers/build -I ../headers/build/os -I ../headers/build/os/add-ons/registrar -I ../headers/build/os/app -I ../headers/build/os/bluetooth -I ../headers/build/os/drivers -I ../headers/build/os/kernel -I ../headers/build/os/interface -I ../headers/build/os/locale -I ../headers/build/os/storage -I ../headers/build/os/support -I ../headers/build/private -o "objects/linux/x86_64/release/build/libroot/atomic.o"

...failed C++ objects/linux/x86_64/release/build/libroot/atomic.o ...

gcc -c "../src/build/libroot/find_directory.cpp" -O2 -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -D'HAIKU_BUILD_ATTRIBUTES_DIR="/home/pengguna/haiku/generated.x86_64/attributes"' -D_HAIKU_BUILD_DONT_REMAP_FD_FUNCTIONS=1 -DHAIKU_BUILD_GENERATED_DIRECTORY=\".\" -include ../headers/build/BeOSBuildCompatibility.h -fPIC -DARCH_x86_64 -D_NO_INLINE_ASM -D__NO_INLINE__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAIKU_HOST_USE_XATTR_REF -DHAIKU_HOST_PLATFORM_LINUX -DHAIKU_HOST_PLATFORM_64_BIT -DHAIKU_PACKAGING_ARCH=\"x86_64\" -iquote ../build/user_config_headers -iquote ../build/config_headers -iquote ../src/build/libroot -iquote objects/common/build/libroot -iquote objects/linux/x86_64/common/build/libroot -iquote objects/haiku/x86_64/common/build/libroot -I ../headers/build -I ../headers/build/os -I ../headers/build/os/app -I ../headers/build/os/drivers -I ../headers/build/os/kernel -I ../headers/build/os/interface -I ../headers/build/os/storage -I ../headers/build/os/support -I ../headers/build/private/kernel -I ../headers/build/private/libroot -I ../headers/build/private/system -I ../headers/private/system -I ../headers/build/host/linux -I ../headers/build -I ../headers/build/os -I ../headers/build/os/add-ons/registrar -I ../headers/build/os/app -I ../headers/build/os/bluetooth -I ../headers/build/os/drivers -I ../headers/build/os/kernel -I ../headers/build/os/interface -I ../headers/build/os/locale -I ../headers/build/os/storage -I ../headers/build/os/support -I ../headers/build/private -o "objects/linux/x86_64/release/build/libroot/find_directory.o"

...failed C++ objects/linux/x86_64/release/build/libroot/find_directory.o ...

BUILD FAILURE:
...failed updating 3 target(s)...
...skipped 8 target(s)...

It looks like you mostly have a bunch of “error Unsupported compiler!” messages, which might suggest that the primary issue is the software build tools you are using.

Of course the top eight messages are related to the failure to successfully compile the three targets mentioned at the bottom.

haiku/ReadMe.Compiling.md at hybrid-boot · davidkaroly/haiku · GitHub

I hate to commandeer largely unrelated threads for these requests, but this is the most relevant one I’ve seen thus far. Please let me know if Haiku ever introduces an API for receiving multi-touch events from such input devices as this tablet, that I might support them in Emacs.

TIA.

2 Likes

Thanks for all your work getting Emacs integrated into Haiku.