Probe error on 0c45:628f

8 views
Skip to first unread message

lennart...@googlemail.com

unread,
Nov 28, 2008, 2:16:21 PM11/28/08
to microdia
Operating System: ubuntu 8.10
Kernel: 2.6.27
Model: 0c45:628f

Everything regarding compilation and installing the module worked out
fine. Though the /dev/video0 device is not created nor does it work
when i create it myself. The dmesg puts up the following log when
loading the module:

[ 3518.178805] microdia: Microdia USB 2.0 webcam driver loaded
[ 3518.179072] microdia: Microdia USB 2.0 Webcam - 0C45:628F plugged-
in.
[ 3518.179077] microdia: Detected SN9C20X Bridge
[ 3518.192502] usb_microdia_driver: probe of 7-4:1.0 failed with error
-22
[ 3518.193129] usbcore: registered new interface driver
usb_microdia_driver
[ 3518.194393] microdia: v2008.10 : Microdia USB 2.0 Webcam Driver

I haven't found any information regarding this error in this group nor
on google.

JoJo jojo

unread,
Nov 29, 2008, 2:39:13 AM11/29/08
to micr...@googlegroups.com
Hi Lennart

Thanks for testing,
can you try insmodding the driver with log_level=0x08 ?

The device is not created 'coz sensor probing failed & program exited.

-JoJo

GWater

unread,
Nov 29, 2008, 3:30:53 AM11/29/08
to micr...@googlegroups.com
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
> -~----------~----~----~----~------~----~------~--~---
>

Don't bother I already found the problem with the given information. I'm
working on it - patch is on its way.

But that instance made me think about our default log_level. In my
opinion the driver should output as few things as possible in it's
default state. That's why I already have a patch in my local repo which
reclassivies some stuff from INFO to DEBUG or ERROR.

Anyway - I think ERRORs should also be put out. Everything that's not
fatal is a warning or should be one so in the best case one precise
message is put out which tells us and the user where things went south.

Such a change would equal a default log_level=5.
Any other opinions?

GWater

signature.asc

GWater

unread,
Nov 29, 2008, 3:49:54 AM11/29/08
to micr...@googlegroups.com
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
> -~----------~----~----~----~------~----~------~--~---
>

Here is mostly harmless patch(0003) that adds so far missing devices to
the device-sensor translation table.

The other patches(0001) does the reclassification of some INFO messages
and change the default log_level.

The even more other patch(0002) hopes to fix the build problems users
with <=2.6.25 kernel may experience.

One "breaks nothing" should be enough to push this.

GWater

signature.asc
0001-Reclassify-some-messages-from-INFO-to-DEBUG-or-ERROR.patch
0002-Fix-build-problems-for-kernel-2.6.25-because-of-un.patch
0003-Add-missing-devices-to-the-device-sensor-table.patch

Lennart Weller

unread,
Nov 29, 2008, 7:34:51 AM11/29/08
to micr...@googlegroups.com
GWater schrieb:
Thanks for the patch GWater, the module loads perfectly now and the
camera is working fine.

[ 2181.959782] microdia: Microdia USB 2.0 webcam driver loaded
[ 2181.959822] microdia: Microdia USB 2.0 Webcam - 0C45:628F plugged-in.
[ 2181.959825] microdia: Detected SN9C20X Bridge
[ 2182.063558] microdia: Microdia USB 2.0 Webcam is now controlling
video device /dev/video0
[ 2182.065108] usbcore: registered new interface driver usb_microdia_driver
[ 2182.065113] microdia: v2008.10 : Microdia USB 2.0 Webcam Driver

I had no errors while compiling the driver on my 2.6.27-kernel but I
applied the other patches as well.
Everything is working fine so far.

Additional informations on the device:
Brand: Vivanco IseeU Webcam
Extras: Integrated microphone

signature.asc

GWater

unread,
Nov 29, 2008, 7:46:02 AM11/29/08
to micr...@googlegroups.com
Lennart Weller schrieb:

I understand the microphone is working, too?

(Audio is handled by a different driver and we always have to check that
we don't interfere with that.)

GWater

signature.asc

GWater

unread,
Nov 29, 2008, 8:39:29 AM11/29/08
to micr...@googlegroups.com
Lennart Weller schrieb:

Actually this success message is enough for me to push the patches.

GWater

signature.asc

Lennart Weller

unread,
Nov 29, 2008, 9:54:26 AM11/29/08
to micr...@googlegroups.com
GWater schrieb:
Yes the microphone is working when the webcam is turned on. I dont see
any problems there.

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