Skip to content

leath-dub/vboox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This project is experimental and currently only supports the following devices

  • Boox Note Air 2
  • Boox Ultra Tab C

vboox

Virtual user space driver for boox devices

Usage

Pre-Requisites

If your are on x11 you need to install the xorg-evdev driver (xf86-input-evdev on arch).

If you are on wayland it should work out of the box !, if you have issues open an issue.

You also need android platform tools for adb

TODO: add more details about this

Build the project

cargo build --release

and run it

sudo ./target/release/vboox

NOTE: Currently this works (hopefully)

Run in background (startup script)

The vbooxd.sh script at the root of this repository can be run in the background like so

setsid -f sh -c 'exec ./vbooxd.sh <device name (e.g NoteAir2)> 2>&1 > /dev/null'

This will check by default every 10 seconds to see if you have a device connected (and allowed) and subsequently launch the driver.

You can change the interval by running like so

setsid -f sh -c 'check_period_in_seconds=1 ./vbooxd.sh <device name (e.g UltraTabC)> 2>&1 > /dev/null'

Wireless

As of android 11 you can use adb wirelessly by enabling wireless debugging and pairing your device.

FAQ

Support for other tablets/devices ?

Currently works with usb and wifi connections, basically once you have an adb connection regardless of how, this program should work

If you want your device to have support you can help ! even if you don't write the driver yourself opening an issue and being willing to gather device specifications.

How does this work ?

This uses adb to fetch kernel input events via the builtin getevent tool on android - then it simply creates an appropriate virtual device via evdev and emits any events it reads from getevent.

Permission Errors

If you get permission errors you can set the binary to run as root like so

chown root /path/to/vboox
chgrp root /path/to/vboox
chmod u+s /path/to/vboox

About

Linux user space drivers for Onyx Boox devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published