All of lore.kernel.org
 help / color / mirror / Atom feed
* Videomed Videosmart VX-3001
@ 2010-09-14 16:19 Paweł Kuźniar
  2010-09-14 22:11 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 4+ messages in thread
From: Paweł Kuźniar @ 2010-09-14 16:19 UTC (permalink / raw)
  To: linux-media

I've just got my hands on Videosmart VX-3001 medical video-grabber. It
seems it has some common hardware under the hood, but I only managed
to get dark-green screen in Cheese.  I include some of my specs,
dmesg and lsub. Being completely green in driver development I'd like
to get some help in figuring out  how to make it work.


 2.6.35-20-generic #29-Ubuntu SMP Fri Sep 3 14:55:28 UTC 2010 x86_64 GNU/Linux

Bus 001 Device 004: ID eb1a:2861 eMPIA Technology, Inc.
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0        64
 idVendor           0xeb1a eMPIA Technology, Inc.
 idProduct          0x2861
 bcdDevice            1.00
 iManufacturer           0
 iProduct                0
 iSerial                 0
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength          555
   bNumInterfaces          3
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0x80
     (Bus Powered)
   MaxPower              500mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol    255
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0001  1x 1 bytes
       bInterval              11
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 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     0x84  EP 4 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       1
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol    255
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0001  1x 1 bytes
       bInterval              11
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 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     0x84  EP 4 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       2
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol    255
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0001  1x 1 bytes
       bInterval              11
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0ad4  2x 724 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       3
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol    255
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0001  1x 1 bytes
       bInterval              11
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0c00  2x 1024 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       4
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol    255
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0001  1x 1 bytes
       bInterval              11
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 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     0x84  EP 4 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       5
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol    255
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0001  1x 1 bytes
       bInterval              11
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x135c  3x 860 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       6
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol    255
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0001  1x 1 bytes
       bInterval              11
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x13c4  3x 964 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       7
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol    255
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0001  1x 1 bytes
       bInterval              11
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 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     0x84  EP 4 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       0
     bNumEndpoints           0
     bInterfaceClass         1 Audio
     bInterfaceSubClass      1 Control Device
     bInterfaceProtocol      0
     iInterface              0
     AudioControl Interface Descriptor:
       bLength                 9
       bDescriptorType        36
       bDescriptorSubtype      1 (HEADER)
       bcdADC               1.00
       wTotalLength           39
       bInCollection           1
       baInterfaceNr( 0)       2
     AudioControl Interface Descriptor:
       bLength                12
       bDescriptorType        36
       bDescriptorSubtype      2 (INPUT_TERMINAL)
       bTerminalID             1
       wTerminalType      0x0603 Line Connector
       bAssocTerminal          0
       bNrChannels             2
       wChannelConfig     0x0003
         Left Front (L)
         Right Front (R)
       iChannelNames           0
       iTerminal               0
     AudioControl Interface Descriptor:
       bLength                 9
       bDescriptorType        36
       bDescriptorSubtype      6 (FEATURE_UNIT)
       bUnitID                 2
       bSourceID               1
       bControlSize            1
       bmaControls( 0)      0x03
         Mute
         Volume
       bmaControls( 1)      0x00
       iFeature                0
     AudioControl Interface Descriptor:
       bLength                 9
       bDescriptorType        36
       bDescriptorSubtype      3 (OUTPUT_TERMINAL)
       bTerminalID             3
       wTerminalType      0x0101 USB Streaming
       bAssocTerminal          0
       bSourceID               2
       iTerminal               0
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         1 Audio
     bInterfaceSubClass      2 Streaming
     bInterfaceProtocol      0
     iInterface              0
     AudioStreaming Interface Descriptor:
       bLength                 7
       bDescriptorType        36
       bDescriptorSubtype      1 (AS_GENERAL)
       bTerminalLink           3
       bDelay                  1 frames
       wFormatTag              1 PCM
     AudioStreaming Interface Descriptor:
       bLength                11
       bDescriptorType        36
       bDescriptorSubtype      2 (FORMAT_TYPE)
       bFormatType             1 (FORMAT_TYPE_I)
       bNrChannels             2
       bSubframeSize           2
       bBitResolution         16
       bSamFreqType            1 Discrete
       tSamFreq[ 0]            0
     Endpoint Descriptor:
       bLength                 9
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               4
       bRefresh                0
       bSynchAddress           0
       AudioControl Endpoint Descriptor:
         bLength                 7
         bDescriptorType        37
         bDescriptorSubtype      1 (EP_GENERAL)
         bmAttributes         0x00
         bLockDelayUnits         0 Undefined
         wLockDelay              0 Undefined
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       1
     bNumEndpoints           1
     bInterfaceClass         1 Audio
     bInterfaceSubClass      2 Streaming
     bInterfaceProtocol      0
     iInterface              0
     AudioStreaming Interface Descriptor:
       bLength                 7
       bDescriptorType        36
       bDescriptorSubtype      1 (AS_GENERAL)
       bTerminalLink           3
       bDelay                  1 frames
       wFormatTag              1 PCM
     AudioStreaming Interface Descriptor:
       bLength                11
       bDescriptorType        36
       bDescriptorSubtype      2 (FORMAT_TYPE)
       bFormatType             1 (FORMAT_TYPE_I)
       bNrChannels             2
       bSubframeSize           2
       bBitResolution         16
       bSamFreqType            1 Discrete
       tSamFreq[ 0]        48000
     Endpoint Descriptor:
       bLength                 9
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x00c4  1x 196 bytes
       bInterval               4
       bRefresh                0
       bSynchAddress           0
       AudioControl Endpoint Descriptor:
         bLength                 7
         bDescriptorType        37
         bDescriptorSubtype      1 (EP_GENERAL)
         bmAttributes         0x00
         bLockDelayUnits         0 Undefined
         wLockDelay              0 Undefined
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       2
     bNumEndpoints           1
     bInterfaceClass         1 Audio
     bInterfaceSubClass      2 Streaming
     bInterfaceProtocol      0
     iInterface              0
     AudioStreaming Interface Descriptor:
       bLength                 7
       bDescriptorType        36
       bDescriptorSubtype      1 (AS_GENERAL)
       bTerminalLink           3
       bDelay                  1 frames
       wFormatTag              1 PCM
     AudioStreaming Interface Descriptor:
       bLength                11
       bDescriptorType        36
       bDescriptorSubtype      2 (FORMAT_TYPE)
       bFormatType             1 (FORMAT_TYPE_I)
       bNrChannels             2
       bSubframeSize           2
       bBitResolution         16
       bSamFreqType            1 Discrete
       tSamFreq[ 0]        44100
     Endpoint Descriptor:
       bLength                 9
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x00b4  1x 180 bytes
       bInterval               4
       bRefresh                0
       bSynchAddress           0
       AudioControl Endpoint Descriptor:
         bLength                 7
         bDescriptorType        37
         bDescriptorSubtype      1 (EP_GENERAL)
         bmAttributes         0x00
         bLockDelayUnits         0 Undefined
         wLockDelay              0 Undefined
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       3
     bNumEndpoints           1
     bInterfaceClass         1 Audio
     bInterfaceSubClass      2 Streaming
     bInterfaceProtocol      0
     iInterface              0
     AudioStreaming Interface Descriptor:
       bLength                 7
       bDescriptorType        36
       bDescriptorSubtype      1 (AS_GENERAL)
       bTerminalLink           3
       bDelay                  1 frames
       wFormatTag              1 PCM
     AudioStreaming Interface Descriptor:
       bLength                11
       bDescriptorType        36
       bDescriptorSubtype      2 (FORMAT_TYPE)
       bFormatType             1 (FORMAT_TYPE_I)
       bNrChannels             2
       bSubframeSize           2
       bBitResolution         16
       bSamFreqType            1 Discrete
       tSamFreq[ 0]        32000
     Endpoint Descriptor:
       bLength                 9
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0084  1x 132 bytes
       bInterval               4
       bRefresh                0
       bSynchAddress           0
       AudioControl Endpoint Descriptor:
         bLength                 7
         bDescriptorType        37
         bDescriptorSubtype      1 (EP_GENERAL)
         bmAttributes         0x00
         bLockDelayUnits         0 Undefined
         wLockDelay              0 Undefined
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       4
     bNumEndpoints           1
     bInterfaceClass         1 Audio
     bInterfaceSubClass      2 Streaming
     bInterfaceProtocol      0
     iInterface              0
     AudioStreaming Interface Descriptor:
       bLength                 7
       bDescriptorType        36
       bDescriptorSubtype      1 (AS_GENERAL)
       bTerminalLink           3
       bDelay                  1 frames
       wFormatTag              1 PCM
     AudioStreaming Interface Descriptor:
       bLength                11
       bDescriptorType        36
       bDescriptorSubtype      2 (FORMAT_TYPE)
       bFormatType             1 (FORMAT_TYPE_I)
       bNrChannels             2
       bSubframeSize           2
       bBitResolution         16
       bSamFreqType            1 Discrete
       tSamFreq[ 0]        16000
     Endpoint Descriptor:
       bLength                 9
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0044  1x 68 bytes
       bInterval               4
       bRefresh                0
       bSynchAddress           0
       AudioControl Endpoint Descriptor:
         bLength                 7
         bDescriptorType        37
         bDescriptorSubtype      1 (EP_GENERAL)
         bmAttributes         0x00
         bLockDelayUnits         0 Undefined
         wLockDelay              0 Undefined
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       5
     bNumEndpoints           1
     bInterfaceClass         1 Audio
     bInterfaceSubClass      2 Streaming
     bInterfaceProtocol      0
     iInterface              0
     AudioStreaming Interface Descriptor:
       bLength                 7
       bDescriptorType        36
       bDescriptorSubtype      1 (AS_GENERAL)
       bTerminalLink           3
       bDelay                  1 frames
       wFormatTag              1 PCM
     AudioStreaming Interface Descriptor:
       bLength                11
       bDescriptorType        36
       bDescriptorSubtype      2 (FORMAT_TYPE)
       bFormatType             1 (FORMAT_TYPE_I)
       bNrChannels             2
       bSubframeSize           2
       bBitResolution         16
       bSamFreqType            1 Discrete
       tSamFreq[ 0]         8000
     Endpoint Descriptor:
       bLength                 9
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0024  1x 36 bytes
       bInterval               4
       bRefresh                0
       bSynchAddress           0
       AudioControl Endpoint Descriptor:
         bLength                 7
         bDescriptorType        37
         bDescriptorSubtype      1 (EP_GENERAL)
         bmAttributes         0x00
         bLockDelayUnits         0 Undefined
         wLockDelay              0 Undefined

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         0 Full speed (or root) hub
 bMaxPacketSize0        64
 idVendor           0x1d6b Linux Foundation
 idProduct          0x0002 2.0 root hub
 bcdDevice            2.06
 iManufacturer           3
 iProduct                2
 iSerial                 1
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xe0
     Self Powered
     Remote Wakeup
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0 Full speed (or root) hub
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0004  1x 4 bytes
       bInterval              12



