where i do wrong ?

11 views
Skip to first unread message

mrpurple

unread,
Nov 13, 2008, 6:54:59 PM11/13/08
to microdia
ok this is the sendo time that i try to install driver for my webcam.
I'm using Ubuntu 8.10 - 64 bit
lsusb => 0c45:624f
uname -r => 2.6.27-8-generic
kernel folder => /lib/modules/2.6.27-8-generic/build

those are my steps:
1) git clone http://repo.or.cz/r/microdia.git
2) cd microdia
3) make
4) sudo modprobe videodev
5) sudo modprobe compat-ioctl32
6) sudo insmod microdia.ko
7) dmesg give me :
"microdia: Unknown symbol v4l_compat_ioctl32
microdia: Unknown symbol v4l_compat_ioctl32
microdia: Microdia USB 2.0 webcam driver loaded
microdia: Microdia USB 2.0 Webcam - 0C45:624F plugged-in.
microdia: Microdia USB 2.0 Webcam is now controlling video device /
dev/video1
usbcore: registered new interface driver usb_microdia_driver
microdia: v2008.10 : Microdia USB 2.0 Webcam Driver"
8) mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=25:device=/
dev/video0 -vo x11
but it give's me only this output :
"MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6,
Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olsch...@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: ioctl query capabilities failed: Unknown error 515
v4l2: ioctl set mute failed: Unknown error 515
v4l2: 0 frames successfully processed, 0 frames dropped.


Exiting... (End of file)
"
mplayer doesn't start..

Thank you for any help


JoJo jojo

unread,
Nov 14, 2008, 12:32:21 AM11/14/08
to micr...@googlegroups.com
There was a bug in mplayer a while ago, have you tried cheese/ekiga etc ?

-JoJo

mrpurple

unread,
Nov 14, 2008, 6:22:17 AM11/14/08
to microdia
@JoJo jojo
i did a try inn ekiga and it works.
thank you

so i did a try in skype too, but when i do a test skype is closing.
there is a way to correct that?
thank you

JoJo jojo

unread,
Nov 14, 2008, 7:12:25 AM11/14/08
to micr...@googlegroups.com
launch skype via commandline then see what errors show up,

also the new source code development branch uses libv4l,
so load that before launching Skype

For mplayer, either downgrade the mplayer version or upgrade the mplayer version

-JoJo

GWater

unread,
Nov 14, 2008, 10:37:28 AM11/14/08
to micr...@googlegroups.com
Note: For skype you need the 32-bit version of libv4l.

GWater


JoJo jojo schrieb:

> --~--~---------~--~----~------------~-------~--~----~
> Lets make microdia webcams plug'n play, (currently plug'n pray)
> To post to this group, send email to micr...@googlegroups.com
> Visit us online https://groups.google.com/group/microdia
> -~----------~----~----~----~------~----~------~--~---
>

signature.asc

mrpurple

unread,
Nov 14, 2008, 4:14:45 PM11/14/08
to microdia
thank for all this kind information.
i did a try running skype from terminal. I got :

skype
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
Skype V4L: Failed to query capabilities: Invalid argument
Starting the process...
Skype Xv: Xv ports available: 64
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 355
Skype Xv: No suitable overlay format found
Aborted
____________________________

So i look in synaptic and i found and installed lib32vl4-0..
but how can i let run with skype ??

GWater

unread,
Nov 14, 2008, 6:44:53 PM11/14/08
to micr...@googlegroups.com
$ LD_PRELOAD=/path/to/v4l2convert.so skype

Good luck.

GWater


mrpurple schrieb:

signature.asc
Message has been deleted

mrpurple

unread,
Nov 20, 2008, 8:47:05 PM11/20/08
to microdia
so i close skype then i try
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD
cannot be preloaded: ignored.
i tested under option and i can see my webcam work !!!! then when i
call someone i do not find how start the video.
i tryed also using autostart my video, but seems do not start.
>  signature.asc
> < 1KViewDownload

mrpurple

unread,
Nov 20, 2008, 9:19:32 PM11/20/08
to microdia
i forgot ... in the terminal i have the following code that is
reporting some error :

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD
cannot be preloaded: ignored.
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
.........
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
Skype V4L2: Failed to change capture framerate (15)
Starting the process...
Skype Xv: Xv ports available: 63
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 356
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
......
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
Skype V4L2: Failed to change capture framerate (15)
Starting the process...
Skype Xv: Xv ports available: 63
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 356
Skype V4L2: Failed to change capture framerate (15)
Starting the process...
Skype Xv: Xv ports available: 63
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 356
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so

thank's for any help

mrpurple

unread,
Nov 20, 2008, 9:19:42 PM11/20/08
to microdia
i forgot ... in the terminal i have the following code that is
reporting some error :

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD
cannot be preloaded: ignored.
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
.........
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
Skype V4L2: Failed to change capture framerate (15)
Starting the process...
Skype Xv: Xv ports available: 63
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 356
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
......
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
Skype V4L2: Failed to change capture framerate (15)
Starting the process...
Skype Xv: Xv ports available: 63
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 356
Skype V4L2: Failed to change capture framerate (15)
Starting the process...
Skype Xv: Xv ports available: 63
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 356
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
ALSA lib ../../../src/pcm/pcm.c:2156:(snd_pcm_open_conf) Cannot open
shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so

