JoJo jojo schrieb:
thanks for testing our driver,
the issue here is you are using an older kernel,
we recently merged our development changes to our master code branch
(developers are working with linux v2.6.27+)

thats why you are getting an error like error: 'V4L2_CID_EXPOSURE_AUTO'

So if you are following the install instructions, modify them as below
after you do git clone do the following
$  git checkout last-release-without-libv4l

then proceed as you normally would.

what the additional instruction does is to you old source code,
that works on older kernels, hope this fixes you issue immediately.

we would expect you to move to linux 2.6.27 soon.


-JoJo

On Sat, Nov 29, 2008 at 5:39 PM, Fabio Scuderi <[EMAIL PROTECTED]> wrote:

---------- Forwarded message ----------
From: Fabio Scuderi <[EMAIL PROTECTED]>
Date: 2008/11/29
Subject: Fwd: I: Trust 0811-2620-1055 - EN - 15007 - Megapixel USB2 Webcam
Live WB-5400
To: [email protected]


Dear Microdia,

I've boiught a Trust webcam and I'm running Linux Ubuntu.
Trust says its webcams are not made for Linux (see attached email) and I
can't install the webcam by myself.

My webcam ID: 0c45:624e Microdia

I've downloaded your software by

git clone http://repo.or.cz/r/microdia.git

But i cannot make it because of this error

make -C /lib/modules/2.6.24-22-generic/build SUBDIRS=/home/fabio/microdia
modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-22-generic'
  CC [M]  /home/fabio/microdia/microdia-v4l.o
/home/fabio/microdia/microdia-v4l.c:150: error: 'V4L2_CID_EXPOSURE_AUTO'
undeclared here (not in a function)
make[2]: *** [/home/fabio/microdia/microdia-v4l.o] Error 1
make[1]: *** [_module_/home/fabio/microdia] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-22-generic'
make: *** [driver] Error 2

I've also installed libv4l from http://freshmeat.net/projects/libv4l/ but
nothing changed.

Please, can you help me to install this webcam?

Kind regards,
Fabio

---------- Forwarded message ----------



Da: Support HQ EXP <[EMAIL PROTECTED]>
Inviato: Giovedì 27 novembre 2008, 14:00:28
Oggetto: RE: Trust 0811-2620-1055 - EN - 15007 - Megapixel USB2 Webcam Live
WB-5400


Dear Trust customer,

Thank you for your email.
We regret to inform you that Trust Computer Products are generally
developed for use with Windows(r) operating systems only,
and therefore no drivers or installation instructions for Linux
operating systems are provided. Nor is in fact the use of our products
with Linux in any way supported.

Best regards,

Bahar Pinar
Trust Customer Care


-----Oorspronkelijk bericht-----
Verzonden: woensdag 26 november 2008 21:11
Aan: Support HQ EXP
Onderwerp: Trust 0811-2620-1055 - EN - 15007 - Megapixel USB2 Webcam
Live WB-5400

-- USER -------------------

Date  : 11/26/2008
Time  : 9:10 PM
Browser: Mozilla1.9.0.4 / UNIX
Artnr  : 15007
Descr  : Megapixel USB2 Webcam Live WB-5400 Ref.no : 0811-2620-1055

-- INFORMATION ------------

Hello,

I bought the webcam Trust product id 15007 and I'd like to install it on
my pc running linux ubuntu (latest version).

How can I install it?

Thank you for your help,

Fabio.



The information in this e-mail message (including any information contained
in attachments hereto) is intended only for use of the addressee. This
e-mail message contains confidential or privileged information. If you
receive this e-mail message unintentionally, please notify the sender
immediately and then delete this message. E-mail transmission  (although
securely checked by Trust) is not guaranteed to be secured or error free.
The sender is in no way liable for any errors or omissions in the content of
this e-mail message, which may arise as a result of e-mail transmission






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


You're right. That patch needs to get into master if we want to save ourselves from hundreds of these problems.

Actually 2.6.25 should already do the trick.

GWater
From dede60f9eca785ed5eff7587bb8ac1c7e46b1b15 Mon Sep 17 00:00:00 2001
From: GWater <[EMAIL PROTECTED]>
Date: Fri, 28 Nov 2008 21:34:07 +0100
Subject: [PATCH] Fix build problems for kernel < 2.6.25 because of undefined 
V4L2_CID

The V4L2 spec claims that the changes were included into kernel
        2.6.25 therefore I also changed the #if statement.

Signed-off-by: GWater <[EMAIL PROTECTED]>
---
 microdia-v4l.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/microdia-v4l.c b/microdia-v4l.c
index c42826d..ce2c206 100644
--- a/microdia-v4l.c
+++ b/microdia-v4l.c
@@ -40,8 +40,9 @@
 
 
 /* USER DEFINED V4L2-CONTROLS: */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25)
 #define V4L2_CID_SHARPNESS             (V4L2_CID_PRIVATE_BASE + 0)
+#define V4L2_CID_EXPOSURE_AUTO         (V4L2_CID_PRIVATE_BASE + 1)
 #endif
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
-- 
1.6.0.4

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to