← Back to team overview

kernel-packages team mailing list archive

[Bug 1194761] Re: Camera - Microdia [0c45:648d] camera_test is unable to take still pictures

 

** Description changed:

  CID: 201203-10664 Dell Inspiron 7420
  
- On this system, the camera_test script is able to display video capture form the built-in camera.
- But it's unable to display a still image and multiple resolution images, the file size of temporarily stored file is zero.
- Causing the image viewer complain about "Could not load image" (screenshot attached)
- Or "Failed to validate image" for multiple resolution images test case.
- 
- I tried to get more information from the script by adding "-v" to
- fswebcam command like this:
- 
-     def _still_helper(self, filename, width, height, quiet, pixelformat=None):
-         """
-         Captures an image to a given filename.  width and height specify the
-         image size and quiet controls whether the image is displayed to the
-         user (quiet = True means do not display image).
-         """
-         command = ["fswebcam -v", "-S 3", "--no-banner",
-                    "-d", self.args.device,
+ On this system, the camera_test script is able to display video capture form the built-in camera. But it's unable to display a still image and multiple resolution images, the file size of temporarily stored file is zero. Causing the image viewer complain about "Could not load image" (screenshot attached) Or "Failed to validate image" for multiple resolution images test case. I tried to get more information from the script by adding "-v" to fswebcam command like this:
+     def _still_helper(self, filename, width, height, quiet, pixelformat=None):
+         """
+         Captures an image to a given filename.  width and height specify the
+         image size and quiet controls whether the image is displayed to the
+         user (quiet = True means do not display image).
+         """
+         command = ["fswebcam -v", "-S 3", "--no-banner",
+                    "-d", self.args.device,
  
  I didn't get any extra imformation, but both the "still" and
  "resolutions" test cases work fine with this.
+ 
+ WORKAROUND: run "fswebcam --save OK.jpg -D 1"
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.5.0-34-generic 3.5.0-34.55~precise1
  ProcVersionSignature: Ubuntu 3.5.0-34.55~precise1-generic 3.5.7.13
  Uname: Linux 3.5.0-34-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
  ApportVersion: 2.0.1-0ubuntu17.3
  Architecture: amd64
  ArecordDevices:
-  **** List of CAPTURE Hardware Devices ****
-  card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
-    Subdevices: 1/1
-    Subdevice #0: subdevice #0
+  **** List of CAPTURE Hardware Devices ****
+  card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
+    Subdevices: 1/1
+    Subdevice #0: subdevice #0
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  ubuntu     1635 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  ubuntu     1635 F.... pulseaudio
  CRDA:
-  country TW:
-  	(2402 - 2472 @ 40), (3, 27)
-  	(5270 - 5330 @ 40), (3, 17), DFS
-  	(5735 - 5815 @ 40), (3, 30)
+  country TW:
+   (2402 - 2472 @ 40), (3, 27)
+   (5270 - 5330 @ 40), (3, 17), DFS
+   (5735 - 5815 @ 40), (3, 30)
  Card0.Amixer.info:
-  Card hw:0 'PCH'/'HDA Intel PCH at 0xf1610000 irq 46'
-    Mixer name	: 'Intel PantherPoint HDMI'
-    Components	: 'HDA:14f1506e,1028055f,00100002 HDA:80862806,80860101,00100000'
-    Controls      : 26
-    Simple ctrls  : 11
+  Card hw:0 'PCH'/'HDA Intel PCH at 0xf1610000 irq 46'
+    Mixer name	: 'Intel PantherPoint HDMI'
+    Components	: 'HDA:14f1506e,1028055f,00100002 HDA:80862806,80860101,00100000'
+    Controls      : 26
+    Simple ctrls  : 11
  Date: Wed Jun 26 15:32:34 2013
  HibernationDevice: RESUME=UUID=1b545ae9-c477-4296-bad8-13df99c1a066
  InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
  MachineType: Dell Inc. Inspiron 7420
  MarkForUpload: True
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcFB:
-  0 inteldrmfb
-  1 nouveaufb
+  0 inteldrmfb
+  1 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-34-generic root=UUID=cae2ed03-ffc3-4fe2-8206-9939fad0a62a ro quiet splash vt.handoff=7
  RelatedPackageVersions:
-  linux-restricted-modules-3.5.0-34-generic N/A
-  linux-backports-modules-3.5.0-34-generic  N/A
-  linux-firmware                            1.79.4
+  linux-restricted-modules-3.5.0-34-generic N/A
+  linux-backports-modules-3.5.0-34-generic  N/A
+  linux-firmware                            1.79.4
  SourcePackage: linux
  StagingDrivers: rts5139
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: X58
  dmi.board.name: A4E3T1
  dmi.board.vendor: Dell Inc.
  dmi.board.version: X02
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnDellInc.:bvrX58:bd07/24/2012:svnDellInc.:pnInspiron7420:pvr:rvnDellInc.:rnA4E3T1:rvrX02:cvnDellInc.:ct8:cvr0.1:
  dmi.product.name: Inspiron 7420
  dmi.sys.vendor: Dell Inc.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1194761

Title:
  Camera -  Microdia [0c45:648d] camera_test is unable to take still
  pictures

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  CID: 201203-10664 Dell Inspiron 7420

  On this system, the camera_test script is able to display video capture form the built-in camera. But it's unable to display a still image and multiple resolution images, the file size of temporarily stored file is zero. Causing the image viewer complain about "Could not load image" (screenshot attached) Or "Failed to validate image" for multiple resolution images test case. I tried to get more information from the script by adding "-v" to fswebcam command like this:
      def _still_helper(self, filename, width, height, quiet, pixelformat=None):
          """
          Captures an image to a given filename.  width and height specify the
          image size and quiet controls whether the image is displayed to the
          user (quiet = True means do not display image).
          """
          command = ["fswebcam -v", "-S 3", "--no-banner",
                     "-d", self.args.device,

  I didn't get any extra imformation, but both the "still" and
  "resolutions" test cases work fine with this.

  WORKAROUND: run "fswebcam --save OK.jpg -D 1"

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.5.0-34-generic 3.5.0-34.55~precise1
  ProcVersionSignature: Ubuntu 3.5.0-34.55~precise1-generic 3.5.7.13
  Uname: Linux 3.5.0-34-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
  ApportVersion: 2.0.1-0ubuntu17.3
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu     1635 F.... pulseaudio
  CRDA:
   country TW:
    (2402 - 2472 @ 40), (3, 27)
    (5270 - 5330 @ 40), (3, 17), DFS
    (5735 - 5815 @ 40), (3, 30)
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf1610000 irq 46'
     Mixer name	: 'Intel PantherPoint HDMI'
     Components	: 'HDA:14f1506e,1028055f,00100002 HDA:80862806,80860101,00100000'
     Controls      : 26
     Simple ctrls  : 11
  Date: Wed Jun 26 15:32:34 2013
  HibernationDevice: RESUME=UUID=1b545ae9-c477-4296-bad8-13df99c1a066
  InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
  MachineType: Dell Inc. Inspiron 7420
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:
   0 inteldrmfb
   1 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-34-generic root=UUID=cae2ed03-ffc3-4fe2-8206-9939fad0a62a ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.5.0-34-generic N/A
   linux-backports-modules-3.5.0-34-generic  N/A
   linux-firmware                            1.79.4
  SourcePackage: linux
  StagingDrivers: rts5139
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: X58
  dmi.board.name: A4E3T1
  dmi.board.vendor: Dell Inc.
  dmi.board.version: X02
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnDellInc.:bvrX58:bd07/24/2012:svnDellInc.:pnInspiron7420:pvr:rvnDellInc.:rnA4E3T1:rvrX02:cvnDellInc.:ct8:cvr0.1:
  dmi.product.name: Inspiron 7420
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1194761/+subscriptions