Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#76 Le 02/05/2010, à 16:23

enebre

Re : Empathy, telepathy et msn en audio/vidéo.

@freechelmi , dur dur c'est ubuntu qui l'est pour moi . mais alors as tu un petit tuto pour expliquer comment se faire un chat vidéo  sans qu'on  y passe des années ?
Je crois que plus d'un ubuntero te bénirait pour ta grâce .

Dernière modification par enebre (Le 02/05/2010, à 16:24)

Hors ligne

#77 Le 02/05/2010, à 16:48

fl0ow

Re : Empathy, telepathy et msn en audio/vidéo.

A quoi ça servirai d'effacer le répertoire de conf d'empathy ? Je veux dire ça va pas le faire planter ?

Hors ligne

#78 Le 02/05/2010, à 18:29

freechelmi

Re : Empathy, telepathy et msn en audio/vidéo.

y a pas de tuto necessaire, on peut faire de la visio avec le liveCD lucid ou karmic du moment qu'on as des amis sur un compte gmail/jabber.

Toi tu as un problème de webcam qu'une appli a mal parametré, et je en vois que skype qui aurait pu faire ça.

reglons ton problème de webcam et quand elle marchera sous Cheese, on pourras utiliser empathy.

Hors ligne

#79 Le 02/05/2010, à 20:15

enebre

Re : Empathy, telepathy et msn en audio/vidéo.

C'est sympa d'accepter de m'aider .
je n'ai plus skype ni amsn, et cheese refuse toujours de s'ouvrir, pourtant ma webcam est là !

$ lsusb
Bus 004 Device 003: ID 04d9:1603 Holtek Semiconductor, Inc. 
Bus 004 Device 002: ID 093a:2500 Pixart Imaging, Inc. USB Optical Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0ac8:3420 Z-Star Microelectronics Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

quel fichier voudrais tu voir concernant le V4L2, il y en a 4

 
#ifndef __V4L2_I2C_DRV_H__
#define __V4L2_I2C_DRV_H__

#include <media/v4l2-common.h>

struct v4l2_i2c_driver_data {
	const char * const name;
	int (*command)(struct i2c_client *client, unsigned int cmd, void *arg);
	int (*probe)(struct i2c_client *client, const struct i2c_device_id *id);
	int (*remove)(struct i2c_client *client);
	int (*suspend)(struct i2c_client *client, pm_message_t state);
	int (*resume)(struct i2c_client *client);
	const struct i2c_device_id *id_table;
};

static struct v4l2_i2c_driver_data v4l2_i2c_data;
static struct i2c_driver v4l2_i2c_driver;


/* Bus-based I2C implementation for kernels >= 2.6.26 */

static int __init v4l2_i2c_drv_init(void)
{
	v4l2_i2c_driver.driver.name = v4l2_i2c_data.name;
	v4l2_i2c_driver.command = v4l2_i2c_data.command;
	v4l2_i2c_driver.probe = v4l2_i2c_data.probe;
	v4l2_i2c_driver.remove = v4l2_i2c_data.remove;
	v4l2_i2c_driver.suspend = v4l2_i2c_data.suspend;
	v4l2_i2c_driver.resume = v4l2_i2c_data.resume;
	v4l2_i2c_driver.id_table = v4l2_i2c_data.id_table;
	return i2c_add_driver(&v4l2_i2c_driver);
}


static void __exit v4l2_i2c_drv_cleanup(void)
{
	i2c_del_driver(&v4l2_i2c_driver);
}

module_init(v4l2_i2c_drv_init);
module_exit(v4l2_i2c_drv_cleanup);

#endif /* __V4L2_I2C_DRV_H__ */
/*
 *
 *	V 4 L 2   D R I V E R   H E L P E R   A P I
 *
 * Moved from videodev2.h
 *
 *	Some commonly needed functions for drivers (v4l2-common.o module)
 */
#ifndef _V4L2_IOCTL_H
#define _V4L2_IOCTL_H

#include <linux/poll.h>
#include <linux/fs.h>
#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/compiler.h> /* need __user */
#ifdef CONFIG_VIDEO_V4L1_COMPAT
#define __MIN_V4L1
#include <linux/videodev.h>
#else
#include <linux/videodev2.h>
#endif

struct v4l2_ioctl_ops {
	/* ioctl callbacks */

	/* VIDIOC_QUERYCAP handler */
	int (*vidioc_querycap)(struct file *file, void *fh, struct v4l2_capability *cap);

	/* Priority handling */
	int (*vidioc_g_priority)   (struct file *file, void *fh,
				    enum v4l2_priority *p);
	int (*vidioc_s_priority)   (struct file *file, void *fh,
				    enum v4l2_priority p);

	/* VIDIOC_ENUM_FMT handlers */
	int (*vidioc_enum_fmt_vid_cap)     (struct file *file, void *fh,
					    struct v4l2_fmtdesc *f);
	int (*vidioc_enum_fmt_vid_overlay) (struct file *file, void *fh,
					    struct v4l2_fmtdesc *f);
	int (*vidioc_enum_fmt_vid_out)     (struct file *file, void *fh,
					    struct v4l2_fmtdesc *f);
	int (*vidioc_enum_fmt_type_private)(struct file *file, void *fh,
					    struct v4l2_fmtdesc *f);

	/* VIDIOC_G_FMT handlers */
	int (*vidioc_g_fmt_vid_cap)    (struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_g_fmt_vid_out)    (struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_g_fmt_vid_out_overlay)(struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_g_fmt_vbi_cap)    (struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_g_fmt_vbi_out)    (struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_g_fmt_sliced_vbi_cap)(struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_g_fmt_sliced_vbi_out)(struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_g_fmt_type_private)(struct file *file, void *fh,
					struct v4l2_format *f);

	/* VIDIOC_S_FMT handlers */
	int (*vidioc_s_fmt_vid_cap)    (struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_s_fmt_vid_overlay)(struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_s_fmt_vid_out)    (struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_s_fmt_vid_out_overlay)(struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_s_fmt_vbi_cap)    (struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_s_fmt_vbi_out)    (struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_s_fmt_sliced_vbi_cap)(struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_s_fmt_sliced_vbi_out)(struct file *file, void *fh,
					struct v4l2_format *f);
	int (*vidioc_s_fmt_type_private)(struct file *file, void *fh,
					struct v4l2_format *f);

