Comment 67 for bug 215604

Revision history for this message
Pander (pander) wrote :

Tested OK with cheese, ekiga, amsn and skype on Ubuntu Intrepid with Linux kernel 2.6.27-11-generic. Even automatic flipping of the image when I turn the camera in the lid all the way around (away from me). See below for details and warnings. Thanks. As far as I am concerned, this can be shipped via backports or updates. :D

l# ./install

Sources newer than the module => compilation
*****************************************************************************
 1/8) [Kernel headers for current kernel installed]

 2/8) [Make is present]
*****************************************************************************
 3/8) [No old module...] Nothing to do

 4/8) [Clean up from previous compilations]
 $ make clean
make -C "/lib/modules/2.6.27-11-generic/build" SUBDIRS="nvgl" clean
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
*****************************************************************************
 5/8) [Source code generation...]
 6/8) [Compiling driver...]
 $ make driver
make -C "/lib/modules/2.6.27-11-generic/build" SUBDIRS="nvgl" modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
  CC [M] nvgl/gl860-main.o
  CC [M] nvgl/gl860-usb.o
  CC [M] nvgl/gl860-dev.o
  CC [M] nvgl/gl860-v4l.o
  CC [M] nvgl/gl860-buf.o
  CC [M] nvgl/gl860-sysfs.o
  CC [M] nvgl/gl860-bayer.o
  CC [M] nvgl/gl860-dev-f191.o
  CC [M] nvgl/gl860-dev-0503ms.o
  CC [M] nvgl/gl860-dev-0503sa.o
  CC [M] nvgl/gl860-dev-0503his.o
  LD [M] nvgl/gl860.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC nvgl/gl860.mod.o
  LD [M] nvgl/gl860.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
*****************************************************************************
 7/8) [Copying the driver to the modules location...]
 $ sudo cp gl860.ko "/lib/modules/2.6.27-11-generic/kernel/drivers/media/video/gl860.ko"

 8/8) [Creating module dependencies, this may take a while...]
 $ sudo depmod -a "/lib/modules/2.6.27-11-generic/kernel/drivers/media/video/gl860.ko"
*****************************************************************************

*****************************************************************************
[Inserting the module...]
   sudo modprobe gl860 pilote="a"

[Setting flavour...]
   grep -v gl860 /etc/modprobe.d/options 2>/dev/null > tmp
   echo 'options gl860 pilote="a" ' >> tmp
   sudo cp tmp /etc/modprobe.d/options; rm -f tmp

[Load the driver at each startup...]
   grep -v gl860 /etc/modules 2>/dev/null > tmp
   echo 'gl860' >> tmp
   sudo cp tmp /etc/modules; rm -f tmp
*****************************************************************************
Now please try Camorama or Cheese. Refer to the README file for options!

Should the driver not work, test another version suitable for your webcam Mpixel
using: './install -s'. This will prompt you for a driver flavour.

$ cheese

(cheese:16266): GStreamer-WARNING **: pad source:src returned caps which are not a real subset of its template caps

(cheese:16266): GStreamer-WARNING **: pad source:src returned caps which are not a real subset of its template caps

(cheese:16266): GStreamer-WARNING **: pad video_source:src returned caps which are not a real subset of its template caps

$ skype

[[output not related to webcam]]

skype
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dmixer
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL multiplex
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dsp0
ALSA lib pcm_dsnoop.c:532:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dsnooper
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dmixer
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL multiplex
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dsp0
ALSA lib pcm_dsnoop.c:532:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dsnooper
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dmixer
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL multiplex
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dsp0
ALSA lib pcm_dsnoop.c:532:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dsnooper
Skype V4L2: Failed to change capture framerate (15)
Starting the process...

[[started testing webcam]]

Skype Xv: Xv ports available: 32
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 280

$ ekiga

[[output not related to webcam]]

(ekiga:16764): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(ekiga:16764): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(ekiga:16764): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(ekiga:16764): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(ekiga:16764): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

$ amsn

[[output not related to webcam]]