Gray Water

unread,
Nov 21, 2008, 8:06:40 AM11/21/08
to micr...@googlegroups.com
Is there actually a file /usr/lib/libv4l/v4l2convert.so ?

GWater



2008/11/21 mrpurple <grc...@gmail.com>

mrpurple

unread,
Nov 21, 2008, 9:31:12 AM11/21/08
to microdia
actually in that directory there are two files i do a copy and past
because i thught was me reading bad ..
directory : /usr/lib/libv4l
files : v4l2convert.so , v4l1compat.so
I check permission and i made it executable.
i did a try pasting the folder and the filename but i get the same
error
... wow now even with the error i'm sending the video.

Yesterday googling a little i found that there is some bug in skype ..
someone was sayng to use the skype version of medibuntu. i try to find
the link and then i'll post about it.

.

Vasily Khoruzhick

unread,
Nov 21, 2008, 9:33:41 AM11/21/08
to micr...@googlegroups.com
On Friday 21 November 2008 16:31:12 mrpurple wrote:
> actually in that directory there are two files i do a copy and past
> because i thught was me reading bad ..
> directory : /usr/lib/libv4l
> files : v4l2convert.so , v4l1compat.so
> I check permission and i made it executable.
> i did a try pasting the folder and the filename but i get the same
> error
> ... wow now even with the error i'm sending the video.
>
> Yesterday googling a little i found that there is some bug in skype ..
> someone was sayng to use the skype version of medibuntu. i try to find
> the link and then i'll post about it.
>
It seems you're using 64bit version libv4l with skype (which is 32bit). You
need to install 32bit version of libv4l
signature.asc

mrpurple

unread,
Nov 21, 2008, 9:47:37 AM11/21/08
to microdia
actually in that directory there are two files i do a copy and past
because i thught was me reading bad ..
directory : /usr/lib/libv4l
files : v4l2convert.so , v4l1compat.so
I check permission and i made it executable.
i did a try pasting the folder and the filename but i get the same
error
... wow now even with the error i'm sending the video.

Yesterday googling a little i found that there is some bug in skype ..
someone was sayng to use the skype version of medibuntu. i try to find
the link and then i'll post about it.

.


On Nov 21, 2:06 pm, "Gray Water" <grewa...@googlemail.com> wrote:

mrpurple

unread,
Nov 21, 2008, 9:54:18 AM11/21/08
to microdia
thught to have done that ... now i veyfy ..
anyway yesterday i get this link .. before to try i'm going to check
as you suggest if was 32 or 64

Still more strange that now is working even with that error ?
>  signature.asc
> < 1KViewDownload

mrpurple

unread,
Nov 21, 2008, 10:04:18 AM11/21/08
to microdia
thught to have done that ... now i veyfy ..
anyway yesterday i get this link .. before to try i'm going to check
as you suggest if was 32 or 64

Still more strange that now is working even with that error ?


On Nov 21, 3:33 pm, Vasily Khoruzhick <anars...@gmail.com> wrote:
>  signature.asc
> < 1KViewDownload

mrpurple

unread,
Nov 21, 2008, 10:08:13 AM11/21/08
to microdia
ok i installed the 32 bit version, but the command was for 64.
now from terminal is :
LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so skype

and seems fine without error.
I try to put the preload in the skype icon but it gives an error..
Any suggest to avoid a terminal open and start with a click ?

thank you all
i get the webcam finally

mrpurple

unread,
Nov 21, 2008, 12:29:45 PM11/21/08
to microdia
I'm looking also to let work the camera in Facebook or youtube for
quick capture videos.
The question is howw you let work the camera in those browser
application ?
i have to preload the same library when i start firefox or what ?
thank you again

GWater

unread,
Nov 21, 2008, 12:31:16 PM11/21/08
to micr...@googlegroups.com
Adobe flash 10 supports V4L2.
For adobe flash 9 you can use an app called "flashcam". google it.

For camorama you preload v4l1compat.so .

GWater

mrpurple schrieb:

signature.asc

mrpurple

unread,
Nov 21, 2008, 12:36:10 PM11/21/08
to microdia

GWater

unread,
Nov 21, 2008, 12:36:49 PM11/21/08
to micr...@googlegroups.com
Why do I get all your emails twice?

GWater

mrpurple schrieb:

signature.asc

mrpurple

unread,
Nov 21, 2008, 4:53:50 PM11/21/08
to microdia
Don't know why twice .. i see it now ..i send it only once.

i'm wondering because i have two broser 32 and 64 (32 because of java)
if i want to try adobe flash 10 i have to install it twice one 32 and
one 64, but how they call the right library ? i need to specify ?
also how about create a butto to lanch skype with the preloaded
librarry ? i did a try but i get the error that do not load the
library.
Maybe i have to do a script and then create a linked icon ?

thank you.

