LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Trying to get analog part to work of Compro T750 (https://www.linuxquestions.org/questions/linux-hardware-18/trying-to-get-analog-part-to-work-of-compro-t750-736173/)

semiRocket 06-28-2009 06:31 AM

Trying to get analog part to work of Compro T750
 
hi

I have this hybrid analog/digital pci card for a year now, and still not success with linux. An improvement is now that cards chip saa7134 and card gets reconized by udev but still I have not got any picture in application.

Program I have installed for watching is tvtime and when I load it, it presents my only with a blue screen and a sign "No signal". I can switch channels, scan channels for signal, change video source (Television, Composite1, S-Video), change it's settings... but all I get is a blu screen with no signal at all.

I've gonne through linuxtv wiki, linuxtv mailing lists, google and I'm still not sure if this card is working in linux. I have seen that people trying to make DVB-T part to work but of the analog TV not a clue. In the moment of writing this my location is not provited with DVB-T signal so I need only analog part for now.

dmesg gives me missing firmware
Code:

saa7134 0000:00:0b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
saa7133[0]: found at 0000:00:0b.0, rev: 209, irq: 19, latency: 32, mmio: 0xdfffb800
saa7133[0]: subsystem: 185b:c900, board: Compro VideoMate T750 [card=139,autodetected]
saa7133[0]: board init: gpio is 84bf00
saa7133[0]: Oops: IR config error [card=139]
usb 4-1: new low speed USB device using uhci_hcd and address 2
saa7133[0]: i2c eeprom 00: 5b 18 00 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 03 01 08 ff 00 87 ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff d7 00 c4 86 1e 05 ff 02 c2 ff 01 c6 ff 05 ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff cb
saa7133[0]: i2c eeprom 60: 35 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner' 1-0061: chip found @ 0xc2 (saa7133[0])
tuner' 1-0062: chip found @ 0xc4 (saa7133[0])
tuner' 1-0063: chip found @ 0xc6 (saa7133[0])
tuner' 1-0068: chip found @ 0xd0 (saa7133[0])
xc2028 1-0061: creating new instance
xc2028 1-0061: type set to XCeive xc2028/xc3028 tuner
firmware: requesting xc3028-v27.fw
usb 4-1: configuration #1 chosen from 1 choice
usb 4-1: New USB device found, idVendor=046d, idProduct=c03e
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-1: Product: USB-PS/2 Optical Mouse
usb 4-1: Manufacturer: Logitech
ppdev: user-space parallel port driver
xc2028 1-0061: Error: firmware xc3028-v27.fw not found.
firmware: requesting xc3028-v27.fw
xc2028 1-0061: Error: firmware xc3028-v27.fw not found.
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0

From LinuxTV wiki
Quote:

This chip is reported as having a Quantek QT1010 silicon tuner for digital broadcast and an Xceive XC2028 for analog.
So I think that I need xc2028 firmware for watching analog TV. I have followed this instructions How to Obtain the Firmware still with no luck. It gives me errors, so I guess I need firmware specific to my card. But I don't have a clue how can I find that specific .sys file.

Here's post of some other guy trying to make it work in Ubuntu, and having the same errors as I'm having.

Please correct me in anything if I'm wrong.

semiRocket 06-28-2009 07:54 AM

I have extracted driver found at Compro site VMHybrid1357.exe which contains
Code:

root@crni:/Workin/Desktop/VMHybrid1357/Disk1/data1# tree -s
|-- [      3072]  34CoInstaller.dll
|-- [    278581]  Msvcrt.dll
|-- [        27]  StringTable-0009-English.ips
|-- [        27]  StringTable-0011-Japanese.ips
|-- [        27]  StringTable-0404-Chinese (Traditional).ips
|-- [        27]  StringTable-0804-Chinese (Simplified).ips
|-- [    1447680]  VMHybr64.sys
|-- [      13060]  VMHybrid.cat
|-- [      11771]  VMHybrid.inf
|-- [    971648]  VMHybrid.sys
|-- [    155648]  VistaDevInstall.dll
|-- [    229376]  _IsRes.dll
|-- [      65503]  corecomp.ini
|-- [      1168]  default.pal
|-- [      45056]  devfind.dll
|-- [    372736]  isrt.dll
|-- [      77878]  msvcirt.dll
|-- [          0]  x64
|  |-- [    525792]  DIFxAPI.dll
|  `-- [      10752]  DIFxCmd.exe
`-- [          0]  x86
    |-- [    319456]  DIFxAPI.dll
    `-- [      9216]  DIFxCmd.exe

I have tried the metod "How to obtain the firmware" with VMHybrid.sys still with no luck:
./extract_xc3028.pl gives
Code:

md5sum: hcw85bda.sys: No such file or directory
Hash of extracted file does not match (found , expected 0e44dbf63bb0169d57446aec21881ff2!

so I have tried renaming it with mv VMHybrid.sys hcw85bda.sys :D
Code:

bash-3.1$ ./extract_xc3028.pl
Hash of extracted file does not match (found d9fb26de56c08955155db3e9abb8eae0, expected 0e44dbf63bb0169d57446aec21881ff2!

So it appears that official firmware cannot be extracted in this way.

Do I need this firmware for watching analog TV?

Electro 06-28-2009 03:25 PM

If the card has S-Video or Composite, first test the card with these inputs. Then move on to the analog tuner. The program tvtime does not have DVB capability, but tvtime is the best program to test analog hook ups. I suggest use MPlayer. Setting up an SAA713x is a trial-n-error process, so both card and tuner options have to be given while loading the saa7134 module.

The following should help to get the firmware.

http://plone.lucidsolutions.co.nz/dv...134-and-xc2028

semiRocket 06-29-2009 10:54 AM

Ok, thanks for the info and recommendation.

First I tried Composite test with my camera, and it worked (It's showing frames normally in color).

Then I did some more goggling and find out this excellent guide Gentoo Wiki SAA7134. I have followed troubleshooting and I don't know how but the "No signal" sign is gonne and it's showing me a channel now. All I did (I think) is removing and loading modules saa7134, saa7134-dvb, saa7134-alsa and tuner. With and without that "autoprobing tuner" script. But after restart, it's still working whith default autoconfigured settings (dmesg output is the same).

However it get me sound in tvtime only after a command like
Code:

sox -c 2 -s -r 32000 -t ossdsp /dev/dsp1 -t ossdsp -r 32000 /dev/dsp &
That command is also from Gentoo wiki. So it seems that the sound driver is working, but the tvtime doesn't use /dev/dsp1 device and I didn't find in tvtime configuration how can I accomlish that it does.

Another problem is that it's showing only one channel, no mather if change channels with mouse wheel, or scan through channels in tvtime config menu. What can be the cause of this?

I'm not sure what I need to do with firmwares located on mcentral.de/firmware/ one archive contains bunch of firmwares, but none of them named xc3028-v27.fw. If I just extract them following instructions on that site, nothing happens, still getting missing firmware issue. Do you suggest renaming them one by one ?


Update:
After I restart from Windows (not shutdown) the last viewed channel from a Windows app appears in tvtime. How is this possible, I don't know, but when I shutdown computer completely the "No signal" is still there :) So I think I still need that firmware. But the Composite input is working, no matter of that.

Electro 06-29-2009 04:36 PM

The program tvtime does not have PCM or WAV playback or any media playback. It just unmutes the audio for the video capture device and the video is then drawn as is from the video capture card. If your video capture device does not have any analog audio output connection, then you have to use a media player to play back digital audio from the video capture card's audio device node.

For DVB play back, MPlayer should be used because it is capable of decoding video formats.

There should be no problems renaming files. Just make sure it is the correct file. Using symbolic links should work.

semiRocket 06-30-2009 03:24 AM

Thank you for the explanation, about the firmware. If I try for example with this file:
ln -s xc3028_init0.i2c.fw xc3028-v27.fw

dmesg gives firmware corrupted, tuner_xc2028 module expects a 64,7KB xc3028-v27.fw file
Code:

firmware: requesting xc3028-v27.fw
xc2028 1-0061: Loading 3026 firmware images from xc3028-v27.fw, type: , ver 64.193
xc2028 1-0061: Firmware type DTV8 OREN538 OREN36 TOYOTA388 TOYOTA794 CHINA F6MHZ INPUT2 (1cf00200), id 1d01cf000d103a0 is corrupted (size=8798, expected 64095185)
xc2028 1-0061: Error: firmware file is corrupted!
xc2028 1-0061: Releasing partially loaded firmware file.

[... and another 9 exactly the same entries]



All times are GMT -5. The time now is 02:06 AM.