[SOLVED] Receiving files FROM smartphone bluetooth

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
GiuTor
Level 2
Level 2
Posts: 63
Joined: Fri Nov 15, 2013 5:22 pm

[SOLVED] Receiving files FROM smartphone bluetooth

Post by GiuTor » Sun Jul 22, 2018 12:52 pm

Hello guys,

I can send files to the phone but I can't receive. Looking into the old posts I came to know I have to install gnome-file-share. I did it and I still do not get the menu entry in Preferences->File-Sharing.

Anyway I ran it from the terminal and I got a statement in gnome-file-share window complaining some dependencies are missing. When I installed it it didn't call any dependencies.

1) What are the dependencies?
2) Ho do I notify this to the packager?

Thanks
Last edited by GiuTor on Mon Jul 23, 2018 2:29 pm, edited 2 times in total.
GiuTor
--
Imagination, a Linux DVD lightweight slideshow maker.
http://imagination.sf.net

User avatar
phd21
Level 17
Level 17
Posts: 7243
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Receiving files FROM smarthpone

Post by phd21 » Sun Jul 22, 2018 1:11 pm

Hi GiuTor

It would help to know more about your system setup, what phone make and model, etc... If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

Side note: Are you the developer of the excellent Imagination slideshow app or just referencing it in your signature line? Great application.

Have you installed the MTP packages from the "Synaptic Package Manager SPM", restart afterward.


Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

GiuTor
Level 2
Level 2
Posts: 63
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor » Sun Jul 22, 2018 1:18 pm

Hello Phd21,

thank you so much indeed for your quick reply. Yes! It's me in flesh and bones! Thank you so much for your complements. I'm honoured.

Here you are:

Code: Select all

gt@Aspire-E1-570 ~ $ sudo inxi -Fzxd
[sudo] password for gt: 
System:    Host: Aspire-E1-570 Kernel: 4.11.0-13-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.16.2 (Gtk 2.24.30) Distro: Linux Mint 18.1 Serena
Machine:   Mobo: Acer model: EA50_CX v: V2.02 Bios: Insyde v: V2.02 date: 07/30/2013
CPU:       Dual core Intel Core i5-3337U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7183
           clock speeds: max: 2700 MHz 1: 852 MHz 2: 801 MHz 3: 799 MHz 4: 802 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Display Server: X.org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           tty size: 192x51 Advanced Data: N/A for root
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.11.0-13-generic
Network:   Card-1: Broadcom NetXtreme BCM57786 Gigabit Ethernet PCIe driver: tg3 v: 3.137 bus-ID: 02:00.0
           IF: enp2s0f0 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter driver: ath9k bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (28.6% used) ID-1: /dev/sda model: ST500LT012 size: 500.1GB temp: 42C
           Optical: /dev/sr0 model: HL-DT-ST DVDRAM GU71N rev: 1.01 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 19G used: 6.6G (38%) fs: ext4 dev: /dev/sda3
           ID-2: /home size: 184G used: 127G (73%) fs: ext3 dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 53.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 222 Uptime: 2:21 Memory: 1257.0/3769.8MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (sudo) inxi: 2.2.35

Code: Select all

gt@Aspire-E1-570 ~ $ sudo lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 064e:e330 Suyin Corp. 
Bus 001 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
GiuTor
--
Imagination, a Linux DVD lightweight slideshow maker.
http://imagination.sf.net

User avatar
phd21
Level 17
Level 17
Posts: 7243
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Receiving files FROM smarthpone

Post by phd21 » Sun Jul 22, 2018 1:25 pm

Hi GiuTor,

You are welcome...

Can you please rerun the "inxi -Fxzd" and "lsusb" without using root user "sudo"; you can update your last reply or create another.

What is your phone(s) make and model #? There are various options depending upon the answer to this.

Side note: Any new updates for Imagination? If so, how do we get them?
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

GiuTor
Level 2
Level 2
Posts: 63
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor » Sun Jul 22, 2018 1:31 pm

Code: Select all

gt@Aspire-E1-570 ~ $ inxi -Fxzd
System:    Host: Aspire-E1-570 Kernel: 4.11.0-13-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.16.2 (Gtk 2.24.30) Distro: Linux Mint 18.1 Serena
Machine:   Mobo: Acer model: EA50_CX v: V2.02
           Bios: Insyde v: V2.02 date: 07/30/2013
CPU:       Dual core Intel Core i5-3337U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7183
           clock speeds: max: 2700 MHz 1: 979 MHz 2: 809 MHz 3: 834 MHz
           4: 808 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.01hz
           GLX Renderer: Mesa DRI Intel Ivybridge Mobile
           GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.11.0-13-generic
Network:   Card-1: Broadcom NetXtreme BCM57786 Gigabit Ethernet PCIe
           driver: tg3 v: 3.137 bus-ID: 02:00.0
           IF: enp2s0f0 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
           driver: ath9k bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (25.9% used)
           ID-1: /dev/sda model: ST500LT012 size: 500.1GB
           Optical: /dev/sr0 model: HL-DT-ST DVDRAM GU71N
           rev: 1.01 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 19G used: 6.6G (38%) fs: ext4 dev: /dev/sda3
           ID-2: /home size: 184G used: 114G (66%) fs: ext3 dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 51.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 214 Uptime: 2:33 Memory: 1358.2/3769.8MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35

Code: Select all

@Aspire-E1-570 ~ $ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 064e:e330 Suyin Corp. 
Bus 001 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
gt@Aspire-E1-570 ~ $ 
The phone is Samsung J1 mini. I get "Connection failed on the phone" so I guess there is no service listening on the laptop.

I issue updates once I collect a resonable amount of patches to justify a new release. I'm not getting any of them lately.

Thanks for your help and interest in Imagination.
GiuTor
--
Imagination, a Linux DVD lightweight slideshow maker.
http://imagination.sf.net

User avatar
JerryF
Level 10
Level 10
Posts: 3135
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF » Sun Jul 22, 2018 1:46 pm

@GiuTor,

Suggestion: Only use sudo when necessary. Most commands from the Terminal can be executed as a user.

What method are you trying to use to send/receive files? USB cable, wireless, Bluetooth?
Last edited by JerryF on Sun Jul 22, 2018 1:49 pm, edited 1 time in total.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
phd21
Level 17
Level 17
Posts: 7243
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Receiving files FROM smarthpone

Post by phd21 » Sun Jul 22, 2018 1:46 pm

Hi GiuTor,

I do not see anything wrong with the results of the "inxi -Fxzd" console terminal command, so that is a good thing.

You might consider updating to Mate v18.3 from the Mint Update Manager and perhaps a newer Linux Kernel.

Because you have a Samsung phone, I'll assume it is Android based and that you have a USB cable for it?

Have you installed the MTP packages from the "Synaptic Package Manager SPM"? Have you checked to see if the phone has an MTP or USB mode?

There are various applications and utilities for connecting an Android phone to any Linux Mint system.

[SOLVED] Android phone doesnt work on Mint 18.3 - Linux Mint Forums
viewtopic.php?f=49&t=269838&hilit=kde+connect

KDEConnect - Linux Mint Forums
viewtopic.php?f=47&t=270622&hilit=kde+connect


Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

GiuTor
Level 2
Level 2
Posts: 63
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor » Sun Jul 22, 2018 1:55 pm

I got this from /var/log/syslog:

Code: Select all

 failed: GDBus.Error:org.bluez.Error.AuthenticationFailed: Authentication Failed
The phone and the laptop pair successfully as I can send files to the phone. Yes, it's an Android. I want to use bluetooth to transfer files, I can successfully do it with MTP and USB cable, thanks.
GiuTor
--
Imagination, a Linux DVD lightweight slideshow maker.
http://imagination.sf.net

User avatar
phd21
Level 17
Level 17
Posts: 7243
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Receiving files FROM smarthpone

Post by phd21 » Sun Jul 22, 2018 2:05 pm

Hi GiuTor,

Okay, I think the other options like "kde connect" provide much better options including faster transfer rates over using Bluetooth transfer.

The message shows a "bluez" and "GDbus" error.

Try installing these packages and rebooting.

obexfs
obexftp
bluez-obexd
bluez-tools
bluewho

I assume that with "Mate" the "gnome-bluetooth" or something like it is already installed...

Hope this helps ...
Last edited by phd21 on Sun Jul 22, 2018 2:25 pm, edited 1 time in total.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
JerryF
Level 10
Level 10
Posts: 3135
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF » Sun Jul 22, 2018 2:09 pm

GiuTor wrote:
Sun Jul 22, 2018 1:55 pm
...
I want to use bluetooth to transfer files, I can successfully do it with MTP and USB cable, thanks.
I had a similar problem as yours. I had to install a program that JeremyB suggested. Unfortunately, I'm on vacation and don't have my Mint available to look at to find what the program is.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

GiuTor
Level 2
Level 2
Posts: 63
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor » Sun Jul 22, 2018 2:22 pm

Thank you so much for you reply, really kind to answer while you are relaxing on vacation.

It seems I'm making some progress but no luck with google so far... :x

Code: Select all

gt@Aspire-E1-570 ~ $ systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2018-07-22 16:55:24 CEST; 3h 21min ago
     Docs: man:bluetoothd(8)
 Main PID: 780 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─780 /usr/lib/bluetooth/bluetoothd

