Hello,
I tried this patch. It works. Thanks.

-- 
Pali Rohár
[email protected]
------------------------------------------------------------------------
kopete output:

kopete(24870) AVDeviceConfig::AVDeviceConfig: kopete:config (avdevice):
KopeteAVDeviceConfigFactory::componentData() called.
kopete(24870) Kopete::AV::VideoInput::VideoInput: Executing Video
Input's constructor!!!                                   
kopete(24870) Kopete::AV::VideoDevicePool::open: open(): No devices
found. Must scan for available devices. 0              
kopete(24870) Kopete::AV::VideoDevicePool::scanDevices:
called                                                             
kopete(24870) Kopete::AV::VideoDevicePool::registerDevice: New video
device at 
"/org/freedesktop/Hal/devices/usb_device_41e_4068_noserial_video4linux"
kopete(24870) Kopete::AV::VideoDevicePool::registerDevice: vendor: 
"Creative Technology, Ltd" , product:  "WebCam Live!
Notebook"                    
kopete(24870) Kopete::AV::VideoDevicePool::registerDevice: V4L device
path is
"/dev/video0"                                                           
kopete(24870) Kopete::AV::VideoDevicePool::registerDevice: Found device 
"/dev/video0"                                                                

kopete(24870) Kopete::AV::VideoDevice::open:
called                                                                          
                         

libv4l2: error getting capabilities: Invalid
argument                                                                        
                         

kopete(24870) Kopete::AV::VideoDevice::open: V4L2 fallback to standard
system open
call                                                               
kopete(24870) Kopete::AV::VideoDevice::open: File  "/dev/video0"  was
opened
successfuly                                                              
kopete(24870) Kopete::AV::VideoDevice::checkDevice: checkDevice()
called.                                                                         
    

kopete(24870) Kopete::AV::VideoDevice::checkDevice: checkDevice(): 
"/dev/video0"  is not a V4L2
device.                                              
kopete(24870) Kopete::AV::VideoDevice::checkDevice: checkDevice(): 
"/dev/video0"  Trying V4L
API.                                                    
kopete(24870) Kopete::AV::VideoDevice::checkDevice: "/dev/video0"  is a
V4L
device.                                                                   
kopete(24870) Kopete::AV::VideoInput::VideoInput: Executing Video
Input's
constructor!!!                                                              

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: Supported
pixel
formats:                                                                   
kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "16-bit
RGB565"                                                                         
   

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "24-bit
RGB24"                                                                          
   

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "8-bit
Grayscale"                                                                      
    

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "Packed YUV
4:2:2"                                                                         

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "Planar YUV
4:2:0"                                                                         

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "Planar YUV
4:2:2"                                                                         

kopete(24870) Kopete::AV::VideoDevice::enumerateControls: Checking CID
controls                                                                       

kopete(24870) Kopete::AV::VideoDevice::enumerateControls: Checking CID
private
controls                                                               
kopete(24870) Kopete::AV::VideoDevice::checkDevice: checkDevice() exited
successfuly.                                                                 

kopete(24870) Kopete::AV::VideoDevice::initDevice: initDevice()
started                                                                         
      

kopete(24870) Kopete::AV::VideoDevice::initDevice:     Streaming
interface                                                                       
     

kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:
showDeviceCapabilities()
called.                                                       
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities: Device
model:  "OV519 USB
Camera"                                                      
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities: Device
name :  "OV519 USB
Camera"                                                      
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:
Capabilities:                                                                   
       

kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:     Video
capture                                                                      

kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:        
Read                                                                           

kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:     Max
res:  640  x 
480                                                              
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:     Min
res:  64  x 
48                                                                
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:    
Inputs : 
1                                                                        
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities: Input  0
:  "Camera"  (tuner:  0
)                                                     
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:
showDeviceCapabilities() exited
successfuly.                                           
kopete(24870) Kopete::AV::VideoDevice::initDevice: initDevice() exited
successfuly                                                                    

kopete(24870) Kopete::AV::VideoDevice::selectInput: Selected input  0  (
"Camera"
)                                                                   
kopete(24870) Kopete::AV::VideoDevice::setBrightness: ( 0.5 )
called.                                                                         
        

kopete(24870) Kopete::AV::VideoDevice::setContrast: ( 0.5 )
called.                                                                         
          

kopete(24870) Kopete::AV::VideoDevice::setSaturation: ( 0.5 )
called.                                                                         
        

kopete(24870) Kopete::AV::VideoDevice::setWhiteness: ( 4.59163e-41 )
called.                                                                         
 

kopete(24870) Kopete::AV::VideoDevice::setHue: ( 0.5 )
called.                                                                         
               

