作者: chancho 時間: 2014-1-15 06:10 標題: 有無 ching 收到 31 台
如題
作者: ksng 時間: 2014-1-15 15:07
回復 1# chancho
我的沒有問題? 你有問題? 是甚麼tuner ?
作者: chancho 時間: 2014-1-15 16:04
本帖最後由 chancho 於 2014-1-15 19:56 編輯
i added "T 802000000 ..." into the initial file, but scan gave me an invalid paramenter error.
作者: chancho 時間: 2014-1-15 16:05
i added "T 802000000 ..." into the initial file, but scan gave me an invalid paramenter error.
作者: ksng 時間: 2014-1-15 18:02
本帖最後由 ksng 於 2014-1-15 18:05 編輯
回復 4# chancho
what's the tuner chip or what's the model of your adapter?
Back in 2012 when RTHK first conducted its digital TV testing, I found that my Mygica 8558pro could not tune to the RTHK frequency. After some studying I found it was due to the max. frequency as defined in the altobeam driver not high enough. I modified it and it works. As far as I can remember, I've submitted a patch to the v4l-dvb project team, but I can't find any trace now in my mailbox. Anyway I found the max. freq in newer kernels been set correctly so the fix for altobeam must have gone through.
Below's part of the altobeam driver in question:
static struct dvb_frontend_ops atbm8830_ops = {
.info = {
.name = "AltoBeam ATBM8830/8831 DMB-TH",
.type = FE_OFDM,
.frequency_min = 474000000,
.frequency_max = 858000000, <--- it was less than 800MHz before
.frequency_stepsize = 10000,
.caps =
FE_CAN_FEC_AUTO |
FE_CAN_QAM_AUTO |
FE_CAN_TRANSMISSION_MODE_AUTO |
FE_CAN_GUARD_INTERVAL_AUTO
},
作者: chancho 時間: 2014-1-15 20:09
本帖最後由 chancho 於 2014-1-15 20:11 編輯
here is the initial file
- # Hong Kong (DMB-TH)
- # T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy
- # TVB (band 35)
- T 586000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
- # ATV (band 37)
- T 602000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
- # Simulcast (band 22)
- T 482000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
- # Simulcast (band 30)
- T 546000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
- # Simulcast (band 32)
- T 562000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
- # Simulcast (band 40)
- T 628000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
- # Simulcast (band 43)
- #T 650000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
- T 802000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
- >>> tune to: 628000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE (tuning failed)
- WARNING: >>> tuning failed!!!
- >>> tune to: 802000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
- __tune_to_transponder:1910: ERROR: Setting frontend parameters failed: 22 Invalid argument
- >>> tune to: 802000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
- __tune_to_transponder:1910: ERROR: Setting frontend parameters failed: 22 Invalid argument
作者: ksng 時間: 2014-1-15 20:27
回復 6# chancho
when tuning to 802Mhz, you got error "invalid parameter" which is different from what you got when tuning to 628MHz. It probably means 802 is outside the valid range as coded in the driver.
Different tuners/frontends have different drivers. The code I pasted is only for altobeam. The "max freq" parameters for other tuners/frontends may be too low, making 802Mhz invalid.
Hence I need to know your dmbth adapter model before I can check the source code. Also what kernel version are you running. If you're running too old a kernel, say older than 2 years, then even the altobeam should have problem, because that was before I submitted the patch to the v4l-dvb team.
作者: chancho 時間: 2014-1-15 20:31
it mygica d689, driver : atbm8830
作者: ksng 時間: 2014-1-15 20:54
ooops! Just found there's problem in for the tuner MAX2165 even for the latest kernel. In the file drivers/media/common/tuners/max2165.c, I can see:
static const struct dvb_tuner_ops max2165_tuner_ops = {
.info = {
.name = "Maxim MAX2165",
.frequency_min = 470000000,
.frequency_max = 780000000,
.frequency_step = 50000,
},
frequency_max should be set to, say, 868000000.
I'll try to submit a patch to v4l-dvb. In the meantime, anyone using this tuner chip will need to compile own v4l-dvb driver.
作者: chancho 時間: 2014-1-15 21:50
you better check other frontend to see if they need to increase the max freq.
作者: cheetah 時間: 2014-1-16 16:45
Kaffeine個自家 hk-HongKong 固然收唔到....試下整個新 channel-list.conf 俾VLC強行打開,都系唔得:-
加行 “T 802000000 8MHz 7/8 NONE QAM64 8k 1/32 NONE” 入去 cn-HongKong,一scan出來雖然知有3個台咁,但只得3個咁既 warning,最後都是得翻11個台:-
WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x0000
WARNING: filter timeout pid 0x0010
詳細如下:-
scanning /usr/share/dvb/dvb-t/cn-HongKong
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 586000000 0 7 9 3 1 0 0
initial transponder 602000000 0 7 9 3 1 0 0
initial transponder 650000000 0 7 9 3 1 0 0
initial transponder 802000000 0 7 9 3 1 0 0
>>> tune to: 586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_7_8:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
0x0000 0x0052: pmt_pid 0x0334 TVB -- J2 (running)
0x0000 0x0053: pmt_pid 0x033e TVB -- iNews (running)
0x0000 0x0055: pmt_pid 0x0352 TVB -- High Definition Jade (running)
Network Name 'SFN_TVB'
>>> tune to: 602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_7_8:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
Network Name 'aTV-SFN'
0x0002 0x000c: pmt_pid 0x0078 aTV -- Asia (running)
0x0002 0x000d: pmt_pid 0x0082 aTV -- Classic (running)
0x0002 0x000f: pmt_pid 0x0096 CCTV -- CCTV-1 (running)
0x0002 0x0011: pmt_pid 0x00aa SZTV -- SZTV (running)
>>> tune to: 650000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_7_8:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
0x0000 0x0001: pmt_pid 0x032a TVB -- Jade (running)
0x0000 0x0002: pmt_pid 0x0348 TVB -- Pearl (running)
0x0000 0x000b: pmt_pid 0x006e aTV -- Home (running)
0x0000 0x0010: pmt_pid 0x00a0 aTV -- World (running)
>>> tune to: 802000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_7_8:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x0000
WARNING: filter timeout pid 0x0010
dumping lists (11 services)
Done.
J2:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:821:0:82
iNews:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:831:0:83
High Definition Jade:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:851:0:85
Asia:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:121:0:12
Classic:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:131:0:13
CCTV-1:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:151:0:15
SZTV:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:171:0:17
Jade:650000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_7_8:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:811:0:1
Pearl:650000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_7_8:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:841:0:2
Home :650000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_7_8:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:111:0:11
World :650000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_7_8:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:161:0:16
作者: chancho 時間: 2014-1-16 16:55
it may need to wait 1/2 year for the patch appear in the kernel. compiling your own kernel seems to be the only solution. \
cheetah, why you use cn-HongKong ?
作者: cheetah 時間: 2014-1-16 17:15
it may need to wait 1/2 year for the patch appear in the kernel. compiling your own kernel seems to ...
chancho 發表於 2014-1-16 16:55
”VLC player 看數碼廣播“ 參考教學沿用至今,file name 而已,以前舊ubuntu 要裝DVB-T driver,再裝DVB-apps,create cn-HongKong,再gen個channel-list.conf,那時很麻煩。
作者: chancho 時間: 2014-1-23 21:34
after patching the max2165.c file. i can watch 3 rthk channels now.
作者: z1022 時間: 2014-2-15 10:32
回復 chancho
what's the tuner chip or what's the model of your adapter?
Back in 2012 when RTHK fi ...
ksng 發表於 2014-1-15 18:02
I use Raspberry Pi with D689. I cannot scan rthk. How to check the altobeam driver support or not.
Thanks
作者: chancho 時間: 2014-2-15 10:54
i have d689 too, even the most up-to-date kernel does not support such high freq. you need to patch the max2165.c
here is what i did to the file, i applied it inside the PKGBUILD because i am using archlinux
sed -i 's/780000000/802000000/g' "${srcdir}/${_srcname}/drivers/media/tuners/max2165.c"
作者: z1022 時間: 2014-2-15 17:04
本帖最後由 z1022 於 2014-2-15 17:52 編輯
i have d689 too, even the most up-to-date kernel does not support such high freq. you need to patch ...
chancho 發表於 2014-2-15 10:54
Thanks
作者: z1022 時間: 2014-2-15 22:42
本帖最後由 z1022 於 2014-2-16 15:26 編輯
i have d689 too, even the most up-to-date kernel does not support such high freq. you need to patch ...
chancho 發表於 2014-2-15 10:54
It work.
Thanks
作者: wwycheuk 時間: 2015-11-19 23:07
感謝幫忙,已提交 patch
http://git.linuxtv.org/cgit.cgi/ ... e0eebc3d1e3ac7697bf
作者: toylet 時間: 2015-11-23 22:29
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2015-11-25 15:25
香港D 高清手指都差不多死曬, 現在才有 patch, 出年亞視唔做, 频譜交給 rthk, 可以取消 31
作者: toylet 時間: 2015-11-25 22:25
提示: 作者被禁止或刪除 內容自動屏蔽
作者: wwycheuk 時間: 2015-11-26 15:28
回覆 21# chancho
宜家先有 patch,係因為無人肯郁手 ;)
作者: ncl 時間: 2016-1-10 15:46
收到,但唔係成日睇
作者: toylet 時間: 2016-1-10 16:02
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2016-1-10 17:42
我個 channels.conf 是舊時做落, 而家D新program 唔知點search台, 請教下我
作者: toylet 時間: 2016-1-10 21:26
提示: 作者被禁止或刪除 內容自動屏蔽
作者: domeso 時間: 2016-1-25 05:06
Recently dig up d689 and try tvheadend with Rasberry Pi B2, still bump into same old problem..............
Seems need to dig and re-compile drivers again...
作者: dinjavlafitta 時間: 2016-1-30 20:05
提示: 作者被禁止或刪除 內容自動屏蔽

