Started off a new apt repository for microdia driver's DKMS buils enjoy !

42 views
Skip to first unread message

Ni-62 metal

unread,
Sep 23, 2008, 1:04:24 PM9/23/08
to micr...@googlegroups.com
Hello

The user ubu...@tjworld.net has written quite nice documentation on DKMS here

http://tjworld.net/wiki/Linux/Ubuntu/Kernel/BuildDebianDKMSPackages
https://help.ubuntu.com/community/Kernel/DkmsDriverPackage

He even made us an example DKMS, in his PPA
http://ppa.launchpad.net/intuitivenipple/ubuntu/pool/main/m/microdia-dkms/

So I took some time to start a PPA for Microdia group developers here
https://launchpad.net/~nickel62metal/+archive

it has .deb source packages for intrepid(v8.10), hardy(v8.04) & gutsy(v7.10)
I didn't think we needed to support more

so try out the microdia driver packages, if it works,
email a thankyou message to TJ (ubu...@tjworld.net),
this dkms packaging wouldn't be so easy if it weren't for his work.

....but if it doesn't work, email/blame me.

Now, next question, is DKMS possible on Suse & Fedora/Redhat ?
(gentoo/arch/ et-al users prefer to compile straight from git ^_^)

Neekhil

GWater

unread,
Sep 23, 2008, 5:13:31 PM9/23/08
to micr...@googlegroups.com
Ni-62 metal schrieb:
Fedora doesn't ship any kmods anymore (normal, dkms or akmod) - but...

Third-party repos like livna/rpmfusion have all switched from dkms to
akmod which is in fedora much more comfortable than dkms.

Therefore I put a SRPM for microdia-akmods for Fedora 9 out there a few
days ago. So far there were only success messages about it.

GWater

IntuitiveNipple

unread,
Sep 25, 2008, 10:12:06 AM9/25/08
to microdia
On Sep 23, 6:04 pm, "Ni-62 metal" <nickel62me...@gmail.com> wrote:
> Hello
>
> The user ubu...@tjworld.net has written quite nice documentation on DKMS here
>
> http://tjworld.net/wiki/Linux/Ubuntu/Kernel/BuildDebianDKMSPackages

Errr yes, that would be me :)

Jon Arnold

unread,
Oct 1, 2008, 9:39:07 PM10/1/08
to microdia
Hi,

Thanks for the repo. It will hopefully make updating the driver much
easier.
It was working for a few days, but now it seems to not be.... Not sure
what happened, but now Cheese just shows the gnome symbol flashing
while it tries to initialize the camera. Skype just shows a black
picture. This seems to be the case for the Hardy version and the
Intrepid versions...

I have a 0c45:627b

On Sep 23, 1:04 pm, "Ni-62 metal" <nickel62me...@gmail.com> wrote:
> Hello
>
> The user ubu...@tjworld.net has written quite nice documentation on DKMS here
>
> http://tjworld.net/wiki/Linux/Ubuntu/Kernel/BuildDebianDKMSPackageshttps://help.ubuntu.com/community/Kernel/DkmsDriverPackage
>
> He even made us an example DKMS, in his PPAhttp://ppa.launchpad.net/intuitivenipple/ubuntu/pool/main/m/microdia-...
>
> So I took some time to start a PPA for Microdia group developers herehttps://launchpad.net/~nickel62metal/+archive

Jon Arnold

unread,
Oct 8, 2008, 8:22:04 PM10/8/08
to microdia
Will you be updating this repo? I'm hoping an update will fix my
problem with it...

If you have any idea of how to diagnose it I'd be glad to try. I did
run cheese to get terminal output and got this when I closed it after
leaving it trying to find the camera for a few seconds:
(cheese:8544): GStreamer-CRITICAL **: gst_element_set_state: assertion
`GST_IS_ELEMENT (element)' failed

(cheese:8544): GStreamer-CRITICAL **: gst_object_unref: assertion
`object != NULL' failed