kopete(24870) Kopete::AV::VideoDevice::open: exited
successfuly                                                                     
                  

kopete(24870) Kopete::AV::VideoDevicePool::registerDevice: File 
"/dev/video0"  was opened
successfuly                                                
kopete(24870) Kopete::AV::VideoDevice::close: 
called.                                                                         
                       

kopete(24870) Kopete::AV::VideoDevice::close:  Device is open. Trying to
properly shutdown the
device.                                                
kopete(24870) Kopete::AV::VideoDevice::stopCapturing:
called.                                                                         
                

kopete(24870) Kopete::AV::VideoDevice::stopCapturing: exited
successfuly.                                                                    
         

kopete(24870) Kopete::AV::VideoDevice::close: ::close() returns 
0                                                                               
     

kopete(24870) Kopete::AV::VideoDevicePool::scanDevices: exited
successfuly                                                                     
       

kopete(24870) Kopete::AV::VideoDevice::open:
called                                                                          
                         

libv4l2: error getting capabilities: Invalid
argument                                                                        
                         

kopete(24870) Kopete::AV::VideoDevice::open: V4L2 fallback to standard
system open
call                                                               
kopete(24870) Kopete::AV::VideoDevice::open: File  "/dev/video0"  was
opened
successfuly                                                              
kopete(24870) Kopete::AV::VideoDevice::checkDevice: checkDevice()
called.                                                                         
    

kopete(24870) Kopete::AV::VideoDevice::checkDevice: checkDevice(): 
"/dev/video0"  is not a V4L2
device.                                              
kopete(24870) Kopete::AV::VideoDevice::checkDevice: checkDevice(): 
"/dev/video0"  Trying V4L
API.                                                    
kopete(24870) Kopete::AV::VideoDevice::checkDevice: "/dev/video0"  is a
V4L
device.                                                                   
kopete(24870) Kopete::AV::VideoInput::VideoInput: Executing Video
Input's
constructor!!!                                                              

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: Supported
pixel
formats:                                                                   
kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "16-bit
RGB565"                                                                         
   

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "24-bit
RGB24"                                                                          
   

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "8-bit
Grayscale"                                                                      
    

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "Packed YUV
4:2:2"                                                                         

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "Planar YUV
4:2:0"                                                                         

kopete(24870) Kopete::AV::VideoDevice::detectPixelFormats: "Planar YUV
4:2:2"                                                                         

kopete(24870) Kopete::AV::VideoDevice::enumerateControls: Checking CID
controls                                                                       

kopete(24870) Kopete::AV::VideoDevice::enumerateControls: Checking CID
private
controls                                                               
kopete(24870) Kopete::AV::VideoDevice::checkDevice: checkDevice() exited
successfuly.                                                                 

kopete(24870) Kopete::AV::VideoDevice::initDevice: initDevice()
started                                                                         
      

kopete(24870) Kopete::AV::VideoDevice::initDevice:     Streaming
interface                                                                       
     

kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:
showDeviceCapabilities()
called.                                                       
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities: Device
model:  "OV519 USB
Camera"                                                      
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities: Device
name :  "OV519 USB
Camera"                                                      
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:
Capabilities:                                                                   
       

kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:     Video
capture                                                                      

kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:        
Read                                                                           

kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:     Max
res:  640  x 
480                                                              
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:     Min
res:  64  x 
48                                                                
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:    
Inputs : 
1                                                                        
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities: Input  0
:  "Camera"  (tuner:  0
)                                                     
kopete(24870) Kopete::AV::VideoDevice::showDeviceCapabilities:
showDeviceCapabilities() exited
successfuly.                                           
kopete(24870) Kopete::AV::VideoDevice::initDevice: initDevice() exited
successfuly                                                                    

kopete(24870) Kopete::AV::VideoDevice::selectInput: Selected input  0  (
"Camera"
)                                                                   
kopete(24870) Kopete::AV::VideoDevice::setBrightness: ( 0.5 )
called.                                                                         
        

kopete(24870) Kopete::AV::VideoDevice::setContrast: ( 0.5 )
called.                                                                         
          

kopete(24870) Kopete::AV::VideoDevice::setSaturation: ( 0.5 )
called.                                                                         
        

kopete(24870) Kopete::AV::VideoDevice::setWhiteness: ( 0 )
called.                                                                         
           

kopete(24870) Kopete::AV::VideoDevice::setHue: ( 0.5 )
called.                                                                         
               

kopete(24870) Kopete::AV::VideoDevice::open: exited
successfuly                                                                     
                  

kopete(24870) Kopete::AV::VideoDevicePool::loadConfig:
called                                                                          
               

