Closed
Bug 987004
Opened 12 years ago
Closed 11 years ago
[dolphin] FM radio doesn't work
Categories
(Firefox OS Graveyard :: Vendcom, defect)
Tracking
(b2g-v1.4 affected)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| b2g-v1.4 | --- | affected |
People
(Reporter: seinlin, Assigned: sam.hua)
References
Details
(Whiteboard: [POVB][sprd296129])
FM radio doesn't work, and FM power status is alway isn off state.
---
I/FMRadio ( 725): FMRadio is initialized.
E/GeckoConsole( 725): Content JS LOG at app://fm.gaiamobile.org/gaia_build_defer_index.js:166 in updatePowerUI: Power status: off
E/GeckoConsole( 725): Content JS LOG at app://fm.gaiamobile.org/gaia_build_defer_index.js:166 in updatePowerUI: Power status: off
E/GeckoConsole( 725): Content JS LOG at app://fm.gaiamobile.org/gaia_build_defer_index.js:166 in updatePowerUI: Power status: off
Comment 1•12 years ago
|
||
Based on comment 0, need partner to modify the FM driver for FM radio to work.
Whiteboard: [POVB]
Comment 2•11 years ago
|
||
Hi James,
Mind if you can find someone on top of this POVB bug. Thanks.
Flags: needinfo?(james.zhang)
Updated•11 years ago
|
Whiteboard: [POVB] → [POVB][sprd296129]
Comment 4•11 years ago
|
||
Add Ping Zhang,
On latest dolphin version, FM can work now, but FM audio still can't work.
Ping and Jesse, please discuss here.
blocking-b2g: --- → 1.4?
status-b2g-v1.4:
--- → affected
Flags: needinfo?(pzhang)
Flags: needinfo?(jesse.ji)
Macro, our dolphin FM can't use audio system to adjust volume. We have discussed on our side, the only way to adjust the volume is FM driver.
We consider adding an api in Gonk to adjust the FM volume, like SetFMVolumeIndex/GetFMVolumeIndex.
What do you think?
Flags: needinfo?(pzhang)
Flags: needinfo?(mchen)
Flags: needinfo?(jesse.ji)
Updated•11 years ago
|
Flags: needinfo?(ttsai)
| Reporter | ||
Comment 6•11 years ago
|
||
Michael, there could be some technical limitation for FM radio on SPRD solution. For tarako we have the patch on v1.3t branch. But for v1.4 or master we still need to solve this kind of problem.
Is it reasonable to have have a FM solution which allow to control vendor dependent part by compile flag or properties?
Flags: needinfo?(ttsai) → needinfo?(mwu)
| Reporter | ||
Comment 7•11 years ago
|
||
(In reply to Jesse from comment #5)
> Macro, our dolphin FM can't use audio system to adjust volume. We have
> discussed on our side, the only way to adjust the volume is FM driver.
>
> We consider adding an api in Gonk to adjust the FM volume, like
> SetFMVolumeIndex/GetFMVolumeIndex.
>
> What do you think?
Jesse, I think EnableFMAudio()/DisableFMAudio() can be moved and done setDeviceConnectionState. Then it is not necessary to patch gecko. Becuase I think audioManager->SetFmRadioAudioEnabled(aAudioEnabled) is followed by EnableFMAudio()/DisableFMAudio() is not a good idea. They should be done in hardware/libhardware_legacy/audio or frameworks/av/services/audioflinger/ accordingly.
Flags: needinfo?(jesse.ji)
| Reporter | ||
Comment 8•11 years ago
|
||
Correction to comment 7.
I think EnableFMAudio()/DisableFMAudio() can be moved and done in setDeviceConnectionState.
(In reply to Kai-Zhen Li from comment #8)
> Correction to comment 7.
>
> I think EnableFMAudio()/DisableFMAudio() can be moved and done in
> setDeviceConnectionState.
It's not easy for media server to handle FM device fd opened in b2g process.
Flags: needinfo?(jesse.ji)
Comment 10•11 years ago
|
||
I think :mwu is the right person on this FM module.
Flags: needinfo?(mchen)
| Assignee | ||
Comment 11•11 years ago
|
||
FM can work in the latest build.
Comment 12•11 years ago
|
||
Closing per comment 11.
Status: NEW → RESOLVED
blocking-b2g: 1.4? → ---
Closed: 11 years ago
Component: GonkIntegration → Vendcom
Resolution: --- → FIXED
| Reporter | ||
Comment 13•11 years ago
|
||
Partner has fixed in these repos, need no more info.
system/core
hardware/libhardware_legacy
Flags: needinfo?(mwu)
| Assignee | ||
Comment 14•11 years ago
|
||
Hi Kaizhen,
It can work,but failed in adjust the volume,so could u reopen it?
| Reporter | ||
Comment 15•11 years ago
|
||
Sam, I filed a new bug 1016803 to follow the FM volume issue.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 16•11 years ago
|
||
Sorry for reopen this bug accidentally. Let's continue the FM volume issue on bug 1016803.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•