|
From: Jan C. <jan...@gm...> - 2012-05-06 07:00:41
|
Hi there.
I've been trying for some time to control a set-top box. Unsuccessfully.
Please could anyone tell me how to troubleshoot this?
The STB is a Telenet Digibox HD, type DB-AD210, manufactured by Advanced
Digital Broadcast. I'm using an MCE IR transceiver:
Bus 005 Device 002: ID 1934:5168 Feature Integration Technology Inc.
(Fintek) F71610A or F71612A Consumer Infrared Receiver/Transceiver
I generated a config file using the following irrecord command:
# irrecord -f -n -d /dev/lirc0 digibox
As you can see I needed to force raw mode because (as reported by others
over the years) otherwise irrecord thinks it's an RC6 remote but then
doesn't find a toggle bit.
The red light in the blaster flashes when I issue the appropriate irsend
command, but the STB does not seem to accept it. I've held the blaster
just about everywhere on the front panel, no joy.
How can I troubleshoot this? Have I generated the config file correctly?
Have I incorporated it correctly in lirc's overall configuration?
I don't mind doing (lots of) work to figure this out, and I've already
googled quite a lot. I'd be very grateful for any hints.
Detailed info below.
Many thanks, Jan
--
root@zotac:~# lircd -v
lircd 0.8.7
root@zotac:~# dmesg | grep -i lirc
[ 19.179335] lirc_dev: IR Remote Control driver registered, major 250
[ 19.307242] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb)
registered at minor = 0
[ 19.307245] IR LIRC bridge handler initialized
root@zotac:~# lsmod | grep lirc
ir_lirc_codec 12898 0
lirc_dev 19232 1 ir_lirc_codec
rc_core 26918 9
ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,rc_rc6_mce,ir_rc5_decoder,mceusb,ir_nec_decoder
root@zotac:~# uname -a
Linux zotac 2.6.38-14-generic #58-Ubuntu SMP Tue Mar 27 20:04:55 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
root@zotac:~# cat /etc/lirc/hardware.conf | grep -v -e "^#" -e "^$"
REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
TRANSMITTER="Custom"
TRANSMITTER_MODULES="lirc_dev mceusb"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc0"
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF="JCE/lirc.conf.digibox"
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
root@zotac:~# cat /etc/lirc/lircd.conf | grep -v -e "^#" -e "^$"
begin remote
name digibox
flags RAW_CODES
eps 30
aeps 100
gap 78336
begin raw_codes
name Power
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
650 650 650 300 300 650
300
name TVgids
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
650 300 350 600 650 650
300
name TVtheek
300 300 300 650 300 300
700 600 300 300 650 650
650 650 300 300 300 300
650 300 300 650 300 300
650
name Comm
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
650 300 300 300 300 650
650
name Extra
350 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 350 300
650 300 300 300 300 300
300 650 300
name Home
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 650
300 300 300 300 300 300
650
name Mute
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 650
300 300 300 300 650 650
300
name Help
300 350 300 650 300 350
600 650 300 350 600 650
600 650 300 350 600 650
300 350 600 650 600
name Vol+
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 650
300 300 650 300 300 650
300
name Vol-
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 650
650 650 300 300 650
name Ch+
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 650
650 650 650 650 300
name Ch-
300 300 300 650 300 350
600 650 300 350 600 650
600 650 300 350 600 700
600 350 250 700 600
name Delete
350 300 350 650 300 300
650 650 300 300 650 650
650 650 300 300 650 300
300 300 300 650 300 300
650
name Exit
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 300
300 300 300 650 650 650
300
name Back
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 300
300 300 300 300 300 650
650
name ArrowUp
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 650
650 300 300 300 300 650
300
name ArrowDown
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 300
300 650 650 650 650
name ArrowLeft
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 300
300 650 300 300 300 300
650
name ArrowRight
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 300
300 650 300 300 650 650
300
name Back
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 300
300 300 350 300 350 650
650
name FastForward
300 300 300 650 300 300
650 650 300 300 600 650
650 650 650 650 300 300
300 300 300 300 300 300
650
name Rewind
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 650 300
350 300 350 300 300 300
300 650 300
name Pause
300 300 300 650 350 300
650 650 300 300 650 650
650 650 650 650 300 300
300 300 300 300 650 650
300
name Play
300 300 300 650 300 300
650 650 300 300 650 650
650 650 650 650 300 300
650 650 300 300 650
name Record
300 300 300 650 300 300
650 650 300 300 650 650
650 650 650 650 300 300
300 300 650 650 650
name Stop
300 300 300 650 300 300
650 650 300 300 650 650
650 650 650 650 300 300
300 300 650 300 300 650
300
name Text
300 300 300 650 300 300
650 650 300 300 650 650
650 650 650 650 300 300
650 650 650 650 300
name Red
300 300 300 650 300 300
650 650 300 300 650 650
650 650 650 650 300 300
650 300 300 650 650
name Green
300 300 300 650 300 300
650 650 300 300 650 650
650 650 650 650 300 300
650 300 350 300 300 650
300
name Yellow
300 300 300 650 300 300
650 650 300 300 650 650
650 650 650 650 650 650
300 300 300 300 650
name Blue
300 300 300 650 300 300
650 650 300 300 650 650
650 650 650 650 650 650
300 300 650 650 300
name Num1
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
300 300 300 300 300 300
700 600 300
name Num2
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
300 300 300 300 650 650
650
name Num3
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
300 300 300 300 650 300
300 650 300
name Num4
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
300 300 650 650 350 300
650
name Num5
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 350 300
350 300 650 650 650 650
300
name Num6
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
300 300 650 300 300 650
650
name Num7
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
300 300 650 300 300 300
300 650 300
name Num8
400 300 300 650 300 300
650 600 300 300 650 650
650 650 300 300 300 300
650 650 300 300 300 300
650
name Num9
300 300 300 650 300 300
650 650 300 300 650 650
650 650 300 300 300 300
650 650 300 300 650 650
300
name Num0
350 300 300 650 350 300
650 600 300 300 650 600
650 600 300 300 300 300
650 650 650 650 650
end raw_codes
end remote
|
|
From: Peter K. <ja...@su...> - 2012-05-06 08:21:41
|
>>>>> "Jan" == Jan Ceuleers <jan...@gm...> writes: Hi, Jan> I've been trying for some time to control a set-top Jan> box. Unsuccessfully. Please could anyone tell me how to Jan> troubleshoot this? Jan> The STB is a Telenet Digibox HD, type DB-AD210, manufactured by Jan> Advanced Digital Broadcast. I'm using an MCE IR transceiver: Jan> Bus 005 Device 002: ID 1934:5168 Feature Integration Technology Inc. Jan> (Fintek) F71610A or F71612A Consumer Infrared Receiver/Transceiver Jan> I generated a config file using the following irrecord command: Jan> # irrecord -f -n -d /dev/lirc0 digibox Jan> As you can see I needed to force raw mode because (as reported by Jan> others over the years) otherwise irrecord thinks it's an RC6 Jan> remote but then doesn't find a toggle bit. Jan> The red light in the blaster flashes when I issue the appropriate Jan> irsend command, but the STB does not seem to accept it. I've held Jan> the blaster just about everywhere on the front panel, no joy. Jan> How can I troubleshoot this? Have I generated the config file Jan> correctly? Have I incorporated it correctly in lirc's overall Jan> configuration? I have one of the old DB-A110 (SD) boxes, and had similar problems when I tried to get it working: http://lirc.sourceforge.net/remotes/telenet/DB-AD110 http://old.nabble.com/irrecord-troubles-with-RC6-td26761416.html I ended up using a serial receiver/transmitter, which seems to have higher accuracy than the MCE ones. It more or less works, but not 100%. Sometimes the STB misses a keypress (which typically causes mythtv to record the wrong channel :/) A 100% working solution would be good. I haven't spent much time on it since 2009, but perhaps the way forward is to measure the IR receiver response from the original remote using a scope and make a custom transmitter with an AVR or so, instead of generating the timing using the PC serial port. -- Bye, Peter Korsgaard |
|
From: Jan C. <jan...@gm...> - 2012-05-06 09:18:46
|
On 06/05/12 10:21, Peter Korsgaard wrote: > I have one of the old DB-A110 (SD) boxes, and had similar problems when > I tried to get it working: > > http://lirc.sourceforge.net/remotes/telenet/DB-AD110 > http://old.nabble.com/irrecord-troubles-with-RC6-td26761416.html > > I ended up using a serial receiver/transmitter, which seems to have > higher accuracy than the MCE ones. It more or less works, but not > 100%. Sometimes the STB misses a keypress (which typically causes mythtv > to record the wrong channel :/) > > A 100% working solution would be good. I haven't spent much time on it > since 2009, but perhaps the way forward is to measure the IR receiver > response from the original remote using a scope and make a custom > transmitter with an AVR or so, instead of generating the timing using > the PC serial port. Hi Peter. Thanks for your reply. I had come across the above during my googling. The fact that you got yours working (more or less) with the config file created using irrecord -f led me to believe that I was doing something wrong when this approach would not work for me. (For the benefit of the list: Peter's Digibox is an older model which uses a different IR protocol from the HD version of the Digibox that I'm using). I'll try and build a serial blaster and then see whether my existing config file works. But I'd also like to make this as reliable as possible. Are there any howtos for measuring the remote's signal with a scope (in case I can get some scope time at work) and using those measurements to create a lirc config file? Thanks, Jan |
|
From: Jan C. <jan...@gm...> - 2012-05-06 18:13:45
|
On 06/05/12 08:26, Jan Ceuleers wrote: > Hi there. > > I've been trying for some time to control a set-top box. Unsuccessfully. > Please could anyone tell me how to troubleshoot this? > > The STB is a Telenet Digibox HD, type DB-AD210, manufactured by Advanced > Digital Broadcast. Solved. I'll post a new thread with details. Jan |