kopete(24870) Kopete::AV::VideoDevicePool::loadConfig: Current device: 
"Model VF0470 Live! Cam Notebook Device
0"                                    
kopete(24870) Kopete::AV::VideoDevicePool::loadConfig: Device name: 
"OV519 USB
Camera"                                                               
kopete(24870) Kopete::AV::VideoDevicePool::loadConfig: Device current
input: 
0                                                                       
kopete(24870) Kopete::AV::VideoDevice::selectInput: Selected input  0  (
"Camera"
)                                                                   
kopete(24870) Kopete::AV::VideoDevice::setBrightness: ( 0.5 )
called.                                                                         
        

kopete(24870) Kopete::AV::VideoDevice::setContrast: ( 0.5 )
called.                                                                         
          

kopete(24870) Kopete::AV::VideoDevice::setSaturation: ( 0.5 )
called.                                                                         
        

kopete(24870) Kopete::AV::VideoDevice::setWhiteness: ( 0 )
called.                                                                         
           

kopete(24870) Kopete::AV::VideoDevice::setHue: ( 0.5 )
called.                                                                         
               

kopete(24870) Kopete::AV::VideoDevice::setBrightness: ( 0.499992 )
called.                                                                         
   

kopete(24870) Kopete::AV::VideoDevice::setContrast: ( 0.499992 )
called.                                                                         
     

kopete(24870) Kopete::AV::VideoDevice::setSaturation: ( 0.499992 )
called.                                                                         
   

kopete(24870) Kopete::AV::VideoDevice::setHue: ( 0.499992 )
called.                                                                         
          

kopete(24870) Kopete::AV::VideoDevice::setAutoBrightnessContrast:
VideoDevice::setAutoBrightnessContrast( false )
called.                             
kopete(24870) Kopete::AV::VideoDevice::setAutoColorCorrection:
VideoDevice::setAutoColorCorrection( false )
called.                                   
kopete(24870) Kopete::AV::VideoDevice::setImageAsMirror:
VideoDevice::setImageAsMirror( false )
called.                                               
kopete(24870) Kopete::AV::VideoDevicePool::loadConfig: Brightness:
0.499992                                                                        
   

kopete(24870) Kopete::AV::VideoDevicePool::loadConfig: Contrast  :
0.499992                                                                        
   

kopete(24870) Kopete::AV::VideoDevicePool::loadConfig: Saturation:
0.499992                                                                        
   

kopete(24870) Kopete::AV::VideoDevicePool::loadConfig: Whiteness :
0.500008                                                                        
   

kopete(24870) Kopete::AV::VideoDevicePool::loadConfig: Hue       :
0.499992                                                                        
   

kopete(24870) Kopete::AV::VideoDevicePool::loadConfig:
AutoBrightnessContrast:
false                                                                  
kopete(24870) Kopete::AV::VideoDevicePool::loadConfig:
AutoColorCorrection   :
false                                                                  
kopete(24870) Kopete::AV::VideoDevicePool::loadConfig:
ImageAsMirror         :
false                                                                  
kopete(24870) Kopete::AV::VideoDevicePool::open: Number of clients: 
1                                                                               
 

kopete(24870) Kopete::AV::VideoDevice::setSize: setSize( 320 ,  240 )
called.                                                                         

kopete(24870) Kopete::AV::VideoDevice::setSize: Trying
YUY422P                                                                         
               

kopete(24870) Kopete::AV::VideoDevice::setSize: ------------- width: 
320  Height:  240  Clipcount:  0 
-----------------                             
kopete(24870) Kopete::AV::VideoDevice::setSize:
------------------------- ------- -- m_buffer_size:  153600  !!! --
------- -----------------------------------------
kopete(24870) Kopete::AV::VideoDevice::initRead:
called.                                                                         
                                   

kopete(24870) Kopete::AV::VideoDevice::initRead: m_buffer_size: 
153600                                                                          
                   

kopete(24870) Kopete::AV::VideoDevice::initRead: exited
successfuly.                                                                    
                            

kopete(24870) Kopete::AV::VideoDevice::setSize: setSize( 320 ,  240 )
exited
successfuly.                                                                    
       

kopete(24870) Kopete::AV::VideoDevicePool::fillDeviceKComboBox:
Called.                                                                         
                    

kopete(24870) Kopete::AV::VideoDevicePool::fillDeviceKComboBox: Combobox
cleaned.                                                                        
           

kopete(24870) Kopete::AV::VideoDevicePool::fillDeviceKComboBox: Added
device  0 :  "OV519 USB
Camera"                                                               
kopete(24870) Kopete::AV::VideoDevicePool::fillInputKComboBox:
Called.                                                                         
                     

kopete(24870) Kopete::AV::VideoDevicePool::fillInputKComboBox: Added
input  0 :  "Camera"  (tuner:  0
)                                                             
kopete(24870) Kopete::AV::VideoDevicePool::fillStandardKComboBox:
Called.                                                                         
                  

kopete(24870) AVDeviceConfig::slotBrightnessSliderChanged: kopete:config
(avdevice): slotBrightnessSliderChanged(int) called. 
0.499992                             
kopete(24870) Kopete::AV::VideoDevice::setBrightness: ( 0.499992 )
called.                                                                         
                 

kopete(24870) AVDeviceConfig::slotContrastSliderChanged: kopete:config
(avdevice): slotContrastSliderChanged(int) called. 
0.499992                                 
kopete(24870) Kopete::AV::VideoDevice::setContrast: ( 0.499992 )
called.                                                                         
                   

kopete(24870) AVDeviceConfig::slotSaturationSliderChanged: kopete:config
(avdevice): slotSaturationSliderChanged(int) called. 
0.499992                             
kopete(24870) Kopete::AV::VideoDevice::setSaturation: ( 0.499992 )
called.                                                                         
                 

kopete(24870) AVDeviceConfig::slotHueSliderChanged: kopete:config
(avdevice): slotHueSliderChanged(int) called. 
0.499992                                           
kopete(24870) Kopete::AV::VideoDevice::setHue: ( 0.499992 )
called.                                                                         
                        

kopete(24870) Kopete::AV::VideoDevicePool::startCapturing:
startCapturing()
called.                                                                         
        

kopete(24870) Kopete::AV::VideoDevice::startCapturing: called.
kopete(24870) Kopete::AV::VideoDevice::startCapturing: exited successfuly.

Jaroslav Reznik  wrote / napísal(a):
> On Sunday 15 March 2009 12:29:21 Pali Rohár wrote:
>   
>> Hello,
>> with new v4l webcam patch my webcam doesnt work. I use ov51x-jpeg
>> driver. Before commited new patch my webcam works fine.
>>
>> output from kopete:
>> kopete(8300) AVDeviceConfig::AVDeviceConfig: kopete:config (avdevice):
>> KopeteAVDeviceConfigFactory::componentData() called.
>> kopete(8300) Kopete::AV::VideoInput::VideoInput: Executing Video Input's
>> constructor!!!
>> kopete(8300) Kopete::AV::VideoDevicePool::open: open(): No devices
>> found. Must scan for available devices. 0
>> kopete(8300) Kopete::AV::VideoDevicePool::scanDevices: called
>> kopete(8300) Kopete::AV::VideoDevicePool::registerDevice: New video
>> device at
>> "/org/freedesktop/Hal/devices/usb_device_41e_4068_noserial_video4linux"
>> kopete(8300) Kopete::AV::VideoDevicePool::registerDevice: vendor:
>> "Creative Technology, Ltd" , product:  "WebCam Live! Notebook"
>> kopete(8300) Kopete::AV::VideoDevicePool::registerDevice: V4L device
>> path is "/dev/video0"
>> kopete(8300) Kopete::AV::VideoDevicePool::registerDevice: Found device
>> "/dev/video0"
>> kopete(8300) Kopete::AV::VideoDevice::open: called
>> libv4l2: error getting capabilities: Invalid argument
>> kopete(8300) Kopete::AV::VideoDevice::open: Unable to open file
>> "/dev/video0" Err:  22
>> kopete(8300) Kopete::AV::VideoDevicePool::scanDevices: exited successfuly
>> kopete(8300) Kopete::AV::VideoDevicePool::open: open(): No devices
>> found. bailing out. 0
>> kopete(8300) Kopete::AV::VideoDevicePool::setSize:
>> VideoDevicePool::setSize() fallback for no device.
>> kopete(8300) Kopete::AV::VideoDevicePool::setSize:
>> VideoDevicePool::setSize() buffer size:  230400
>> kopete(8300) Kopete::AV::VideoDevicePool::fillDeviceKComboBox: Called.
>> kopete(8300) Kopete::AV::VideoDevicePool::fillDeviceKComboBox: Combobox
>> cleaned.
>> kopete(8300) Kopete::AV::VideoDevicePool::fillInputKComboBox: Called.
>> kopete(8300) Kopete::AV::VideoDevicePool::fillStandardKComboBox: Called.
>> kopete(8300) Kopete::AV::VideoDevicePool::startCapturing:
>> startCapturing() called.
>>
>> lsusb:
>> Bus 001 Device 004: ID 041e:4068 Creative Technology, Ltd WebCam Live!
>> Notebook
>>     
>
> Hi Pali,
> could you try this quick patch (in attachment)? I'm trying to use fallback 
> system open when v4l2_open fails. It doesn't look nice but...
>
> Jaroslav
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> kopete-devel mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/kopete-devel

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to