Hi all,

I've got a picture too, using the same module and the same patch than
Christophe in m5602-ov9650-2 branches. I'm running Ubuntu Hardy on an
Asus laptop A6VM-Q017H.

Some feedbacks :
 * All images are upside down.
 * BAYER mode works.
 * All RGB32 modes works.
 * All RGB24 modes segfault without freeze.

 * "Adjust Pitch" works only on BAYER mode.
 * "Snapshot" works.
* "Capture Sequence" send me back: //Video capture Failed! Please make sure that you selected the right pixel format for proper encoding.//
 * "Controls" totally freezes.

Even if a hwlink /dev/videoX is created, livecam is the
only one software able to read the video stream.

Thanks for developing this driver. If I can help...
Best regards.

--
Maxime D.


Attached files :
dmesg
lsusb -v
pictures http://perso.crans.org/danis/m5602/


Bus 005 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0402 ALi Corp.
  idProduct          0x5602 Video Camera Controller
  bcdDevice            1.00
  iManufacturer           0 
  iProduct                1 USB2.0 Camera
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          101
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1380  3x 896 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1300  3x 768 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               4
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
> sudo modprobe m5602
        Linux video capture interface: v2.00
        /home/Maxime/webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: 
usb_m5602_init - WebCam driver startup
        /home/Maxime/webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: 
BisonCam webcam found.
        /home/Maxime/webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: 
Probing for an ov9650 sensor
        /home/Maxime/webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: 
m5602_probe - m5602 WebCam driver is now controlling video device 0
        usbcore: registered new interface driver m5602
        /home/Maxime/webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: 
0.1.0:M5602 Webcam Driver

>livecam
        
/home/Maxime/webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602_v4l2.c: 
BisonCam on /dev/video0 opened

> sudo modprobe -r m5602
        /home/Maxime/webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: 
usb_m5602_exit - WebCam driver shutdown
        usbcore: deregistering interface driver m5602
        /home/Maxime/webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: 
m5602 release resources video device 0
        /home/Maxime/webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: 
m5602_disconnect- M560x-based WebCam disconnected

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Reply via email to