Re: OrbiCam does not work on Ubuntu





Thomas Kaiser wrote:
Phil Pinkerton wrote:

Thomas Kaiser wrote:

Phil Pinkerton wrote:


Thomas Kaiser wrote:


Phil Pinkerton wrote:



OrbiCam does not work on Ubuntu, Kubuntu, Xbuntu Feisty Herd5 ( fawn? )
7.04 amd64

lsusb = Bus 001 Device 002: ID 0402:5602 ALi Corp.

video0 does exist but xawtv does not see it ??

ll /dev/video0
crw-rw—- 1 root adm 81, 0 2007-04-23 05:41 /dev/video0

xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.20-14-generic)
can’t open /dev/video0: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such device
v4l2: open /dev/video0: No such device
v4l: open /dev/video0: No such device
no video grabber device available


Note: Tried building and install driver from SVN source:

lsmod = usbcore 154416 7
m560x,usbhid,usb_storage,libusual,ohci_hcd,ehci_hcd
videodev 29824 1 m560x
v4l2_common 28800 1 videodev
v4l1_compat 14980 1 videodev

Ubuntu Linux 2.6.20-14-generic #2 SMP Mon Apr 2 16:32:46 UTC 2007 x86_64
GNU/Linux

Works fine on XP

What's the hang up on this driver web search is full of OLD News about
the m560x driver ??



Hello Phil

It looks that only root and group adm has access to /dev/video0. Your
are a member of the adm group? Did you try this as root?

Thomas





Chmod to 666 /dev/video*

Now xawtv just hangs there, cannot break even with ctrl C, need to kill
it to return to prompt.

xawtv
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.20-14-generic)

Chown to my account no diff.

cannot run as root do not have display set for root


Phil


Phil

Check your kernel log. You might find something interesting there.

Thomas




But what does it all mean ??

Where do I find the "Kernel log" ? I am only familiar with dmesg and syslog.

Outputs from dmseg and syslog that seem related to the webcam after (
insmod and modprobe ) and running xawtv -f

DMESG:

79.979943] Boot video device is 0000:01:05.0
119.785452] Linux video capture interface: v2.00
snip ...

566.292511] /usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:
usb_m560x_init - M560x-based WebCam driver start
up
[ 566.293437] /usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:
m560x_probe - M560x-based WebCam connected
[ 566.293443] /usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:
Ali M5602-based WebCam found.
[ 566.881918]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m5602_mt9v111.c:
[m5602_probe_mt9v111:189] probe mt9v111 senso
r id ff ff
[ 566.887651]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m5602_ov9650.c:
[m5602_probe_ov9650:190] probe ov9650 sensor i
d ff ff
[ 566.893402]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m5602_ov7640.c:
[m5602_probe_ov7640:190] probe ov7640 sensor i
d ff ff
snip...

566.893674] Unable to handle kernel NULL pointer dereference at
0000000000000068 RIP:
[ 566.893680] [<ffffffff883d9efd>] :m560x:usb_m560x_probe+0x43d/0x750
[ 566.893695] PGD 44c43067 PUD 44c44067 PMD 0
[ 566.893700] Oops: 0000 [1] SMP
[ 566.893704] CPU 0
[ 566.893706] Modules linked in: m560x .....snip
snip...

566.893985] [<ffffffff8805f029>] :m560x:usb_m560x_init+0x29/0x5f
snip ...

566.894060] Code: 41 ff 56 68 f6 05 78 da 00 00 10 74 39 41 b9 44 00 00
00 41
[ 566.894072] RIP [<ffffffff883d9efd>] :m560x:usb_m560x_probe+0x43d/0x750
[ 566.894082] RSP <ffff810044c49c98>
[ 566.894084] CR2: 0000000000000068
[ 566.894087]
<6>/usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: m560x open


SYSLOG
kernel: [ 566.894087]
<6>/usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: m560x open




Kernel log: /var/log/kern.log

It looks like the driver does not find a supported sensor and/or the
sensor probe routine has some pointer problems.