(cheese:8544): GStreamer-CRITICAL **: gst_object_unref: assertion
`object != NULL' failed


On Oct 1, 9:39 pm, Jon Arnold <jonarnoldsem...@gmail.com> wrote:
> Hi,
>
> Thanks for the repo. It will hopefully make updating the driver much
> easier.
> It was working for a few days, but now it seems to not be.... Not sure
> what happened, but now Cheese just shows the gnome symbol flashing
> while it tries to initialize the camera. Skype just shows a black
> picture. This seems to be the case for the Hardy version and the
> Intrepid versions...
>
> I have a 0c45:627b
>
> On Sep 23, 1:04 pm, "Ni-62 metal" <nickel62me...@gmail.com> wrote:
>
> > Hello
>
> > The user ubu...@tjworld.net has written quite nice documentation on DKMS here
>
> >http://tjworld.net/wiki/Linux/Ubuntu/Kernel/BuildDebianDKMSPackagesht...

Ni-62 metal

unread,
Oct 25, 2008, 7:40:43 AM10/25/08
to micr...@googlegroups.com
Hello Jon

I have updated the PPA ubuntu repo with the October release
please do apt-get updates to get the lastest release

Let us know if you are still facing these issues

Neekhil

Jon Arnold

unread,
Oct 26, 2008, 11:07:45 PM10/26/08
to microdia
Thanks for updating it! The new version now works consistently with
Skype, and I can configure it using v4l2ucp, but it doesn't show up as
an option on Cheese. Even if I try to initialize it from the command
line, it doesn't work...

On Oct 25, 7:40 am, "Ni-62 metal" <nickel62me...@gmail.com> wrote:
> Hello Jon
>
> I have updated the PPA ubuntu repo with the October release
> please do apt-get updates to get the lastest release
>
> Let us know if you are still facing these issues
>
> Neekhil
>

Marty

unread,
Oct 29, 2008, 11:45:36 AM10/29/08
to microdia
Since upgrading to Ubuntu 8.10, microdia totally fails to run. It
worked well in 8.04.1. I am using the repositories mentioned above
set to intrepid release.

JoJo jojo

unread,
Oct 29, 2008, 2:38:03 PM10/29/08
to micr...@googlegroups.com, martin...@gmail.com
Hi Martin

I can only find this issue from google search
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/87054/comments/23

Is that the issue you are also facing?
Try removing the driver completely, then reinstalling it.
Let us know how it goes.

Also, don't worry about googlegroups, just use your normal email &
send emails to
micr...@googlegroups.com
and you will recieve replies directly to your email account
You will not get your own posts twice though.

-JoJo

Ravan

unread,
Nov 2, 2008, 9:53:25 AM11/2/08
to microdia
Neekhil,

After upgrading to Ubuntu 8.10 (Intrepid Ibex) I was notified by the
updater about your new package for intrepid. I tried to update but it
broke off with an error:

Instellen van microdia-dkms (2008.10-0ubuntu1~ppa3i) ...
Loading new microdia-2008.10 DKMS files...

Error! Could not find module source directory.
Directory: /usr/src/microdia-2008.10 does not exist.
dpkg: fout bij afhandelen van microdia-dkms (--configure):
subproces post-installation script gaf een foutwaarde 2 terug
Fouten gevonden tijdens behandelen van:
microdia-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've got both the deb en deb-src lines in resources.list and both with
intrepid as version. Any idea what went wrong ?

--ravan

On 23 sep, 18:04, "Ni-62 metal" <nickel62me...@gmail.com> wrote:
> Hello
>
> The user ubu...@tjworld.net has written quite nice documentation on DKMS here
>
> http://tjworld.net/wiki/Linux/Ubuntu/Kernel/BuildDebianDKMSPackageshttps://help.ubuntu.com/community/Kernel/DkmsDriverPackage
>
> He even made us an example DKMS, in his PPAhttp://ppa.launchpad.net/intuitivenipple/ubuntu/pool/main/m/microdia-...
>
> So I took some time to start a PPA for Microdia group developers herehttps://launchpad.net/~nickel62metal/+archive

Ravan

unread,
Nov 2, 2008, 9:56:40 AM11/2/08
to microdia
UPDATE: after doing a
~$ sudo apt-get purge microdia-dkms
and then reinstalling it, all went well.

Thanks for your work and repo !


On 2 nov, 15:53, Ravan <ravanha...@gmail.com> wrote:
> Neekhil,
>
> After upgrading toUbuntu8.10 (Intrepid Ibex) I was notified by the
> updater about your new package for intrepid. I tried to update but it
> broke off with an error:
>
> Instellen van microdia-dkms (2008.10-0ubuntu1~ppa3i) ...
> Loading new microdia-2008.10 DKMS files...
>
> Error! Could not find module source directory.
> Directory: /usr/src/microdia-2008.10 does not exist.
> dpkg: fout bij afhandelen van microdia-dkms (--configure):
>  subproces post-installation script gaf een foutwaarde 2 terug
> Fouten gevonden tijdens behandelen van:
>  microdia-dkms
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I've got both the deb en deb-src lines in resources.list and both with
> intrepid as version. Any idea what went wrong ?
>
> --ravan
>
> On 23 sep, 18:04, "Ni-62 metal" <nickel62me...@gmail.com> wrote:
>
> > Hello
>
> > The user ubu...@tjworld.net has written quite nice documentation on DKMS here
>
> >http://tjworld.net/wiki/Linux/Ubuntu/Kernel/BuildDebianDKMSPackagesht...

mseide...@googlemail.com

unread,
Nov 2, 2008, 1:43:30 PM11/2/08
to microdia
Hi everybody,

can someone explain me what it works with skype?

I'm running kubuntu 8.04 and have the package "microdia-dkms"
installed but in
skype there is no webcam available.

lsusb says: 0c45:627b Microdia

thx

Martin

Jon Arnold

unread,
Nov 2, 2008, 3:39:37 PM11/2/08
to microdia
If it's similar to mine, it's a permissions problem.

One way you can test this is to open a terminal and do "sudo skype"
If you can use the webcam when running skype this way, it works. Take
note of the path of the webcam, "/dev/video0" or whatever number it
is.

Then look for the file, and open the properties. You are looking at
the permissions tab. For me, it said that the group that was allowed
to access this file was called "video," so I went to the groups
dialog, created that group, added myself to it, then logged out and
back in, and it worked.

If you have trouble with this last step, get us the path to the webcam
and look and see what the permissions tab says.

On Nov 2, 1:43 pm, "mseidel23...@googlemail.com"

mseide...@googlemail.com

unread,
Nov 2, 2008, 4:00:18 PM11/2/08
to microdia
Ok when i start skype as root, the webcam is listed, when i click on
"test camera" the LED of the webcam gets on, but there is still no
picture :(

Skype says:
Starting the process...
Skype Xv: Xv ports available: 0
Skype XShm: XShm support enabled

dmesg says:

[20811.078914] microdia: Microdia USB 2.0 Webcam - 0C45:627B plugged-
in.
[20811.080065] microdia: Microdia USB 2.0 Webcam is now controlling
video device /dev/video1
[20821.120782] microdia: Freeing 0 v4l2 buffers
[20821.121729] microdia: Buffers Allocated 4
[20821.124670] microdia: Freeing 4 v4l2 buffers
[20821.125985] microdia: Freeing 0 v4l2 buffers
[20821.126729] microdia: Buffers Allocated 4
[20826.886785] microdia: Freeing 4 v4l2 buffers

GWater

unread,
Nov 3, 2008, 4:13:06 AM11/3/08
to micr...@googlegroups.com
I think this is a general 627b problem in our master-branch. Please try
if the current development branch works for you:

$ git checkout --track -b development origin/development

GWater

mseide...@googlemail.com 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

Jon Arnold

unread,
Nov 3, 2008, 8:47:24 AM11/3/08
to microdia
Did you try configuring the picture with v4l2ucp? What might actually
be happening is that the there is a picture but it is too dark for you
to see. Google v4l2ucp deb.

You will have to run it as root too unless you have adjusted the
permissions as I described earlier.

On Nov 2, 4:00 pm, "mseidel23...@googlemail.com"

mseide...@googlemail.com

unread,
Nov 3, 2008, 12:34:49 PM11/3/08
to microdia
@ Jon Arnold:

Doesn't make any difference, when I click on "test video" the small
black preview window is away and i only see the background. When I try
to open it with vlc-wrapper there is no video window.

@ GWater

I always get an error messages when I try to make the linux-headers

CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: *** Keine Regel vorhanden, um das Target »arch/x86/kernel/asm-
offsets.c«,
benötigt von »arch/x86/kernel/asm-offsets.s«, zu erstellen.
Schluss.
make: *** [prepare0] Fehler 2

seems to be a bug.

I am currently doing a make of the sources of linux and try to use it
instead of linux headers.

Ni-62 metal

unread,
Jan 25, 2009, 6:54:27 AM1/25/09
to micr...@googlegroups.com, chris....@gmail.com
Hi Chris

I have updated the ubuntu ppa repository with the January release of
sn9c20x dkms kernel driver module

To help us test this release of the driver do the following,
Add the following 3rd part repository to synaptic package manager :-

deb http://ppa.launchpad.net/nickel62metal/ubuntu intrepid main
deb-src http://ppa.launchpad.net/nickel62metal/ubuntu intrepid main

then search & install the package named microdia-dkms

they you will need an updated version of libv4l2, here's another ppa
you can add :-

deb http://ppa.launchpad.net/stemp/ubuntu intrepid main
deb-src http://ppa.launchpad.net/stemp/ubuntu intrepid main

then search & install the package named libv4l-0
(should be v0.5.8.1 or similar)

you can now fire up mplayer to test your webcam like so
$ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv
driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11

so then you may take a screenshot & attach and email a reply to this
email/thread.

In case anyone is interested in building their own packages, the
scripts/howto are stored here
http://repo.or.cz/w/pkgmicrodia.git

Please tell us if you face any issues ^_^

Neekhil

On Wed, Jan 21, 2009 at 5:42 AM, Chris Lasher <chris....@gmail.com> wrote:
> Hi Neekhil,
>
> If you have time, could you update the repository again? A couple of
> patches made it into the latest releases that allows the Microdia
> driver to work with Cheese once again in Ubuntu 8.10 (it doesn't work
> with the release in your PPA).
>
> Many thanks,
> Chris
>

Reply all
Reply to author
Forward
0 new messages