Closed Bug 987004 Opened 12 years ago Closed 11 years ago

[dolphin] FM radio doesn't work

Categories

(Firefox OS Graveyard :: Vendcom, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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
Blocks: dolphin
Based on comment 0, need partner to modify the FM driver for FM radio to work.
Whiteboard: [POVB]
Hi James, Mind if you can find someone on top of this POVB bug. Thanks.
Flags: needinfo?(james.zhang)
Loop Sam
Assignee: nobody → sam.hua
Flags: needinfo?(james.zhang)
Whiteboard: [POVB] → [POVB][sprd296129]
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?
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)
Flags: needinfo?(ttsai)
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)
(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)
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)
I think :mwu is the right person on this FM module.
Flags: needinfo?(mchen)
FM can work in the latest build.
Closing per comment 11.
Status: NEW → RESOLVED
blocking-b2g: 1.4? → ---
Closed: 11 years ago
Component: GonkIntegration → Vendcom
Resolution: --- → FIXED
Partner has fixed in these repos, need no more info. system/core hardware/libhardware_legacy
Flags: needinfo?(mwu)
Hi Kaizhen, It can work,but failed in adjust the volume,so could u reopen it?
Sam, I filed a new bug 1016803 to follow the FM volume issue.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Blocks: 1016803
Sorry for reopen this bug accidentally. Let's continue the FM volume issue on bug 1016803.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.