On Nov 21, 6:36 pm, GWater <grewa...@googlemail.com> wrote:
> Why do I get all your emails twice?
>
> GWater
>
> mrpurple schrieb:
>
> > I'm looking also to let work the camera in Facebook or youtube for
> > quick capture videos.
> > The question is howw you let work the camera in those browser
> > application ?
> > i have to preload the same library when i start firefox or what ?
> > thank you again
>
> > >
>
>
>  signature.asc
> < 1KViewDownload

mrpurple

unread,
Nov 21, 2008, 4:56:26 PM11/21/08
to microdia
Don't know why twice .. i see it now ..i send it only once.

i'm wondering because i have two broser 32 and 64 (32 because of java)
if i want to try adobe flash 10 i have to install it twice one 32 and
one 64, but how they call the right library ? i need to specify ?
also how about create a butto to lanch skype with the preloaded
librarry ? i did a try but i get the error that do not load the
library.
Maybe i have to do a script and then create a linked icon ?

thank you.

On Nov 21, 6:36 pm, GWater <grewa...@googlemail.com> wrote:
> Why do I get all your emails twice?
>
> GWater
>
> mrpurple schrieb:
>
> > I'm looking also to let work the camera in Facebook or youtube for
> > quick capture videos.
> > The question is howw you let work the camera in those browser
> > application ?
> > i have to preload the same library when i start firefox or what ?
> > thank you again
>
> > >
>
>
>  signature.asc
> < 1KViewDownload

GWater

unread,
Nov 21, 2008, 4:56:47 PM11/21/08
to micr...@googlegroups.com
Yeah do this:
1. move /usr/bin/skype to /usr/bin/skype.bin

2. Then create a bash-script in /usr/bin/skype:
==============

#!/bin/bash

SKYPE_BIN_PATH="/usr/bin"
LIBV4L="/usr/lib32/libv4l/v4l2convert.so"

LD_PRELOAD=${LIBV4L} skype.bin

exit 0

=============

Good luck,
GWater

mrpurple schrieb:

signature.asc

mrpurple

unread,
Nov 23, 2008, 1:04:22 PM11/23/08
to microdia
GWater, Thank's alot
sorry for those double messages, i do not understand why are coming
(let see this)
seems working great on skype, but i'm not arrived to let work with
flash under firefox, yet. i do some try this night
cheers
Mrpurple
>  signature.asc
> < 1KViewDownload

GWater

unread,
Nov 23, 2008, 2:51:12 PM11/23/08
to micr...@googlegroups.com
Maybe ndiswrapper can help with flash.

GWater


mrpurple schrieb:

signature.asc

mrpurple

unread,
Nov 27, 2008, 9:34:38 AM11/27/08
to microdia
in the past two days i see that the driver for some strange reason
sometime is not working properly so i solve restarting the computer.
There is a way to let restart the driver correctly avoiding the
restart of the pc ?
when webcam is not anymore working the dmesg gives :
[11846.693567] microdia: Freeing 0 v4l2 buffers
[22234.683545] compat_ioctl32: VIDIOC_ENUM_FRAMESIZESioctl32(skype:
7233): Unknown cmd fd(70) cmd(c02c564a){t:'V';sz:44} arg(f5ef0c44) on /
dev/video0
[22234.688218] compat_ioctl32: VIDIOC_ENUM_FRAMESIZESioctl32(skype:
7233): Unknown cmd fd(70) cmd(c02c564a){t:'V';sz:44} arg(f5ef0c44) on /
dev/video0
[22234.689366] compat_ioctl32: VIDIOC_S_PARMioctl32(skype:7233):
Unknown cmd fd(70) cmd(c0cc5616){t:'V';sz:204} arg(f5ef0e00) on /dev/
video0
[22234.689466] microdia: Freeing 0 v4l2 buffers
[22234.693095] microdia: Buffers Allocated 4
[22247.544461] microdia: Freeing 4 v4l2 buffers
[22272.435545] microdia: Freeing 0 v4l2 buffers
[22272.436712] microdia: Buffers Allocated 2
[26787.901806] compat_ioctl32: VIDIOC_ENUM_FRAMESIZESioctl32(skype:
19906): Unknown cmd fd(11) cmd(c02c564a){t:'V';sz:44} arg(f5fb3d24)
on /dev/video0
[26787.901843] compat_ioctl32: VIDIOC_ENUM_FRAMESIZESioctl32(skype:
19906): Unknown cmd fd(11) cmd(c02c564a){t:'V';sz:44} arg(f5fb3d24)
on /dev/video0

thank you

mrpurple

unread,
Nov 28, 2008, 9:00:12 AM11/28/08
to microdia
gwater for flash i solved installing flash 10. Sometime it's not
working so i restart the pc (i don't know how restart only the process
involved )
>  signature.asc
> < 1KViewDownload

GWater

unread,
Nov 28, 2008, 9:03:20 AM11/28/08
to micr...@googlegroups.com
Great news - how did you make libv4l work with it? Or are you still
using the version without libv4l?

BTW vasily just implemented auto-exposure for your cam - maybe you want
to try it ;) .

GWater

mrpurple schrieb:

signature.asc
Reply all
Reply to author
Forward
0 new messages