JoJo jojo schrieb:
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

On Sat, Nov 29, 2008 at 12:46 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
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.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---


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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to