Do you know which sensor your cam is using? You might find some
information about the sensor in the Windoz driver (.inf, .reg files or
in the Registry itself).

I am not familiar with the m560x driver. So, I am not a lot of help
here, sorry.

Thomas



KERN.LOG snip of m560x.... looks like it should be working ??

Apr 24 06:00:55 kernel: [ 566.292511]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: usb_m560x_init
- M560x-based WebCam driver startup
Apr 24 06:00:55 kernel: [ 566.293437]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: m560x_probe -
M560x-based WebCam connected
Apr 24 06:00:55 kernel: [ 566.293443]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Ali M5602-based
WebCam found.
Apr 24 06:00:55 kernel: [ 566.881918]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m5602_mt9v111.c:
[m5602_probe_mt9v111:189] probe mt9v111 sensor id ff ff
Apr 24 06:00:55 kernel: [ 566.887651]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m5602_ov9650.c:
[m5602_probe_ov9650:190] probe ov9650 sensor id ff ff
Apr 24 06:00:55 kernel: [ 566.893402]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m5602_ov7640.c:
[m5602_probe_ov7640:190] probe ov7640 sensor id ff ff
Apr 24 06:00:55 kernel: [ 566.893680] [_end+131764077/2130505840]
:m560x:usb_m560x_probe+0x43d/0x750
Apr 24 06:00:55 kernel: [ 566.893706] Modules linked in: m560x ...SNIP...
Apr 24 06:00:55 kernel: [ 566.893782] RIP:
0010:[_end+131764077/2130505840] [_end+131764077/2130505840]
:m560x:usb_m560x_probe+0x43d/0x750
Apr 24 06:00:55 kernel: [ 566.893985] [_end+128114841/2130505840]
:m560x:usb_m560x_init+0x29/0x5f
Apr 24 06:00:55 kernel: [ 566.894072] RIP [_end+131764077/2130505840]
:m560x:usb_m560x_probe+0x43d/0x750
Apr 24 06:06:22 kernel: [ 566.894087]
<6>/usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: m560x open
Apr 24 06:47:07 kernel: [ 3333.629245]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: m560x open
Apr 24 06:49:09 kernel: [ 3455.722178]
/usr/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: m560x open
Apr 24 06:51:48 kernel: [ 3612.720350] m560x 3-4:1.0: resuming


Perhaps I sould send this to the SF project guys ?

phil



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: OrbiCam does not work on Ubuntu
    ... What's the hang up on this driver web search is full of OLD News about ... Now xawtv just hangs there, cannot break even with ctrl C, need to kill ... 79.979943] Boot video device is 0000:01:05.0 ... It looks like the driver does not find a supported sensor and/or the ...
    (Ubuntu)
  • Re: Emulating a WebCamera
    ... In the ddk you will find usbintel, this is source code of intel webcam. ... > discusses about creating something like a web cam on device driver level. ... > dever drivers list under "sound, video, game controls". ... (This was done by hooking VFW.) ...
    (microsoft.public.development.device.drivers)
  • Re: Hi, how do I get a Logitech Quickcam Express to work in Suse 10.0 ? I installed the driver f
    ... Hardware detection sees the camera, however when I call xawtv or webcam ... It would mean the driver doesn't recognize hardware. ...
    (alt.os.linux.suse)
  • Re: Webcam recommendations
    ... It means that, in effect, a single driver will ... provide at least basic webcam functionality. ... As well as the issues that T i m raises, having a standard ... makes USB keys actually useful, knowing you can share them, doesn't it? ...
    (uk.comp.sys.mac)
  • Re: Windows Image Acquisition
    ... If it occurred on one computer I could possibly understand it - a corrupted driver, but on two at the same time??? ... That article covers how to bump up the logging activity from WIA. ... I just tried plugging in a webcam and acquiring a still picture in Photoshop ... and the log file appears to get flushed each time WIA is accessed. ...
    (microsoft.public.windowsxp.general)