OrbiCam does not work on Ubuntu

Phil Pinkerton pcpinkerton at gmail.com
Tue Apr 24 13:00:47 UTC 2007



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).
>   

Acer *OrbiCam*. ™. – this integrated camera features a 1.3 megapixel
CMOS *sensor* for high-. quality video capture.

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





More information about the ubuntu-users mailing list