Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

kernel 2.6.18.1 and Trust PowerC@m 750

 
Post new topic   Reply to topic    Royale Forum Index -> zr364xx
View previous topic :: View next topic  
Author Message
slux



Joined: 02 Nov 2006
Posts: 3

PostPosted: Thu Nov 02, 2006 10:27 pm    Post subject: kernel 2.6.18.1 and Trust PowerC@m 750 Reply with quote

Hi,
I have a Trust PowerC@m 750 supported very well with the driver version 0.64 but not with the driver 0.70.
I'm running a 2.6.18.1 (vanilla) kernel on Slackware 11.
The result of lsusb is this :
Code:

Bus 2 Device 2: ID 06d6:0034 Aashima Technology B.V.

The drive compiles fine and it loads very well too :
Code:

Linux video capture interface: v2.00
/andrea/zr364xx-0.70/zr364xx.c: Zoran 364xx webcam plugged
/andrea/zr364xx-0.70/zr364xx.c: model Trust Powerc@m 750 detected
/andrea/zr364xx-0.70/zr364xx.c: 320x240 mode selected
/andrea/zr364xx-0.70/zr364xx.c: Zoran 364xx controlling video device 0
usbcore: registered new driver zoran
/andrea/zr364xx-0.70/zr364xx.c: Zoran 364xx module loaded


When I try to launch xawtv 3.95 I get this problem :
Code:

This is xawtv-3.95, running on Linux/i686 (2.6.18.1)
WARNING: Your X-Server has no DGA support.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0xb7cebc1cb7ceba70 [PAL_I,PAL_D,PAL_D1,PAL_N,PAL_60,NTSC_M,NTSC_M_JP,?,SECAM_D,SECAM_G,SECAM_H,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_S_CTRL(id=9963776;value=64): Unknown error 515
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
game over

Could you give me some advice please?
With kernel 2.6.17 and 0.64 runs very fine.
Thanks.
Back to top
View user's profile Send private message
royale
Site Admin


Joined: 18 Jul 2005
Posts: 230
Location: Toulouse

PostPosted: Thu Nov 02, 2006 10:45 pm    Post subject: Reply with quote

Hello,

Xawtv is compatible only with V4L1 (the first version of the video for linux API).
Since version 0.70, zr364xx is a V4L2 driver (the new version of the API, V4L1 is deprecated).

If you want to use xawtv, you should use an older version of zr364xx, for example 0.64.

However, you should be able to use zr364xx 0.70 with ekiga (which is compatible with V4L2).

Good luck!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
royale
Site Admin


Joined: 18 Jul 2005
Posts: 230
Location: Toulouse

PostPosted: Thu Nov 02, 2006 10:50 pm    Post subject: Reply with quote

Mmm sorry, I read your message too fast, you already know it works with 0.64 Smile
You should try with ekiga and the V4L2 plugin, it should be ok.

I choosed to switch to V4L2 for 2 reasons:
  • V4L1 is now deprecated so it could disapear soon
  • the V4L2 version of the driver is really faster and nicer
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
slux



Joined: 02 Nov 2006
Posts: 3

PostPosted: Fri Nov 03, 2006 12:15 pm    Post subject: Reply with quote

Sorry,but are you sure that xawtv doesn't support V4L2 ?
Because the man of xawtv 3.95 says :

Quote:

SUPPORTED HARDWARE / INTERFACES

v4l
video4linux - the linux video capture API.
v4l2
video4linux two - new, improved capture interface which fixes a number of v4l design bugs.


So I wrong something?? Question Question
Back to top
View user's profile Send private message
royale
Site Admin


Joined: 18 Jul 2005
Posts: 230
Location: Toulouse

PostPosted: Fri Nov 03, 2006 11:52 pm    Post subject: Reply with quote

Ok I was not aware of this.
Then it may be because xawtv does not support V4L2_PIX_FMT_JPEG palette.
The advantage of V4L2 is that the webcam can send JPEG data, the downside is that if the application is not handling the format it does not work.
In previous versions of the driver, zr364xx was doing the JPEG decompression itself (which is ugly but worked with more applications).
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
slux



Joined: 02 Nov 2006
Posts: 3

PostPosted: Sat Nov 04, 2006 10:59 am    Post subject: Reply with quote

Sorry again ,but I've checked the source of xawtv 3.95 and in videodev2.h I read :
Code:

/* compressed formats */
#define V4L2_PIX_FMT_MJPEG    v4l2_fourcc('M','J','P','G') /* Motion-JPEG   */
#define V4L2_PIX_FMT_JPEG     v4l2_fourcc('J','P','E','G') /* JFIF JPEG     */
#define V4L2_PIX_FMT_DV       v4l2_fourcc('d','v','s','d') /* 1394          */
#define V4L2_PIX_FMT_MPEG     v4l2_fourcc('M','P','E','G') /* MPEG          */


So V4L2_PIX_FMT_JPEG it's defined !

Sorry if I bother you but I like understand Smile
Back to top
View user's profile Send private message
royale
Site Admin


Joined: 18 Jul 2005
Posts: 230
Location: Toulouse

PostPosted: Sat Nov 04, 2006 7:43 pm    Post subject: Reply with quote

I think it is a copy of the videodev2.h file from the kernel source to have useful values, but I don't think it is used in the program.
Sorry I don't have time to investigate more...
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Royale Forum Index -> zr364xx All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group