but the Qt ADB won start automatic when I connect the Tab to the PC..
I have tho execute it manually... so it seems?
Am I doing something wrong?
You'll have to do it manually. This is exactly how I can do it in my system (Arch Linux), in yours, the process must be something similar, but maybe not the same.
All this as root
First, I created a script in /usr/bin named adbQT
Code:
touch /usr/bin/adbQT && chmod +x /usr/bin/adbQT
With this content (change the paths according to your case):
Code:
#!/bin/bash
export XAUTHORITY=/home/user/.Xauthority
export DISPLAY=':0'
su - user -c "~/pathtoinstalled/QtADB_0.8.1_linux64/./QtADB"
The, I have to add and udev rule in /etc/udev/rules.d
With the tab connected to the PC, do
Code:
lsusb
Look for the corresponding line
Code:
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[B]Bus 002 Device 076: ID [COLOR="Red"]04e8[/COLOR]:[COLOR="Blue"]6860[/COLOR] Samsung Electronics Co.[/B]
Create the rule (change the idVendor and idProduct)
Code:
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", RUN+="/usr/bin/adbQT"' > /etc/udev/rules.d/91-qtadb.rules
Reload udev rules
Code:
udevadm control --reload-rules
An that's it.