strace -e open - this got the Camera working again
Shlomi Fish
shlomif at iglu.org.il
Sun Mar 1 13:24:53 IST 2009
On Sunday 01 March 2009 12:15:23 Moshe Brace using Yahoo wrote:
> I found that I could close the Control Panel and Root and Skype didn't
> crash on me. I have no idea if it will do it for a third time. :)
>
Maybe Skype forks. In any case, you can set up a root shell by firing up a
terminal, and typing "su -" and then entering your root password.
> I have also tried the following regarding permissions
> I did
> [root at localhost ~]# cd /etc
> [root at localhost etc]# gedit /group
gedit "/group" will always edit the file "/group" on the /-directory (the
system-wide root directory), which does not exist and does nothing. You
probably meant "gedit group"
> This opened Gedit and I added the following:
> # Camera Group add Moshe
> # Moshe
> I also did the same to the file Gedit file "Group-"
You don't need to edit "group-".
>
> In the Mandriva 2009.0 Gnome Console in Manage Users on System I selected
> the Users tab and edited my Login ticking all the Groups present. I then
> removed the tick on the Filter Users Tab.
All the groups? That may pose a security risk, because you may do things as
your normal user that you should not normally do. I suggest you remove
yourself from the groups that are not required to operate the camera.
>
> I tried previously with a backslash typed in before -o skype.strace skype
> and got the reply -o unknown command.
A backslash *at the end of the line* tells the shell that the command
continues on the next line. I included it in the command I gave you, because
my client wrapped the line. But if it's only on one line, you don't need to
include it. If you enter a backslash followed by a whitespace, then it would
be a literal whitespace character (ASCII No. 32) that can be as part of a
filename, etc.
> Then I typed as follows and Skype
> openend and the camera picture is good:
>
> [root at localhost ~]# LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so strace -f -e
> open -o skype.strace skype ALSA lib pcm:2202: (snd_pcm_open_noupdate)
> Unknown PCM cards.pcm.hd1 ALSA lib pcm:2202: (snd_pcm_open_noupdate)
> Unknown PCM cards.pcm.hd1 ALSA lib pcm:2202: (snd_pcm_open_noupdate)
> Unknown PCM cards.pcm.hd1 ALSA lib pcm:2202: (snd_pcm_open_noupdate)
> Unknown PCM cards.pcm.hd1 ALSA lib pcm:2202: (snd_pcm_open_noupdate)
> Unknown PCM cards.pcm.hd1 ALSA lib pcm:2202: (snd_pcm_open_noupdate)
> Unknown PCM cards.pcm.hd1 Starting the process...
> Skype Xv: Xv ports available: 64
> Skype XShm: XShm support enabled
> Skype Xv: Using Xv port 325
> []
Can you please still send me the file "skype.strace" ? And you're still
running it as root.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Why I Love Perl - http://xrl.us/bjn88
<mauke> I'm not interested in what you're doing; what are you trying to
achieve?
<PerlJam> mauke: I'm trying to achieve world peace and this regex is
the last thing standing in my way! ;)
More information about the Linux-il
mailing list