Jul 22 18:43:50 Aspire-E1-570 systemd[1]: Started Bluetooth service.
Jul 22 18:44:00 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:09:24 Aspire-E1-570 bluetoothd[780]: Failed to set mode: Blocked through rfkill (0x12)
Jul 22 20:09:45 Aspire-E1-570 bluetoothd[780]: /org/bluez/hci0/dev_E8_93_09_3D_2C_04/fd1: fd(24) ready
Jul 22 20:10:47 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:12:07 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:12:29 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:16:59 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:17:06 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:17:11 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)

Code: Select all

gt@Aspire-E1-570 ~ $ rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: acer-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
GiuTor
--
Imagination, a Linux DVD lightweight slideshow maker.
http://imagination.sf.net

User avatar
JerryF
Level 10
Level 10
Posts: 3135
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF » Sun Jul 22, 2018 2:57 pm

Hopefully, JeremyB will see your posts and will answer. He's excellent at wireless, Bluetooth, etc.

P.S. Being a member of this forum is so nice that I love checking the posts! :D
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

GiuTor
Level 2
Level 2
Posts: 63
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone bluetooth

Post by GiuTor » Sun Jul 22, 2018 4:59 pm

Hello guys,

my stubbornness was rewarded. I issued this command as the file was missing. Please check if you have it first:

Code: Select all

sudo cp /usr/lib/systemd/user/dbus-org.bluez.obex.service /lib/systemd/system/obex.service
Then I uninstalled blueberry and installed blueman. I got a small progress as the file transfer was stuck on 0% so I went into the setup for my smartphone and I made it a trusted device. Then View->Local Services and I checked "Accept files from Trusted devices".

I was able to transfer files FROM my Samsung Android to my laptop.

I definitely have to admit Bluetooth in 2018 is still complicated on Linux... Obex, dbus are really a mess! :evil: :twisted:

Hope this will be helpful to someone, I spent 3 hrs and 30 mins to get it working... :D :) :o
Last edited by GiuTor on Mon Jul 23, 2018 2:09 pm, edited 1 time in total.
GiuTor
--
Imagination, a Linux DVD lightweight slideshow maker.
http://imagination.sf.net

User avatar
JerryF
Level 10
Level 10
Posts: 3135
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF » Sun Jul 22, 2018 7:44 pm

Fantastic!
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
AZgl1500
Level 9
Level 9
Posts: 2734
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Receiving files FROM smarthpone

Post by AZgl1500 » Mon Jul 23, 2018 9:40 am

on my smartphone, I use an app ASUS File Manager
https://play.google.com/store/apps/deta ... ilemanager

if you have your PC's desktop setup as a Shared Folder, or other folder if you wish.
and the smartphone and the PC are logged into the same WiFi signal,
the ASUS FM app will copy files from your phone to the PC.

I use it multiple times a day, and it is fast.

GiuTor
Level 2
Level 2
Posts: 63
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor » Mon Jul 23, 2018 11:28 am

Thanks a lot for this tip. I didn't know this app.
GiuTor
--
Imagination, a Linux DVD lightweight slideshow maker.
http://imagination.sf.net

JeremyB
Level 19
Level 19
Posts: 9304
Joined: Fri Feb 21, 2014 8:17 am

Re: Receiving files FROM smarthpone

Post by JeremyB » Mon Jul 23, 2018 1:16 pm

I will check when I get home but I think there's an option in the Bluetooth manager to receive files over Bluetooth

User avatar
JerryF
Level 10
Level 10
Posts: 3135
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: [SOLVED] Re: Receiving files FROM smarthpone bluetooth

Post by JerryF » Mon Jul 23, 2018 1:48 pm

GiuTor wrote:
Sun Jul 22, 2018 4:59 pm
...
Thanks for putting [SOLVED], unfortunately no one will see it from the main board.

Could you please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line.

Thanks so much.
Last edited by JerryF on Mon Jul 23, 2018 1:52 pm, edited 1 time in total.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
JerryF
Level 10
Level 10
Posts: 3135
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF » Mon Jul 23, 2018 1:51 pm

JeremyB wrote:
Mon Jul 23, 2018 1:16 pm
I will check when I get home but I think there's an option in the Bluetooth manager to receive files over Bluetooth
@JeremyB,

GiuTor has solved the problem, but put [SOLVED] in one of the middle posts, not in the original.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

GiuTor
Level 2
Level 2
Posts: 63
Joined: Fri Nov 15, 2013 5:22 pm

Re: [SOLVED] Receiving files FROM smarthpone bluetooth

Post by GiuTor » Mon Jul 23, 2018 2:10 pm

I think I have done it. Apologies.
GiuTor
--
Imagination, a Linux DVD lightweight slideshow maker.
http://imagination.sf.net

Post Reply

Return to “Hardware Support”