WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Cheese can't find ucw cam  (Read 5463 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Cheese can't find ucw cam
« on: December 15, 2010, 12:28:18 PM »
Hi!

Cheese won't find my Logitec cam. It works with cheese on every other distro and it works with xwcam and mplayer on TC. What can I do?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Cheese can't find ucw cam
« Reply #1 on: December 16, 2010, 04:30:07 AM »
cheese uses gstreamer to access camera, the problem i don't understand is gstreamer can access camera but cheese can not.

test to verify your camera working
Code: [Select]
tce-load -i cheese
gstreamer-properties

click on video tab -> default input -> choose driver v4l2 -> click on test
« Last Edit: December 16, 2010, 04:32:02 AM by Arslan S. »

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Cheese can't find ucw cam
« Reply #2 on: December 16, 2010, 02:47:10 PM »
cheese.tcz and gstreamer.tcz is installed but there is no gstreamer-properties. Is it located in some other extension?

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Cheese can't find ucw cam
« Reply #3 on: December 16, 2010, 02:54:15 PM »
I found it. It's in gnome-media.tcz. Should it be a dependency for cheese?

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Cheese can't find ucw cam
« Reply #4 on: December 16, 2010, 03:08:48 PM »
cheese uses gstreamer to access camera, the problem i don't understand is gstreamer can access camera but cheese can not.

test to verify your camera working
Code: [Select]
tce-load -i cheese
gstreamer-properties

click on video tab -> default input -> choose driver v4l2 -> click on test

The test succeeds (cam working). But still nothing in cheese.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Cheese can't find ucw cam
« Reply #5 on: December 17, 2010, 02:12:25 PM »
cheese uses gstreamer to access camera, the problem i don't understand is gstreamer can access camera but cheese can not.

test to verify your camera working
Code: [Select]
tce-load -i cheese
gstreamer-properties

click on video tab -> default input -> choose driver v4l2 -> click on test

The test succeeds (cam working). But still nothing in cheese.

yeah cheese is not working, i will downgrade it to a working version

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Cheese can't find ucw cam
« Reply #6 on: December 19, 2010, 12:50:01 PM »
Tried the new version and...

1. Found a missing dependency, krb5.tcz.
2. It still doesn't work with my cam.  :(

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Cheese can't find ucw cam
« Reply #7 on: December 20, 2010, 04:45:45 PM »
Tried the new version and...

1. Found a missing dependency, krb5.tcz.
2. It still doesn't work with my cam.  :(

submitted hotfix update

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Cheese can't find ucw cam
« Reply #8 on: December 21, 2010, 05:27:47 AM »
Cheese still can't find my cam.

When starting from prompt I get:

tc@box:~$ cheese

** (cheese:9288): WARNING **: Throbber animation not found

** (cheese:9288): WARNING **: Throbber fallback animation not found either

** (cheese:9288): WARNING **: libhal_ctx_set_dbus_connection: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory


Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Cheese can't find ucw cam
« Reply #9 on: December 21, 2010, 05:31:52 AM »
install script should start dbus and hal daemons if they are not running weird, but try this
Code: [Select]
sudo /usr/local/etc/init.d/dbus restart
sudo /usr/local/etc/init.d/haldaemon restart

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Cheese can't find ucw cam
« Reply #10 on: December 21, 2010, 05:53:47 AM »
Now Cheese won't start and I get:

tc@box:~$ sudo /usr/local/etc/init.d/dbus restart
stopped /usr/local/bin/dbus-daemon (pid 8829)
rm: can't remove '/var/run/dbus/pid': No such file or directory

tc@box:~$ sudo /usr/local/etc/init.d/haldaemon restart
HAL daemon is already stopped
HAL daemon is started

tc@box:~$ cheese

** (cheese:9730): WARNING **: Unable to connect to dbus: Failed to connect to socket /tmp/dbus-WMLEwO7MPo: Connection refused

** (cheese:9730): CRITICAL **: dbus_g_connection_register_g_object: assertion `connection != NULL' failed

** (cheese:9730): CRITICAL **: dbus_g_proxy_new_for_name: assertion `connection != NULL' failed

** (cheese:9730): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
Segmentation fault

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Cheese can't find ucw cam
« Reply #11 on: December 21, 2010, 07:17:53 AM »
check if dbus and haldaemon is running
Code: [Select]
ps aux | grep dbus
ps aux | grep hald

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Cheese can't find ucw cam
« Reply #12 on: December 21, 2010, 09:08:13 AM »
tc@box:~$ ps aux | grep dbus
 4203 tc       grep dbus
tc@box:~$ ps aux | grep hald
 4205 tc       grep hald

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Cheese can't find ucw cam
« Reply #13 on: December 21, 2010, 09:27:51 AM »
Those are just the grep processes per se.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Cheese can't find ucw cam
« Reply #14 on: December 21, 2010, 11:37:39 AM »
After manually starting dbus and hald via SystemTools>Services, cheese finds the cam but all I get is another error:

tc@box:~$ cheese

** (cheese:9044): WARNING **: Throbber animation not found

** (cheese:9044): WARNING **: Throbber fallback animation not found either
libv4l2: error setting pixformat: Device or resource busy