Closed Bug 1189521 Opened 9 years ago Closed 8 years ago

[Bluetooth] Cannot send files to V4 bluetooth device.

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: NicholasN, Unassigned)

References

()

Details

(Whiteboard: [2.5-Daily-Testing][Spark])

Attachments

(2 files)

Attached file logcat_v4bluetooth.txt
Description:
The user paired the device to a Surface tablet (Win8 and later Win10) which has V4 bluetooth. Files can be sent from the Surface to the test device, but files sent from the test device fail to send shortly after starting the transfer. This was tested with .jpg and .png of various sizes.


Repro Steps:
1) Update a Aries to 20150730145424
2) Go to Settings > Bluetooth and pair the device to a laptop/tablet with V4 bluetooth.
3) Go to Gallery, select a photo, and share via bluetooth.



Actual:
File transfer fails shortly after starting.


Expected:
File transfers successfully.


Notes:

Environmental Variables:
Device: Aries 2.5
Build ID: 20150730145424
Gaia: 1d3595836bd55b70478923d771051268a5dabf91
Gecko: 305ba37a62f8
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 42.0a1 (2.5)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0

Repro frequency: 5/5
See attached: video clip, logcat
Issue also occurs on Flame 2.5, Flame 2.2, Flame 2.1, and Flame 2.0

Flame 2.5

Actual:
File transfer fails shortly after starting.

Environmental Variables:
Device: Flame 2.5
BuildID: 20150730030209
Gaia: bf8565e0c3ad216ccb3f109c17f8a2eb2c42f6b8
Gecko: 62469b20ec84
Gonk: 41d3e221039d1c4486fc13ff26793a7a39226423
Version: 42.0a1 (2.5) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0

Flame 2.2

Actual:
File transfer fails shortly after starting.

Environmental Variables:
Device: Flame 2.2
BuildID: 20150730032503
Gaia: 8f3749f875c5ed155ccbd630aa2ee4e8bc2a9400
Gecko: e2a82fd90bc5
Gonk: bd9cb3af2a0354577a6903917bc826489050b40d
Version: 37.0 (2.2) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0

2.1

Actual:
File transfer fails shortly after starting.

Environmental Variables:
Device: Flame 2.1
BuildID: 20150724001207
Gaia: 9dba58d18006e921546cec62c76074ce81e16518
Gecko: 41e10c6740be
Gonk: bd9cb3af2a0354577a6903917bc826489050b40d
Version: 34.0 (2.1) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0

2.0

Actual:
File transfer fails shortly after starting.

Environmental Variables:
Device: Flame 2.0
BuildID: 20150723000207
Gaia: b16ba05481e577bc644ed8966f587a70fe2148e6
Gecko: 2e6f1d4deff9
Gonk: bd9cb3af2a0354577a6903917bc826489050b40d
Version: 32.0 (2.0) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Whiteboard: [2.5-Daily-Testing][Spark]
Note: This is a built in V4 bluetooth device, as opposed to a dongle.
NI on Jocelyn to take a look.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(pbylenga) → needinfo?(joliu)
Nicholas,

Can Android devices and Mac send files to Surface successfully? We don't have a Surface on hand right now so want to acquire more info before we get one.
Flags: needinfo?(nnelson)
Attached file logcat.txt
Aries to mac will not transfer as well.
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #5)
> Created attachment 8641879 [details]
> logcat.txt
> 
> Aries to mac will not transfer as well.

Did you enable bluetooth sharing on mac as following? Aries should work with Mac with the setting ON.

==
https://wiki.mozilla.org/B2G/Bluetooth#FAQ

5. Why can't I send a file to or receive a file from my Mac?
If you would like to share files to Mac, the file-transfer function should be enabled beforehand.
  1. Click the Bluetooth icon at the top-right corner of the screen
  2. Select "Open Bluetooth Preferences" from the drop down menu, then click the "Sharing Setup..." button at the bottom right of the dialog that opens
  3. Make sure the "Bluetooth Sharing" checkbox is enabled.