[  177.200295] usb 1-3: new high speed USB device using ehci_hcd and address 4
[  177.492308] Linux video capture interface: v2.00
[  177.493907] IR NEC protocol handler initialized
[  177.499529] IR RC5(x) protocol handler initialized
[  177.564668] IR RC6 protocol handler initialized
[  177.570875] em28xx: New device @ 480 Mbps (eb1a:2861, interface 0, class 0)
[  177.571060] em28xx #0: chip ID is em2860
[  177.618639] IR JVC protocol handler initialized
[  177.621594] IR Sony protocol handler initialized
[  177.667519] lirc_dev: IR Remote Control driver registered, major 250
[  177.669829] IR LIRC bridge handler initialized
[  177.741359] em28xx #0: i2c eeprom 00: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741386] em28xx #0: i2c eeprom 10: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741409] em28xx #0: i2c eeprom 20: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741431] em28xx #0: i2c eeprom 30: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741453] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741476] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741498] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741520] em28xx #0: i2c eeprom 70: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741542] em28xx #0: i2c eeprom 80: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741564] em28xx #0: i2c eeprom 90: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741586] em28xx #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741608] em28xx #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741630] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741652] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741674] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741696] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
[  177.741719] em28xx #0: EEPROM ID= 0x00000000, EEPROM hash = 0x00000000
[  177.741724] em28xx #0: EEPROM info:
[  177.741728] em28xx #0:       No audio on board.
[  177.741732] em28xx #0:       500mA max power
[  177.741737] em28xx #0:       Table at 0x00, strings=0x0000, 0x0000, 0x0000
[  177.763662] Unknown Micron Sensor 0x0000
[  177.763672] em28xx #0: Identified as Unknown EM2750/28xx video
grabber (card=1)
[  177.764416] em28xx #0: found i2c device @ 0x0 [???]
[  177.765167] em28xx #0: found i2c device @ 0x2 [???]
[  177.765912] em28xx #0: found i2c device @ 0x4 [???]
[  177.766667] em28xx #0: found i2c device @ 0x6 [???]
[  177.767414] em28xx #0: found i2c device @ 0x8 [???]
[  177.768164] em28xx #0: found i2c device @ 0xa [???]
[  177.768572] em28xx #0: found i2c device @ 0xc [???]
[  177.768948] em28xx #0: found i2c device @ 0xe [???]
[  177.769319] em28xx #0: found i2c device @ 0x10 [???]
[  177.769695] em28xx #0: found i2c device @ 0x12 [???]
[  177.770129] em28xx #0: found i2c device @ 0x14 [???]
[  177.770588] em28xx #0: found i2c device @ 0x16 [???]
[  177.770964] em28xx #0: found i2c device @ 0x18 [???]
[  177.771338] em28xx #0: found i2c device @ 0x1a [???]
[  177.771712] em28xx #0: found i2c device @ 0x1c [???]
[  177.772089] em28xx #0: found i2c device @ 0x1e [???]
[  177.772441] em28xx #0: found i2c device @ 0x20 [???]
[  177.774193] em28xx #0: found i2c device @ 0x22 [???]
[  177.774574] em28xx #0: found i2c device @ 0x24 [???]
[  177.774946] em28xx #0: found i2c device @ 0x26 [???]
[  177.775322] em28xx #0: found i2c device @ 0x28 [???]
[  177.775696] em28xx #0: found i2c device @ 0x2a [???]
[  177.776071] em28xx #0: found i2c device @ 0x2c [???]
[  177.776445] em28xx #0: found i2c device @ 0x2e [???]
[  177.776820] em28xx #0: found i2c device @ 0x30 [???]
[  177.777195] em28xx #0: found i2c device @ 0x32 [???]
[  177.777570] em28xx #0: found i2c device @ 0x34 [???]
[  177.777943] em28xx #0: found i2c device @ 0x36 [???]
[  177.778320] em28xx #0: found i2c device @ 0x38 [???]
[  177.778695] em28xx #0: found i2c device @ 0x3a [???]
[  177.779070] em28xx #0: found i2c device @ 0x3c [???]
[  177.779443] em28xx #0: found i2c device @ 0x3e [???]
[  177.779821] em28xx #0: found i2c device @ 0x40 [???]
[  177.780190] em28xx #0: found i2c device @ 0x42 [???]
[  177.780568] em28xx #0: found i2c device @ 0x44 [???]
[  177.780940] em28xx #0: found i2c device @ 0x46 [???]
[  177.781313] em28xx #0: found i2c device @ 0x48 [???]
[  177.781697] em28xx #0: found i2c device @ 0x4a [saa7113h]
[  177.782071] em28xx #0: found i2c device @ 0x4c [???]
[  177.782445] em28xx #0: found i2c device @ 0x4e [???]
[  177.783199] em28xx #0: found i2c device @ 0x50 [???]
[  177.783573] em28xx #0: found i2c device @ 0x52 [???]
[  177.783948] em28xx #0: found i2c device @ 0x54 [???]
[  177.784321] em28xx #0: found i2c device @ 0x56 [???]
[  177.784695] em28xx #0: found i2c device @ 0x58 [???]
[  177.785070] em28xx #0: found i2c device @ 0x5a [???]
[  177.785444] em28xx #0: found i2c device @ 0x5c [???]
[  177.785820] em28xx #0: found i2c device @ 0x5e [???]
[  177.786194] em28xx #0: found i2c device @ 0x60 [remote IR sensor]
[  177.786572] em28xx #0: found i2c device @ 0x62 [???]
[  177.786943] em28xx #0: found i2c device @ 0x64 [???]
[  177.787319] em28xx #0: found i2c device @ 0x66 [???]
[  177.787692] em28xx #0: found i2c device @ 0x68 [???]
[  177.788070] em28xx #0: found i2c device @ 0x6a [???]
[  177.788446] em28xx #0: found i2c device @ 0x6c [???]
[  177.788818] em28xx #0: found i2c device @ 0x6e [???]
[  177.789190] em28xx #0: found i2c device @ 0x70 [???]
[  177.789570] em28xx #0: found i2c device @ 0x72 [???]
[  177.789945] em28xx #0: found i2c device @ 0x74 [???]
[  177.791697] em28xx #0: found i2c device @ 0x76 [???]
[  177.792073] em28xx #0: found i2c device @ 0x78 [???]
[  177.792446] em28xx #0: found i2c device @ 0x7a [???]
[  177.792816] em28xx #0: found i2c device @ 0x7c [???]
[  177.793197] em28xx #0: found i2c device @ 0x7e [???]
[  177.793571] em28xx #0: found i2c device @ 0x80 [msp34xx]
[  177.793943] em28xx #0: found i2c device @ 0x82 [???]
[  177.794320] em28xx #0: found i2c device @ 0x84 [???]
[  177.794695] em28xx #0: found i2c device @ 0x86 [tda9887]
[  177.795072] em28xx #0: found i2c device @ 0x88 [msp34xx]
[  177.795447] em28xx #0: found i2c device @ 0x8a [???]
[  177.795822] em28xx #0: found i2c device @ 0x8c [???]
[  177.796195] em28xx #0: found i2c device @ 0x8e [remote IR sensor]
[  177.796570] em28xx #0: found i2c device @ 0x90 [???]
[  177.796947] em28xx #0: found i2c device @ 0x92 [???]
[  177.797318] em28xx #0: found i2c device @ 0x94 [???]
[  177.797695] em28xx #0: found i2c device @ 0x96 [???]
[  177.798069] em28xx #0: found i2c device @ 0x98 [???]
[  177.798445] em28xx #0: found i2c device @ 0x9a [???]
[  177.798821] em28xx #0: found i2c device @ 0x9c [???]
[  177.799195] em28xx #0: found i2c device @ 0x9e [???]
[  177.799569] em28xx #0: found i2c device @ 0xa0 [eeprom]
[  177.799944] em28xx #0: found i2c device @ 0xa2 [???]
[  177.801327] em28xx #0: found i2c device @ 0xa4 [???]
[  177.801691] em28xx #0: found i2c device @ 0xa6 [???]
[  177.802070] em28xx #0: found i2c device @ 0xa8 [???]
[  177.802445] em28xx #0: found i2c device @ 0xaa [???]
[  177.802818] em28xx #0: found i2c device @ 0xac [???]
[  177.803195] em28xx #0: found i2c device @ 0xae [???]
[  177.803569] em28xx #0: found i2c device @ 0xb0 [tda9874]
[  177.803943] em28xx #0: found i2c device @ 0xb2 [???]
[  177.804322] em28xx #0: found i2c device @ 0xb4 [???]
[  177.804695] em28xx #0: found i2c device @ 0xb6 [???]
[  177.805070] em28xx #0: found i2c device @ 0xb8 [tvp5150a]
[  177.805445] em28xx #0: found i2c device @ 0xba [webcam sensor or tvp5150a]
[  177.805817] em28xx #0: found i2c device @ 0xbc [???]
[  177.806199] em28xx #0: found i2c device @ 0xbe [???]
[  177.806571] em28xx #0: found i2c device @ 0xc0 [tuner (analog)]
[  177.806947] em28xx #0: found i2c device @ 0xc2 [tuner (analog)]
[  177.807321] em28xx #0: found i2c device @ 0xc4 [tuner (analog)]
[  177.807693] em28xx #0: found i2c device @ 0xc6 [tuner (analog)]
[  177.808070] em28xx #0: found i2c device @ 0xc8 [???]
[  177.808447] em28xx #0: found i2c device @ 0xca [???]
[  177.808819] em28xx #0: found i2c device @ 0xcc [???]
[  177.809197] em28xx #0: found i2c device @ 0xce [???]
[  177.809568] em28xx #0: found i2c device @ 0xd0 [???]
[  177.809947] em28xx #0: found i2c device @ 0xd2 [???]
[  177.810623] em28xx #0: found i2c device @ 0xd4 [???]
[  177.811068] em28xx #0: found i2c device @ 0xd6 [???]
[  177.811441] em28xx #0: found i2c device @ 0xd8 [???]
[  177.811817] em28xx #0: found i2c device @ 0xda [???]
[  177.812196] em28xx #0: found i2c device @ 0xdc [???]
[  177.812692] em28xx #0: found i2c device @ 0xde [???]
[  177.813067] em28xx #0: found i2c device @ 0xe0 [???]
[  177.813443] em28xx #0: found i2c device @ 0xe2 [???]
[  177.813819] em28xx #0: found i2c device @ 0xe4 [???]
[  177.814193] em28xx #0: found i2c device @ 0xe6 [???]
[  177.814568] em28xx #0: found i2c device @ 0xe8 [???]
[  177.814945] em28xx #0: found i2c device @ 0xea [???]
[  177.815319] em28xx #0: found i2c device @ 0xec [???]
[  177.815694] em28xx #0: found i2c device @ 0xee [???]
[  177.816071] em28xx #0: found i2c device @ 0xf0 [???]
[  177.816442] em28xx #0: found i2c device @ 0xf2 [???]
[  177.816818] em28xx #0: found i2c device @ 0xf4 [???]
[  177.817195] em28xx #0: found i2c device @ 0xf6 [???]
[  177.817572] em28xx #0: found i2c device @ 0xf8 [???]
[  177.817942] em28xx #0: found i2c device @ 0xfa [???]
[  177.818318] em28xx #0: found i2c device @ 0xfc [???]
[  177.818696] em28xx #0: found i2c device @ 0xfe [???]
[  177.818703] em28xx #0: Your board has no unique USB ID and thus
need a hint to be detected.
[  177.818710] em28xx #0: You may try to use card=<n> insmod option to
workaround that.
[  177.818714] em28xx #0: Please send an email with this log to:
[  177.818719] em28xx #0:       V4L Mailing List <linux-media@vger.kernel.org>
[  177.818724] em28xx #0: Board eeprom hash is 0x00000000
[  177.818729] em28xx #0: Board i2c devicelist hash is 0x7d2e7f80
[  177.818734] em28xx #0: Here is a list of valid choices for the
card=<n> insmod option:
[  177.818740] em28xx #0:     card=0 -> Unknown EM2800 video grabber
[  177.818746] em28xx #0:     card=1 -> Unknown EM2750/28xx video grabber
[  177.818752] em28xx #0:     card=2 -> Terratec Cinergy 250 USB
[  177.818757] em28xx #0:     card=3 -> Pinnacle PCTV USB 2
[  177.818762] em28xx #0:     card=4 -> Hauppauge WinTV USB 2
[  177.818767] em28xx #0:     card=5 -> MSI VOX USB 2.0
[  177.818772] em28xx #0:     card=6 -> Terratec Cinergy 200 USB
[  177.818777] em28xx #0:     card=7 -> Leadtek Winfast USB II
[  177.818783] em28xx #0:     card=8 -> Kworld USB2800
[  177.818788] em28xx #0:     card=9 -> Pinnacle Dazzle DVC
90/100/101/107 / Kaiser Baas Video to DVD maker / Kworld DVD Maker 2
[  177.818794] em28xx #0:     card=10 -> Hauppauge WinTV HVR 900
[  177.818800] em28xx #0:     card=11 -> Terratec Hybrid XS
[  177.818806] em28xx #0:     card=12 -> Kworld PVR TV 2800 RF
[  177.818811] em28xx #0:     card=13 -> Terratec Prodigy XS
[  177.818816] em28xx #0:     card=14 -> SIIG AVTuner-PVR / Pixelview
Prolink PlayTV USB 2.0
[  177.818822] em28xx #0:     card=15 -> V-Gear PocketTV
[  177.818827] em28xx #0:     card=16 -> Hauppauge WinTV HVR 950
[  177.818832] em28xx #0:     card=17 -> Pinnacle PCTV HD Pro Stick
[  177.818838] em28xx #0:     card=18 -> Hauppauge WinTV HVR 900 (R2)
[  177.818843] em28xx #0:     card=19 -> EM2860/SAA711X Reference Design
[  177.818849] em28xx #0:     card=20 -> AMD ATI TV Wonder HD 600
[  177.818854] em28xx #0:     card=21 -> eMPIA Technology, Inc.
GrabBeeX+ Video Encoder
[  177.818860] em28xx #0:     card=22 -> EM2710/EM2750/EM2751 webcam grabber
[  177.818865] em28xx #0:     card=23 -> Huaqi DLCW-130
[  177.818870] em28xx #0:     card=24 -> D-Link DUB-T210 TV Tuner
[  177.818875] em28xx #0:     card=25 -> Gadmei UTV310
[  177.818880] em28xx #0:     card=26 -> Hercules Smart TV USB 2.0
[  177.818886] em28xx #0:     card=27 -> Pinnacle PCTV USB 2 (Philips FM1216ME)
[  177.818892] em28xx #0:     card=28 -> Leadtek Winfast USB II Deluxe
[  177.818897] em28xx #0:     card=29 -> EM2860/TVP5150 Reference Design
[  177.818902] em28xx #0:     card=30 -> Videology 20K14XUSB USB2.0
[  177.818908] em28xx #0:     card=31 -> Usbgear VD204v9
[  177.818913] em28xx #0:     card=32 -> Supercomp USB 2.0 TV
[  177.818918] em28xx #0:     card=33 -> (null)
[  177.818923] em28xx #0:     card=34 -> Terratec Cinergy A Hybrid XS
[  177.818928] em28xx #0:     card=35 -> Typhoon DVD Maker
[  177.818933] em28xx #0:     card=36 -> NetGMBH Cam
[  177.818938] em28xx #0:     card=37 -> Gadmei UTV330
[  177.818943] em28xx #0:     card=38 -> Yakumo MovieMixer
[  177.818948] em28xx #0:     card=39 -> KWorld PVRTV 300U
[  177.818953] em28xx #0:     card=40 -> Plextor ConvertX PX-TV100U
[  177.818959] em28xx #0:     card=41 -> Kworld 350 U DVB-T
[  177.818964] em28xx #0:     card=42 -> Kworld 355 U DVB-T
[  177.818969] em28xx #0:     card=43 -> Terratec Cinergy T XS
[  177.818974] em28xx #0:     card=44 -> Terratec Cinergy T XS (MT2060)
[  177.818979] em28xx #0:     card=45 -> Pinnacle PCTV DVB-T
[  177.818985] em28xx #0:     card=46 -> Compro, VideoMate U3
[  177.818990] em28xx #0:     card=47 -> KWorld DVB-T 305U
[  177.818995] em28xx #0:     card=48 -> KWorld DVB-T 310U
[  177.819000] em28xx #0:     card=49 -> MSI DigiVox A/D
[  177.819005] em28xx #0:     card=50 -> MSI DigiVox A/D II
[  177.819010] em28xx #0:     card=51 -> Terratec Hybrid XS Secam
[  177.819015] em28xx #0:     card=52 -> DNT DA2 Hybrid
[  177.819020] em28xx #0:     card=53 -> Pinnacle Hybrid Pro
[  177.819025] em28xx #0:     card=54 -> Kworld VS-DVB-T 323UR
[  177.819030] em28xx #0:     card=55 -> Terratec Hybrid XS (em2882)
[  177.819036] em28xx #0:     card=56 -> Pinnacle Hybrid Pro (2)
[  177.819041] em28xx #0:     card=57 -> Kworld PlusTV HD Hybrid 330
[  177.819047] em28xx #0:     card=58 -> Compro VideoMate ForYou/Stereo
[  177.819052] em28xx #0:     card=59 -> (null)
[  177.819056] em28xx #0:     card=60 -> Hauppauge WinTV HVR 850
[  177.819062] em28xx #0:     card=61 -> Pixelview PlayTV Box 4 USB 2.0
[  177.819067] em28xx #0:     card=62 -> Gadmei TVR200
[  177.819072] em28xx #0:     card=63 -> Kaiomy TVnPC U2
[  177.819077] em28xx #0:     card=64 -> Easy Cap Capture DC-60
[  177.819082] em28xx #0:     card=65 -> IO-DATA GV-MVP/SZ
[  177.819087] em28xx #0:     card=66 -> Empire dual TV
[  177.819092] em28xx #0:     card=67 -> Terratec Grabby
[  177.819097] em28xx #0:     card=68 -> Terratec AV350
[  177.819102] em28xx #0:     card=69 -> KWorld ATSC 315U HDTV TV Box
[  177.819108] em28xx #0:     card=70 -> Evga inDtube
[  177.819113] em28xx #0:     card=71 -> Silvercrest Webcam 1.3mpix
[  177.819118] em28xx #0:     card=72 -> Gadmei UTV330+
[  177.819123] em28xx #0:     card=73 -> Reddo DVB-C USB TV Box
[  177.819129] em28xx #0:     card=74 -> Actionmaster/LinXcel/Digitus VC211A
[  177.819134] em28xx #0:     card=75 -> Dikom DK300
[  177.819319] em28xx #0: Config register raw data: 0x10
[  177.850385] em28xx #0: AC97 vendor ID = 0x64346434
[  177.870386] em28xx #0: AC97 features = 0x6434
[  177.870392] em28xx #0: Unknown AC97 audio processor detected!
[  178.550137] em28xx #0: v4l2 driver version 0.1.2
[  180.090390] em28xx #0: V4L2 video device registered as video0
[  180.090399] em28xx #0: V4L2 VBI device registered as vbi0
[  180.090443] em28xx audio device (eb1a:2861): interface 1, class 1
[  180.090468] em28xx audio device (eb1a:2861): interface 2, class 1
[  180.090521] usbcore: registered new interface driver em28xx
[  180.090526] em28xx driver loaded
[  180.220449] 4:2:1: endpoint lacks sample rate attribute bit, cannot set.
[  180.220561] 4:2:2: endpoint lacks sample rate attribute bit, cannot set.
[  180.220684] 4:2:3: endpoint lacks sample rate attribute bit, cannot set.
[  180.220808] 4:2:4: endpoint lacks sample rate attribute bit, cannot set.
[  180.220936] 4:2:5: endpoint lacks sample rate attribute bit, cannot set.
[  180.224764] usbcore: registered new interface driver snd-usb-audio
[  180.311098] 4:2:2: endpoint lacks sample rate attribute bit, cannot set.
[  180.313775] 4:2:2: endpoint lacks sample rate attribute bit, cannot set.