	/* VIDIOC_TRY_FMT handlers */
	int (*vidioc_try_fmt_vid_cap)    (struct file *file, void *fh,
					  struct v4l2_format *f);
	int (*vidioc_try_fmt_vid_overlay)(struct file *file, void *fh,
					  struct v4l2_format *f);
	int (*vidioc_try_fmt_vid_out)    (struct file *file, void *fh,
					  struct v4l2_format *f);
	int (*vidioc_try_fmt_vid_out_overlay)(struct file *file, void *fh,
					  struct v4l2_format *f);
	int (*vidioc_try_fmt_vbi_cap)    (struct file *file, void *fh,
					  struct v4l2_format *f);
	int (*vidioc_try_fmt_vbi_out)    (struct file *file, void *fh,
					  struct v4l2_format *f);
	int (*vidioc_try_fmt_sliced_vbi_cap)(struct file *file, void *fh,
					  struct v4l2_format *f);
	int (*vidioc_try_fmt_sliced_vbi_out)(struct file *file, void *fh,
					  struct v4l2_format *f);
	int (*vidioc_try_fmt_type_private)(struct file *file, void *fh,
					  struct v4l2_format *f);

	/* Buffer handlers */
	int (*vidioc_reqbufs) (struct file *file, void *fh, struct v4l2_requestbuffers *b);
	int (*vidioc_querybuf)(struct file *file, void *fh, struct v4l2_buffer *b);
	int (*vidioc_qbuf)    (struct file *file, void *fh, struct v4l2_buffer *b);
	int (*vidioc_dqbuf)   (struct file *file, void *fh, struct v4l2_buffer *b);


	int (*vidioc_overlay) (struct file *file, void *fh, unsigned int i);
#ifdef CONFIG_VIDEO_V4L1_COMPAT
			/* buffer type is struct vidio_mbuf * */
	int (*vidiocgmbuf)  (struct file *file, void *fh, struct video_mbuf *p);
#endif
	int (*vidioc_g_fbuf)   (struct file *file, void *fh,
				struct v4l2_framebuffer *a);
	int (*vidioc_s_fbuf)   (struct file *file, void *fh,
				struct v4l2_framebuffer *a);

		/* Stream on/off */
	int (*vidioc_streamon) (struct file *file, void *fh, enum v4l2_buf_type i);
	int (*vidioc_streamoff)(struct file *file, void *fh, enum v4l2_buf_type i);

		/* Standard handling
			ENUMSTD is handled by videodev.c
		 */
	int (*vidioc_g_std) (struct file *file, void *fh, v4l2_std_id *norm);
	int (*vidioc_s_std) (struct file *file, void *fh, v4l2_std_id *norm);
	int (*vidioc_querystd) (struct file *file, void *fh, v4l2_std_id *a);

		/* Input handling */
	int (*vidioc_enum_input)(struct file *file, void *fh,
				 struct v4l2_input *inp);
	int (*vidioc_g_input)   (struct file *file, void *fh, unsigned int *i);
	int (*vidioc_s_input)   (struct file *file, void *fh, unsigned int i);

		/* Output handling */
	int (*vidioc_enum_output) (struct file *file, void *fh,
				  struct v4l2_output *a);
	int (*vidioc_g_output)   (struct file *file, void *fh, unsigned int *i);
	int (*vidioc_s_output)   (struct file *file, void *fh, unsigned int i);

		/* Control handling */
	int (*vidioc_queryctrl)        (struct file *file, void *fh,
					struct v4l2_queryctrl *a);
	int (*vidioc_g_ctrl)           (struct file *file, void *fh,
					struct v4l2_control *a);
	int (*vidioc_s_ctrl)           (struct file *file, void *fh,
					struct v4l2_control *a);
	int (*vidioc_g_ext_ctrls)      (struct file *file, void *fh,
					struct v4l2_ext_controls *a);
	int (*vidioc_s_ext_ctrls)      (struct file *file, void *fh,
					struct v4l2_ext_controls *a);
	int (*vidioc_try_ext_ctrls)    (struct file *file, void *fh,
					struct v4l2_ext_controls *a);
	int (*vidioc_querymenu)        (struct file *file, void *fh,
					struct v4l2_querymenu *a);

	/* Audio ioctls */
	int (*vidioc_enumaudio)        (struct file *file, void *fh,
					struct v4l2_audio *a);
	int (*vidioc_g_audio)          (struct file *file, void *fh,
					struct v4l2_audio *a);
	int (*vidioc_s_audio)          (struct file *file, void *fh,
					struct v4l2_audio *a);

	/* Audio out ioctls */
	int (*vidioc_enumaudout)       (struct file *file, void *fh,
					struct v4l2_audioout *a);
	int (*vidioc_g_audout)         (struct file *file, void *fh,
					struct v4l2_audioout *a);
	int (*vidioc_s_audout)         (struct file *file, void *fh,
					struct v4l2_audioout *a);
	int (*vidioc_g_modulator)      (struct file *file, void *fh,
					struct v4l2_modulator *a);
	int (*vidioc_s_modulator)      (struct file *file, void *fh,
					struct v4l2_modulator *a);
	/* Crop ioctls */
	int (*vidioc_cropcap)          (struct file *file, void *fh,
					struct v4l2_cropcap *a);
	int (*vidioc_g_crop)           (struct file *file, void *fh,
					struct v4l2_crop *a);
	int (*vidioc_s_crop)           (struct file *file, void *fh,
					struct v4l2_crop *a);
	/* Compression ioctls */
	int (*vidioc_g_jpegcomp)       (struct file *file, void *fh,
					struct v4l2_jpegcompression *a);
	int (*vidioc_s_jpegcomp)       (struct file *file, void *fh,
					struct v4l2_jpegcompression *a);
	int (*vidioc_g_enc_index)      (struct file *file, void *fh,
					struct v4l2_enc_idx *a);
	int (*vidioc_encoder_cmd)      (struct file *file, void *fh,
					struct v4l2_encoder_cmd *a);
	int (*vidioc_try_encoder_cmd)  (struct file *file, void *fh,
					struct v4l2_encoder_cmd *a);

	/* Stream type-dependent parameter ioctls */
	int (*vidioc_g_parm)           (struct file *file, void *fh,
					struct v4l2_streamparm *a);
	int (*vidioc_s_parm)           (struct file *file, void *fh,
					struct v4l2_streamparm *a);

