The officially official Devuan Forum!

You are not logged in.

#1 2022-08-11 10:48:38

drito
Member
Registered: 2022-08-11
Posts: 5  

lsblk command doesn't see my usb plugged Android phone

Hello, I set the android usb mode to file transfer on the phone popup. libmtp-common is also installed. Neither spacefm or lsblk see the device.

But I was surprised by the Godot engine editor since it is able to detect the device and I even exported an runned a game from the PC.

Some info:

OS: Devuan GNU/Linux 4 (chimaera) x86_64
Host: 20BECTO1WW ThinkPad T540p
Kernel: 5.10.0-16-amd64
Uptime: 46 mins
Packages: 835 (dpkg), 16 (guix-user)
Shell: bash 5.1.8
Resolution: 1920x1080
WM: bspwm
Theme: Graphite-dark [GTK2/3]
Icons: Tela [GTK2/3]
Terminal: alacritty
CPU: Intel i5-4210M (4) @ 3.200GHz
GPU: Intel 4th Gen Core Processor

I forgot another info: the init system is runit.

I have no idea about what happens. Advices are welcome.

Last edited by drito (2022-08-11 12:24:17)

Offline

#2 2022-08-11 17:10:18

chris2be8
Member
Registered: 2018-08-11
Posts: 307  

Re: lsblk command doesn't see my usb plugged Android phone

At a guess the system sees the phone, but not as a block device. Try lsusb and see if that says anything (if in doubt run lsusb with the phone plugged in and again after unplugging it). Then try lsusb -v -s <whatever it's address is>

Offline

#3 2022-08-11 17:39:45

drito
Member
Registered: 2022-08-11
Posts: 5  

Re: lsblk command doesn't see my usb plugged Android phone

Here the result.
Thanks for the info.

lsusb -v -s 16

Bus 002 Device 016: ID 0fce:51de Sony Ericsson Mobile Communications AB F3112
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0fce Sony Ericsson Mobile Communications AB
  idProduct          0x51de
  bcdDevice            2.28
  iManufacturer           3 Sony
  iProduct                4 F3112
  iSerial                 5 RQ3001MLTC
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x003e
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol      0
      iInterface             17 MTP
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x001c  1x 28 bytes
        bInterval               6
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     66
      bInterfaceProtocol      1
      iInterface             18 ADB Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

Offline

#4 2022-08-11 20:08:21

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: lsblk command doesn't see my usb plugged Android phone

sudo apt install android-file-transfer

...for a GUI...

sudo apt install android-file-transfer-qt5

See subsequent posts regarding the GUI...

wink

Last edited by MiyoLinux (2022-08-12 15:51:26)


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

#5 2022-08-12 11:42:23

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: lsblk command doesn't see my usb plugged Android phone

MiyoLinux wrote:
sudo apt install android-file-transfer

...for a GUI...

sudo apt install android-file-transfer-qt5

wink

Hello. Your last specified command is not needed, because the package

android-file-transfer

already contains a graphical ui.


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#6 2022-08-12 15:48:32

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: lsblk command doesn't see my usb plugged Android phone

You're correct. My mistake.
I got it confused with FreeBSD. Sorry. I'll edit my original post.
Thanks Ogis. smile


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

Board footer