There's a way to debug this.
You will need to use usbmon
$mount -t debugfs none_debugs /sys/kernel/debug
$modprobe usbmon
$modprobe videodev
$modprobe compat-ioctl32
$insmod microdia.ko
$cat /sys/kernel/debug/usbmon/xt > ~/Desktop/usbmon-6270-1.txt
the "x" in the above cat /sys/kernel/debug/usbmon/xt
comes from the output of
$lsusb
Bus 00x Device 001: ID 0c45:6270 Microdia
....................................................................
....................................................................
after that when you plugin the webcam, start a webcam application like
Skype etc.
the usbmon command will dump all command being written/read to/from
6270 to the text file,
press CTRL+C to stop the command immediately after skype starts to
show video image.
that text file needs to be compared with the init/start sequence in
the code in microdia-dev.c under 6270
the difference between the two will, hopefully, point us in the right
direction.
-JoJo
thanks for this log. Please test the latest driver version, I've pushed
a patch that fixes a bug in the start-stream function some minutes ago.
Please test it, I can't see any other problems in this file.
Btw, this part of the code has been reviewed by many people for a couple
of days before it got pushed ;-).
Frank
Roberto Lionello schrieb:
-JoJo
Actually the problem statement is this,
"Microdia driver with 6270 hardware, is not working on this x86_64"
we need to isolate either microdia driver of x86_64 to be the source
of the problem.
try microdia on a different x86_64 h/w s/w will help here
(instead of using another webcam h/w on x86_64)
-JoJo
I have no idea if this helps, but my 6270 camera did work on x86-64
with latest Comer's patches. I haven't tried yet on x86-32 but i
assume it should work.
Cristi
do you own two 6270 cams ? I thought you tested your cam on 2 different
systems...
What's the problem with the colors ? Could you send some screenshots ?
Did the adjustment of the picture settings not work for you ?
These "microdia: Iso frame 1234 of USB has error -18"-errors are
strange. USB-error -18 is EXDEV="Cross-device link", but I have no idea
what could cause this...
Frank
Roberto Lionello schrieb:
Frank