non-wacom tablet setup Manjaro Linux - tablet

I have an Adesso Cybertablet Z7. I did install the Wizardpen driver. I lose pressure sensitivity. I uninstalled it.
I dion't need the Huion drivers either. I only had to do two things.
Install xinput_calibrator.
Uninstall something from xorg or xf86.
After doing this, the drawing pad worked immediately. No calibration or anything. I have to manually map it to one of my monitors with this:
xinput --map-to-output 9 HDMI-0; xinput --map-to-output 13 HDMI-0
everytime I use it. I know they change when I restart. I don't mind that.
I just can't remember which file needs to be uninstalled.
xinput -- list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ UC-LOGIC Tablet WP5540U Mouse id=9 [slave pointer (2)]
⎜ ↳ 2.4G 2.4G Wireless Device id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Ideazon Merc Stealth id=10 [slave keyboard (3)]
↳ Ideazon Merc Stealth id=11 [slave keyboard (3)]
↳ 2.4G 2.4G Wireless Device id=12 [slave keyboard (3)]
↳ 2.4G 2.4G Wireless Device id=14 [slave keyboard (3)]
Does anyone else have this problem or done what I did to get it to work without calibration or messing with .conf files?

I'm going to answer my own question. I use the Cinnamon DE. What i did was...
Make sure Huion and Wizardpen drivers are uninstalled
sudo nemo.
Went to: /etc/X11/xorg.conf.d
Created a file in there called: 61-UC-LOGIC_Tablet_WP5540U.conf (renamed) I got from here.
In that file I entered:
Section "InputClass"
Identifier "UC-LOGIC Tablet WP5540U"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "Tablet WP5540U"
Driver "evdev"
Option "Mode" "absolute"
EndSection
4a. There were other "Options" in there as well that I removed
Option "TransformationMatrix" "1 0 0 0 0.75 0 0 0 1"
Option "ConstantDeceleration" "4"
I also changed the
Option "Module" "relative" to Option "Mode" "absolute"
4b. I also changed the Identifier to my model tablet WP5540U.
I made sure xf86-input-evdev and libevdev was installed.
Then I installed uclogic-tools and xf86-input-synaptics.
Rebooted
I then typed in terminal
xinput --list
outputting:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ 2.4G 2.4G Wireless Device id=10 [slave pointer (2)]
⎜ ↳ UC-LOGIC Tablet WP5540U Pen id=13 [slave pointer (2)]
⎜ ↳ UC-LOGIC Tablet WP5540U Mouse id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ 2.4G 2.4G Wireless Device id=9 [slave keyboard (3)]
↳ Ideazon Merc Stealth id=11 [slave keyboard (3)]
↳ Ideazon Merc Stealth id=12 [slave keyboard (3)]
↳ 2.4G 2.4G Wireless Device id=15 [slave keyboard (3)]
As you see the difference from above my device is now recognized and available to map to one of my 4 monitors with:
xinput --map-to-output "id=?" "output"
id=? because the id's change on startup.
Pressure sensitivity works flawlessly.
Also. I had no need for calibration.

Related

Mac not detecting USB mouse

I've only been on OS X for 2 days! So I am pretty new.
Basically when I plugged in my Targus USB mouse it popped up that I was replacing the keyboard, it said if I wasn't then just to ignore the message and carry on, so I crossed it but my mouse isn't been detected by my Macbook Pro.
The red light on my mouse is on so it has power but I can't see anywhere where I can set it up, all I'm thinking is that I need a Mac specific mouse? I got this mouse with my Vista laptop but I assumed it would plug in and work on OS X?

toggle virtual keyboard when external barcode scanner is connected by USB swift

I have a USB barcode scanner which acts as a HID keyboard (I think). When I connected to iPhone, the virtual Keyboard immediately get hidden.
How can I toggle the virtual keyboard in Swift?
BTW I really really wonder why we still can not do that easily in 2022
Thank you very much

Reuse raspberry pi 3 spi after installing touchscreen driver

I installed a 5 inch raspberry pi touch screen driver and it work well. Now I need to disable the screen and use the spi in an RFID code.
I need a method to disable the screen and clear the gpio pins.
I tried to use
disable_touchscreen=1
but nothing happens.
Then I tried
Xinput and disable the screen, the touch stopped but the pins didn't cleared .

XFCE: automatically enable/disable touchpad depending on mouse presence

I'm using the latest XFCE4 under Linux. My laptop has a touchpad, but I only want it to be enabled if the USB mouse is not connected. I know how to manually control this, but I'd like to find a way for the touchpad to auto-disable when a USB mouse is plugged in and auto-enable when the USB mouse is disconnected.
I can't find anything in the XFCE4 settings that controls this.
Is there any way I can have this auto-enable/disable capability for the touchpad?
Thank you very much.

windows-ce usb touch driver does not get enumerated

I added usb touch screen driver to my custom win ce 6.0 OS image. The touch screen works only when there is another USB device(USB flash drive, usb mouse etc.) present in the system and does not work when there is only single usb touch screen is connected. After troubleshooting, I discovered that the USB touch device does not get enumerated. Any help resolving this issue is highly appreciated.