Paweł Kuźniar

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Videomed Videosmart VX-3001
  2010-09-14 16:19 Videomed Videosmart VX-3001 Paweł Kuźniar
@ 2010-09-14 22:11 ` Mauro Carvalho Chehab
  2010-09-20 13:15   ` Paweł Kuźniar
  0 siblings, 1 reply; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2010-09-14 22:11 UTC (permalink / raw)
  To: Paweł Kuźniar; +Cc: linux-media

Em 14-09-2010 13:19, Paweł Kuźniar escreveu:
> I've just got my hands on Videosmart VX-3001 medical video-grabber. It
> seems it has some common hardware under the hood, but I only managed
> to get dark-green screen in Cheese.  I include some of my specs,
> dmesg and lsub. Being completely green in driver development I'd like
> to get some help in figuring out  how to make it work.

Ok, yet another em28xx webcam ;)

> 
> [  177.200295] usb 1-3: new high speed USB device using ehci_hcd and address 4
> [  177.492308] Linux video capture interface: v2.00
> [  177.493907] IR NEC protocol handler initialized
> [  177.499529] IR RC5(x) protocol handler initialized
> [  177.564668] IR RC6 protocol handler initialized
> [  177.570875] em28xx: New device @ 480 Mbps (eb1a:2861, interface 0, class 0)
> [  177.571060] em28xx #0: chip ID is em2860
> [  177.618639] IR JVC protocol handler initialized
> [  177.621594] IR Sony protocol handler initialized
> [  177.667519] lirc_dev: IR Remote Control driver registered, major 250
> [  177.669829] IR LIRC bridge handler initialized
> [  177.741359] em28xx #0: i2c eeprom 00: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741386] em28xx #0: i2c eeprom 10: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741409] em28xx #0: i2c eeprom 20: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741431] em28xx #0: i2c eeprom 30: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741453] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741476] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741498] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741520] em28xx #0: i2c eeprom 70: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741542] em28xx #0: i2c eeprom 80: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741564] em28xx #0: i2c eeprom 90: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741586] em28xx #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741608] em28xx #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741630] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741652] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741674] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741696] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00
> [  177.741719] em28xx #0: EEPROM ID= 0x00000000, EEPROM hash = 0x00000000
> [  177.741724] em28xx #0: EEPROM info:

