Kworld DVB-T 210 - dvb tuning problem
A message that is not in the archive (sent off-list or not yet received): 1204893775.10536.4.camel@ubuntu
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 36 lines · Hartmut Hackmann
Hi, Tim
Quoted 33 lines · timf
Hi Hartmut,
I noticed you had a bit to do with implementing this card.With a fresh install of ubuntu 7.10 (kernel i386 2.6.22-14-generic), the card is auto recognised as: Kworld DVB-T 210 (card=114)
However, tda1004 firmware does not load.
Used download-firmware, placed dvb-fe-tda10046.fw
into/lib/firmware/2.6.22-14-genericRebooted.
Now, again card is recognised, firmware recognised as version 20. Here is the strange part:
- using dvb-utils scan, each time I run that I get a different result in channels.
- I try to scan with Kaffeine - nothing
- I try to scan with Me-tv - nothing
- I try to scan with tvtime - all channels obtained ( no audio).Now, after reboot, if I first start tvtime (analog tv), view a channel, turn tvtime off, and then :
- if I place a previously good channels.dvb in Kaffeine - it plays all channels.
- if I place a previously good channels.conf in Me-tv - it plays all channels.Would it be correct to say that the "switch" is not working for DVB after boot?
I have studied the code, but I need your help to point me in the right direction.
Quoted 7 lines
Quoted 3 lines
Thanks,
TimHermann reported something similar. I have an idea what the reason could be. Please let me check.
Best regards
Hartmut
Hi Hartmut,
Further to this, is the Remote Control meant to work for this card?
lsmod
<snip>
videobuf_core 19460 3 videobuf_dvb,saa7134,videobuf_dma_sg snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi ir_kbd_i2c 11280 1 saa7134 ir_common 38404 2 saa7134,ir_kbd_i2c nvidia 6221648 24 snd_seq 53232 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_eventsnd_timer 24324 2 snd_pcm,snd_seqsnd_seq_device 9228 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
tveeprom 13572 1 saa7134 sky2 46852 0 parport_pc 37412 1 parport 37448 3 ppdev,lp,parport_pc i2c_core 26112 18
tda1004x,saa7134_dvb,tuner,tea5767,tda8290,tda18271,tda827x,tuner_xc2028,xc5000,tda9887,tuner_simple,mt20xx,tea5761,saa7134,v4l2_common,ir_kbd_i2c,nvidia,tveeprom
psmouse 39952 0
pcspkr 4224 0
<snip>
timf@ubuntu:~$ sudo cat /proc/bus/input/devices [sudo] password for timf: I: Bus=0017 Vendor=0001 Product=0001 Version=0100 N: Name="Macintosh mouse button emulation" P: Phys= S: Sysfs=/class/input/input0 U: Uniq= H: Handlers=mouse0 event0 B: EV=7 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=3
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=045e Product=0040 Version=0110
N: Name="Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)"
P: Phys=usb-0000:00:1a.2-2/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse1 event2
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=kbd event3
B: EV=40001
B: SND=6
I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=button_power/button/input0
S: Sysfs=/class/input/input4
U: Uniq=
H: Handlers=kbd event4
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input5
U: Uniq=
H: Handlers=kbd event5
B: EV=3
B: KEY=100000 0 0 0
Regards,
Tim
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi, Tim
Quoted 40 lines · timf
Quoted 39 lines · Hartmut Hackmann
Hi, Tim
Quoted 36 lines · timf
Hi Hartmut,
I noticed you had a bit to do with implementing this card.With a fresh install of ubuntu 7.10 (kernel i386 2.6.22-14-generic), the card is auto recognised as: Kworld DVB-T 210 (card=114)
However, tda1004 firmware does not load.
Used download-firmware, placed dvb-fe-tda10046.fw
into/lib/firmware/2.6.22-14-genericRebooted.
Now, again card is recognised, firmware recognised as version 20. Here is the strange part:
- using dvb-utils scan, each time I run that I get a different result in channels.
- I try to scan with Kaffeine - nothing
- I try to scan with Me-tv - nothing
- I try to scan with tvtime - all channels obtained ( no audio).Now, after reboot, if I first start tvtime (analog tv), view a channel, turn tvtime off, and then :
- if I place a previously good channels.dvb in Kaffeine - it plays all channels.
- if I place a previously good channels.conf in Me-tv - it plays all channels.Would it be correct to say that the "switch" is not working for DVB after boot?
I have studied the code, but I need your help to point me in the right direction.
Thanks,
Tim
Quoted 9 lines
Quoted 4 lines
Hermann reported something similar. I have an idea what the reason could be. Please let me check.
Best regards
HartmutHi Hartmut,
Further to this, is the Remote Control meant to work for this card?
<snip>
Looks like the Remote is not supported. I can't help here since i don't have access to this card.
In my personal Repository:
http://linuxtv.org/hg/~hhackmann/v4l-dvb/
the problems with the tuning code should be fixed. Can you please give it a try?
Best Regards
Hartmut
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi Hartmut,
Apologies for the length of this msg, I'm not sure what info you may need, so I'm trying to show you that all is not right.
1) New install of ubuntu 7.10 i386.
2) Install Me-tv, Tvtime.
Me-tv, in the absence of a channels.conf, scans
via /usr/share/doc/dvb-utils/examples/scan/dvb-t
3) I placed au-Perth_roleystone
into /usr/share/doc/dvb-utils/examples/scan/dvb-t:
# Australia / Perth (Roleystone transmitter)
# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy # SBS
T 704500000 7MHz 2/3 NONE QAM64 8k 1/8 NONE
# ABC
T 725500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Seven
T 746500000 7MHz 2/3 NONE QAM64 8k 1/16 NONE
# Nine
T 767500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Ten
T 788500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
4) Started Me-tv
Here is the output of Me-tv as it does it's first scan:
Failed to tune to transponder at 704500000 (Yet I'm viewing SBS on a
diff box!)
Failed to tune to transponder at 704500000
Found channel: ABC HDTV
Found channel: ABC1
Found channel: ABC2
Found channel: ABC1
Found channel: ABC3
Found channel: ABC DiG Radio
Found channel: ABC DiG Jazz
Found channel: 7 Digital
Found channel: 7 HD Digital
Found channel: 7 Digital 1
Found channel: 7 Digital 2
Found channel: 7 Digital 3
Found channel: 7 Program Guide
Found channel: Nine Digital
Found channel: Nine HD
Found channel: TEN HD
Found channel: TEN Digital
Found channel: TEN HD
Here is the first channels.conf Me-tv created:
ABC HDTV:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:516:0:736 ABC1:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:737 ABC2:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:513:651:738 ABC1:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:739 ABC3:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:740 ABC DiG Radio:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:0:690:742 ABC DiG Jazz:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:0:700:743 7 Digital:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1537:1538:1376 7 Digital 1:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1537:1538:1377 7 Digital 2:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1537:1538:1378 7 Digital 3:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1537:1538:1379 7 HD Digital:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1601:0:1380 7 Program Guide:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1633:1634:1382 Nine Digital:767500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:1025 Nine HD:767500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:522:0:1030 TEN HD:788500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:514:0:1665 TEN Digital:788500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:1669 TEN HD:788500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:514:0:1672
4) Deleted channels.conf, Me-tv rescan:
Here is the output of Me-tv as it does it's second scan:
Failed to tune to transponder at 704500000 (SBS still viewed on diff box)
Failed to tune to transponder at 704500000
Failed to tune to transponder at 725500000 (only 3 channels here - ABC HDTV, ABC1, ABC2)
Found channel: ABC HDTV
Found channel: ABC1
Found channel: ABC2
Found channel: ABC1
Found channel: ABC3
Found channel: ABC DiG Radio
Found channel: ABC DiG Jazz
Found channel: 7 Digital
Found channel: 7 HD Digital
Found channel: 7 Digital 1
Found channel: 7 Digital 2
Found channel: 7 Digital 3
Found channel: 7 Program Guide
Found channel: Nine Digital
Found channel: Nine HD
Found channel: TEN HD
Found channel: TEN Digital
Found channel: TEN HD
Here is the second channels.conf Me-tv created:
ABC HDTV:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:516:0:736 ABC1:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:737 ABC2:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:513:651:738 ABC1:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:739 ABC3:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:740 ABC DiG Radio:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:0:690:742 ABC DiG Jazz:725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:0:700:743 7 Digital:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1537:1538:1376 7 Digital 1:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1537:1538:1377 7 Digital 2:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1537:1538:1378 7 Digital 3:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1537:1538:1379 7 HD Digital:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1601:0:1380 7 Program Guide:746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1633:1634:1382 Nine Digital:767500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:1025 Nine HD:767500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:522:0:1030 TEN HD:788500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:514:0:1665 TEN Digital:788500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:1669 TEN HD:788500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:514:0:1672
5) I then started Me-tv.
Here is the message it gave me:
Failed to open video stream: No demux plugin
6) I installed Kaffeine.
I placed au-Perth_roleystone into kaffeine.
This is the channels.dvb created by kaffeine:
#Generated by Kaffeine 0.5
That's correct - zero!
Kaffeine failed to scan anything.
7) Now I started Tvtime, commenced the channel scan, it failed to find any channel!
8) Back to Kaffeine. No channels found!
9) Back to Me-tv, delete channels.conf.
Starts to scan, it very quickly jumps out with this message:
There are no usable channels in the channels.conf file
10) Reboot.
root@ubuntu2:/home/timf# scan /home/timf/au-Perth_roleystone
Quoted 1 line
/root/.tzap/channels.conf
scanning /home/timf/au-Perth_roleystone
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' initial transponder 704500000 1 2 9 3 1 2 0
initial transponder 725500000 1 3 9 3 1 1 0
initial transponder 746500000 1 2 9 3 1 1 0
initial transponder 767500000 1 3 9 3 1 1 0
initial transponder 788500000 1 3 9 3 1 1 0
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
704500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
704500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
725500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE 0x0000 0x02e0: pmt_pid 0x0102 ABC -- ABC HDTV (running)0x0000 0x02e1: pmt_pid 0x0100 ABC -- ABC1 (running)0x0000 0x02e2: pmt_pid 0x0101 ABC -- ABC2 (running)0x0000 0x02e3: pmt_pid 0x0103 ABC -- ABC1 (running)0x0000 0x02e4: pmt_pid 0x0104 ABC -- ABC3 (running)0x0000 0x02e6: pmt_pid 0x0105 ABC -- ABC DiG Radio (running)0x0000 0x02e7: pmt_pid 0x0106 ABC -- ABC DiG Jazz (running)
Network Name 'ABC Perth'
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
746500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE Network Name 'Seven Network'0x0000 0x0560: pmt_pid 0x0600 Seven Network -- 7 Digital (running)0x0000 0x0564: pmt_pid 0x0640 Network Seven -- 7 HD Digital (running)0x0000 0x0561: pmt_pid 0x0610 Seven Network -- 7 Digital 1 (running)0x0000 0x0562: pmt_pid 0x0620 Network Seven -- 7 Digital 2 (running)0x0000 0x0563: pmt_pid 0x0630 Network Seven -- 7 Digital 3 (running)0x0000 0x0566: pmt_pid 0x0660 Seven Network -- 7 Program Guide (running)
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
767500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE 0x0000 0x0401: pmt_pid 0x0100 Nine Network -- Nine Digital (running)0x0000 0x0406: pmt_pid 0x0105 Nine Network -- Nine HD (running)
Network Name 'Nine Network'
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
788500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE 0x0000 0x0681: pmt_pid 0x0101 Ten Perth -- TEN HD (running)0x0000 0x0685: pmt_pid 0x0100 Ten Perth -- TEN Digital (running)0x0000 0x0688: pmt_pid 0x0107 Ten Perth -- TEN HD (running)
Network Name 'Network TEN'
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_3_4:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x0000
WARNING: filter timeout pid 0x0010
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_3_4:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE 0x0506 0x0560: pmt_pid 0x0600 Seven Network -- 7 Digital (running)0x0506 0x0564: pmt_pid 0x0640 Network Seven -- 7 HD Digital (running)0x0506 0x0561: pmt_pid 0x0610 Seven Network -- 7 Digital 1 (running)0x0506 0x0562: pmt_pid 0x0620 Network Seven -- 7 Digital 2 (running)0x0506 0x0563: pmt_pid 0x0630 Network Seven -- 7 Digital 3 (running)0x0506 0x0566: pmt_pid 0x0660 Seven Network -- 7 Program Guide (running)
Network Name 'Seven Network'
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
191625000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE 0x0450 0x0401: pmt_pid 0x0100 Nine Network -- Nine Digital (running)0x0450 0x0406: pmt_pid 0x0105 Nine Network -- Nine HD (running)
Network Name 'Nine Network'
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to:
219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE 0x0607 0x0681: pmt_pid 0x0101 Ten Perth -- TEN HD (running)0x0607 0x0685: pmt_pid 0x0100 Ten Perth -- TEN Digital (running)0x0607 0x0688: pmt_pid 0x0107 Ten Perth -- TEN HD (running)
Network Name 'Network TEN'
dumping lists (29 services)
Done.
root@ubuntu2:/home/timf#
11) And yet I am viewing SBS (704.5MHz) on a different box at the same time!
12) Try a different hard drive.
dmesg after new install ubuntu 7.10 amd64, apply Hartmut's repo, reboot. NOTE - no firmware found at new install, or after patch.
<snip>
[ 44.243956] Linux video capture interface: v2.00 [ 44.304301] saa7130/34: v4l2 driver version 0.2.14 loaded [ 44.304666] ACPI: PCI Interrupt 0000:05:01.0[A] -> GSI 17 (level, low) -> IRQ 17 [ 44.304674] saa7133[0]: found at 0000:05:01.0, rev: 209, irq: 17, latency: 64, mmio: 0xfebff800 [ 44.304680] saa7133[0]: subsystem: 17de:7250, board: KWorld DVB-T 210 [card=114,autodetected] [ 44.304690] saa7133[0]: board init: gpio is 100 [ 44.356794] parport_pc 00:06: reported by Plug and Play ACPI [ 44.356906] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA] [ 44.438910] nvidia: module license 'NVIDIA' taints kernel. [ 44.465523] saa7133[0]: i2c eeprom 00: de 17 50 72 ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465531] saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465538] saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465544] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465551] saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465557] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465564] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465571] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465577] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465583] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465590] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465596] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465603] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465609] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465616] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.465622] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.906833] tuner' 0-004b: chip found @ 0x96 (saa7133[0]) [ 45.007476] tda829x 0-004b: setting tuner address to 61 [ 45.072125] tda829x 0-004b: type set to tda8290+75a [ 48.964105] saa7133[0]: registered device video0 [v4l2] [ 48.964125] saa7133[0]: registered device vbi0 [ 48.964144] saa7133[0]: registered device radio0 [ 49.028483] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 17 [ 49.028503] PCI: Setting latency timer of device 0000:02:00.0 to 64 [ 49.029096] sky2 0000:02:00.0: v1.18 addr 0xfeafc000 irq 17 Yukon-EC Ultra (0xb4) rev 3 [ 49.029446] sky2 eth0: addr 00:1b:fc:b3:85:32 [ 49.029705] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22 [ 49.030157] PCI: Setting latency timer of device 0000:00:1b.0 to 64 [ 49.047064] saa7134 ALSA driver for DMA sound loaded [ 49.047089] saa7133[0]/alsa: saa7133[0] at 0xfebff800 irq 17 registered as card -2 [ 49.185743] DVB: registering new adapter (saa7133[0]) [ 49.185750] DVB: registering frontend 0 (Philips TDA10046H DVB-T)... [ 49.238054] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS... [ 49.278237] tda1004x: setting up plls for 48MHz sampling clock [ 49.355006] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16 [ 49.355018] PCI: Setting latency timer of device 0000:01:00.0 to 64 [ 49.355169] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 100.14.19 Wed Sep 12 14:08:38 PDT 2007 [ 50.330401] loop: module loaded [ 50.347517] lp0: using parport0 (interrupt-driven). [ 50.439977] Adding 20474832k swap on /dev/sda3. Priority:-1 extents:1 across:20474832k [ 50.781333] EXT3 FS on sda2, internal journal [ 51.526526] tda1004x: timeout waiting for DSP ready [ 51.566789] tda1004x: found firmware revision 0 -- invalid [ 51.566794] tda1004x: trying to boot from eeprom [ 51.746062] input: Power Button (FF) as /class/input/input4 <snip> [ 53.686958] Bluetooth: RFCOMM ver 1.8 [ 53.912838] tda1004x: timeout waiting for DSP ready [ 53.952857] tda1004x: found firmware revision 0 -- invalid [ 53.952864] tda1004x: waiting for firmware upload... [ 53.989689] tda1004x: no firmware upload (timeout or file not found?) [ 53.989697] tda1004x: firmware upload failed [ 54.084951] tda827x_probe_version: could not read from tuner at addr: 0xc2 [ 55.247554] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control rx [ 58.000140] NET: Registered protocol family 17 [ 59.463229] NET: Registered protocol family 10 [ 59.463448] lo: Disabled Privacy Extensions [ 70.223095] eth0: no IPv6 routers present
timf@ubuntu:~$
13) Most times, "tda1004x: found firmware revision 20 -- ok" appears from a new install of ubuntu.
Shouldn't have to but will copy firmware into /lib...
Again, dmesg
<snip>
[ 44.705797] Linux video capture interface: v2.00 [ 44.715868] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 17 [ 44.715882] PCI: Setting latency timer of device 0000:02:00.0 to 64 [ 44.716338] sky2 0000:02:00.0: v1.18 addr 0xfeafc000 irq 17 Yukon-EC Ultra (0xb4) rev 3 [ 44.716629] sky2 eth0: addr 00:1b:fc:b3:85:32 [ 44.743125] nvidia: module license 'NVIDIA' taints kernel. [ 44.999183] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16 [ 44.999192] PCI: Setting latency timer of device 0000:01:00.0 to 64 [ 44.999283] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 100.14.19 Wed Sep 12 14:08:38 PDT 2007 [ 45.038102] saa7130/34: v4l2 driver version 0.2.14 loaded [ 45.038164] ACPI: PCI Interrupt 0000:05:01.0[A] -> GSI 17 (level, low) -> IRQ 17 [ 45.038172] saa7133[0]: found at 0000:05:01.0, rev: 209, irq: 17, latency: 64, mmio: 0xfebff800 [ 45.038177] saa7133[0]: subsystem: 17de:7250, board: KWorld DVB-T 210 [card=114,autodetected] [ 45.038184] saa7133[0]: board init: gpio is 100 [ 45.193124] saa7133[0]: i2c eeprom 00: de 17 50 72 ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193138] saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193149] saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193160] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193171] saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193181] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193192] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193203] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193214] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193225] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193236] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193246] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193257] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193268] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193279] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.193290] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 45.362597] tuner' 0-004b: chip found @ 0x96 (saa7133[0]) [ 45.451089] tda829x 0-004b: setting tuner address to 61 [ 45.515667] tda829x 0-004b: type set to tda8290+75a [ 49.411813] saa7133[0]: registered device video0 [v4l2] [ 49.411839] saa7133[0]: registered device vbi0 [ 49.411867] saa7133[0]: registered device radio0 [ 49.476227] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22 [ 49.476832] PCI: Setting latency timer of device 0000:00:1b.0 to 64 [ 49.491099] saa7134 ALSA driver for DMA sound loaded [ 49.491124] saa7133[0]/alsa: saa7133[0] at 0xfebff800 irq 17 registered as card -2 [ 49.629385] DVB: registering new adapter (saa7133[0]) [ 49.629392] DVB: registering frontend 0 (Philips TDA10046H DVB-T)... [ 49.685697] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS... [ 49.721872] tda1004x: setting up plls for 48MHz sampling clock [ 50.650342] loop: module loaded [ 50.679408] lp0: using parport0 (interrupt-driven). [ 50.760172] Adding 20474832k swap on /dev/sda3. Priority:-1 extents:1 across:20474832k [ 51.084663] EXT3 FS on sda2, internal journal [ 51.986627] tda1004x: timeout waiting for DSP ready [ 52.023796] input: Power Button (FF) as /class/input/input4 [ 52.023813] ACPI: Power Button (FF) [PWRF] [ 52.023912] input: Power Button (CM) as /class/input/input5 [ 52.023925] ACPI: Power Button (CM) [PWRB] [ 52.026680] tda1004x: found firmware revision 0 -- invalid [ 52.026685] tda1004x: trying to boot from eeprom [ 52.092993] No dock devices found. <snip> [ 54.015117] Bluetooth: RFCOMM ver 1.8 [ 54.384480] tda1004x: timeout waiting for DSP ready [ 54.424482] tda1004x: found firmware revision 0 -- invalid [ 54.424485] tda1004x: waiting for firmware upload... [ 55.760359] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control rx [ 58.951632] NET: Registered protocol family 17 [ 62.002779] NET: Registered protocol family 10 [ 62.002992] lo: Disabled Privacy Extensions [ 72.014443] eth0: no IPv6 routers present [ 73.030281] tda1004x: found firmware revision 20 -- ok
timf@ubuntu:~$
14) Again exactly same result as last time with dvb, analog.
15) With this refactoring, do the app developers have to adjust anything? Tzap has problems also.
This actually worse than before, it is now not tuning correctly. What do I try next? Very frustrating.
Do you want any debug options?
PS. I've actually managed to get the remote to work through a very convoluted approach via the archives (Hermann), using ir-kbd-i2c.c, saa7134-i2c.c. But it's no use unless we can fix this tuning/scanning issue.
Regards,
Tim
Quoted 57 lines · Hartmut Hackmann
Hi, Tim
Quoted 40 lines · timf
Quoted 39 lines · Hartmut Hackmann
Hi, Tim
Quoted 36 lines · timf
Hi Hartmut,
I noticed you had a bit to do with implementing this card.With a fresh install of ubuntu 7.10 (kernel i386 2.6.22-14-generic), the card is auto recognised as: Kworld DVB-T 210 (card=114)
However, tda1004 firmware does not load.
Used download-firmware, placed dvb-fe-tda10046.fw
into/lib/firmware/2.6.22-14-genericRebooted.
Now, again card is recognised, firmware recognised as version 20. Here is the strange part:
- using dvb-utils scan, each time I run that I get a different result in channels.
- I try to scan with Kaffeine - nothing
- I try to scan with Me-tv - nothing
- I try to scan with tvtime - all channels obtained ( no audio).Now, after reboot, if I first start tvtime (analog tv), view a channel, turn tvtime off, and then :
- if I place a previously good channels.dvb in Kaffeine - it plays all channels.
- if I place a previously good channels.conf in Me-tv - it plays all channels.Would it be correct to say that the "switch" is not working for DVB after boot?
I have studied the code, but I need your help to point me in the right direction.
Thanks,
TimQuoted 9 lines
Quoted 4 lines
Hermann reported something similar. I have an idea what the reason could be. Please let me check.
Best regards
HartmutHi Hartmut,
Further to this, is the Remote Control meant to work for this card?
<snip>
Looks like the Remote is not supported. I can't help here since i don't have access to this card.
Quoted 7 lines
In my personal Repository:
http://linuxtv.org/hg/~hhackmann/v4l-dvb/
the problems with the tuning code should be fixed. Can you please give it a try?Best Regards
Hartmut
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi, Tim
Quoted 15 lines · timf
Hi Hartmut,
Apologies for the length of this msg, I'm not sure what info you may need, so I'm trying to show you that all is not right.
1) New install of ubuntu 7.10 i386.
2) Install Me-tv, Tvtime.
Me-tv, in the absence of a channels.conf, scans
via/usr/share/doc/dvb-utils/examples/scan/dvb-t3) I placed au-Perth_roleystone
into/usr/share/doc/dvb-utils/examples/scan/dvb-t:
Quoted 13 lines
# Australia / Perth (Roleystone transmitter)
# T freq bwfec_hifec_lomod transmission-mode guard-interval hierarchy # SBS
T 704500000 7MHz 2/3 NONE QAM64 8k 1/8 NONE
# ABC
T 725500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Seven
T 746500000 7MHz 2/3 NONE QAM64 8k 1/16 NONE
# Nine
T 767500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Ten
T 788500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
Hm, is that right? The transmitter at 704.5MHz has a different configuration from all others? That's unusual...
There is a speciality with this channel decoder: If you define a parameter like the GI, it takes this serious while many others ignore it.
<snip>
Quoted 4 lines
13) Most times, "tda1004x: found firmware revision 20 -- ok" appears from a new install of ubuntu.
Shouldn't have to but will copy firmware into /lib...
And here we have the problem: as long as the firmware download is not reliable, the board is unusable.
There must be somehing wrong with the board configuration. In saa7134-dvb.c, line 744, please try to excange:
.gpio_config = TDA10046_GP11_I, with .gpio_config = TDA10046_GP01_I,
does this make the firmware load stable?
Best regards
Hartmut
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi Hartmut,
Quoted 46 lines · Hartmut Hackmann
Hi, Tim
Quoted 15 lines · timf
Hi Hartmut,
Apologies for the length of this msg, I'm not sure what info you may need, so I'm trying to show you that all is not right.
1) New install of ubuntu 7.10 i386.
2) Install Me-tv, Tvtime.
Me-tv, in the absence of a channels.conf, scans
via/usr/share/doc/dvb-utils/examples/scan/dvb-t3) I placed au-Perth_roleystone
into/usr/share/doc/dvb-utils/examples/scan/dvb-t:Quoted 13 lines
# Australia / Perth (Roleystone transmitter)
# T freq bwfec_hifec_lomod transmission-mode guard-interval hierarchy # SBS
T 704500000 7MHz 2/3 NONE QAM64 8k 1/8 NONE
# ABC
T 725500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Seven
T 746500000 7MHz 2/3 NONE QAM64 8k 1/16 NONE
# Nine
T 767500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Ten
T 788500000 7MHz 3/4 NONE QAM64 8k 1/16 NONEHm, is that right? The transmitter at 704.5MHz has a different configuration from all others? That's unusual...
There is a speciality with this channel decoder: If you define a parameter like the GI, it takes this serious while many others ignore it.<snip>
Quoted 4 lines
13) Most times, "tda1004x: found firmware revision 20 -- ok" appears from a new install of ubuntu.
Shouldn't have to but will copy firmware into /lib...And here we have the problem: as long as the firmware download is not reliable, the board is unusable.
There must be somehing wrong with the board configuration. Insaa7134-dvb.c, line 744, please try to excange:
Quoted 7 lines
.gpio_config = TDA10046_GP11_I, with .gpio_config = TDA10046_GP01_I,does this make the firmware load stable?
Best regards
Hartmut
Improved, I think.
With Me-tv, using au-Perth_roleystone:
(SBS is on 704500000)
Failed to tune to transponder at 704500000
Found channel: SBS HD
Found channel: SBS
Found channel: SBS NEWS
Found channel: SBS 2
Found channel: SBS RADIO 1
Found channel: SBS RADIO 2
Found channel: ABC HDTV
Found channel: ABC1
Found channel: ABC2
Found channel: ABC1
Found channel: ABC3
Found channel: ABC DiG Radio
Found channel: ABC DiG Jazz
Found channel: 7 Digital
Found channel: 7 HD Digital
Found channel: 7 Digital 1
Found channel: 7 Digital 2
Found channel: 7 Digital 3
Found channel: 7 Program Guide
Found channel: Nine Digital
Found channel: Nine HD
Found channel: TEN HD
Found channel: TEN Digital
Found channel: TEN HD
However, with Kaffeine channels.dvb:
#Generated by Kaffeine 0.5
TV|7 Digital|1537(2)|1538(eng),|1540|1376|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|1||| TV|7 Digital 1|1537(2)|1538(eng),|1540|1377|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|2||| TV|7 Digital 2|1537(2)|1538(eng),|1540|1378|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|3||| TV|7 Digital 3|1537(2)|1538(eng),|1540|1379|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|4||| TV|Nine Digital|512(2)|650(eng),651(ac3),|576|1025|1104|Terrestrial| 191625|0|v|34|-1|64|12|7|8|16|0|5||| TV|Nine HD|522(2)|750(ac3),|576|1030|1104|Terrestrial|191625|0|v|34|-1| 64|12|7|8|16|0|6||| TV|7 HD Digital|1601(2)|1603(ac3),|0|1380|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|7||| TV|7 Program Guide|1633(2)|1634,|0|1382|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|8||| TV|TEN Digital|512(2)|650(eng),651(ac3),|576|1669|1543|Terrestrial| 219500|0|v|34|-1|64|12|7|8|16|0|9||| TV|TEN HD|514(2)|672(ac3),|577|1672|1543|Terrestrial|788500|0|v|34|-1| 64|-1|7|8|16|0|10||| TV|TEN HD-1|514(2)|672(ac3),|577|1665|1543|Terrestrial|788500|0|v|34|-1| 64|-1|7|8|16|0|11|||
So Kaffeine is not happy now.
dmesg
<snip>
[ 43.751473] Linux video capture interface: v2.00 [ 43.780417] nvidia: module license 'NVIDIA' taints kernel. <snip> [ 44.101925] saa7133[0]: found at 0000:05:01.0, rev: 209, irq: 17, latency: 64, mmio: 0xfebff800 [ 44.101931] saa7133[0]: subsystem: 17de:7250, board: KWorld DVB-T 210 [card=114,autodetected] [ 44.101940] saa7133[0]: board init: gpio is 100 [ 44.250022] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22 [ 44.250500] PCI: Setting latency timer of device 0000:00:1b.0 to 64 [ 44.259010] saa7133[0]: i2c eeprom 00: de 17 50 72 ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259023] saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259034] saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259045] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259056] saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259066] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259077] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259088] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259099] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259110] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259121] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259131] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259142] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259153] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259164] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259174] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.372044] tuner' 0-004b: chip found @ 0x96 (saa7133[0]) [ 44.456848] tda829x 0-004b: setting tuner address to 61 [ 44.460864] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS... [ 44.537235] tda829x 0-004b: type set to tda8290+75a [ 48.498066] saa7133[0]: registered device video0 [v4l2] [ 48.498214] saa7133[0]: registered device vbi0 [ 48.498363] saa7133[0]: registered device radio0 [ 48.582667] saa7134 ALSA driver for DMA sound loaded [ 48.582699] saa7133[0]/alsa: saa7133[0] at 0xfebff800 irq 17 registered as card -2 [ 48.846762] DVB: registering new adapter (saa7133[0]) [ 48.846768] DVB: registering frontend 0 (Philips TDA10046H DVB-T)... [ 48.918706] tda1004x: setting up plls for 48MHz sampling clock [ 49.202699] tda1004x: found firmware revision 20 -- ok <snip> ...... <snip> [ 152.485617] tda1004x: setting up plls for 48MHz sampling clock [ 152.681710] tda1004x: found firmware revision 20 -- ok [ 431.669193] tda1004x: setting up plls for 48MHz sampling clock [ 431.868920] tda1004x: found firmware revision 20 -- ok [ 477.103776] tda1004x: setting up plls for 48MHz sampling clock [ 477.299645] tda1004x: found firmware revision 20 -- ok [ 490.469730] tda1004x: setting up plls for 48MHz sampling clock [ 490.693412] tda1004x: found firmware revision 20 -- ok
timf@ubuntu:~$
I also have a Pinnacle 310i, so I can do a test for your new personal repo.
(I have never been able to get the remote going with this card.)
Best regards,
Tim
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi, Tim
Quoted 187 lines · timf
Hi Hartmut,
Quoted 45 lines · Hartmut Hackmann
Hi, Tim
Quoted 15 lines · timf
Hi Hartmut,
Apologies for the length of this msg, I'm not sure what info you may need, so I'm trying to show you that all is not right.
1) New install of ubuntu 7.10 i386.
2) Install Me-tv, Tvtime.
Me-tv, in the absence of a channels.conf, scans
via/usr/share/doc/dvb-utils/examples/scan/dvb-t3) I placed au-Perth_roleystone
into/usr/share/doc/dvb-utils/examples/scan/dvb-t:Quoted 13 lines
# Australia / Perth (Roleystone transmitter)
# T freq bwfec_hifec_lomod transmission-mode guard-interval hierarchy # SBS
T 704500000 7MHz 2/3 NONE QAM64 8k 1/8 NONE
# ABC
T 725500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Seven
T 746500000 7MHz 2/3 NONE QAM64 8k 1/16 NONE
# Nine
T 767500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Ten
T 788500000 7MHz 3/4 NONE QAM64 8k 1/16 NONEHm, is that right? The transmitter at 704.5MHz has a different configuration from all others? That's unusual...
There is a speciality with this channel decoder: If you define a parameter like the GI, it takes this serious while many others ignore it.<snip>
Quoted 4 lines
13) Most times, "tda1004x: found firmware revision 20 -- ok" appears from a new install of ubuntu.
Shouldn't have to but will copy firmware into /lib...And here we have the problem: as long as the firmware download is not reliable, the board is unusable.
There must be somehing wrong with the board configuration. Insaa7134-dvb.c, line 744, please try to excange:Quoted 7 lines
.gpio_config = TDA10046_GP11_I, with .gpio_config = TDA10046_GP01_I,does this make the firmware load stable?
Best regards
HartmutImproved, I think.
With Me-tv, using au-Perth_roleystone:
(SBS is on 704500000)Failed to tune to transponder at 704500000
Found channel: SBS HD
Found channel: SBS
Found channel: SBS NEWS
Found channel: SBS 2
Found channel: SBS RADIO 1
Found channel: SBS RADIO 2
Found channel: ABC HDTV
Found channel: ABC1
Found channel: ABC2
Found channel: ABC1
Found channel: ABC3
Found channel: ABC DiG Radio
Found channel: ABC DiG Jazz
Found channel: 7 Digital
Found channel: 7 HD Digital
Found channel: 7 Digital 1
Found channel: 7 Digital 2
Found channel: 7 Digital 3
Found channel: 7 Program Guide
Found channel: Nine Digital
Found channel: Nine HD
Found channel: TEN HD
Found channel: TEN Digital
Found channel: TEN HDHowever, with Kaffeine channels.dvb:
#Generated by Kaffeine 0.5
TV|7 Digital|1537(2)|1538(eng),|1540|1376|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|1||| TV|7 Digital 1|1537(2)|1538(eng),|1540|1377|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|2||| TV|7 Digital 2|1537(2)|1538(eng),|1540|1378|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|3||| TV|7 Digital 3|1537(2)|1538(eng),|1540|1379|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|4||| TV|Nine Digital|512(2)|650(eng),651(ac3),|576|1025|1104|Terrestrial| 191625|0|v|34|-1|64|12|7|8|16|0|5||| TV|Nine HD|522(2)|750(ac3),|576|1030|1104|Terrestrial|191625|0|v|34|-1| 64|12|7|8|16|0|6||| TV|7 HD Digital|1601(2)|1603(ac3),|0|1380|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|7||| TV|7 Program Guide|1633(2)|1634,|0|1382|1286|Terrestrial|177500|0|v| 34|-1|64|34|7|8|16|0|8||| TV|TEN Digital|512(2)|650(eng),651(ac3),|576|1669|1543|Terrestrial| 219500|0|v|34|-1|64|12|7|8|16|0|9||| TV|TEN HD|514(2)|672(ac3),|577|1672|1543|Terrestrial|788500|0|v|34|-1| 64|-1|7|8|16|0|10||| TV|TEN HD-1|514(2)|672(ac3),|577|1665|1543|Terrestrial|788500|0|v|34|-1| 64|-1|7|8|16|0|11|||So Kaffeine is not happy now.
dmesg
<snip>[ 43.751473] Linux video capture interface: v2.00 [ 43.780417] nvidia: module license 'NVIDIA' taints kernel. <snip> [ 44.101925] saa7133[0]: found at 0000:05:01.0, rev: 209, irq: 17, latency: 64, mmio: 0xfebff800 [ 44.101931] saa7133[0]: subsystem: 17de:7250, board: KWorld DVB-T 210 [card=114,autodetected] [ 44.101940] saa7133[0]: board init: gpio is 100 [ 44.250022] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22 [ 44.250500] PCI: Setting latency timer of device 0000:00:1b.0 to 64 [ 44.259010] saa7133[0]: i2c eeprom 00: de 17 50 72 ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259023] saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259034] saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259045] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259056] saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259066] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259077] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259088] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259099] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259110] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259121] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259131] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259142] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259153] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259164] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.259174] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 44.372044] tuner' 0-004b: chip found @ 0x96 (saa7133[0]) [ 44.456848] tda829x 0-004b: setting tuner address to 61 [ 44.460864] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS... [ 44.537235] tda829x 0-004b: type set to tda8290+75a [ 48.498066] saa7133[0]: registered device video0 [v4l2] [ 48.498214] saa7133[0]: registered device vbi0 [ 48.498363] saa7133[0]: registered device radio0 [ 48.582667] saa7134 ALSA driver for DMA sound loaded [ 48.582699] saa7133[0]/alsa: saa7133[0] at 0xfebff800 irq 17 registered as card -2 [ 48.846762] DVB: registering new adapter (saa7133[0]) [ 48.846768] DVB: registering frontend 0 (Philips TDA10046H DVB-T)... [ 48.918706] tda1004x: setting up plls for 48MHz sampling clock [ 49.202699] tda1004x: found firmware revision 20 -- ok <snip> ...... <snip> [ 152.485617] tda1004x: setting up plls for 48MHz sampling clock [ 152.681710] tda1004x: found firmware revision 20 -- ok [ 431.669193] tda1004x: setting up plls for 48MHz sampling clock [ 431.868920] tda1004x: found firmware revision 20 -- ok [ 477.103776] tda1004x: setting up plls for 48MHz sampling clock [ 477.299645] tda1004x: found firmware revision 20 -- ok [ 490.469730] tda1004x: setting up plls for 48MHz sampling clock [ 490.693412] tda1004x: found firmware revision 20 -- ok
Quoted 9 lines
timf@ubuntu:~$
I also have a Pinnacle 310i, so I can do a test for your new personal repo.
(I have never been able to get the remote going with this card.)Best regards,
Tim
Your situation improved when you changed the GPIO setting? Regarding the scanning:
1) Did you try to change the GI setting as i recommended last time?
2) Regarding kaffeine i noticed different transmitter frequencies Are you sure you used the right config file?
It is VERY unlikely that your card works with one application but not with another. All upper layers of the driver are card independent and saa7134-dvb is known to work with kaffeine.
May i ask you to have a look with the Pinnacle card? This one is affected by the recent patch.
Best regards
Hartmut
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 14 lines · Allen
Tim,
I was just sorting through some old emails from linuxtv archive, and came across
Quoted 5 lines
PS. I've actually managed to get the remote to work through a very convoluted approach via the archives (Hermann), using
ir-kbd-i2c.c,saa7134-i2c.c. But it's no use unless we can fix this tuning/scanning issue.I have a kw 220rf which I think might be very similar.
Quoted 9 lines
Despite repeated attempts to get the remote working, I have never been able to get it to respond in any fashion. Could you please describe how you got it to function, and any problems with operation.
Thanks,
Allen
Hi Steve,
Please cc to these mail lists so others can be helpful to you, as well. You will find Hermann has some answers for saa7134 i2c remotes. I will paste here my mods, so that others may be able to help get it going.
This code is an adaptation of originally Henry Wong's work, and much further work by numerous people across the planet. Until recently this modification enabled a working remote control for the Kworld 210RF.
This card has a KS007 remote controller chip.
Since that time, the i2c code in v4l-dvb has undergone a substantial transition.
Thus this code no longer works, in particular, within ir-kbd-i2c.c This is the only success I have ever had in getting an i2c remote control to work in saa7134.
As I have had a few problems with this card working properly, I basically lost interest.
Perhaps others with a Kworld 210RF or a Kworld 220RF card can get it working again.
***************************************************************
Mods to /v4l-dvb/linux/include/media/ir-common.h
extern IR_KEYTAB_TYPE ir_codes_kworld_210[IR_KEYTAB_SIZE];
***************************************************************
Mods to /v4l-dvb/linux/drivers/media/common/ir-keymaps.c
IR_KEYTAB_TYPE ir_codes_kworld_210[IR_KEYTAB_SIZE] = {
[ 0x00 ] = KEY_1,
[ 0x01 ] = KEY_2,
[ 0x02 ] = KEY_3,
[ 0x03 ] = KEY_4,
[ 0x04 ] = KEY_5,
[ 0x05 ] = KEY_6,
[ 0x06 ] = KEY_7,
[ 0x07 ] = KEY_8,
[ 0x08 ] = KEY_9,
[ 0x09 ] = KEY_BACKSPACE,
[ 0x0a ] = KEY_0,
[ 0x0b ] = KEY_ENTER,
[ 0x0c ] = KEY_POWER,
[ 0x0d ] = KEY_SUBTITLE,
[ 0x0e ] = KEY_VIDEO,
[ 0x0f ] = KEY_CAMERA,
[ 0x10 ] = KEY_CHANNELUP,
[ 0x11 ] = KEY_CHANNELDOWN,
[ 0x12 ] = KEY_VOLUMEDOWN,
[ 0x13 ] = KEY_VOLUMEUP,
[ 0x14 ] = KEY_MUTE,
[ 0x15 ] = KEY_AUDIO,
[ 0x16 ] = KEY_TV,
[ 0x17 ] = KEY_ZOOM,
[ 0x18 ] = KEY_PRINT,
[ 0x19 ] = KEY_SETUP,
[ 0x1a ] = KEY_STOP,
[ 0x1b ] = KEY_RECORD,
[ 0x1c ] = KEY_TEXT,
[ 0x1d ] = KEY_REWIND,
[ 0x1e ] = KEY_FASTFORWARD,
[ 0x1f ] = KEY_SHUFFLE,
[ 0x45 ] = KEY_STOP,
[ 0x44 ] = KEY_PLAY,
};EXPORT_SYMBOL_GPL(ir_codes_kworld_210);
***************************************************************
Mods to /v4l-dvb/linux/drivers/media/video/saa7134/saa7134-i2c.c
...
/* Am I an i2c remote control? */
switch (client->addr) {
case 0x7a:
case 0x47:
case 0x71:
case 0x2d:
case 0x30: /*for kw210 remote control*/
{...
static char *i2c_devs[128] = {
[ 0x20 ] = "mpeg encoder (saa6752hs)",
[ 0xa0 >> 1 ] = "eeprom",
[ 0xc0 >> 1 ] = "tuner (analog)",
[ 0x86 >> 1 ] = "tda9887",
[ 0x5a >> 1 ] = "remote control",
[ 0x30 ] = "kw210 remote control",
};
...
***************************************************************
Mods to /v4l-dvb/linux/drivers/media/video/ir-kbd-i2c.c
...
static int get_key_kworld_210(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw) {
unsigned char b;
/* poll IR chip */
if (1 != i2c_master_recv(&ir->c,&b,1)) {
dprintk(1,"read error\n");
return -EIO;
} /* it seems that 0x80 indicates that a button is still hold
down, while 0xff indicates that no button is hold
down. 0x80 sequences are sometimes interrupted by 0xFF */dprintk(2,"key %02x\n", b);
if (b == 0xff)
return 0;
if (b == 0x80)
/* keep old data */
return 1; *ir_key = b;
*ir_raw = b;
return 1;
}
...
/*Unless the timer is modified, you have time to make a cup of tea while waiting
* for a response after pressing a key
*/
static int polling_interval = 100; /* ms */
...
static void ir_timer(unsigned long data)
{
struct IR_i2c *ir = (struct IR_i2c*)data; schedule_work(&ir->work);
}
...
static void ir_work(struct work_struct *work)
#endif
{
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
struct IR_i2c *ir = data;
#else
struct IR_i2c *ir = container_of(work, struct IR_i2c, work);
#endif
ir_key_poll(ir);
/*kw210 improve key-response time*/
mod_timer(&ir->timer, jiffies + polling_interval*HZ/1000);
}
...
/*needed to select between cards with same i2c address for remote controller*/ static int kWorld_210 = 0;
...
case 0x30:
ir_type = IR_TYPE_OTHER;
/*add kw210 card*/
if (kWorld_210 == 1) {
name = "kWoRlD210";
ir->get_key = get_key_kworld_210;
ir_codes = ir_codes_kworld_210;
} else {
name = "KNC One";
ir->get_key = get_key_knc1;
ir_codes = ir_codes_empty;
}
break;...
static int ir_probe(struct i2c_adapter *adap)
{
...
static const int probe_bttv[] = { 0x1a, 0x18, 0x4b, 0x64, 0x30, -1};
/*add 0x30*/
static const int probe_saa7134[] = { 0x7a, 0x47, 0x71, 0x2d, 0x30, -1 };
...
c->adapter = adap;
for (i = 0; -1 != probe[i]; i++) {
c->addr = probe[i];
rc = i2c_master_recv(c, &buf, 0);
/*mod added here to "wake up" kw210 remote controller chip*/
if (adap->id == I2C_HW_SAA7134 && probe[i] == 0x30)
{
struct i2c_client c2;
memset (&c2, 0, sizeof(c2));
c2.adapter = adap;
for (c2.addr=127; c2.addr > 0; c2.addr--) {
if (0 == i2c_master_recv(&c2,&buf,0)) {
dprintk(1,"Found another device, at addr 0x%02x\n",
c2.addr);
break;
}
}
/* Now do the probe. The controller does not respond
to 0-byte reads, so we use a 1-byte read instead. */
rc = i2c_master_recv(c,&buf,1);
rc--;
kWorld_210 = 1;
} else {
rc = i2c_master_recv(c,&buf,0);
}
dprintk(1,"probe 0x%02x @ %s: %s\n",
probe[i], adap->name,
(0 == rc) ? "yes" : "no");
if (0 == rc) {
ir_attach(adap, probe[i], 0, 0);
break;
} }
kfree(c);
return 0;
}
***************************************************************
Regards,
Timf
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 21 lines · timf
Quoted 19 lines · Allen
Tim,
I was just sorting through some old emails from linuxtv archive, and came across
Quoted 6 lines
PS. I've actually managed to get the remote to work through a very convoluted approach via the archives (Hermann), using
ir-kbd-i2c.c,saa7134-i2c.c. But it's no use unless we can fix this tuning/scanning issue.I have a kw 220rf which I think might be very similar.
Despite repeated attempts to get the remote working, I have never been able to get it to respond in any fashion. Could you please describe how you got it to function, and any problems with operation.
Quoted 8 lines
Quoted 6 lines
Thanks,
Allen
Hi Steve,
Woops! Profuse apologies, I of course meant Hi Allen, (too many email replies is my only excuse)
Quoted 212 lines
Please cc to these mail lists so others can be helpful to you, as well. You will find Hermann has some answers for saa7134 i2c remotes. I will paste here my mods, so that others may be able to help get it going.
This code is an adaptation of originally Henry Wong's work, and much further work by numerous people across the planet. Until recently this modification enabled a working remote control for the Kworld 210RF.
This card has a KS007 remote controller chip.Since that time, the i2c code in v4l-dvb has undergone a substantial transition.
Thus this code no longer works, in particular, within
ir-kbd-i2c.cThis is the only success I have ever had in getting an i2c remote control to work in saa7134.As I have had a few problems with this card working properly, I basically lost interest.
Perhaps others with a Kworld 210RF or a Kworld 220RF card can get it working again.
***************************************************************
Mods to /v4l-dvb/linux/include/media/ir-common.hextern
IR_KEYTAB_TYPEir_codes_kworld_210[IR_KEYTAB_SIZE];
***************************************************************
Mods to /v4l-dvb/linux/drivers/media/common/ir-keymaps.cIR_KEYTAB_TYPE ir_codes_kworld_210[IR_KEYTAB_SIZE] = { [ 0x00 ] = KEY_1, [ 0x01 ] = KEY_2, [ 0x02 ] = KEY_3, [ 0x03 ] = KEY_4, [ 0x04 ] = KEY_5, [ 0x05 ] = KEY_6, [ 0x06 ] = KEY_7, [ 0x07 ] = KEY_8, [ 0x08 ] = KEY_9, [ 0x09 ] = KEY_BACKSPACE, [ 0x0a ] = KEY_0, [ 0x0b ] = KEY_ENTER, [ 0x0c ] = KEY_POWER, [ 0x0d ] = KEY_SUBTITLE, [ 0x0e ] = KEY_VIDEO, [ 0x0f ] = KEY_CAMERA, [ 0x10 ] = KEY_CHANNELUP, [ 0x11 ] = KEY_CHANNELDOWN, [ 0x12 ] = KEY_VOLUMEDOWN, [ 0x13 ] = KEY_VOLUMEUP, [ 0x14 ] = KEY_MUTE, [ 0x15 ] = KEY_AUDIO, [ 0x16 ] = KEY_TV, [ 0x17 ] = KEY_ZOOM, [ 0x18 ] = KEY_PRINT, [ 0x19 ] = KEY_SETUP, [ 0x1a ] = KEY_STOP, [ 0x1b ] = KEY_RECORD, [ 0x1c ] = KEY_TEXT, [ 0x1d ] = KEY_REWIND, [ 0x1e ] = KEY_FASTFORWARD, [ 0x1f ] = KEY_SHUFFLE, [ 0x45 ] = KEY_STOP, [ 0x44 ] = KEY_PLAY, };
EXPORT_SYMBOL_GPL(ir_codes_kworld_210);
***************************************************************
Mods to /v4l-dvb/linux/drivers/media/video/saa7134/saa7134-i2c.c
.../* Am I an i2c remote control? */ switch (client->addr) { case 0x7a: case 0x47: case 0x71: case 0x2d: case 0x30: /*for kw210 remote control*/ {...
static char *i2c_devs[128] = { [ 0x20 ] = "mpeg encoder (saa6752hs)", [ 0xa0 >> 1 ] = "eeprom", [ 0xc0 >> 1 ] = "tuner (analog)", [ 0x86 >> 1 ] = "tda9887", [ 0x5a >> 1 ] = "remote control", [ 0x30 ] = "kw210 remote control", };...
***************************************************************
Mods to /v4l-dvb/linux/drivers/media/video/ir-kbd-i2c.c
...static int
get_key_kworld_210(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw){ unsigned char b; /* poll IR chip */ if (1 != i2c_master_recv(&ir->c,&b,1)) { dprintk(1,"read error\n"); return -EIO; } /* it seems that 0x80 indicates that a button is still hold down, while 0xff indicates that no button is hold down. 0x80 sequences are sometimes interrupted by 0xFF */ dprintk(2,"key %02x\n", b); if (b == 0xff) return 0; if (b == 0x80) /* keep old data */ return 1; *ir_key = b; *ir_raw = b; return 1; }...
/*Unless the timer is modified, you have time to make a cup of tea while waiting
* for a response after pressing a key
*/
static intpolling_interval= 100; /* ms */
...
static voidir_timer(unsigned long data){ struct IR_i2c *ir = (struct IR_i2c*)data; schedule_work(&ir->work); }...
static voidir_work(struct work_struct *work)
#endif
{#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) struct IR_i2c *ir = data; #else struct IR_i2c *ir = container_of(work, struct IR_i2c, work);#endif
ir_key_poll(ir); /*kw210 improve key-response time*/ mod_timer(&ir->timer, jiffies + polling_interval*HZ/1000); }...
/*needed to select between cards with same i2c address for remote controller*/ static intkWorld_210= 0;
...case 0x30: ir_type = IR_TYPE_OTHER; /*add kw210 card*/ if (kWorld_210 == 1) { name = "kWoRlD210"; ir->get_key = get_key_kworld_210; ir_codes = ir_codes_kworld_210; } else { name = "KNC One"; ir->get_key = get_key_knc1; ir_codes = ir_codes_empty; } break;...
static intir_probe(struct i2c_adapter *adap)
{
...static const int probe_bttv[] = { 0x1a, 0x18, 0x4b, 0x64, 0x30, -1}; /*add 0x30*/ static const int probe_saa7134[] = { 0x7a, 0x47, 0x71, 0x2d, 0x30, -1 }; ... c->adapter = adap; for (i = 0; -1 != probe[i]; i++) { c->addr = probe[i]; rc = i2c_master_recv(c, &buf, 0); /*mod added here to "wake up" kw210 remote controller chip*/ if (adap->id == I2C_HW_SAA7134 && probe[i] == 0x30) { struct i2c_client c2; memset (&c2, 0, sizeof(c2)); c2.adapter = adap; for (c2.addr=127; c2.addr > 0; c2.addr--) { if (0 == i2c_master_recv(&c2,&buf,0)) { dprintk(1,"Found another device, at addr 0x%02x\n", c2.addr); break; } } /* Now do the probe. The controller does not respond to 0-byte reads, so we use a 1-byte read instead. */ rc = i2c_master_recv(c,&buf,1); rc--; kWorld_210 = 1; } else { rc = i2c_master_recv(c,&buf,0); } dprintk(1,"probe 0x%02x @ %s: %s\n", probe[i], adap->name, (0 == rc) ? "yes" : "no"); if (0 == rc) { ir_attach(adap, probe[i], 0, 0); break; } } kfree(c); return 0; }***************************************************************
Quoted 9 lines
Regards,
Timf_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list