Closed Bug 1033945 Opened 11 years ago Closed 11 years ago

[Flame] cannot do SD card hotplug on Flame

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alchen, Unassigned)

Details

The problem is found when we are developing mount/unmount feature. (Bug 945642) In normal case, When people insert a SD card, gecko should be notified that there are volume state changes as below. "NoMedia -> Pending -> Idle-Unmounted -> Checking -> Mounted" When people remove a SD card, gecko should got the following state changes. "Mounted -> Unmounting -> Idle-Unmounted -> No-Media" However, there is no any volume change when we insert or remove a sd card. It looks like that we don't have the ability of detecting sd card on Flame. This problem can also be found on V122 base image.
Hi Francis, could you loop in T2M members for further discussion? Thanks.
Flags: needinfo?(frlee)
Attach the normal log for reference: (LOG of insert SD card) D/Vold ( 102): Volume sdcard state changing 0 (No-Media) -> 2 (Pending) D/Vold ( 102): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted) D/Vold ( 102): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking) D/Vold ( 102): Volume sdcard state changing 3 (Checking) -> 4 (Mounted) (LOG of remove SD card) D/Vold ( 102): Volume sdcard state changing 4 (Mounted) -> 5 (Unmounting) D/Vold ( 102): Volume sdcard state changing 5 (Unmounting) -> 1 (Idle-Unmounted) D/Vold ( 102): Volume sdcard state changing 1 (Idle-Unmounted) -> 0 (No-Media)
Summary: [Flame] cannot do SD card hotplug due to lack of some volume stage change → [Flame] cannot do SD card hotplug on Flame
hi Youlong, Yanan, according to our test result, SD card hotplug seems not supported on Flame. could you please check?
Flags: needinfo?(frlee) → needinfo?(youlong.jiang)
hi Youlong, Yanan, could you please check if there's HW dependence on this issue? in SIM hot swap case, device requires to have a SIM detect pin, so that it can detect properly if SIM is removed or not. i wonder, in the case of SD card, this should be standard HW spec. could you please confirm it?
(In reply to Francis Lee [:frlee] from comment #4) > hi Youlong, Yanan, > > could you please check if there's HW dependence on this issue? in SIM hot > swap case, device requires to have a SIM detect pin, so that it can detect > properly if SIM is removed or not. i wonder, in the case of SD card, this > should be standard HW spec. could you please confirm it? Just a friendly reminder that mount/unmount API is one of 2.1 device team features. We need to get the answer of Francis' question as soon as possible so that we can continue our work.
hi Eric, i have already told Howie 2 days ago that T2M has confirmed that Flame doesn't have SD card detect pic (it is a common cost down HW design if SD card is inside of the back cover). it's a HW limitation that Flame doesn't support SD card hotplug.
Flags: needinfo?(youlong.jiang)
refer to comment 6, wontfix due to hw limitation
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Generally speaking, sdcard connectors of the style used in the flame don't have card-detect. The connectors where the card slides in (like the dolphin) are the ones which have the card-detect.
You need to log in before you can comment on or make changes to this bug.