	/* Tuner ioctls */
	int (*vidioc_g_tuner)          (struct file *file, void *fh,
					struct v4l2_tuner *a);
	int (*vidioc_s_tuner)          (struct file *file, void *fh,
					struct v4l2_tuner *a);
	int (*vidioc_g_frequency)      (struct file *file, void *fh,
					struct v4l2_frequency *a);
	int (*vidioc_s_frequency)      (struct file *file, void *fh,
					struct v4l2_frequency *a);

	/* Sliced VBI cap */
	int (*vidioc_g_sliced_vbi_cap) (struct file *file, void *fh,
					struct v4l2_sliced_vbi_cap *a);

	/* Log status ioctl */
	int (*vidioc_log_status)       (struct file *file, void *fh);

	int (*vidioc_s_hw_freq_seek)   (struct file *file, void *fh,
					struct v4l2_hw_freq_seek *a);

	/* Debugging ioctls */
#ifdef CONFIG_VIDEO_ADV_DEBUG
	int (*vidioc_g_register)       (struct file *file, void *fh,
					struct v4l2_dbg_register *reg);
	int (*vidioc_s_register)       (struct file *file, void *fh,
					struct v4l2_dbg_register *reg);
#endif
	int (*vidioc_g_chip_ident)     (struct file *file, void *fh,
					struct v4l2_dbg_chip_ident *chip);

	int (*vidioc_enum_framesizes)   (struct file *file, void *fh,
					 struct v4l2_frmsizeenum *fsize);

	int (*vidioc_enum_frameintervals) (struct file *file, void *fh,
					   struct v4l2_frmivalenum *fival);

	/* For other private ioctls */
	long (*vidioc_default)	       (struct file *file, void *fh,
					int cmd, void *arg);
};


/* v4l debugging and diagnostics */

/* Debug bitmask flags to be used on V4L2 */
#define V4L2_DEBUG_IOCTL     0x01
#define V4L2_DEBUG_IOCTL_ARG 0x02

/* Use this macro for non-I2C drivers. Pass the driver name as the first arg. */
#define v4l_print_ioctl(name, cmd)  		 \
	do {  					 \
		printk(KERN_DEBUG "%s: ", name); \
		v4l_printk_ioctl(cmd);		 \
	} while (0)

/* Use this macro in I2C drivers where 'client' is the struct i2c_client
   pointer */
#define v4l_i2c_print_ioctl(client, cmd) 		   \
	do {      					   \
		v4l_client_printk(KERN_DEBUG, client, ""); \
		v4l_printk_ioctl(cmd);			   \
	} while (0)

/*  Video standard functions  */
extern const char *v4l2_norm_to_name(v4l2_std_id id);
extern void v4l2_video_std_frame_period(int id, struct v4l2_fract *frameperiod);
extern int v4l2_video_std_construct(struct v4l2_standard *vs,
				    int id, const char *name);
/* Prints the ioctl in a human-readable format */
extern void v4l_printk_ioctl(unsigned int cmd);

/* names for fancy debug output */
extern const char *v4l2_field_names[];
extern const char *v4l2_type_names[];

/*  Compatibility layer interface  --  v4l1-compat module */
typedef long (*v4l2_kioctl)(struct file *file,
			   unsigned int cmd, void *arg);
#ifdef CONFIG_VIDEO_V4L1_COMPAT
long v4l_compat_translate_ioctl(struct file *file,
			       int cmd, void *arg, v4l2_kioctl driver_ioctl);
#else
#define v4l_compat_translate_ioctl(file, cmd, arg, ioctl) (-EINVAL)
#endif

#ifdef CONFIG_COMPAT
/* 32 Bits compatibility layer for 64 bits processors */
extern long v4l2_compat_ioctl32(struct file *file, unsigned int cmd,
				unsigned long arg);
#endif

/* Include support for obsoleted stuff */
extern long video_usercopy(struct file *file, unsigned int cmd,
				unsigned long arg, v4l2_kioctl func);

/* Standard handlers for V4L ioctl's */
extern long video_ioctl2(struct file *file,
			unsigned int cmd, unsigned long arg);

#endif /* _V4L2_IOCTL_H */
/*
 *
 *	V 4 L 2   D R I V E R   H E L P E R   A P I
 *
 * Moved from videodev2.h
 *
 *	Some commonly needed functions for drivers (v4l2-common.o module)
 */
#ifndef _V4L2_DEV_H
#define _V4L2_DEV_H

#include <linux/poll.h>
#include <linux/fs.h>
#include <linux/device.h>
#include <linux/cdev.h>
#include <linux/mutex.h>
#include <linux/videodev2.h>

#define VIDEO_MAJOR	81

#define VFL_TYPE_GRABBER	0
#define VFL_TYPE_VBI		1
#define VFL_TYPE_RADIO		2
#define VFL_TYPE_VTX		3
#define VFL_TYPE_MAX		4

struct v4l2_ioctl_callbacks;
struct video_device;
struct v4l2_device;

/* Flag to mark the video_device struct as unregistered.
   Drivers can set this flag if they want to block all future
   device access. It is set by video_unregister_device. */
#define V4L2_FL_UNREGISTERED	(0)

struct v4l2_file_operations {
	struct module *owner;
	ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
	ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
	unsigned int (*poll) (struct file *, struct poll_table_struct *);
	long (*ioctl) (struct file *, unsigned int, unsigned long);
	long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
	unsigned long (*get_unmapped_area) (struct file *, unsigned long,
				unsigned long, unsigned long, unsigned long);
	int (*mmap) (struct file *, struct vm_area_struct *);
	int (*open) (struct file *);
	int (*release) (struct file *);
};

/*
 * Newer version of video_device, handled by videodev2.c
 * 	This version moves redundant code from video device code to
 *	the common handler
 */

struct video_device
{
	/* device ops */
	const struct v4l2_file_operations *fops;

	/* sysfs */
	struct device dev;		/* v4l device */
	struct cdev *cdev;		/* character device */

	/* Set either parent or v4l2_dev if your driver uses v4l2_device */
	struct device *parent;		/* device parent */
	struct v4l2_device *v4l2_dev;	/* v4l2_device parent */

	/* device info */
	char name[32];
	int vfl_type;
	/* 'minor' is set to -1 if the registration failed */
	int minor;
	u16 num;
	/* use bitops to set/clear/test flags */
	unsigned long flags;
	/* attribute to differentiate multiple indices on one physical device */
	int index;

	int debug;			/* Activates debug level*/

	/* Video standard vars */
	v4l2_std_id tvnorms;		/* Supported tv norms */
	v4l2_std_id current_norm;	/* Current tvnorm */

	/* callbacks */
	void (*release)(struct video_device *vdev);

	/* ioctl callbacks */
	const struct v4l2_ioctl_ops *ioctl_ops;
};

/* dev to video-device */
#define to_video_device(cd) container_of(cd, struct video_device, dev)

/* Register video devices. Note that if video_register_device fails,
   the release() callback of the video_device structure is *not* called, so
   the caller is responsible for freeing any data. Usually that means that
   you call video_device_release() on failure.

   Also note that vdev->minor is set to -1 if the registration failed. */
int __must_check video_register_device(struct video_device *vdev, int type, int nr);

/* Same as video_register_device, but no warning is issued if the desired
   device node number was already in use. */
int __must_check video_register_device_no_warn(struct video_device *vdev, int type, int nr);

/* Unregister video devices. Will do nothing if vdev == NULL or
   vdev->minor < 0. */
void video_unregister_device(struct video_device *vdev);

/* helper functions to alloc/release struct video_device, the
   latter can also be used for video_device->release(). */
struct video_device * __must_check video_device_alloc(void);

/* this release function frees the vdev pointer */
void video_device_release(struct video_device *vdev);

/* this release function does nothing, use when the video_device is a
   static global struct. Note that having a static video_device is
   a dubious construction at best. */
void video_device_release_empty(struct video_device *vdev);

/* helper functions to access driver private data. */
static inline void *video_get_drvdata(struct video_device *vdev)
{
	return dev_get_drvdata(&vdev->dev);
}

static inline void video_set_drvdata(struct video_device *vdev, void *data)
{
	dev_set_drvdata(&vdev->dev, data);
}

struct video_device *video_devdata(struct file *file);

/* Combine video_get_drvdata and video_devdata as this is
   used very often. */
static inline void *video_drvdata(struct file *file)
{
	return video_get_drvdata(video_devdata(file));
}

static inline int video_is_unregistered(struct video_device *vdev)
{
	return test_bit(V4L2_FL_UNREGISTERED, &vdev->flags);
}

#endif /* _V4L2_DEV_H */
#ifndef _V4L2_SUBDEV_H
#define _V4L2_SUBDEV_H

#include <media/v4l2-common.h>

struct v4l2_device;
struct v4l2_subdev;
struct tuner_setup;

/* decode_vbi_line */
struct v4l2_decode_vbi_line {
	u32 is_second_field;	/* Set to 0 for the first (odd) field,
				   set to 1 for the second (even) field. */
	u8 *p; 			/* Pointer to the sliced VBI data from the decoder.
				   On exit points to the start of the payload. */
	u32 line;		/* Line number of the sliced VBI data (1-23) */
	u32 type;		/* VBI service type (V4L2_SLICED_*). 0 if no service found */
};

/* Sub-devices are devices that are connected somehow to the main bridge
   device. These devices are usually audio/video muxers/encoders/decoders or
   sensors and webcam controllers.

   Usually these devices are controlled through an i2c bus, but other busses
   may also be used.

   The v4l2_subdev struct provides a way of accessing these devices in a
   generic manner. Most operations that these sub-devices support fall in
   a few categories: core ops, audio ops, video ops and tuner ops.

   More categories can be added if needed, although this should remain a
   limited set (no more than approx. 8 categories).

   Each category has its own set of ops that subdev drivers can implement.

   A subdev driver can leave the pointer to the category ops NULL if
   it does not implement them (e.g. an audio subdev will generally not
   implement the video category ops). The exception is the core category:
   this must always be present.

   These ops are all used internally so it is no problem to change, remove
   or add ops or move ops from one to another category. Currently these
   ops are based on the original ioctls, but since ops are not limited to
   one argument there is room for improvement here once all i2c subdev
   drivers are converted to use these ops.
 */

/* Core ops: it is highly recommended to implement at least these ops:

   g_chip_ident
   log_status
   g_register
   s_register

   This provides basic debugging support.

   The ioctl ops is meant for generic ioctl-like commands. Depending on
   the use-case it might be better to use subdev-specific ops (currently
   not yet implemented) since ops provide proper type-checking.
 */

/* s_config: if set, then it is always called by the v4l2_i2c_new_subdev*
	functions after the v4l2_subdev was registered. It is used to pass
	platform data to the subdev which can be used during initialization.

   init: initialize the sensor registors to some sort of reasonable default
	values. Do not use for new drivers and should be removed in existing
	drivers.

   load_fw: load firmware.

   reset: generic reset command. The argument selects which subsystems to
	reset. Passing 0 will always reset the whole chip. Do not use for new
	drivers without discussing this first on the linux-media mailinglist.
	There should be no reason normally to reset a device.

   s_gpio: set GPIO pins. Very simple right now, might need to be extended with
	a direction argument if needed.
 */
struct v4l2_subdev_core_ops {
	int (*g_chip_ident)(struct v4l2_subdev *sd, struct v4l2_dbg_chip_ident *chip);
	int (*log_status)(struct v4l2_subdev *sd);
	int (*s_config)(struct v4l2_subdev *sd, int irq, void *platform_data);
	int (*init)(struct v4l2_subdev *sd, u32 val);
	int (*load_fw)(struct v4l2_subdev *sd);
	int (*reset)(struct v4l2_subdev *sd, u32 val);
	int (*s_gpio)(struct v4l2_subdev *sd, u32 val);
	int (*queryctrl)(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc);
	int (*g_ctrl)(struct v4l2_subdev *sd, struct v4l2_control *ctrl);
	int (*s_ctrl)(struct v4l2_subdev *sd, struct v4l2_control *ctrl);
	int (*g_ext_ctrls)(struct v4l2_subdev *sd, struct v4l2_ext_controls *ctrls);
	int (*s_ext_ctrls)(struct v4l2_subdev *sd, struct v4l2_ext_controls *ctrls);
	int (*try_ext_ctrls)(struct v4l2_subdev *sd, struct v4l2_ext_controls *ctrls);
	int (*querymenu)(struct v4l2_subdev *sd, struct v4l2_querymenu *qm);
	int (*s_std)(struct v4l2_subdev *sd, v4l2_std_id norm);
	long (*ioctl)(struct v4l2_subdev *sd, unsigned int cmd, void *arg);
#ifdef CONFIG_VIDEO_ADV_DEBUG
	int (*g_register)(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg);
	int (*s_register)(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg);
#endif
};

/* s_mode: switch the tuner to a specific tuner mode. Replacement of s_radio.

   s_radio: v4l device was opened in Radio mode, to be replaced by s_mode.

   s_type_addr: sets tuner type and its I2C addr.

   s_config: sets tda9887 specific stuff, like port1, port2 and qss

   s_standby: puts tuner on powersaving state, disabling it, except for i2c.
 */
struct v4l2_subdev_tuner_ops {
	int (*s_mode)(struct v4l2_subdev *sd, enum v4l2_tuner_type);
	int (*s_radio)(struct v4l2_subdev *sd);
	int (*s_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq);
	int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq);
	int (*g_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt);
	int (*s_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt);
	int (*g_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm);
	int (*s_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm);
	int (*s_type_addr)(struct v4l2_subdev *sd, struct tuner_setup *type);
	int (*s_config)(struct v4l2_subdev *sd, const struct v4l2_priv_tun_config *config);
	int (*s_standby)(struct v4l2_subdev *sd);
};

/* s_clock_freq: set the frequency (in Hz) of the audio clock output.
	Used to slave an audio processor to the video decoder, ensuring that
	audio and video remain synchronized. Usual values for the frequency
	are 48000, 44100 or 32000 Hz. If the frequency is not supported, then
	-EINVAL is returned.

   s_i2s_clock_freq: sets I2S speed in bps. This is used to provide a standard
	way to select I2S clock used by driving digital audio streams at some
	board designs. Usual values for the frequency are 1024000 and 2048000.
	If the frequency is not supported, then -EINVAL is returned.

   s_routing: used to define the input and/or output pins of an audio chip,
	and any additional configuration data.
	Never attempt to use user-level input IDs (e.g. Composite, S-Video,
	Tuner) at this level. An i2c device shouldn't know about whether an
	input pin is connected to a Composite connector, become on another
	board or platform it might be connected to something else entirely.
	The calling driver is responsible for mapping a user-level input to
	the right pins on the i2c device.
 */
struct v4l2_subdev_audio_ops {
	int (*s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
	int (*s_i2s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
	int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config);
};

/*
   decode_vbi_line: video decoders that support sliced VBI need to implement
	this ioctl. Field p of the v4l2_sliced_vbi_line struct is set to the
	start of the VBI data that was generated by the decoder. The driver
	then parses the sliced VBI data and sets the other fields in the
	struct accordingly. The pointer p is updated to point to the start of
	the payload which can be copied verbatim into the data field of the
	v4l2_sliced_vbi_data struct. If no valid VBI data was found, then the
	type field is set to 0 on return.

   s_vbi_data: used to generate VBI signals on a video signal.
	v4l2_sliced_vbi_data is filled with the data packets that should be
	output. Note that if you set the line field to 0, then that VBI signal
	is disabled. If no valid VBI data was found, then the type field is
	set to 0 on return.

   g_vbi_data: used to obtain the sliced VBI packet from a readback register.
	Not all video decoders support this. If no data is available because
	the readback register contains invalid or erroneous data -EIO is
	returned. Note that you must fill in the 'id' member and the 'field'
	member (to determine whether CC data from the first or second field
	should be obtained).

   s_std_output: set v4l2_std_id for video OUTPUT devices. This is ignored by
	video input devices.

  s_crystal_freq: sets the frequency of the crystal used to generate the
	clocks in Hz. An extra flags field allows device specific configuration
	regarding clock frequency dividers, etc. If not used, then set flags
	to 0. If the frequency is not supported, then -EINVAL is returned.

   g_input_status: get input status. Same as the status field in the v4l2_input
	struct.

   s_routing: see s_routing in audio_ops, except this version is for video
	devices.
 */
struct v4l2_subdev_video_ops {
	int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config);
	int (*s_crystal_freq)(struct v4l2_subdev *sd, u32 freq, u32 flags);
	int (*decode_vbi_line)(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi_line);
	int (*s_vbi_data)(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *vbi_data);
	int (*g_vbi_data)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_data *vbi_data);
	int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_cap *cap);
	int (*s_std_output)(struct v4l2_subdev *sd, v4l2_std_id std);
	int (*querystd)(struct v4l2_subdev *sd, v4l2_std_id *std);
	int (*g_input_status)(struct v4l2_subdev *sd, u32 *status);
	int (*s_stream)(struct v4l2_subdev *sd, int enable);
	int (*enum_fmt)(struct v4l2_subdev *sd, struct v4l2_fmtdesc *fmtdesc);
	int (*g_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt);
	int (*try_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt);
	int (*s_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt);
	int (*cropcap)(struct v4l2_subdev *sd, struct v4l2_cropcap *cc);
	int (*g_crop)(struct v4l2_subdev *sd, struct v4l2_crop *crop);
	int (*s_crop)(struct v4l2_subdev *sd, struct v4l2_crop *crop);
	int (*g_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param);
	int (*s_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param);
	int (*enum_framesizes)(struct v4l2_subdev *sd, struct v4l2_frmsizeenum *fsize);
	int (*enum_frameintervals)(struct v4l2_subdev *sd, struct v4l2_frmivalenum *fival);
};

struct v4l2_subdev_ops {
	const struct v4l2_subdev_core_ops  *core;
	const struct v4l2_subdev_tuner_ops *tuner;
	const struct v4l2_subdev_audio_ops *audio;
	const struct v4l2_subdev_video_ops *video;
};

#define V4L2_SUBDEV_NAME_SIZE 32

/* Set this flag if this subdev is a i2c device. */
#define V4L2_SUBDEV_FL_IS_I2C (1U << 0)

/* Each instance of a subdev driver should create this struct, either
   stand-alone or embedded in a larger struct.
 */
struct v4l2_subdev {
	struct list_head list;
	struct module *owner;
	u32 flags;
	struct v4l2_device *v4l2_dev;
	const struct v4l2_subdev_ops *ops;
	/* name must be unique */
	char name[V4L2_SUBDEV_NAME_SIZE];
	/* can be used to group similar subdevs, value is driver-specific */
	u32 grp_id;
	/* pointer to private data */
	void *priv;
};

static inline void v4l2_set_subdevdata(struct v4l2_subdev *sd, void *p)
{
	sd->priv = p;
}

static inline void *v4l2_get_subdevdata(const struct v4l2_subdev *sd)
{
	return sd->priv;
}

static inline void v4l2_subdev_init(struct v4l2_subdev *sd,
					const struct v4l2_subdev_ops *ops)
{
	INIT_LIST_HEAD(&sd->list);
	/* ops->core MUST be set */
	BUG_ON(!ops || !ops->core);
	sd->ops = ops;
	sd->v4l2_dev = NULL;
	sd->flags = 0;
	sd->name[0] = '\0';
	sd->grp_id = 0;
	sd->priv = NULL;
}

/* Call an ops of a v4l2_subdev, doing the right checks against
   NULL pointers.

   Example: err = v4l2_subdev_call(sd, core, g_chip_ident, &chip);
 */
#define v4l2_subdev_call(sd, o, f, args...)				\
	(!(sd) ? -ENODEV : (((sd) && (sd)->ops->o && (sd)->ops->o->f) ?	\
		(sd)->ops->o->f((sd) , ##args) : -ENOIOCTLCMD))

/* Send a notification to v4l2_device. */
#define v4l2_subdev_notify(sd, notification, arg)			   \
	((!(sd) || !(sd)->v4l2_dev || !(sd)->v4l2_dev->notify) ? -ENODEV : \
	 (sd)->v4l2_dev->notify((sd), (notification), (arg)))

#endif

Dernière modification par enebre (Le 02/05/2010, à 20:52)

Hors ligne

#80 Le 02/05/2010, à 21:30

freechelmi

Re : Empathy, telepathy et msn en audio/vidéo.

fl0ow a écrit :

A quoi ça servirai d'effacer le répertoire de conf d'empathy ? Je veux dire ça va pas le faire planter ?

Bon créer un nouvel utilisateur de test et lances empathy sur sa session. C'est une suggestion.

Hors ligne

#81 Le 02/05/2010, à 21:34

freechelmi

Re : Empathy, telepathy et msn en audio/vidéo.

enebre a écrit :

C'est sympa d'accepter de m'aider .
je n'ai plus skype ni amsn, et cheese refuse toujours de s'ouvrir, pourtant ma webcam est là !

Ma suggestion : lance ekiga , voit si ta webcam est bien vu dans les preferences, prévisualise la et rapporte nous l'erreur.

Autre suggestion :  essaye avec v4lCtrlGui. J'ai fait un version binaire 32 bits

http://memeteau.com/v4lCTRLGUI_32b.tar.gz

Tu dezippe et lance avec

 export LD_LIBRARY_PATH=. && ./v4lctrlgui

Dernière modification par freechelmi (Le 02/05/2010, à 22:13)

Hors ligne

#82 Le 02/05/2010, à 22:30

enebre

Re : Empathy, telepathy et msn en audio/vidéo.

ok , voilà le retour du gui , toujours pas de vidéo qui s'ouvre ...

$  export LD_LIBRARY_PATH=. && ./v4lctrlgui
close previous device (0)
result (0)
try open /dev/video0 device
try direct access to /dev/video0
device /dev/video0 open for read
general info

    VIDIOC_QUERYCTRL (9963776)
Brightness

    VIDIOC_QUERYCTRL (9963776 | V4L2_CTRL_FLAG_NEXT_CTRL)
Contrast

    VIDIOC_QUERYCTRL (9963777 | V4L2_CTRL_FLAG_NEXT_CTRL)
Saturation

    VIDIOC_QUERYCTRL (9963778 | V4L2_CTRL_FLAG_NEXT_CTRL)
White Balance Temperature, Auto

    VIDIOC_QUERYCTRL (9963788 | V4L2_CTRL_FLAG_NEXT_CTRL)
Gamma

    VIDIOC_QUERYCTRL (9963792 | V4L2_CTRL_FLAG_NEXT_CTRL)
Gain

    VIDIOC_QUERYCTRL (9963795 | V4L2_CTRL_FLAG_NEXT_CTRL)
Power Line Frequency
Unsupported type of control. Try v4lctrlcli.

    VIDIOC_QUERYCTRL (9963800 | V4L2_CTRL_FLAG_NEXT_CTRL)
White Balance Temperature

    VIDIOC_QUERYCTRL (9963802 | V4L2_CTRL_FLAG_NEXT_CTRL)
Sharpness

    VIDIOC_QUERYCTRL (9963803 | V4L2_CTRL_FLAG_NEXT_CTRL)
Backlight Compensation

    VIDIOC_QUERYCTRL (9963804 | V4L2_CTRL_FLAG_NEXT_CTRL)
Exposure, Auto
Unsupported type of control. Try v4lctrlcli.

    VIDIOC_QUERYCTRL (10094849 | V4L2_CTRL_FLAG_NEXT_CTRL)
Exposure (Absolute)

    VIDIOC_QUERYCTRL (10094850 | V4L2_CTRL_FLAG_NEXT_CTRL)
        break
close previous device (18)
result (0)
try open /dev/video0 device
try direct access to /dev/video0
device /dev/video0 open for read
general info

    VIDIOC_QUERYCTRL (9963776)
Brightness

    VIDIOC_QUERYCTRL (9963776 | V4L2_CTRL_FLAG_NEXT_CTRL)
Contrast

    VIDIOC_QUERYCTRL (9963777 | V4L2_CTRL_FLAG_NEXT_CTRL)
Saturation

    VIDIOC_QUERYCTRL (9963778 | V4L2_CTRL_FLAG_NEXT_CTRL)
White Balance Temperature, Auto

    VIDIOC_QUERYCTRL (9963788 | V4L2_CTRL_FLAG_NEXT_CTRL)
Gamma

    VIDIOC_QUERYCTRL (9963792 | V4L2_CTRL_FLAG_NEXT_CTRL)
Gain

    VIDIOC_QUERYCTRL (9963795 | V4L2_CTRL_FLAG_NEXT_CTRL)
Power Line Frequency
Unsupported type of control. Try v4lctrlcli.

    VIDIOC_QUERYCTRL (9963800 | V4L2_CTRL_FLAG_NEXT_CTRL)
White Balance Temperature

    VIDIOC_QUERYCTRL (9963802 | V4L2_CTRL_FLAG_NEXT_CTRL)
Sharpness

    VIDIOC_QUERYCTRL (9963803 | V4L2_CTRL_FLAG_NEXT_CTRL)
Backlight Compensation

    VIDIOC_QUERYCTRL (9963804 | V4L2_CTRL_FLAG_NEXT_CTRL)
Exposure, Auto
Unsupported type of control. Try v4lctrlcli.

    VIDIOC_QUERYCTRL (10094849 | V4L2_CTRL_FLAG_NEXT_CTRL)
Exposure (Absolute)

    VIDIOC_QUERYCTRL (10094850 | V4L2_CTRL_FLAG_NEXT_CTRL)
        break
close previous device (18)
result (0)
try open /dev/video0 device
try direct access to /dev/video0
device /dev/video0 open for read
general info

    VIDIOC_QUERYCTRL (9963776)
Brightness

    VIDIOC_QUERYCTRL (9963776 | V4L2_CTRL_FLAG_NEXT_CTRL)
Contrast

    VIDIOC_QUERYCTRL (9963777 | V4L2_CTRL_FLAG_NEXT_CTRL)
Saturation

    VIDIOC_QUERYCTRL (9963778 | V4L2_CTRL_FLAG_NEXT_CTRL)
White Balance Temperature, Auto

    VIDIOC_QUERYCTRL (9963788 | V4L2_CTRL_FLAG_NEXT_CTRL)
Gamma

    VIDIOC_QUERYCTRL (9963792 | V4L2_CTRL_FLAG_NEXT_CTRL)
Gain

    VIDIOC_QUERYCTRL (9963795 | V4L2_CTRL_FLAG_NEXT_CTRL)
Power Line Frequency
Unsupported type of control. Try v4lctrlcli.

    VIDIOC_QUERYCTRL (9963800 | V4L2_CTRL_FLAG_NEXT_CTRL)
White Balance Temperature

    VIDIOC_QUERYCTRL (9963802 | V4L2_CTRL_FLAG_NEXT_CTRL)
Sharpness

    VIDIOC_QUERYCTRL (9963803 | V4L2_CTRL_FLAG_NEXT_CTRL)
Backlight Compensation

    VIDIOC_QUERYCTRL (9963804 | V4L2_CTRL_FLAG_NEXT_CTRL)
Exposure, Auto
Unsupported type of control. Try v4lctrlcli.

    VIDIOC_QUERYCTRL (10094849 | V4L2_CTRL_FLAG_NEXT_CTRL)
Exposure (Absolute)

    VIDIOC_QUERYCTRL (10094850 | V4L2_CTRL_FLAG_NEXT_CTRL)
        break

Dans les préférence d'ekiga , ma webcam est bien nommée , mais comment savoir si l'affichage est fonctionnel ?

Dernière modification par enebre (Le 02/05/2010, à 22:42)

Hors ligne

#83 Le 02/05/2010, à 22:41

enebre

Re : Empathy, telepathy et msn en audio/vidéo.

Dans les préférence d'ekiga , ma webcam est bien nommée , mais comment savoir si l'affichage est fonctionnel ?

Hors ligne

#84 Le 02/05/2010, à 22:43

freechelmi

Re : Empathy, telepathy et msn en audio/vidéo.

Mais tu n'as pas d'interface graphique qui s'ouvre ?

ha oui il te manque surement ces deux libs :

    libQtGui
    libQtCore

Hors ligne

#85 Le 03/05/2010, à 07:20

enebre

Re : Empathy, telepathy et msn en audio/vidéo.

oui j'ai bien eu l'interface graphique , mais j'ai fait un copier coller depuis la console ; qui donnait autant d'info . les deux paquets signalés sont introuvables par apt-get . veux tu l'image de la console,  quelle page  ? l'info apparait en console quand , depuis le gui , je lance le device .

Dernière modification par enebre (Le 03/05/2010, à 07:25)

Hors ligne

#86 Le 03/05/2010, à 11:24

freechelmi

Hors ligne

#87 Le 04/05/2010, à 00:11

enebre

Re : Empathy, telepathy et msn en audio/vidéo.

ok , j'ai l'image de la cam dans ekiga . donc ça fonctionne jusque là .
dois je entrer un sip: ekiga obligatoirement ?
ekiga fonctionne t il sur windows ?
merci de m'avoir poussé un peu , maintenant tout ca me parait bien plus simple .

Pourrait on faire un essai ?


Pour le son, y a t il  du son ?

Dernière modification par enebre (Le 04/05/2010, à 00:22)

Hors ligne

#88 Le 04/05/2010, à 08:53

YannUbuntu

Re : Empathy, telepathy et msn en audio/vidéo.

oui il y a aussi le son et Ekiga sur windows.
voir aussi http://doc.ubuntu-fr.org/ekiga smile


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#89 Le 04/05/2010, à 09:52

freechelmi

Re : Empathy, telepathy et msn en audio/vidéo.

enebre a écrit :

ok , j'ai l'image de la cam dans ekiga . donc ça fonctionne jusque là .
dois je entrer un sip: ekiga obligatoirement ?
ekiga fonctionne t il sur windows ?
merci de m'avoir poussé un peu , maintenant tout ca me parait bien plus simple .

Cool , donc ton problème est bien lié a la detection de ta caméra par gstreamer du moins de la manière dont il essaie de l'initialiser.

Tu  pourrais utiliser Ekiga et je penses que tu en serait content ( je l'utilise regulièrement avec la famille) mais je prefere qu'on réussise a faire marcher empathy qui ouvre plus de portes avec jabber.

Si tu re lance gstreamer-properties maintenant , l'erreur reste identique?

Hors ligne

#90 Le 04/05/2010, à 15:29

enebre

Re : Empathy, telepathy et msn en audio/vidéo.

maintenant sur gstreamer-properties ma webcam s'ouvre en grand , wouah !
Si j'entends bien , vous travailler sur la vidéo d'Empathy , ça c'est cool , arrive tu à ouvrir un chat vidéo sur empathy ?
Déjà,  je vais étudier l'usage d'Ekiga   .
Grand merci

Dernière modification par enebre (Le 04/05/2010, à 16:10)

Hors ligne

#91 Le 11/05/2010, à 10:09

YannUbuntu

Re : Empathy, telepathy et msn en audio/vidéo.

freechelmi a écrit :

@Exzemat : Oui parce que Gmail.com est un serveur Jabber "ouvert" contrairement a facebook. C'est pour ça que j'estime que faire migrer ses amis sur gmail est un bon point pour "le libre".

Par contre GmailVideo a un mode tunnel http qui passent par les serveurs de google qui risquent de ne fonctionner que avec 2 adresses gmail.com il me semble. Mais il n'est utiliser que quand un des deux est derrière un proxy http.

Tres interessant. Pour ne pas polluer cette discussion je continue ici: http://forum.ubuntu-fr.org/viewtopic.php?pid=3468778#p3468778


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#92 Le 11/05/2010, à 10:56

freechelmi

Re : Empathy, telepathy et msn en audio/vidéo.

enebre a écrit :

maintenant sur gstreamer-properties ma webcam s'ouvre en grand , wouah !
Si j'entends bien , vous travailler sur la vidéo d'Empathy , ça c'est cool , arrive tu à ouvrir un chat vidéo sur empathy ?
Déjà,  je vais étudier l'usage d'Ekiga   .
Grand merci

Salut pour feter ça je pense qu'il faut que tu test Empathy avec jabber/gmail.

Si tu as des amis sur Gmail et qu'une Webcam apparait a coté d'eux, essaye un appel video via ClickDroit , appel vidéo.

Tu peux aussi essayer d'appeler l'echo de collabora , il ne marche pas toujours :

echo@test.collabora.co.uk


Tu trouveras sinon des adresses de personnes près a tester sous SIP et jabber qui ont laisser leur adresses ici :

http://forum.ubuntu-fr.org/viewtopic.php?pid=1226243#p1226243

Hors ligne

#93 Le 11/05/2010, à 11:10

enebre

Re : Empathy, telepathy et msn en audio/vidéo.

Bonjour freechelmi , arf ! la personne avec laquelle je m'apprètais à faire des essais , sa webcam n'est pas reconnue par ubuntu , c'est un portable dell inspiron avec une cam Ricoh .
je ferai un test avec les personnes volontaires de la liste ...

Dernière modification par enebre (Le 11/05/2010, à 11:11)

Hors ligne

#94 Le 11/05/2010, à 11:49

freechelmi

Re : Empathy, telepathy et msn en audio/vidéo.

A priori il devrait s'en sortir avec ce PPA

https://launchpad.net/~r5u87x-loader/+archive/ppa

Hors ligne

#95 Le 11/05/2010, à 12:05

deatrice

Re : Empathy, telepathy et msn en audio/vidéo.

j'essaye ça , voici le retour de la console

$ sudo /usr/share/r5u87x/r5u87x-download-firmware.sh
This script is going to download and install firmware for Ricoh R5U87x series
cameras. The copyright and license status of this firmware is unclear.
Do you want to proceed? [y/n] y
Downloading firmware...
Installing...
Loading firmware into your camera...
r5u87x firmware loader v0.2

Searching for device...

Error: Failed to find any supported webcams.
bea@bea:~$

ceci après avoir installé le ppa , suivant ceci:

Installation:
1. sudo add-apt-repository ppa:r5u87x-loader/ppa
2. sudo apt-get update
3. sudo apt-get install r5u87x
4. sudo /usr/share/r5u87x/r5u87x-download-firmware.sh

Dernière modification par deatrice (Le 11/05/2010, à 12:06)

Hors ligne

#96 Le 11/05/2010, à 12:10

freechelmi

Re : Empathy, telepathy et msn en audio/vidéo.

ce qui veut dire que ta webcam ne peut fonctionner qu'avec l'ancien driver.

ce firmware permet a ce que j'ai lu de faire passer des webcams comme UVC et donc avec un driver Generique.

je ne connais pas bien le sujet , j me renseigne

Hors ligne

#97 Le 04/06/2010, à 14:13

Jreg

Re : Empathy, telepathy et msn en audio/vidéo.

Bonjour à tous,

Nouveau sur Ubuntu, je me permet de m'initier dans votre fil de discussion afin d'exposer mon problème qui semble à peu près le même qu'enebre.

J'utilise actuellement empathy comme client de messagerie instantané. Après quelques réglages j'ai réussi à faire marcher les appels audio avec mes contacts gmail cependant les appels videos font planter l'appli.


Pour info j'ai remarqué que ma webcam était reconnu 1 fois sur deux par mon système. le problème se situe peut être ici. Je suis sous Lucid, avec dell m1330 et une cam intégré.

D'avance merci pour votre coup de main,

Greg

Hors ligne

#98 Le 04/06/2010, à 15:26

YannUbuntu

Re : Empathy, telepathy et msn en audio/vidéo.

Salut Greg,
la discussion ici concerne "MSN en audio/video", pas Gmail.

Donc je te propose de nous rejoindre sur cette discussion, on pourra tester ensemble et je l'espère trouver une solution smile


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#99 Le 19/06/2010, à 22:09

rsuinux

Re : Empathy, telepathy et msn en audio/vidéo.

je me permet de jouer au parasite sur ce fil de discution.
J'ai aussi des soucis avec empathy. J'ai installé la version du ppa, et je n'arrive tout simplement pas à importer les comptes irc et le compte msn de pidgin!
je lance empathy, et quand la fenetre d'import se présente, si je choisi par exemple le compte msn, puis 'suivant' ba, ya rien qui se passe....
Ca fait deux jours que je suis dessus. Ca me fatigue, la...
Une idée?
La seule trace que me donne la fenetre de debug est celle la:

empathy/Account-DEBUG: 19/06/2010 21:48:24.548297: empathy_accounts_dialog_show_application: Launching empathy-accounts (if_needed: 0, hidden: 0, account: <none selected>)
alirs que le compte était bien sélectionné, biensur.

Rémi. (au désespoire de tester empathy)


Si tu ne sais pas: demande; si tu sais: partage!

Hors ligne

#100 Le 19/06/2010, à 22:22

rsuinux

Re : Empathy, telepathy et msn en audio/vidéo.

je me permet de jouer au parasite sur ce fil de discution.
J'ai aussi des soucis avec empathy. J'ai installé la version du ppa, et je n'arrive tout simplement pas à importer les comptes irc et le compte msn de pidgin!
je lance empathy, et quand la fenetre d'import se présente, si je choisi par exemple le compte msn, puis 'suivant' ba, ya rien qui se passe....
Ca fait deux jours que je suis dessus. Ca me fatigue, la...
Une idée?
La seule trace que me donne la fenetre de debug est celle la:

empathy/Account-DEBUG: 19/06/2010 21:48:24.548297: empathy_accounts_dialog_show_application: Launching empathy-accounts (if_needed: 0, hidden: 0, account: <none selected>)
alirs que le compte était bien sélectionné, biensur.

Rémi. (au désespoire de tester empathy)


Si tu ne sais pas: demande; si tu sais: partage!

Hors ligne