Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: uggla on December 15, 2010, 12:28:18 PM

Title: Cheese can't find ucw cam
Post by: uggla 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?
Title: Re: Cheese can't find ucw cam
Post by: Arslan S. 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
Title: Re: Cheese can't find ucw cam
Post by: uggla 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?
Title: Re: Cheese can't find ucw cam
Post by: uggla on December 16, 2010, 02:54:15 PM
I found it. It's in gnome-media.tcz. Should it be a dependency for cheese?
Title: Re: Cheese can't find ucw cam
Post by: uggla 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.
Title: Re: Cheese can't find ucw cam
Post by: Arslan S. 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
Title: Re: Cheese can't find ucw cam
Post by: uggla 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.  :(
Title: Re: Cheese can't find ucw cam
Post by: Arslan S. 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
Title: Re: Cheese can't find ucw cam
Post by: uggla 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

Title: Re: Cheese can't find ucw cam
Post by: Arslan S. 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
Title: Re: Cheese can't find ucw cam
Post by: uggla 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
Title: Re: Cheese can't find ucw cam
Post by: Arslan S. 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
Title: Re: Cheese can't find ucw cam
Post by: uggla 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
Title: Re: Cheese can't find ucw cam
Post by: tinypoodle on December 21, 2010, 09:27:51 AM
Those are just the grep processes per se.
Title: Re: Cheese can't find ucw cam
Post by: uggla 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

Title: Re: Cheese can't find ucw cam
Post by: Arslan S. on December 21, 2010, 01:48:16 PM
in a base test cheese works fine for me,
for throbber animation gnome-icon-theme is needed
Title: Re: Cheese can't find ucw cam
Post by: uggla on December 22, 2010, 05:02:29 AM
After some more testing...

¤ Cheese starts, and show video in tc32 but NOT in tc64.
¤ Cheese can take photos but freezes when I try to record video.
Title: Re: Cheese can't find ucw cam
Post by: uggla on December 22, 2010, 11:30:43 AM
I got recording working in tc32 by changing the gstreamer-properties. But it only records about 10 frames per minute  :(