qvm-usb -a works on old phone, hangs on new phone

51 views
Skip to first unread message

Jarle Thorsen

unread,
May 5, 2017, 3:06:38 AM5/5/17
to qubes-users
Just a quick note to see if anybody have experienced similar problem:

Connecting an old Samsung Galaxy S3 phone to my app-vm using "qvm-usb -a" works just fine. I can connect to the phone via adb in the appvm.

Trying to connect a new Samsung Galaxy S7 Edge the same way, the "qvm-usb -a" command just hangs without finishing.

Any input?

Jarle Thorsen

unread,
May 5, 2017, 7:17:39 AM5/5/17
to qubes-users
Even though I am not able to move the Samsung Galaxy S7 Edge from sys-usb into the app-vm (like I can with the older phone), I'm still able to connect to it using adb from *within* the sys-usb vm....

Jarle Thorsen

unread,
May 5, 2017, 7:51:07 AM5/5/17
to qubes-users
This is the traceback I get when aborting with Ctrl+C after a while:

$ qvm-usb -a testing sys-usb:2-1.2
^CTraceback (most recent call last):
File "/usr/bin/qvm-usb", line 141, in <module>
main()
File "/usr/bin/qvm-usb", line 91, in main
usb_attach(qvm_collection, vm, dev, **kwargs)
File "/usr/lib64/python2.7/site-packages/qubes/qubesutils.py", line 629, in usb_attach
'{} {}\n'.format(device['vm'].name, device['device']))
File "/usr/lib64/python2.7/subprocess.py", line 799, in communicate
return self._communicate(input)
File "/usr/lib64/python2.7/subprocess.py", line 1409, in _communicate
stdout, stderr = self._communicate_with_poll(input)
File "/usr/lib64/python2.7/subprocess.py", line 1463, in _communicate_with_poll
ready = poller.poll()
KeyboardInterrupt

Rusty Bird

unread,
May 5, 2017, 8:30:14 AM5/5/17
to Jarle Thorsen, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Jarle Thorsen:
> Connecting an old Samsung Galaxy S3 phone to my app-vm using
> "qvm-usb -a" works just fine. I can connect to the phone via adb in
> the appvm.
>
> Trying to connect a new Samsung Galaxy S7 Edge the same way, the
> "qvm-usb -a" command just hangs without finishing.

That's https://github.com/QubesOS/qubes-issues/issues/2202

Rusty
-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJZDHA/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4NEI1OUJDRkM2MkIxMjlGRTFCMDZEMDQ0
NjlENzhGNDdBQUYyQURGAAoJEEadePR6ryrfIzIP/1O6AYs8IAWJATy8c5S6qXLK
8sTN7oeNQKNaZf9j/TwV39go9Vg/QljXO2L4/45Pf68fxp+hzYFIuedekBG1dneM
+FMlhzcU3bYGiFWJRgFPn1Rdp82Y5VDFE171+FJY0PhcDKoPf4uWK6y3pLbToQhX
sHS7Bc6a+gKUrJceGnx3kTJBForLiCw2+BrUbsBADDkMD+plrJKXenTq5DwlE3f0
Atr+WbeH+BxmT+ICDGaRqf01ZXFMkjdRKKZHj4nQOQuiCUtH4dTotZ2hJMA+BV9/
QuM7aVzNmD4zTPSJ9UpUPMPCMlHkFAeg5IwJnp/uCM2WtjthtY9rGdWztfklCpGt
JfPrwcrkOf/RyeqL8ln6qiRIxl6HZEorQlf7YoLmIcZqXGGMSTWOedm560AIpMbl
jwARhbyRtYFs4I8mOszOeEe08PkBqCAlSkt0HtJHu3l+mYBwyEh+qTsq4BV50/Pz
G1KVUtip7DSME/HWt0WU87qSFLHzuPQOpvwatzcPqn0u11mvZC2UtJDHGjPX2IMH
t/xDmpbvemWPvfgsXvtHxz/viksQF1B5tjniRwOZ8vj4L5Bb90s9tFfJEwSXzYYW
9x+qyPGeeUi0RVJPVoKlVbRc/w2FWPCMtyFUxqyVjW12RjXAAqcClQ2PLNHlGB94
n1HEefvFdHoKkYZctFPL
=MKRk
-----END PGP SIGNATURE-----

cooloutac

unread,
May 5, 2017, 8:43:50 PM5/5/17
to qubes-users

samsung edge galaxy s7 works for me doing that method. are you using usb debugging mode and put it in mtp mode? have you hit to accept the computer when you get the pop up on the phone?

Reply all
Reply to author
Forward
0 new messages