Please see https://support.apple.com/kb/PH18969 for more information.
I got the same issue from my Aries Foxfooding device both to a Win8 PC and my Linux PC. I'll try with another device to the same computers and report.
blocking-b2g: --- → 2.6?
(In reply to Julien Wajsberg [:julienw] from comment #7)
> I got the same issue from my Aries Foxfooding device both to a Win8 PC and
> my Linux PC. I'll try with another device to the same computers and report.

I can transfer file from Aries 2.5 to my Ubuntu installed Toshiba NB. Can you provide symptom video for us to investigate? Also the following information would be also helpful:
1) Which Win8 PC do you use?
2) Which Linux PC do you use?
3) Which version of Linux/Ubuntu do you use?
4) Do you use addition bluetooth dongle or built-in bluetooth module?
Flags: needinfo?(joliu)
ni? for comment 8.
Flags: needinfo?(felash)
(In reply to Nicholas Nelson [:NicholasN] from comment #2)
> Note: This is a built in V4 bluetooth device, as opposed to a dongle.

Nicholas, what do you mean "V4 bluetooth device" exactly? Do you mean a device supporting bluetooth 4.0 and above?
I can send files to an Win 10 PC. Can you check whether you've followed instructions as [1][2] to accept file transfer on win 8?

[1] http://www.niteshluharuka.com/how-to-receive-files-in-windows-8-1-using-bluetooth/
[2] http://thetechterminus.com/receive-a-file-via-bluetooth/

(In reply to Julien Wajsberg [:julienw] from comment #7)
> I got the same issue from my Aries Foxfooding device both to a Win8 PC and
> my Linux PC. I'll try with another device to the same computers and report.
ni? QA Teri to help reproduce.

Teri, can you help confirm whether this bug occurs on Aries/Flame with the latest m-c?
Flags: needinfo?(twen)
Hi Ben,
I can reproduce this issue with linux pc using the latest m-c.
After pairing with Ubuntu 12.04, and tapping share with bluetooth in gallery, notification shows "File transfter cancelled."

Build ID               20151121130006
Gaia Revision          a8a365704d98788d6842f0d88589fec96beb6e08
Gaia Date              2015-11-20 11:55:03
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/abbd213422a560f1180c4ec6e3bf4792c2ea81ba
Gecko Version          45.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151121.121717
Firmware Date          Sat Nov 21 12:17:25 UTC 2015
Bootloader             s1
Flags: needinfo?(twen)
Just a notice I tried to transfer to my Linux but I admit the issue could come from my side.

I still intend to try with a Windows 8 using the information you provided but didn't find the time yet.
After closer look, there is a setting "Receive Files over Bluetooth" on Ubuntu that needs to be checked in order for file transfers to be successful. See http://askubuntu.com/questions/131570/how-do-you-make-ubuntu-accept-files-sent-over-bluetooth for more details. Similar setting applies to Windows and Android. 
File transfers are successful after setting is checked.
Forgot to mention Ubuntu also requires to enable setting to accept incoming file transfer.

==
https://wiki.mozilla.org/B2G/Bluetooth#FAQ

 Why can't I receive a file from my Ubuntu laptop/desktop?

    On Ubuntu 12.04/12.10, the function of receiving a file from remote Bluetooth devices is disabled by default. Therefore you have to turn it on then try again. 

    1. Go to "Personal File Saring" 
    2. Check the item "Receive files in Downloads folder over Bluetooth"
I enabled this on my Debian but I think I still have an error. That's why I want to try on another system before reporting more.
Besides trying to send file from Aries to another system, please also try sending files from Android phones/other devices to the system to know if it's Aries-only problem. The step clarifies whether to check sender or receiver first. Thanks.

(In reply to Julien Wajsberg [:julienw] from comment #17)
> I enabled this on my Debian but I think I still have an error. That's why I
> want to try on another system before reporting more.
Yes I'll do that.
Hi

(In reply to Julien Wajsberg [:julienw] from comment #17)
> I enabled this on my Debian but I think I still have an error. That's why I
> want to try on another system before reporting more.

I just want to add that I'm on Debian 8 and also have problems with file transfers. I generally use Windows for testing this, because Debian doesn't seem to support it correctly.
Denominate 2.6? now to save tracking effort. Please renominate once the problem is confirmed per comment 17.
blocking-b2g: 2.6? → ---
I managed to send a file from a Android 4.3 to a Windows 8 PC. But I couldn't send anything from my FxOS phone to the same Win8 PC. I don't have latest FOTA update though, could that be the issue ?
Flags: needinfo?(felash)
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(nnelson)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: