Closed
Bug 949222
Opened 11 years ago
Closed 11 years ago
need better error message when paired device is detected, but sharing is disabled
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 949554
People
(Reporter: dietrich, Assigned: ben.tian)
References
Details
(Whiteboard: [papercuts])
can pair just fine, but always get "cannot send file".
logcat:
D/BTIF_SOCK( 178): service_uuid: 00001105-0000-1000-8000-00805f9b34fb
E/bt-btif ( 178): bta_jv_rfcomm_stop_server
I/GeckoDump( 178): XXX FIXME : Got a mozContentEvent: desktop-notification-show
W/AudioFlinger( 172): Thread AudioOut_2 cannot connect to the power manager service
E/FastMixer( 172): did not receive expected priority boost
D/audio_hw_primary( 172): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)
D/audio_hw_primary( 172): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/audio_hw_primary( 172): enable_snd_device: sending audio calibration for snd_device(2) acdb_id(14)
D/ACDB-LOADER( 172): ACDB -> send_afe_cal
D/audio_hw_primary( 172): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary( 172): enable_audio_route: apply mixer path: low-latency-playback
D/audio_hw_primary( 172): start_output_stream: exit
I/Gecko ( 1448): Attempting load of libEGL.so
D/libEGL ( 1448): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 1448): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 1448): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL( 1448): <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM Build: Iabe52cfaeae4c5fab1acacfe6f056ba15fa93274
E/GeckoConsole( 178): Content JS WARN at app://system.gaiamobile.org/js/activity_window.js:202 in onClose: unknown window type of activity caller.
I/Gecko ( 1448): SharedSurface_Gralloc::Create -------
I/Gecko ( 1448): SharedSurface_Gralloc::Create: success -- surface 0xb3139b00, GraphicBuffer 0xb38ad300.
W/bt-btif ( 178): info:x10
D/ ( 178): remote version info [84:38:35:5f:31:71]: 6, f, 414e
D/btif_config_util( 178): btif_config_save_file(L153): in file name:/data/misc/bluedroid/bt_config.new
W/Adreno200-EGLSUB( 1448): <CacheInvalidateHandle:223>: PMEM_INV_CACHES undefined
W/bt-sdp ( 178): process_service_search_attr_rsp
I/Gecko:ProcessPriorityManager( 178): [Send To Bluetooth Device, child-id=9, pid=1448] Scheduling reset timer to fire in 1000ms.
I/Gecko ( 1448):
I/Gecko ( 1448): ###!!! [Child][MessageChannel] Error: Channel closing: too late to send/recv, messages will be lost
I/Gecko ( 1448):
I/Gecko:ProcessPriorityManager( 178): [Send To Bluetooth Device, child-id=9, pid=1448] ScheduleResetPriority bailing; the timer is already running.
I/Gecko:ProcessPriorityManager( 178): [child-id=9, pid=-1] Destroying ParticularProcessPriorityManager.
I/Gecko ( 178): [Parent 178] WARNING: waitpid failed pid:1448 errno:10: file ../../../gecko/ipc/chromium/src/base/process_util_posix.cc, line 254
E/bt-btif ( 178): DISCOVERY_COMP_EVT slot id:8, failed to find channle, status:1, scn:0
W/bt-btif ( 178): invalid rfc slot id: 8
I/GeckoBluetooth( 178): OnSocketDisconnect: [server]
I/GeckoBluetooth( 178): DiscardBlobsToSend: idx 0
I/GeckoBluetooth( 178): ProcessNextBatch: REMOVE. 0 remaining
I/GeckoBluetooth( 178): ReceiveSocketInfo: channel 12
Comment 1•11 years ago
|
||
Ben will take a first look. Thanks.
Updated•11 years ago
|
Assignee: nobody → btian
Assignee | ||
Comment 2•11 years ago
|
||
Device doesn't receive initial 4-byte socket info message so closes the outbound socket. Nexus 7 (4.4.2) and HTC One (4.3) cannot send file to mac either. Will check hcidump for more information.
Assignee | ||
Comment 3•11 years ago
|
||
Dietrich, please turn on bluetooth sharing on your mac as following and try again. The problem is gone after I turn it on. Let me know if it works for you as well.
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.
Flags: needinfo?(dietrich)
We have tested on MacOS X 10.8.2, based on Comment 3.
Reporter | ||
Comment 5•11 years ago
|
||
Yes, this was the problem.
Apparently I will file this bug each time I use a new laptop! My apologies.
On the Mac, because it's disabled, there's no indication that something has gone wrong.
On our end, we might be able to get the user to a solution more quickly by giving a better message.
If can we detect that Bluetooth on the paired device is *enabled* but file cannot be sent, is there something in the protocol that says "feature not supported" or "feature not enabled" so that we can give a better message to the user?
Flags: needinfo?(dietrich)
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(btian)
Reporter | ||
Updated•11 years ago
|
Summary: can't transfer file from Nexus 4 to Mac OS X → need better error message when paired device is detected, but sharing is disabled
Reporter | ||
Updated•11 years ago
|
Whiteboard: [papercuts]
Reporter | ||
Updated•11 years ago
|
Blocks: fxos-papercuts
Assignee | ||
Comment 6•11 years ago
|
||
Gecko is unaware of "feature not supported" error since feature support negotiation is handled by bluetooth backend (bluedroid). Gecko only gets error to read socket data and then disconnects.
ni? UX Neo to comment on better error message wording.
Flags: needinfo?(btian) → needinfo?(nhsieh)
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(nhsieh)
Resolution: --- → DUPLICATE
Release Note Request (optional, but appreciated)
[Why is this notable]:
[Suggested wording]:
[Links (documentation, blog post, etc)]:
[Tracking Requested - why for this release]:
status-b2g-v2.1:
--- → ?
status-firefox38:
--- → ?
status-firefox39:
--- → ?
tracking-firefox38:
--- → ?
tracking-firefox41:
--- → ?
relnote-b2g:
--- → ?
Comment 9•9 years ago
|
||
Please don't play with the tracking flags...
status-b2g-v2.1:
? → ---
status-firefox38:
? → ---
status-firefox39:
? → ---
tracking-firefox38:
? → ---
tracking-firefox41:
? → ---
relnote-b2g:
? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•