Something got wrong at I2C. It is just returning zero for everything.

> [  177.741728] em28xx #0:       No audio on board.
> [  177.741732] em28xx #0:       500mA max power
> [  177.741737] em28xx #0:       Table at 0x00, strings=0x0000, 0x0000, 0x0000
> [  177.763662] Unknown Micron Sensor 0x0000

There's no sensor 0x0000.

> [  177.763672] em28xx #0: Identified as Unknown EM2750/28xx video
> grabber (card=1)
> [  177.764416] em28xx #0: found i2c device @ 0x0 [???]
> [  177.765167] em28xx #0: found i2c device @ 0x2 [???]
> [  177.765912] em28xx #0: found i2c device @ 0x4 [???]
...
> [  177.818696] em28xx #0: found i2c device @ 0xfe [???]

See? It is returning zero for everything at the I2C bus.

> [  180.220449] 4:2:1: endpoint lacks sample rate attribute bit, cannot set.
> [  180.220561] 4:2:2: endpoint lacks sample rate attribute bit, cannot set.
> [  180.220684] 4:2:3: endpoint lacks sample rate attribute bit, cannot set.
> [  180.220808] 4:2:4: endpoint lacks sample rate attribute bit, cannot set.
> [  180.220936] 4:2:5: endpoint lacks sample rate attribute bit, cannot set.
> [  180.224764] usbcore: registered new interface driver snd-usb-audio
> [  180.311098] 4:2:2: endpoint lacks sample rate attribute bit, cannot set.
> [  180.313775] 4:2:2: endpoint lacks sample rate attribute bit, cannot set.

This also doesn't sound good.

There are a few frequencies that could be used for I2C:

#define EM28XX_I2C_FREQ_1_5_MHZ		0x03 /* bus frequency (bits [1-0]) */
#define EM28XX_I2C_FREQ_25_KHZ		0x02
#define EM28XX_I2C_FREQ_400_KHZ		0x01
#define EM28XX_I2C_FREQ_100_KHZ		0x00

In general, most hardware accept up to 100 kHz, but there are a few devices where this 
needs to be reduced to 25 kHz in order to work. We never found one em28xx-based hardware 
needing to reduce I2C speed, but it seems that you got one ;)

Eventually, this might also be caused by a device responding badly to i2c scan.


Please try the enclosed patch, forcing the driver to use card=1, by adding:
	option em28xx card=1

at /etc/modprobe (or the similar modprobe config on your distro).

This patch should reduce the bus speed to 25 kHz, hopefully giving us more information
about your device.

Cheers,
Mauro

diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index ffbe544..0213536 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -278,6 +278,7 @@ struct em28xx_board em28xx_boards[] = {
 		.tda9887_conf = TDA9887_PRESENT,
 		.decoder      = EM28XX_SAA711X,
 		.tuner_type   = TUNER_ABSENT,
+		.i2c_speed	= EM28XX_I2C_FREQ_25_KHZ,
 		.input        = { {
 			.type     = EM28XX_VMUX_COMPOSITE1,
 			.vmux     = SAA7115_COMPOSITE0,

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: Videomed Videosmart VX-3001
  2010-09-14 22:11 ` Mauro Carvalho Chehab
@ 2010-09-20 13:15   ` Paweł Kuźniar
  2010-09-20 16:35     ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 4+ messages in thread
From: Paweł Kuźniar @ 2010-09-20 13:15 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media

> This patch should reduce the bus speed to 25 kHz, hopefully giving us more information
> about your device.
>
Here are logs with patched driver:

[115345.416343] usbcore: registered new interface driver em28xx
[115345.416350] em28xx driver loaded
[115397.552829] usb 1-3: new high speed USB device using ehci_hcd and address 21
[115397.704422] em28xx: New device @ 480 Mbps (eb1a:2861, interface 0, class 0)
[115397.704488] em28xx #0: chip ID is em2860
[115397.874880] em28xx #0: i2c eeprom 00: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874894] em28xx #0: i2c eeprom 10: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874905] em28xx #0: i2c eeprom 20: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874917] em28xx #0: i2c eeprom 30: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874928] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874940] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874951] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874962] em28xx #0: i2c eeprom 70: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874974] em28xx #0: i2c eeprom 80: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874985] em28xx #0: i2c eeprom 90: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.874996] em28xx #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.875008] em28xx #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.875019] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.875031] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.875042] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.875053] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
[115397.875065] em28xx #0: EEPROM ID= 0x00000000, EEPROM hash = 0x00000000
[115397.875067] em28xx #0: EEPROM info:
[115397.875069] em28xx #0:	No audio on board.
[115397.875071] em28xx #0:	500mA max power
[115397.875074] em28xx #0:	Table at 0x00, strings=0x0000, 0x0000, 0x0000
[115397.893261] Unknown Micron Sensor 0x0000
[115397.893269] em28xx #0: Identified as Unknown EM2750/28xx video
grabber (card=1)
[115397.893622] em28xx #0: found i2c device @ 0x0 [???]
[115397.893996] em28xx #0: found i2c device @ 0x2 [???]
[115397.894371] em28xx #0: found i2c device @ 0x4 [???]
[115397.894745] em28xx #0: found i2c device @ 0x6 [???]
[115397.895120] em28xx #0: found i2c device @ 0x8 [???]
[115397.895494] em28xx #0: found i2c device @ 0xa [???]
[115397.895870] em28xx #0: found i2c device @ 0xc [???]
[115397.896245] em28xx #0: found i2c device @ 0xe [???]
[115397.896619] em28xx #0: found i2c device @ 0x10 [???]
[115397.896995] em28xx #0: found i2c device @ 0x12 [???]
[115397.897369] em28xx #0: found i2c device @ 0x14 [???]
[115397.897749] em28xx #0: found i2c device @ 0x16 [???]
[115397.898121] em28xx #0: found i2c device @ 0x18 [???]
[115397.898498] em28xx #0: found i2c device @ 0x1a [???]
[115397.898870] em28xx #0: found i2c device @ 0x1c [???]
[115397.899243] em28xx #0: found i2c device @ 0x1e [???]
[115397.899622] em28xx #0: found i2c device @ 0x20 [???]
[115397.899996] em28xx #0: found i2c device @ 0x22 [???]
[115397.900485] em28xx #0: found i2c device @ 0x24 [???]
[115397.900859] em28xx #0: found i2c device @ 0x26 [???]
[115397.901244] em28xx #0: found i2c device @ 0x28 [???]
[115397.901619] em28xx #0: found i2c device @ 0x2a [???]
[115397.901994] em28xx #0: found i2c device @ 0x2c [???]
[115397.902368] em28xx #0: found i2c device @ 0x2e [???]
[115397.902735] em28xx #0: found i2c device @ 0x30 [???]
[115397.903116] em28xx #0: found i2c device @ 0x32 [???]
[115397.903488] em28xx #0: found i2c device @ 0x34 [???]
[115397.903867] em28xx #0: found i2c device @ 0x36 [???]
[115397.904245] em28xx #0: found i2c device @ 0x38 [???]
[115397.904619] em28xx #0: found i2c device @ 0x3a [???]
[115397.904987] em28xx #0: found i2c device @ 0x3c [???]
[115397.905370] em28xx #0: found i2c device @ 0x3e [???]
[115397.905748] em28xx #0: found i2c device @ 0x40 [???]
[115397.906116] em28xx #0: found i2c device @ 0x42 [???]
[115397.906488] em28xx #0: found i2c device @ 0x44 [???]
[115397.906870] em28xx #0: found i2c device @ 0x46 [???]
[115397.907245] em28xx #0: found i2c device @ 0x48 [???]
[115397.907612] em28xx #0: found i2c device @ 0x4a [saa7113h]
[115397.907995] em28xx #0: found i2c device @ 0x4c [???]
[115397.908369] em28xx #0: found i2c device @ 0x4e [???]
[115397.908745] em28xx #0: found i2c device @ 0x50 [???]
[115397.909111] em28xx #0: found i2c device @ 0x52 [???]
[115397.909495] em28xx #0: found i2c device @ 0x54 [???]
[115397.909864] em28xx #0: found i2c device @ 0x56 [???]
[115397.910237] em28xx #0: found i2c device @ 0x58 [???]
[115397.910614] em28xx #0: found i2c device @ 0x5a [???]
[115397.910981] em28xx #0: found i2c device @ 0x5c [???]
[115397.911369] em28xx #0: found i2c device @ 0x5e [???]
[115397.911744] em28xx #0: found i2c device @ 0x60 [remote IR sensor]
[115397.912115] em28xx #0: found i2c device @ 0x62 [???]
[115397.912494] em28xx #0: found i2c device @ 0x64 [???]
[115397.912861] em28xx #0: found i2c device @ 0x66 [???]
[115397.913245] em28xx #0: found i2c device @ 0x68 [???]
[115397.913617] em28xx #0: found i2c device @ 0x6a [???]
[115397.913994] em28xx #0: found i2c device @ 0x6c [???]
[115397.914366] em28xx #0: found i2c device @ 0x6e [???]
[115397.914745] em28xx #0: found i2c device @ 0x70 [???]
[115397.915118] em28xx #0: found i2c device @ 0x72 [???]
[115397.915494] em28xx #0: found i2c device @ 0x74 [???]
[115397.915862] em28xx #0: found i2c device @ 0x76 [???]
[115397.916242] em28xx #0: found i2c device @ 0x78 [???]
[115397.916618] em28xx #0: found i2c device @ 0x7a [???]
[115397.916993] em28xx #0: found i2c device @ 0x7c [???]
[115397.917370] em28xx #0: found i2c device @ 0x7e [???]
[115397.917742] em28xx #0: found i2c device @ 0x80 [msp34xx]
[115397.918119] em28xx #0: found i2c device @ 0x82 [???]
[115397.918487] em28xx #0: found i2c device @ 0x84 [???]
[115397.918868] em28xx #0: found i2c device @ 0x86 [tda9887]
[115397.919245] em28xx #0: found i2c device @ 0x88 [msp34xx]
[115397.919620] em28xx #0: found i2c device @ 0x8a [???]
[115397.919988] em28xx #0: found i2c device @ 0x8c [???]
[115397.920359] em28xx #0: found i2c device @ 0x8e [remote IR sensor]
[115397.920730] em28xx #0: found i2c device @ 0x90 [???]
[115397.921109] em28xx #0: found i2c device @ 0x92 [???]
[115397.921486] em28xx #0: found i2c device @ 0x94 [???]
[115397.921862] em28xx #0: found i2c device @ 0x96 [???]
[115397.922243] em28xx #0: found i2c device @ 0x98 [???]
[115397.922613] em28xx #0: found i2c device @ 0x9a [???]
[115397.922991] em28xx #0: found i2c device @ 0x9c [???]
[115397.923362] em28xx #0: found i2c device @ 0x9e [???]
[115397.923744] em28xx #0: found i2c device @ 0xa0 [eeprom]
[115397.924112] em28xx #0: found i2c device @ 0xa2 [???]
[115397.924493] em28xx #0: found i2c device @ 0xa4 [???]
[115397.924861] em28xx #0: found i2c device @ 0xa6 [???]
[115397.925242] em28xx #0: found i2c device @ 0xa8 [???]
[115397.925620] em28xx #0: found i2c device @ 0xaa [???]
[115397.925994] em28xx #0: found i2c device @ 0xac [???]
[115397.926369] em28xx #0: found i2c device @ 0xae [???]
[115397.926743] em28xx #0: found i2c device @ 0xb0 [tda9874]
[115397.927119] em28xx #0: found i2c device @ 0xb2 [???]
[115397.927495] em28xx #0: found i2c device @ 0xb4 [???]
[115397.927869] em28xx #0: found i2c device @ 0xb6 [???]
[115397.928237] em28xx #0: found i2c device @ 0xb8 [tvp5150a]
[115397.928619] em28xx #0: found i2c device @ 0xba [webcam sensor or tvp5150a]
[115397.928993] em28xx #0: found i2c device @ 0xbc [???]
[115397.929370] em28xx #0: found i2c device @ 0xbe [???]
[115397.929745] em28xx #0: found i2c device @ 0xc0 [tuner (analog)]
[115397.930115] em28xx #0: found i2c device @ 0xc2 [tuner (analog)]
[115397.930486] em28xx #0: found i2c device @ 0xc4 [tuner (analog)]
[115397.930859] em28xx #0: found i2c device @ 0xc6 [tuner (analog)]
[115397.931238] em28xx #0: found i2c device @ 0xc8 [???]
[115397.931615] em28xx #0: found i2c device @ 0xca [???]
[115397.931995] em28xx #0: found i2c device @ 0xcc [???]
[115397.932361] em28xx #0: found i2c device @ 0xce [???]
[115397.932740] em28xx #0: found i2c device @ 0xd0 [???]
[115397.933120] em28xx #0: found i2c device @ 0xd2 [???]
[115397.933486] em28xx #0: found i2c device @ 0xd4 [???]
[115397.933862] em28xx #0: found i2c device @ 0xd6 [???]
[115397.934245] em28xx #0: found i2c device @ 0xd8 [???]
[115397.934614] em28xx #0: found i2c device @ 0xda [???]
[115397.934995] em28xx #0: found i2c device @ 0xdc [???]
[115397.935361] em28xx #0: found i2c device @ 0xde [???]
[115397.935743] em28xx #0: found i2c device @ 0xe0 [???]
[115397.936119] em28xx #0: found i2c device @ 0xe2 [???]
[115397.936493] em28xx #0: found i2c device @ 0xe4 [???]
[115397.936869] em28xx #0: found i2c device @ 0xe6 [???]
[115397.937244] em28xx #0: found i2c device @ 0xe8 [???]
[115397.937619] em28xx #0: found i2c device @ 0xea [???]
[115397.937992] em28xx #0: found i2c device @ 0xec [???]
[115397.938369] em28xx #0: found i2c device @ 0xee [???]
[115397.938744] em28xx #0: found i2c device @ 0xf0 [???]
[115397.939117] em28xx #0: found i2c device @ 0xf2 [???]
[115397.939488] em28xx #0: found i2c device @ 0xf4 [???]
[115397.939869] em28xx #0: found i2c device @ 0xf6 [???]
[115397.940228] em28xx #0: found i2c device @ 0xf8 [???]
[115397.940615] em28xx #0: found i2c device @ 0xfa [???]
[115397.940986] em28xx #0: found i2c device @ 0xfc [???]
[115397.941365] em28xx #0: found i2c device @ 0xfe [???]
[115397.941370] em28xx #0: Your board has no unique USB ID and thus
need a hint to be detected.
[115397.941374] em28xx #0: You may try to use card=<n> insmod option
to workaround that.
[115397.941378] em28xx #0: Please send an email with this log to:
[115397.941381] em28xx #0: 	V4L Mailing List <linux-media@vger.kernel.org>
[115397.941384] em28xx #0: Board eeprom hash is 0x00000000
[115397.941388] em28xx #0: Board i2c devicelist hash is 0x7d2e7f80
[115397.941391] em28xx #0: Here is a list of valid choices for the
card=<n> insmod option:
[115397.941395] em28xx #0:     card=0 -> Unknown EM2800 video grabber
[115397.941399] em28xx #0:     card=1 -> Unknown EM2750/28xx video grabber
[115397.941402] em28xx #0:     card=2 -> Terratec Cinergy 250 USB
[115397.941406] em28xx #0:     card=3 -> Pinnacle PCTV USB 2
[115397.941409] em28xx #0:     card=4 -> Hauppauge WinTV USB 2
[115397.941413] em28xx #0:     card=5 -> MSI VOX USB 2.0
[115397.941417] em28xx #0:     card=6 -> Terratec Cinergy 200 USB
[115397.941420] em28xx #0:     card=7 -> Leadtek Winfast USB II
[115397.941424] em28xx #0:     card=8 -> Kworld USB2800
[115397.941427] em28xx #0:     card=9 -> Pinnacle Dazzle DVC
90/100/101/107 / Kaiser Baas Video to DVD maker / Kworld DVD Maker 2
[115397.941432] em28xx #0:     card=10 -> Hauppauge WinTV HVR 900
[115397.941436] em28xx #0:     card=11 -> Terratec Hybrid XS
[115397.941439] em28xx #0:     card=12 -> Kworld PVR TV 2800 RF
[115397.941443] em28xx #0:     card=13 -> Terratec Prodigy XS
[115397.941447] em28xx #0:     card=14 -> SIIG AVTuner-PVR / Pixelview
Prolink PlayTV USB 2.0
[115397.941451] em28xx #0:     card=15 -> V-Gear PocketTV
[115397.941454] em28xx #0:     card=16 -> Hauppauge WinTV HVR 950
[115397.941458] em28xx #0:     card=17 -> Pinnacle PCTV HD Pro Stick
[115397.941462] em28xx #0:     card=18 -> Hauppauge WinTV HVR 900 (R2)
[115397.941465] em28xx #0:     card=19 -> EM2860/SAA711X Reference Design
[115397.941469] em28xx #0:     card=20 -> AMD ATI TV Wonder HD 600
[115397.941473] em28xx #0:     card=21 -> eMPIA Technology, Inc.
GrabBeeX+ Video Encoder
[115397.941477] em28xx #0:     card=22 -> EM2710/EM2750/EM2751 webcam grabber
[115397.941481] em28xx #0:     card=23 -> Huaqi DLCW-130
[115397.941484] em28xx #0:     card=24 -> D-Link DUB-T210 TV Tuner
[115397.941488] em28xx #0:     card=25 -> Gadmei UTV310
[115397.941491] em28xx #0:     card=26 -> Hercules Smart TV USB 2.0
[115397.941495] em28xx #0:     card=27 -> Pinnacle PCTV USB 2 (Philips FM1216ME)
[115397.941499] em28xx #0:     card=28 -> Leadtek Winfast USB II Deluxe
[115397.941503] em28xx #0:     card=29 -> EM2860/TVP5150 Reference Design
[115397.941506] em28xx #0:     card=30 -> Videology 20K14XUSB USB2.0
[115397.941510] em28xx #0:     card=31 -> Usbgear VD204v9
[115397.941513] em28xx #0:     card=32 -> Supercomp USB 2.0 TV
[115397.941517] em28xx #0:     card=33 -> (null)
[115397.941520] em28xx #0:     card=34 -> Terratec Cinergy A Hybrid XS
[115397.941524] em28xx #0:     card=35 -> Typhoon DVD Maker
[115397.941527] em28xx #0:     card=36 -> NetGMBH Cam
[115397.941531] em28xx #0:     card=37 -> Gadmei UTV330
[115397.941534] em28xx #0:     card=38 -> Yakumo MovieMixer
[115397.941538] em28xx #0:     card=39 -> KWorld PVRTV 300U
[115397.941541] em28xx #0:     card=40 -> Plextor ConvertX PX-TV100U
[115397.941545] em28xx #0:     card=41 -> Kworld 350 U DVB-T
[115397.941548] em28xx #0:     card=42 -> Kworld 355 U DVB-T
[115397.941552] em28xx #0:     card=43 -> Terratec Cinergy T XS
[115397.941555] em28xx #0:     card=44 -> Terratec Cinergy T XS (MT2060)
[115397.941559] em28xx #0:     card=45 -> Pinnacle PCTV DVB-T
[115397.941562] em28xx #0:     card=46 -> Compro, VideoMate U3
[115397.941566] em28xx #0:     card=47 -> KWorld DVB-T 305U
[115397.941570] em28xx #0:     card=48 -> KWorld DVB-T 310U
[115397.941573] em28xx #0:     card=49 -> MSI DigiVox A/D
[115397.941577] em28xx #0:     card=50 -> MSI DigiVox A/D II
[115397.941580] em28xx #0:     card=51 -> Terratec Hybrid XS Secam
[115397.941584] em28xx #0:     card=52 -> DNT DA2 Hybrid
[115397.941587] em28xx #0:     card=53 -> Pinnacle Hybrid Pro
[115397.941596] em28xx #0:     card=54 -> Kworld VS-DVB-T 323UR
[115397.941598] em28xx #0:     card=55 -> Terratec Hybrid XS (em2882)
[115397.941601] em28xx #0:     card=56 -> Pinnacle Hybrid Pro (2)
[115397.941603] em28xx #0:     card=57 -> Kworld PlusTV HD Hybrid 330
[115397.941605] em28xx #0:     card=58 -> Compro VideoMate ForYou/Stereo
[115397.941607] em28xx #0:     card=59 -> (null)
[115397.941609] em28xx #0:     card=60 -> Hauppauge WinTV HVR 850
[115397.941611] em28xx #0:     card=61 -> Pixelview PlayTV Box 4 USB 2.0
[115397.941613] em28xx #0:     card=62 -> Gadmei TVR200
[115397.941615] em28xx #0:     card=63 -> Kaiomy TVnPC U2
[115397.941617] em28xx #0:     card=64 -> Easy Cap Capture DC-60
[115397.941619] em28xx #0:     card=65 -> IO-DATA GV-MVP/SZ
[115397.941621] em28xx #0:     card=66 -> Empire dual TV
[115397.941623] em28xx #0:     card=67 -> Terratec Grabby
[115397.941625] em28xx #0:     card=68 -> Terratec AV350
[115397.941627] em28xx #0:     card=69 -> KWorld ATSC 315U HDTV TV Box
[115397.941629] em28xx #0:     card=70 -> Evga inDtube
[115397.941631] em28xx #0:     card=71 -> Silvercrest Webcam 1.3mpix
[115397.941633] em28xx #0:     card=72 -> Gadmei UTV330+
[115397.941635] em28xx #0:     card=73 -> Reddo DVB-C USB TV Box
[115397.941638] em28xx #0:     card=74 -> Actionmaster/LinXcel/Digitus VC211A
[115397.941640] em28xx #0:     card=75 -> Dikom DK300
[115397.941740] em28xx #0: Config register raw data: 0x10
[115397.980130] em28xx #0: AC97 vendor ID = 0x64246424
[115398.000243] em28xx #0: AC97 features = 0x6424
[115398.000246] em28xx #0: Unknown AC97 audio processor detected!
[115398.680487] em28xx #0: v4l2 driver version 0.1.2
[115400.222694] em28xx #0: V4L2 video device registered as video0
[115400.222697] em28xx #0: V4L2 VBI device registered as vbi0
[115400.222759] em28xx audio device (eb1a:2861): interface 1, class 1
[115400.222801] em28xx audio device (eb1a:2861): interface 2, class 1
[115400.314789] 21:2:1: endpoint lacks sample rate attribute bit, cannot set.
[115400.314872] 21:2:2: endpoint lacks sample rate attribute bit, cannot set.
[115400.314998] 21:2:3: endpoint lacks sample rate attribute bit, cannot set.
[115400.315136] 21:2:4: endpoint lacks sample rate attribute bit, cannot set.
[115400.315259] 21:2:5: endpoint lacks sample rate attribute bit, cannot set.
[115400.319116] usbcore: registered new interface driver snd-usb-audio
[115400.473926] 21:2:2: endpoint lacks sample rate attribute bit, cannot set.
[115400.475911] 21:2:2: endpoint lacks sample rate attribute bit, cannot set.



lsub

Bus 001 Device 021: ID eb1a:2861 eMPIA Technology, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0xeb1a eMPIA Technology, Inc.
  idProduct          0x2861
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          555
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 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     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 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     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       2
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0ad4  2x 724 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       3
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0c00  2x 1024 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       4
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 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     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       5
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x135c  3x 860 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       6
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x13c4  3x 964 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       7
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 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     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           39
        bInCollection           1
        baInterfaceNr( 0)       2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0603 Line Connector
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x03
          Mute
          Volume
        bmaControls( 1)      0x00
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]            0
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00b4  1x 180 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        32000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0084  1x 132 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        16000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0044  1x 68 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]         8000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0024  1x 36 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
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)


------------------
pozdrawiam
Paweł Kuźniar

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Videomed Videosmart VX-3001
  2010-09-20 13:15   ` Paweł Kuźniar
@ 2010-09-20 16:35     ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2010-09-20 16:35 UTC (permalink / raw)
  To: Paweł Kuźniar; +Cc: linux-media

Em 20-09-2010 10:15, Paweł Kuźniar escreveu:
>> This patch should reduce the bus speed to 25 kHz, hopefully giving us more information
>> about your device.
>>
> Here are logs with patched driver:
> 
> [115345.416343] usbcore: registered new interface driver em28xx
> [115345.416350] em28xx driver loaded
> [115397.552829] usb 1-3: new high speed USB device using ehci_hcd and address 21
> [115397.704422] em28xx: New device @ 480 Mbps (eb1a:2861, interface 0, class 0)
> [115397.704488] em28xx #0: chip ID is em2860
> [115397.874880] em28xx #0: i2c eeprom 00: 00 00 00 00 00 00 00 00 00

Same issue... it is returning zero for all I2C reads...

Oh well... We'll need to go to the hard way.

Please install usbsnoop and capture the data exchange for the usb device eb1a:2861.
The log will contain all init sequence used by the driver. There's probably an 
gpio init sequence that is needed, in order to access the I2C bus on that device.

There are some instructions about that at:

	http://linuxtv.org/wiki/index.php/Bus_snooping/sniffing

Cheers,
Mauro

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-20 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-14 16:19 Videomed Videosmart VX-3001 Paweł Kuźniar
2010-09-14 22:11 ` Mauro Carvalho Chehab
2010-09-20 13:15   ` Paweł Kuźniar
2010-09-20 16:35     ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.