K
K
KawaiDesu2013-05-14 16:25:35
linux
KawaiDesu, 2013-05-14 16:25:35

Kworld PC134-A and its FM Tuner on Linux?

I got a video capture card (aka TV Tuner, aka FM Tuner). For the purpose for which it was bought (video capture) has not yet been tested, but I suddenly realized that I could try to realize an old dream of an idiot - to broadcast analog FM radio to the network (is it kind of legal?).
Actually, the Kworld PC134-A board (aka Kworld PCI Analog TV Card II) is based on the SAA7134 chip. Diagnostic info:
# lspci -vv

06:00.0 Multimedia controller: Philips Semiconductors SAA7134/SAA7135HL Video Broadcast Decoder (rev 01)
Subsystem: KWorld Computer Co. Ltd. Device 713c
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR - <PERR- INTx-
Latency: 32 (63750ns min, 63750ns max)
Interrupt: pin A routed to IRQ 20
Region 0: Memory at fa005000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [40] Power Management version 1
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=3 PME-
Kernel driver in use: saa7134
Kernel modules: saa7134

$dmesg | grep saa
[62663.111644] saa7130/34: v4l2 driver version 0, 2, 17 loaded
[62663.111677] saa7134[0]: found at 0000:06:00.0, rev: 1, irq: 20, latency: 32, mmio: 0xfa005000
[62663.1111 saa7134[0]: subsystem: 17de:713c, board: Kworld PCI SBTVD/ISDB-T Full-Seg Hybrid [card=182,insmod option]
[62663.111695] saa7134[0]: board init: gpio is 8040000
[62663.260010] saa7134 [0]: i2c eeprom 00: de 17 3c 71 ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260023] saa7134[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260036] saa7134[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260048] saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260060] saa7134[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260072] saa7134[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260084] saa7134[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260096] saa7134[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260108] saa7134[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260120] saa7134[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260132] saa7134[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260144] saa7134 [0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260156] saa7134[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260170] saa7134[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260176] saa7134[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.260183] saa7134[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[62663.268203] saa7134[0]: registered device video0 [v4l2]
[62663.268226] saa7134[0]: registered device vbi0
[62663.270082] saa7134 ALSA driver for DMA sound loaded
[62601.2] saa7134[0]/alsa: saa7134[0] at 0xfa005000 irq 20 registered as card -2
[62663.433050] saa7134[0]/dvb: frontend initialization failed
[62697.805909] saa7134 ALSA driver for DMA sound
unloaded
latency: 32, mmio: 0xfa005000
[62735.561382] saa7134: [62735.561383] saa7134: Congratulations! Your TV card vendor saved a few
[62735.561383] saa7134: cents for a eeprom, thus your pci board has no
[62735.561384] saa7134: subsystem ID and I can't identify it automatically
[62735.561385] saa7134:
[62735.561385] saa7134: I feel better now. Ok, here are the good news:
[62735.561386] saa7134: You can use the card= insmod option to specify
[62735.561387] saa7134: which board do you have. The list:

Actually, dmesg says that the manufacturer is a de goat, did not leave notes about what kind of card we have on this chip and suggests specifying this with options when loading the module.
The essence of the problem is that the radio is not caught. Headphones are plugged in, trying to write sound from the output (hw: 1.0) - either hiss or silence. In alsamixer, all volumes (including SAA7134 audio cards) are turned up to the maximum. I tuned the radio using the fm utility, tested it with fmscan and radio (the first two from the fmtools package). By itself, there is sound (mplayer reproduces it in headphones). I tried to indicate all the numbers of the cards, where "Kworld" appeared in the title. The antenna is plugged in and hung enough to pick up the signal.
It should be noted that I am working with the "server" via SSH from PuTTY, there are no x's on it and everything should be done accordingly from the console.
I'm waiting for advice on where to look, what to pick. While I try to enable debugging of the tvaudio and saa7134 modules, maybe something useful will come out.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question