El día martes, noviembre 20, 2018 a las 09:09:24a. m. +0100, Hans Petter 
Selasky escribió:

> > Of course. And it worked with the same cable on an Ubuntu 18.10 laptop
> > out of the box. On start on the device popped up a message box and asking
> > if I want to allow this connection. I ack'ed and had the shell prompt in
> > the xterm where I started 'adb shell'.
> > 
> 
> Did you run adb as root?
> 

Yes.

> Maybe you need to add some VID/PID via the environment. Works with my phone.
> 
> What does "adb devices -l" output?

Yesterday and today morning it produced an empty list. 

Now it works. In the root xterm, where I start the 'adb start-server'
it says now n addition to:


...
adb I  2592 100164 usb_libusb.cpp:399] check_device(): Probing usb device 
2a47:0c02
adb I  2592 100164 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 4
adb I  2592 100164 usb_libusb.cpp:259] check_usb_interface(): Interface have 
not 2 endpoints, ignoring
adb I  2592 100164 usb_libusb.cpp:280] check_usb_interface(): Forced Android 
interface protocol v.1
adb I  2592 100164 usb_libusb.cpp:280] check_usb_interface(): Forced Android 
interface protocol v.1
adb I  2592 100164 usb_libusb.cpp:288] check_usb_interface(): Device: 2a47:0c02 
iclass: ff, isclass: 42, iproto: 1 ep: 83/2-> 
adb I  2592 100164 usb_libusb.cpp:298] matches
adb I  2592 100164 usb_libusb.cpp:314] check_usb_interfaces(): Interface 1 of 
2a47:0c02 matches Android device
adb I  2592 100164 usb_libusb.cpp:473] check_device(): Device matches Android 
interface
adb I  2592 100164 usb_libusb.cpp:327] register_device(): Registering 
0x7fffffffda20 [JU000143] as USB transport
adb I  2592 100164 transport.cpp:1012] transport: 0x802428000 init'ing for 
usb_handle 0x8024250c0 (sn='JU000143')
adb I  2592 100164 transport_usb.cpp:85] transport: usb
adb I  2592 100164 transport.cpp:591] transport: JU000143 registered
adb I  2592 100164 usb_libusb.cpp:614] usb_init(): finished
adb I  2592 100164 transport_local.cpp:315] transport: local client init
adb I  2592 100164 adb_auth_host.cpp:431] adb_auth_init
adb I  2592 100164 adb_auth_host.cpp:292] home '/root'
adb I  2592 100164 adb_auth_host.cpp:322] user key '/root/.android/adbkey'
adb I  2592 100164 adb_auth_host.cpp:265] read_key '/root/.android/adbkey'
adb I  2592 100164 fdevent.cpp:152] fdevent_install (fdevent 14 A)
adb I  2592 100164 fdevent.cpp:198] fdevent_set: (fdevent 14 AR), events = 1
* daemon started successfully *


and in the unpriv xterm it says:

$ adb devices -l
List of devices attached
JU000143               device ugen0.4 product:krillin 
model:Aquaris_E4_5_Ubuntu_Edition device:krillin

$ adb shell
phablet@ubuntu-phablet:~$

I don't know why it works now, but not yesterday and today morning with
the same installation, same device. Only the cable is now different. I
will check at home with the cable I used this morning.

        matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, 
Druschba
instead of Nazis, to live instead of to survive.
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to