Flash does not work on Mx4 when connected to USB

Bug #1539708 reported by Bill Filler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
John McAleely
camera-app (Ubuntu)
Invalid
High
Florian Boucault

Bug Description

using stable image ota9 camera-app version 616

the flash does not work at all, even when manually enabled, torchlight never lights when pressing for focus

Bill Filler (bfiller)
Changed in camera-app (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Florian Boucault (fboucault)
Changed in canonical-devices-system-image:
importance: Undecided → Critical
assignee: nobody → Bill Filler (bfiller)
milestone: none → ww08-2016
Revision history for this message
Bill Filler (bfiller) wrote :

I see this is syslog when pressing to focus (which should turn on the flashligh)
Jan 29 12:47:51 ubuntu-phablet kernel: [ 604.588298] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453c3(nr=195), senorDev=0x1 ledId=0x1 arg=0xb3f049dc
Jan 29 12:47:51 ubuntu-phablet kernel: [ 604.588382] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: FLASH_IOC_IS_CHARGER_IN r=1[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453c8(nr=200), senorDev=0x1 ledId=0x1 arg=0xb3f049e0
Jan 29 12:48:01 ubuntu-phablet kernel: [ 604.588441] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: FLASH_IOC_IS_CHARGER_IN r=0[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453cd(nr=205), senorDev=0x1 ledId=0x1 arg=0xb3f049c4
Jan 29 12:48:01 ubuntu-phablet kernel: [ 615.183466] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453c3(nr=195), senorDev=0x1 ledId=0x1 arg=0xb3f049dc[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: FLASH_IOC_IS_CHARGER_IN r=1
Jan 29 12:48:01 ubuntu-phablet kernel: [ 615.183577] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453c8(nr=200), senorDev=0x1 ledId=0x1 arg=0xb3f049e0[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: FLASH_IOC_IS_CHARGER_IN r=0
Jan 29 12:48:09 ubuntu-phablet kernel: [ 615.183610] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453cd(nr=205), senorDev=0x1 ledId=0x1 arg=0xb3f049c4[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453c3(nr=195), senorDev=0x1 ledId=0x1 arg=0xb3f049dc
Jan 29 12:48:09 ubuntu-phablet kernel: [ 623.123667] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: FLASH_IOC_IS_CHARGER_IN r=1[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453c8(nr=200), senorDev=0x1 ledId=0x1 arg=0xb3f049e0

Revision history for this message
Bill Filler (bfiller) wrote :
Download full text (23.9 KiB)

Here is syslog when taking photo with flash on:

Jan 29 12:50:04 ubuntu-phablet kernel: [ 732.989182] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: FLASH_IOC_IS_CHARGER_IN r=0[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453cd(nr=205), senorDev=0x1 ledId=0x1 arg=0xb3f049c4
Jan 29 12:50:04 ubuntu-phablet kernel: [ 737.961341] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453c3(nr=195), senorDev=0x1 ledId=0x1 arg=0xabee6b2c[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: FLASH_IOC_IS_CHARGER_IN r=1
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.002237] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x80045373(nr=115), senorDev=0x1 ledId=0x1 arg=0x0<6>[ 738.002292] [KD_CAMERA_FLASHLIGHT]mt6332_CloseBoost4Flash:
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.002292] QQQO mt6332_CloseBoost4Flash 0 0
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.002330] [KD_CAMERA_FLASHLIGHT]setReg6332:
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.002330] QQQS pmic_config_interface 32924 2 65535 0 (0x809c 0x2 0xffff 0x0)
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.004496] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x80045373(nr=115), senorDev=0x1 ledId=0x2 arg=0x0
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.004540] [KD_CAMERA_FLASHLIGHT]mt6332_CloseBoost4Flash:
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.004540] QQQO mt6332_CloseBoost4Flash 0 0
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.004580] [KD_CAMERA_FLASHLIGHT]setReg6332:
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.004580] QQQS pmic_config_interface 32924 2 65535 0 (0x809c 0x2 0xffff 0x0)
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.202841] concurrency scenario CON_SCE_IC ON
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.388619] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453b4(nr=180), senorDev=0x1 ledId=0x1 arg=0x0
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.388910] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: FLASH_IOC_LOW_POWER_DETECT_END[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x800453b4(nr=180), senorDev=0x1 ledId=0x2 arg=0x0
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.388954] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: FLASH_IOC_LOW_POWER_DETECT_END[KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x80045373(nr=115), senorDev=0x1 ledId=0x1 arg=0x0
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.389016] [KD_CAMERA_FLASHLIGHT]mt6332_CloseBoost4Flash:
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.389016] QQQO mt6332_CloseBoost4Flash 0 0
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.389039] [KD_CAMERA_FLASHLIGHT]setReg6332:
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.389039] QQQS pmic_config_interface 32924 2 65535 0 (0x809c 0x2 0xffff 0x0)
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.391146] [KD_CAMERA_FLASHLIGHT]flashlight_ioctl: flashlight_ioctl cmd=0x80045373(nr=115), senorDev=0x1 ledId=0x2 arg=0x0
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.391173] [KD_CAMERA_FLASHLIGHT]mt6332_CloseBoost4Flash:
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.391173] QQQO mt6332_CloseBoost4Flash 0 0
Jan 29 12:50:04 ubuntu-phablet kernel: [ 738.391197] [KD_CAMERA_FLASHLIGHT]setReg6332:
Jan 29 1...

Revision history for this message
Dave Morley (davmor2) wrote :

Bill Filler: Remove the lead from the phone and try again.

Revision history for this message
Bill Filler (bfiller) wrote :

works fine when usb unplugged

summary: - Flash does not work on Mx4
+ Flash does not work on Mx4 when connected to USB
Changed in canonical-devices-system-image:
importance: Critical → High
Changed in camera-app (Ubuntu):
importance: Critical → High
Changed in canonical-devices-system-image:
milestone: ww08-2016 → backlog
Revision history for this message
Bill Filler (bfiller) wrote :

Being tracked in this bug:
https://launchpad.net/bugs/1446069

Changed in canonical-devices-system-image:
assignee: Bill Filler (bfiller) → John McAleely (john.mcaleely)
Changed in camera-app (Ubuntu):
status: New → Invalid
Changed in canonical-devices-system-image:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.