LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-24-2008, 08:18 PM   #1
PAix
Member
 
Registered: Jul 2007
Location: United Kingdom, W Mids
Distribution: SUSE 11.0 as of Nov 2008
Posts: 195

Rep: Reputation: 40
Camorama - directory setup problem


I have a Microdia SN9C201 USB2 webcam, which for the last year has been collecting dust in it's box as I was using SUSE 10.1 and had no great luck.

Having upgraded to SUSE 11.0 I am again investigating the prospects of pushing this device into useful service. Drivers for Microdia were available from the standard recommended repositories and with the installation came a patched kernel - pe or xen.

I rebooted to invoke the changed kernel:
My box is AMD Sempron 2200+ with 1G memory with a new 80GB PATA disk drive, originally built four years ago as a low-end if-this-can-do-it-anything-can box.


Code:
OS:Linux 2.6.25.18-0.2-xen i686
 Current user: ian@linux-cefw

 System:openSUSE 11.0 (i586)
 KDE:3.5.9 "release 49.1"
The Linux 2.6.35.18_0.2-pe i686 kernel also supports the camera and works in the same way, but I noticed the screen flicker approx every four seconds 'during and after' running “Camorama”, which appears not to happen with the xen kernel. No real testing done though as my real problem is with the error I am about to describe:

Launching camorama from a Shell Konsole screen returns errors:

Code:
Yast reports:
 camorama 0.19-0 pm2
camorama -V
causes a segmentation fault, but other than wanting to know the installed version this isn't an issue that I am concerned about. Yast provided me with the info.

Code:
camorama -D
  
 VIDIOCGCAP
 device name = microdia
 device type = 1
 can use mmap()
 # of channels = 1
 # of audio devices = 0
 max width = 640
 max height = 480
 min width = 80
 min height = 60
  
 VIDIOCGWIN
 x = 0
 y = 0
 width = 640
 height = 480
 chromakey = 0
 flags = -1223365648
 
  VIDIOCGWIN
 x = 0
 y = 0
 width = 320
 height = 240
 chromakey = 0
 flags = 0
 
  VIDIOCGPICT:
 bright = 32512
 hue = 65535
 colour = 0
 contrast = 32512
 whiteness = 13056
 colour depth = 24
 YUV 4:2:0 Planar
 
  VIDIOCGMBUF
 mb.size = 10485760
 mb.frames = 2
 mb.offset = 5242880
 update_tooltip called
 tip - acap on
 ** Message: SET PIC
 ** Message: SET PIC
 ** Message: SET PIC
 ** Message: SET PIC
 add autocap - 35 -  timeout_interval =
 update_tooltip called
 tip - acap on
 
 (camorama:5618): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
 (camorama:5618): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
 (camorama:5618): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
 (camorama:5618): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
 (camorama:5618): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
 (camorama:5618): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
 (camorama:5618): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
 (camorama:5618): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
 time = 1227573349
 filename = (null)-1227573349.png
 create dir: : Bad address
and
Code:
 Error (camorama) [popup]
 could not create directory '(null)'.
Code:
dmesg extract:
 usb 2-2: new high speed USB device using ehci_hcd and address 3
 usb 2-2: configuration #1 chosen from 1 choice
 usb 2-2: New USB device found, idVendor=0c45, idProduct=6242
 usb 2-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
 usb 2-2: Product: USB20 Camera
 Linux video capture interface: v2.00
 microdia: Microdia USB2.0 webcam driver startup
 microdia: Microdia USB2.0 Webcam - Product ID 6242.
 microdia: Release: 0100
 microdia: Number of interfaces : 1
 microdia: Microdia USB2.0 Camera is now controlling video device /dev/video0
 usbcore: registered new interface driver usb_microdia_driver
 microdia: v0.0.0 : Microdia USB Video Camera
 Changing resolution to 640 by 480
 SFW2-INext-DROP-DEFLT IN=eth1 OUT= MAC= SRC=192.168.1.4 DST=224.0.0.251 LEN=64 T
The camera is seen to work convincingly well in the Camorama program window, but, presumably because of the error, attempting to click on the taskbar's “File”, “Edit”, “View” and “Help” options is ineffective, as is clicking on the “Show Adjustments” and “Take Picture” buttons.

The impression I get is that a directory is being looked for that appears not to be defined. My question, because I don't appear to be able to do it through the program interface, is “How can I specify a directory”? Is there a parameter file that I can edit to influence the proceedings?

Interestingly, this camera has in the past been a bit of a problem so some of the detail above may be of assistance to others who haven't been less than successful previously.

Thanks for reading this far. I'm hoping that YOU might have an answer or satisfactory workaround that you are willing to share.
 
Old 11-25-2008, 03:42 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Your camera seems to be detected and recognised.
cheese is about the only application that can use my camera (but I'm not that interested in cameras, it was just for fun and interest).
 
Old 11-25-2008, 09:28 PM   #3
PAix
Member
 
Registered: Jul 2007
Location: United Kingdom, W Mids
Distribution: SUSE 11.0 as of Nov 2008
Posts: 195

Original Poster
Rep: Reputation: 40
Thanks Tredegar,
I installed cheese from the repositories and it seems to work for me but.the konsole indicates reliance on a gstreamer library that I need to also install from the depositories. That's a tomorrow job now, but it's certainly looking promising.
I just had to find something to make it work properly; my curiosity had been well piqued.
Regards,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NetMeeting Directory Setup bro_c Linux - Newbie 2 04-07-2008 03:25 AM
Philips SPC325NC, camorama error jogurnog Linux - Newbie 0 02-18-2008 05:48 PM
Directory Setup gorilla Debian 1 12-15-2004 04:53 PM
I need an alternative to Camorama. Any ideas? Trinity22 Linux - Software 2 11-03-2003 10:29 AM
The Joys of Missing Libraries and Camorama Mik_Jaggar Linux - Newbie 3 12-27-2002 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration