public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Want to help in MSI TV VOX USB 2.0
       [not found]   ` <f535cc5a1002101101k709bbe9bv504cf33fab14dedc@mail.gmail.com>
@ 2010-02-10 19:02     ` Carlos Jenkins
  2010-02-10 19:20       ` Devin Heitmueller
  2010-02-10 20:41       ` Mauro Carvalho Chehab
  0 siblings, 2 replies; 13+ messages in thread
From: Carlos Jenkins @ 2010-02-10 19:02 UTC (permalink / raw)
  To: linux-media

[-- Attachment #1: Type: text/plain, Size: 9519 bytes --]

Hi everyone.

First of all, great job :)

My name is Carlos Jenkins, and I'm here to help getting to work the
MSI TV VOX 8609 USB 2.0 device once again. I know it's an old device,
but here where I live, in Costa Rica, we still have analog TV only.

TV Standard: NTSC

This device is a em2820/SAA7114H device, I'm sure, I opened it and
looked at the chips :P

This device is listed here:
http://www.linuxtv.org/wiki/index.php/Em28xx_devices#Table_of_validated_boards

Nevertheless, I'm trying since 2007 to get it work, and never could do
so with the v4l tree (and I tested it every 4 months or so). Just
once, with the now gone http://mcentral.de/ fork (I still keep that
source code), as explained here
http://javoaxian.blogspot.com/2008/03/instalar-msi-tv-vox-8609-video-usb-20.html
(in spanish, but commands can be understood).

This fork worked for kernel < 2.6.24 (v4l2 driver version 0.0.1). When
Hardy Heron 8.04 came, the device stop working with that fork.

I'm still a college student, but I know C, Assembly (AVR, PIC,
others), and I'm ready to do everything to get this thing working
again.

I'm running a fresh install of Ubuntu Karmic Koala 9.10 Desktop
32bits, kernel 2.6.31-19-generic with the headers.

Ok, what I tried so far (I'm putting here the obvious steps for
documentation purpose):

shell$ sudo apt-get mercurial linux-headers-`uname -r` build-essential
shell$ hg clone http://linuxtv.org/hg/v4l-dvb
shell$ nano v4l-dvb/v4l/.config #(and changed line 227 from
"CONFIG_DVB_FIREDTV=m" to "CONFIG_DVB_FIREDTV=n", to be able to
compile the tree in Karmic, as explained here
http://www.mail-archive.com/linux-media@vger.kernel.org/msg06865.html
)
shell$ make #everything fine :)
shell$ sudo make install #everything just fine :)

**********************************************

Test 1:

sudo modprobe em28xx

dmesg:

[   63.715662] Linux video capture interface: v2.00
[   63.737054] usbcore: registered new interface driver em28xx
[   63.737060] em28xx driver loaded

Now, I do plug the USB device.

[  109.476033] usb 1-6: new high speed USB device using ehci_hcd and address 5
[  109.609278] usb 1-6: configuration #1 chosen from 1 choice
[  109.610221] em28xx: New device @ 480 Mbps (eb1a:2820, interface 0, class 0)
[  109.610342] em28xx #0: chip ID is em2820 (or em2710)
[  109.700913] em28xx #0: board has no eeprom
[  109.713910] em28xx #0: Identified as Unknown EM2750/28xx video
grabber (card=1)
[  109.726777] em28xx #0: found i2c device @ 0x42 [???]
[  109.733523] em28xx #0: found i2c device @ 0x66 [???]
[  109.733892] em28xx #0: found i2c device @ 0x68 [???]
[  109.750515] em28xx #0: found i2c device @ 0xc0 [tuner (analog)]
[  109.750883] em28xx #0: found i2c device @ 0xc2 [tuner (analog)]
[  109.762385] em28xx #0: Your board has no unique USB ID and thus
need a hint to be detected.
[  109.762392] em28xx #0: You may try to use card=<n> insmod option to
workaround that.
[  109.762397] em28xx #0: Please send an email with this log to:
[  109.762401] em28xx #0:     V4L Mailing List <linux-media@vger.kernel.org>
[  109.762406] em28xx #0: Board eeprom hash is 0x00000000
[  109.762411] em28xx #0: Board i2c devicelist hash is 0xd01900b3
[  109.762415] em28xx #0: Here is a list of valid choices for the
card=<n> insmod option:
[  109.762421] em28xx #0:     card=0 -> Unknown EM2800 video grabber
[  109.762426] em28xx #0:     card=1 -> Unknown EM2750/28xx video grabber
[  109.762431] em28xx #0:     card=2 -> Terratec Cinergy 250 USB
[  109.762436] em28xx #0:     card=3 -> Pinnacle PCTV USB 2
[  109.762441] em28xx #0:     card=4 -> Hauppauge WinTV USB 2
[  109.762446] em28xx #0:     card=5 -> MSI VOX USB 2.0
[...]
[  109.762781] em28xx #0:     card=74 -> Actionmaster/LinXcel/Digitus VC211A
[  109.762877] em28xx #0: Config register raw data: 0x00
[  109.762884] em28xx #0: v4l2 driver version 0.1.2
[  110.156135] em28xx #0: V4L2 video device registered as video0

Now did test tvtime (I know it's not going to work):

shell$ tvtime -v
Ejecutando tvtime 1.0.2.
Leyendo la configuración de /etc/tvtime/tvtime.xml
Leyendo la configuración de /home/havok/.tvtime/tvtime.xml
cpuinfo: CPU AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, family
15, model 11, stepping 2.
cpuinfo: CPU measured at 1002.189MHz.
tvtime: Cannot set priority to -10: Permiso denegado.
xcommon: Display :0.0, vendor The X.Org Foundation, vendor release 10604000
xfullscreen: Using XINERAMA for dual-head information.
xfullscreen: Pixels are square.
xfullscreen: Number of displays is 1.
xfullscreen: Head 0 at 0,0 with size 1440x900.
xcommon: Have XTest, will use it to ping the screensaver.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Window manager is compiz and is EWMH compliant.
xcommon: Using EWMH state fullscreen property.
xcommon: Using EWMH state above property.
xcommon: Using EWMH state below property.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xvoutput: Using XVIDEO adaptor 355: NV17 Video Texture.
speedycode: Using MMXEXT optimized functions.
station: Reading stationlist from /home/havok/.tvtime/stationlist.xml
videoinput: Using video4linux2 driver 'em28xx', card 'Unknown
EM2750/28xx video grabb' (bus usb-0000:00:0b.1-6).
videoinput: Version is 258, capabilities 5000041.
videoinput: No inputs available on video4linux2 device '/dev/video0'.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xcommon: Received a map, marking window as visible (57).
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.

Program says: no inputs available. Unable to open /dev/video0. But the
GUI still responsible, as when we run tvtime with anything plugged in.

Nevertheless,

shell$ ls /dev/ | grep video
video0

So, what I did is reloading the module specifying the device:

shell$ sudo rmmod em28xx
shell$ sudo modprobe --verbose --first-time em28xx card=5
insmod /lib/modules/2.6.31-19-generic/kernel/drivers/media/video/em28xx/em28xx.ko
card=5

shell$ dmesg
[  695.358240] em28xx: New device @ 480 Mbps (eb1a:2820, interface 0, class 0)
[  695.358989] em28xx #0: chip ID is em2820 (or em2710)
[  695.461103] em28xx #0: board has no eeprom
[  695.462226] em28xx #0: Identified as MSI VOX USB 2.0 (card=5)
[  695.830239] saa7115 5-0021: saa7114 found (1f7114d0e000000) @ 0x42
(em28xx #0)
[  698.043727] All bytes are equal. It is not a TEA5767
[  698.043977] tuner 5-0060: chip found @ 0xc0 (em28xx #0)
[  698.076232] tuner-simple 5-0060: creating new instance
[  698.076241] tuner-simple 5-0060: type set to 37 (LG PAL (newer TAPC series))
[  698.097987] em28xx #0: Config register raw data: 0x00
[  698.228070] em28xx #0: v4l2 driver version 0.1.2
[  698.624160] em28xx #0: V4L2 video device registered as video0
[  698.624210] usbcore: registered new interface driver em28xx
[  698.624217] em28xx driver loaded

(So far so good :D )

shell$ tvtime -v
Ejecutando tvtime 1.0.2.
Leyendo la configuración de /etc/tvtime/tvtime.xml
Leyendo la configuración de /home/havok/.tvtime/tvtime.xml
cpuinfo: CPU AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, family
15, model 11, stepping 2.
cpuinfo: CPU measured at 1002.171MHz.
tvtime: Cannot set priority to -10: Permiso denegado.
xcommon: Display :0.0, vendor The X.Org Foundation, vendor release 10604000
xfullscreen: Using XINERAMA for dual-head information.
xfullscreen: Pixels are square.
xfullscreen: Number of displays is 1.
xfullscreen: Head 0 at 0,0 with size 1440x900.
xcommon: Have XTest, will use it to ping the screensaver.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Window manager is compiz and is EWMH compliant.
xcommon: Using EWMH state fullscreen property.
xcommon: Using EWMH state above property.
xcommon: Using EWMH state below property.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xvoutput: Using XVIDEO adaptor 355: NV17 Video Texture.
speedycode: Using MMXEXT optimized functions.
station: Reading stationlist from /home/havok/.tvtime/stationlist.xml
videoinput: Using video4linux2 driver 'em28xx', card 'MSI VOX USB 2.0'
(bus usb-0000:00:0b.1-6).
videoinput: Version is 258, capabilities 5010041.
videoinput: Width 720 too high, using 640 instead as suggested by the driver.
videoinput: Maximum input width: 640 pixels.
tvtime: Sampling input at 640 pixels per scanline.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
[At this point the application freezes in a black screen, nothing can
be done on the GUI]

Curious thing, in the Gnome System Monitor I can see:

Process: tvtime
Wait on channel: videobuf_waiton

This behavior is the same since I bought the device near 2007 for the
v4l tree, so, for me, nothing new.
Just in case: The device work just fine on a Windows machine, so it's
not a hardware problem.

I'm attaching the usb device listing just in case.

As you can see, no error is never thrown, neither on TVTime nor dmesg.
I know that em28xx sources can be found at
v4l-dvb/linux/drivers/media/video/em28xx on the source tree.

I've been watching those source code files, but I'm not sure where to
start. Any advice or help is welcome.

Thanks for your time, and sorry for my English. :P

[-- Attachment #2: lsusb.txt --]
[-- Type: text/plain, Size: 23322 bytes --]


Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.31-19-generic ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0000:00:0b.0
  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     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts             8
  wHubCharacteristic 0x0002
    No power switching (usb 1.0)
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0300 lowspeed power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0100 power
   Port 8: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 001 Device 005: ID eb1a:2820 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          0x2820 
  bcdDevice            1.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          249
    bNumInterfaces          1
    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            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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     0x0400  1x 1024 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
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)

Bus 001 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x0111 Card Reader
  bcdDevice           11.22
  iManufacturer           1 Generic
  iProduct                2 USB2.0-CRW
  iSerial                 3 20021111153705700
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 CARD READER
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              5 Bulk-In, Bulk-Out, Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
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)

Bus 001 Device 004: ID 15a9:0004  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x15a9 
  idProduct          0x0004 
  bcdDevice            0.01
  iManufacturer           1 Ralink
  iProduct                2 802.11 bg WLAN
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              300mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
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)

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 Linux 2.6.31-19-generic ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:0b.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
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts             8
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0503 highspeed power enable connect
   Port 6: 0000.0503 highspeed power enable connect
   Port 7: 0000.0503 highspeed power enable connect
   Port 8: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 19:02     ` Want to help in MSI TV VOX USB 2.0 Carlos Jenkins
@ 2010-02-10 19:20       ` Devin Heitmueller
  2010-02-10 20:57         ` Carlos Jenkins
  2010-02-10 20:41       ` Mauro Carvalho Chehab
  1 sibling, 1 reply; 13+ messages in thread
From: Devin Heitmueller @ 2010-02-10 19:20 UTC (permalink / raw)
  To: Carlos Jenkins; +Cc: linux-media

On Wed, Feb 10, 2010 at 2:02 PM, Carlos Jenkins
<carlos.jenkins.perez@gmail.com> wrote:
> Hi everyone.
>
> First of all, great job :)
>
> My name is Carlos Jenkins, and I'm here to help getting to work the
> MSI TV VOX 8609 USB 2.0 device once again. I know it's an old device,
> but here where I live, in Costa Rica, we still have analog TV only.
>
> TV Standard: NTSC
>
> This device is a em2820/SAA7114H device, I'm sure, I opened it and
> looked at the chips :P
<snip>

Try card=9, and make sure you have tvtime configured to the correct
video standard *before* starting it up (you may need to run the
tvtime-configure command line tool).

Devin


-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 19:02     ` Want to help in MSI TV VOX USB 2.0 Carlos Jenkins
  2010-02-10 19:20       ` Devin Heitmueller
@ 2010-02-10 20:41       ` Mauro Carvalho Chehab
  2010-02-10 20:55         ` Devin Heitmueller
  2010-02-10 21:04         ` Carlos Jenkins
  1 sibling, 2 replies; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2010-02-10 20:41 UTC (permalink / raw)
  To: Carlos Jenkins; +Cc: linux-media

Carlos Jenkins wrote:
> Hi everyone.
> 
> First of all, great job :)
> 
> My name is Carlos Jenkins, and I'm here to help getting to work the
> MSI TV VOX 8609 USB 2.0 device once again. I know it's an old device,
> but here where I live, in Costa Rica, we still have analog TV only. 

> So, what I did is reloading the module specifying the device:
> 
> shell$ sudo rmmod em28xx
> shell$ sudo modprobe --verbose --first-time em28xx card=5
> insmod /lib/modules/2.6.31-19-generic/kernel/drivers/media/video/em28xx/em28xx.ko
> card=5

That't the proper way. You may add it to /etc/modprobe.d/em28xx.conf:
	options em28xx card=5

To avoid needing to specify it every time.

> shell$ dmesg
> [  695.358240] em28xx: New device @ 480 Mbps (eb1a:2820, interface 0, class 0)
> [  695.358989] em28xx #0: chip ID is em2820 (or em2710)
> [  695.461103] em28xx #0: board has no eeprom
> [  695.462226] em28xx #0: Identified as MSI VOX USB 2.0 (card=5)
> [  695.830239] saa7115 5-0021: saa7114 found (1f7114d0e000000) @ 0x42
> (em28xx #0)
> [  698.043727] All bytes are equal. It is not a TEA5767
> [  698.043977] tuner 5-0060: chip found @ 0xc0 (em28xx #0)
> [  698.076232] tuner-simple 5-0060: creating new instance
> [  698.076241] tuner-simple 5-0060: type set to 37 (LG PAL (newer TAPC series))
> [  698.097987] em28xx #0: Config register raw data: 0x00
> [  698.228070] em28xx #0: v4l2 driver version 0.1.2
> [  698.624160] em28xx #0: V4L2 video device registered as video0
> [  698.624210] usbcore: registered new interface driver em28xx
> [  698.624217] em28xx driver loaded
> 
> (So far so good :D )
> 
> shell$ tvtime -v
> Ejecutando tvtime 1.0.2.
> Leyendo la configuración de /etc/tvtime/tvtime.xml
> Leyendo la configuración de /home/havok/.tvtime/tvtime.xml
> cpuinfo: CPU AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, family
> 15, model 11, stepping 2.
> cpuinfo: CPU measured at 1002.171MHz.
> tvtime: Cannot set priority to -10: Permiso denegado.
> xcommon: Display :0.0, vendor The X.Org Foundation, vendor release 10604000
> xfullscreen: Using XINERAMA for dual-head information.
> xfullscreen: Pixels are square.
> xfullscreen: Number of displays is 1.
> xfullscreen: Head 0 at 0,0 with size 1440x900.
> xcommon: Have XTest, will use it to ping the screensaver.
> xcommon: Pixel aspect ratio 1:1.
> xcommon: Pixel aspect ratio 1:1.
> xcommon: Window manager is compiz and is EWMH compliant.
> xcommon: Using EWMH state fullscreen property.
> xcommon: Using EWMH state above property.
> xcommon: Using EWMH state below property.
> xcommon: Pixel aspect ratio 1:1.
> xcommon: Displaying in a 768x576 window inside 768x576 space.
> xvoutput: Using XVIDEO adaptor 355: NV17 Video Texture.
> speedycode: Using MMXEXT optimized functions.
> station: Reading stationlist from /home/havok/.tvtime/stationlist.xml
> videoinput: Using video4linux2 driver 'em28xx', card 'MSI VOX USB 2.0'
> (bus usb-0000:00:0b.1-6).
> videoinput: Version is 258, capabilities 5010041.
> videoinput: Width 720 too high, using 640 instead as suggested by the driver.
> videoinput: Maximum input width: 640 pixels.
> tvtime: Sampling input at 640 pixels per scanline.
> xcommon: Pixel aspect ratio 1:1.
> xcommon: Displaying in a 768x576 window inside 768x576 space.

The above messages seem ok, but I never tried to use tvtime with xinerama.
This used to be a very good application, but it is not maintained anymore.
Not sure if it works fine with newer xorg versions with xinerama. Also,
by default, tvtime enables channel signal detection, but several tuners
don't provide it. So, you need to disable it, in order for tvtime to work.

I suggest you to try mplayer instead. I'm not sure what video standard is
used in Costa Rica, nor what channel frequency list. So, you may need to
adjust the parameters bellow. For NTSC and 6 MHz channels, the command syntax
is:

mplayer -tv driver=v4l2:device=/dev/video0:norm=PAL-M:chanlist=us-bcast tv://

> [At this point the application freezes in a black screen, nothing can
> be done on the GUI]

Maybe due to the lack of signal.

Cheers,
Mauro

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 20:41       ` Mauro Carvalho Chehab
@ 2010-02-10 20:55         ` Devin Heitmueller
  2010-02-10 21:10           ` Carlos Jenkins
  2010-02-10 21:04         ` Carlos Jenkins
  1 sibling, 1 reply; 13+ messages in thread
From: Devin Heitmueller @ 2010-02-10 20:55 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: Carlos Jenkins, linux-media

On Wed, Feb 10, 2010 at 3:41 PM, Mauro Carvalho Chehab
<mchehab@redhat.com> wrote:
> The above messages seem ok, but I never tried to use tvtime with xinerama.
> This used to be a very good application, but it is not maintained anymore.
> Not sure if it works fine with newer xorg versions with xinerama. Also,
> by default, tvtime enables channel signal detection, but several tuners
> don't provide it. So, you need to disable it, in order for tvtime to work.
>
> I suggest you to try mplayer instead. I'm not sure what video standard is
> used in Costa Rica, nor what channel frequency list. So, you may need to
> adjust the parameters bellow. For NTSC and 6 MHz channels, the command syntax
> is:
>
> mplayer -tv driver=v4l2:device=/dev/video0:norm=PAL-M:chanlist=us-bcast tv://
>
>> [At this point the application freezes in a black screen, nothing can
>> be done on the GUI]
>
> Maybe due to the lack of signal.

Does the device even have a tuner?  I had assumed all the em2862
reference designs just did s-video and composite capture.  This one is
a bit different than the others though, since it has a tvp5150 as
opposed to a saa7113.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 19:20       ` Devin Heitmueller
@ 2010-02-10 20:57         ` Carlos Jenkins
  0 siblings, 0 replies; 13+ messages in thread
From: Carlos Jenkins @ 2010-02-10 20:57 UTC (permalink / raw)
  To: Devin Heitmueller; +Cc: linux-media

Hi, thanks for the replies.
> Try card=9,

Ok, done:

sudo modprobe em28xx card=9

[  385.566364] Linux video capture interface: v2.00
[  385.593590] usbcore: registered new interface driver em28xx
[  385.593599] em28xx driver loaded
[  400.104029] usb 1-6: new high speed USB device using ehci_hcd and address 5
[  400.237357] usb 1-6: configuration #1 chosen from 1 choice
[  400.238278] em28xx: New device @ 480 Mbps (eb1a:2820, interface 0, class 0)
[  400.238429] em28xx #0: chip ID is em2820 (or em2710)
[  400.329049] em28xx #0: board has no eeprom
[  400.330173] em28xx #0: Identified as Pinnacle Dazzle DVC
90/100/101/107 / Kaiser Baas Video to DVD maker / Kworld DVD Maker 2
(card=9)
[  400.705185] saa7115 5-0021: saa7114 found (1f7114d0e000000) @ 0x42
(em28xx #0)
[  402.852932] em28xx #0: Config register raw data: 0x00
[  402.984028] em28xx #0: v4l2 driver version 0.1.2
[  403.380126] em28xx #0: V4L2 video device registered as video0

Still nothing.

> and make sure you have tvtime configured to the correct
> video standard *before* starting it up (you may need to run the
> tvtime-configure command line tool).

Already done before.

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 20:41       ` Mauro Carvalho Chehab
  2010-02-10 20:55         ` Devin Heitmueller
@ 2010-02-10 21:04         ` Carlos Jenkins
  2010-02-10 22:03           ` Mauro Carvalho Chehab
  1 sibling, 1 reply; 13+ messages in thread
From: Carlos Jenkins @ 2010-02-10 21:04 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media

> The above messages seem ok, but I never tried to use tvtime with xinerama.
> This used to be a very good application, but it is not maintained anymore.
> Not sure if it works fine with newer xorg versions with xinerama. Also,
> by default, tvtime enables channel signal detection, but several tuners
> don't provide it. So, you need to disable it, in order for tvtime to work.

Thank for the tip, but makes no difference.

> I suggest you to try mplayer instead. I'm not sure what video standard is
> used in Costa Rica, nor what channel frequency list.

As noted on the first mail, NTSC, same as US
(http://es.wikipedia.org/wiki/Archivo:NTSC-PAL-SECAM.svg)

> So, you may need to adjust the parameters bellow. For NTSC and 6 MHz channels, the command syntax
> is:
>
> mplayer -tv driver=v4l2:device=/dev/video0:norm=PAL-M:chanlist=us-bcast tv://

PAL-M? It should not be NTSC something?  Anyway, I'll try that later.

>> [At this point the application freezes in a black screen, nothing can
>> be done on the GUI]
>
> Maybe due to the lack of signal.
Maybe, but I don't think so. When the device is detected but has no
signal TVTime reacts correctly, in this case it freezes, it can't even
get closed.
What about the "Wait on channel: videobuf_waiton" thing?

> Cheers,
> Mauro

Thank for your help.

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 20:55         ` Devin Heitmueller
@ 2010-02-10 21:10           ` Carlos Jenkins
  2010-02-10 21:24             ` Devin Heitmueller
  2010-02-10 22:18             ` Mauro Carvalho Chehab
  0 siblings, 2 replies; 13+ messages in thread
From: Carlos Jenkins @ 2010-02-10 21:10 UTC (permalink / raw)
  To: Devin Heitmueller; +Cc: Mauro Carvalho Chehab, linux-media

2010/2/10 Devin Heitmueller <dheitmueller@kernellabs.com>:
> On Wed, Feb 10, 2010 at 3:41 PM, Mauro Carvalho Chehab
> Does the device even have a tuner?  I had assumed all the em2862
It's a em2820 to be exact.

> reference designs just did s-video and composite capture.

This device has S-Video, Composite and TVTuner.
This is the device:
http://www.msi.com/uploads/Image/product_img/other/multimedia/vox_view.jpg

>This one is a bit different than the others though, since it has a tvp5150 as
> opposed to a saa7113.

It has a saa7114H, I'm sure, I opened it and looked at the chips :P

Thank again for your help.

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 21:10           ` Carlos Jenkins
@ 2010-02-10 21:24             ` Devin Heitmueller
  2010-02-10 22:35               ` Carlos Jenkins
  2010-02-10 22:18             ` Mauro Carvalho Chehab
  1 sibling, 1 reply; 13+ messages in thread
From: Devin Heitmueller @ 2010-02-10 21:24 UTC (permalink / raw)
  To: Carlos Jenkins; +Cc: Mauro Carvalho Chehab, linux-media

On Wed, Feb 10, 2010 at 4:10 PM, Carlos Jenkins
<carlos.jenkins.perez@gmail.com> wrote:
> 2010/2/10 Devin Heitmueller <dheitmueller@kernellabs.com>:
>> On Wed, Feb 10, 2010 at 3:41 PM, Mauro Carvalho Chehab
>> Does the device even have a tuner?  I had assumed all the em2862
> It's a em2820 to be exact.
>
>> reference designs just did s-video and composite capture.
>
> This device has S-Video, Composite and TVTuner.
> This is the device:
> http://www.msi.com/uploads/Image/product_img/other/multimedia/vox_view.jpg
>
>>This one is a bit different than the others though, since it has a tvp5150 as
>> opposed to a saa7113.
>
> It has a saa7114H, I'm sure, I opened it and looked at the chips :P

Sorry about that.  I'm actually working a couple of different em28xx
issues this morning, and got yours confused with the other issue.

Well, if it actually has a tuner, then it is unlikely that any
existing board profile is going to help (ruling out the ability to
just use a "card=").  Do you know what tuner it contains?  Can you
provide some hi-res photos of the internals of the device?

Devin


-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 21:04         ` Carlos Jenkins
@ 2010-02-10 22:03           ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2010-02-10 22:03 UTC (permalink / raw)
  To: Carlos Jenkins; +Cc: linux-media

Carlos Jenkins wrote:
> As noted on the first mail, NTSC, same as US
> (http://es.wikipedia.org/wiki/Archivo:NTSC-PAL-SECAM.svg)
> 
>> So, you may need to adjust the parameters bellow. For NTSC and 6 MHz channels, the command syntax
>> is:
>>
>> mplayer -tv driver=v4l2:device=/dev/video0:norm=PAL-M:chanlist=us-bcast tv://
> 
> PAL-M? It should not be NTSC something?  Anyway, I'll try that later.

Sorry, it should be NTSC. I forgot to replace from my setup.

-- 

Cheers,
Mauro

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 21:10           ` Carlos Jenkins
  2010-02-10 21:24             ` Devin Heitmueller
@ 2010-02-10 22:18             ` Mauro Carvalho Chehab
  2010-02-11 21:51               ` Carlos Jenkins
  1 sibling, 1 reply; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2010-02-10 22:18 UTC (permalink / raw)
  To: Carlos Jenkins; +Cc: Devin Heitmueller, linux-media

Carlos Jenkins wrote:
> 2010/2/10 Devin Heitmueller <dheitmueller@kernellabs.com>:
>> On Wed, Feb 10, 2010 at 3:41 PM, Mauro Carvalho Chehab
>> Does the device even have a tuner?  I had assumed all the em2862
> It's a em2820 to be exact.
> 
>> reference designs just did s-video and composite capture.
> 
> This device has S-Video, Composite and TVTuner.
> This is the device:
> http://www.msi.com/uploads/Image/product_img/other/multimedia/vox_view.jpg
> 
>> This one is a bit different than the others though, since it has a tvp5150 as
>> opposed to a saa7113.
> 
> It has a saa7114H, I'm sure, I opened it and looked at the chips :P
> 
> Thank again for your help.

>From your previous post:

[  695.358240] em28xx: New device @ 480 Mbps (eb1a:2820, interface 0, class 0)
[  695.358989] em28xx #0: chip ID is em2820 (or em2710)
[  695.461103] em28xx #0: board has no eeprom
[  695.462226] em28xx #0: Identified as MSI VOX USB 2.0 (card=5)
[  695.830239] saa7115 5-0021: saa7114 found (1f7114d0e000000) @ 0x42 (em28xx #0)

saa7114 were properly detected.

[  698.043727] All bytes are equal. It is not a TEA5767
[  698.043977] tuner 5-0060: chip found @ 0xc0 (em28xx #0)
[  698.076232] tuner-simple 5-0060: creating new instance
[  698.076241] tuner-simple 5-0060: type set to 37 (LG PAL (newer TAPC series))

The tuner is for sure a simple tuner, but LG PAL is not right, as you're on an NTSC
area. The tuner driver is smart enough to use the NTSC IF frequencies, but you
may have problems with channels 6, 7, 13 and 14, as they are in the frequency
switch range for the 3 segments of the tuner. Also, if the tuner is wrong, the
segment switch may not work. Still, you would be able to see something.

Please open your device and try to identify the tuner model. The tuner is the thin
can where the antenna connector arrive.

[  698.097987] em28xx #0: Config register raw data: 0x00
[  698.228070] em28xx #0: v4l2 driver version 0.1.2
[  698.624160] em28xx #0: V4L2 video device registered as video0
[  698.624210] usbcore: registered new interface driver em28xx
[  698.624217] em28xx driver loaded

The rest of the message seems ok to me.

At the board entry for your card (at em28xx-cards.c), you may try to remove the
.max_range line from your board entry:

...
        [EM2820_BOARD_MSI_VOX_USB_2] = {
...
                .max_range_640_480 = 1,
...

I suspect that limiting the max resolution to 640x480 is only needed for em2800
devices.

This doesn't explain why it is not working, but i remember that tvtime doesn't
like to work with certain resolutions.

You should really test it with mplayer and send us the results.

-- 

Cheers,
Mauro

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 21:24             ` Devin Heitmueller
@ 2010-02-10 22:35               ` Carlos Jenkins
  2010-02-10 23:33                 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 13+ messages in thread
From: Carlos Jenkins @ 2010-02-10 22:35 UTC (permalink / raw)
  To: Devin Heitmueller; +Cc: Mauro Carvalho Chehab, linux-media

Hi :) Thank again for the replies.

> Well, if it actually has a tuner, then it is unlikely that any
> existing board profile is going to help (ruling out the ability to
> just use a "card=").
Profile 5 is for this same card.

> Do you know what tuner it contains?  Can you
> provide some hi-res photos of the internals of the device?

Yes, I can :)

http://www.cjenkins.net/files/msivoxusb2.0.png

Note: Mauro I'll test everything you said later and I'll post the result here.

Cheers.

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 22:35               ` Carlos Jenkins
@ 2010-02-10 23:33                 ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2010-02-10 23:33 UTC (permalink / raw)
  To: Carlos Jenkins; +Cc: Devin Heitmueller, linux-media

Carlos Jenkins wrote:
> Hi :) Thank again for the replies.
> 
>> Well, if it actually has a tuner, then it is unlikely that any
>> existing board profile is going to help (ruling out the ability to
>> just use a "card=").
> Profile 5 is for this same card.
> 
>> Do you know what tuner it contains?  Can you
>> provide some hi-res photos of the internals of the device?
> 
> Yes, I can :)
> 
> http://www.cjenkins.net/files/msivoxusb2.0.png

The tuner is LG/Innotek TALN-H200T.

>From Documentation/video4linux/CARDLIST.tuner:

tuner=25 - LG PAL_I+FM (TAPC-I001D)
tuner=26 - LG PAL_I (TAPC-I701D)
tuner=27 - LG NTSC+FM (TPI8NSR01F)
tuner=28 - LG PAL_BG+FM (TPI8PSB01D)
tuner=29 - LG PAL_BG (TPI8PSB11D)
tuner=37 - LG PAL (newer TAPC series)
tuner=39 - LG NTSC (newer TAPC series)
tuner=47 - LG NTSC (TAPE series)
tuner=64 - LG TDVS-H06xF
tuner=66 - LG TALN series

Probably, tuner=66 will work better.

So, you'll need to probe your card with

	modprobe em28xx card=5 tuner=66

> 
> Note: Mauro I'll test everything you said later and I'll post the result here.

Ok.

-- 

Cheers,
Mauro

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

* Re: Want to help in MSI TV VOX USB 2.0
  2010-02-10 22:18             ` Mauro Carvalho Chehab
@ 2010-02-11 21:51               ` Carlos Jenkins
  0 siblings, 0 replies; 13+ messages in thread
From: Carlos Jenkins @ 2010-02-11 21:51 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: Devin Heitmueller, linux-media

Hi everyone :)

Here the results, testing with Mplayer:

shell$ sudo modprobe em28xx card=5 tuner=66 --first-time --verbose
shell$ dmesg

[ 2520.516403] usbcore: registered new interface driver em28xx
[ 2520.516413] em28xx driver loaded
[ 2526.068029] usb 1-6: new high speed USB device using ehci_hcd and address 9
[ 2526.201224] usb 1-6: configuration #1 chosen from 1 choice
[ 2526.202159] em28xx: New device @ 480 Mbps (eb1a:2820, interface 0, class 0)
[ 2526.202286] em28xx #0: chip ID is em2820 (or em2710)
[ 2526.304907] em28xx #0: board has no eeprom
[ 2526.306030] em28xx #0: Identified as MSI VOX USB 2.0 (card=5)
[ 2526.669043] saa7115 5-0021: saa7114 found (1f7114d0e000000) @ 0x42
(em28xx #0)
[ 2528.824906] All bytes are equal. It is not a TEA5767
[ 2528.825133] tuner 5-0060: chip found @ 0xc0 (em28xx #0)
[ 2528.826040] tuner-simple 5-0060: creating new instance
[ 2528.826048] tuner-simple 5-0060: type set to 66 (LG TALN series)
[ 2528.849779] em28xx #0: Config register raw data: 0x00
[ 2528.980036] em28xx #0: v4l2 driver version 0.1.2
[ 2529.376156] em28xx #0: V4L2 video device registered as video0

*************************************

shell$ ls /dev/ | grep video
video0

*************************************

shell$ mplayer -tv
driver=v4l2:device=/dev/video0:norm=NTSC:chanlist=us-bcast tv://
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: MSI VOX USB 2.0
 Tuner cap:
 Tuner rxs:
 Capabilites:  video capture  tuner  read/write  streaming
 supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR;
4 = NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK;
10 = PAL-M; 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM; 15 =
SECAM-B; 16 = SECAM-G; 17 = SECAM-H; 18 = SECAM-DK; 19 = SECAM-L; 20 =
SECAM-Lc;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 0
 Current format: YUYV
v4l2: current audio mode is : MONO
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
[... Ad infinitum ...]
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: 0 frames successfully processed, 1 frames dropped.

Exiting... (Quit)

Still no video.

> At the board entry for your card (at em28xx-cards.c), you may try to remove the
> .max_range line from your board entry:
>
> ...
>        [EM2820_BOARD_MSI_VOX_USB_2] = {
> ...
>                .max_range_640_480 = 1,

I'll try that, but as you said, this should not be a problem.

Thanks again.
Cheers

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

end of thread, other threads:[~2010-02-11 21:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <f535cc5a1002100021u37bf47a5y50a0a90873a082e2@mail.gmail.com>
     [not found] ` <f535cc5a1002101058h4d8e4bd1p6fd03abd4f724f52@mail.gmail.com>
     [not found]   ` <f535cc5a1002101101k709bbe9bv504cf33fab14dedc@mail.gmail.com>
2010-02-10 19:02     ` Want to help in MSI TV VOX USB 2.0 Carlos Jenkins
2010-02-10 19:20       ` Devin Heitmueller
2010-02-10 20:57         ` Carlos Jenkins
2010-02-10 20:41       ` Mauro Carvalho Chehab
2010-02-10 20:55         ` Devin Heitmueller
2010-02-10 21:10           ` Carlos Jenkins
2010-02-10 21:24             ` Devin Heitmueller
2010-02-10 22:35               ` Carlos Jenkins
2010-02-10 23:33                 ` Mauro Carvalho Chehab
2010-02-10 22:18             ` Mauro Carvalho Chehab
2010-02-11 21:51               ` Carlos Jenkins
2010-02-10 21:04         ` Carlos Jenkins
2010-02-10 22:03           ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox