Settings of built-in devices

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

TiceRex
Posts: 80
Joined: Thu Jun 28, 2012 11:37 pm

Post by TiceRex »

Actually, I thought it was clear from this statement that no real WDTV is involved in my setup:
TiceRex wrote:URC-7935 (using WDTV remote configuration) and Vero 4k (custom lirc setup)
The WDTV is just a common setup existing both in my remote (URC-7935) and Vero, and was choosen because I have experience with it.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

I did see you often mentioning Vero and lirc, but I don't know what Vero is nor what lirc had to do with what you were asking. The main focus seemed to be on WDTV, so I assumed those other two items were just items in your system to help you use your WDTV.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
TiceRex
Posts: 80
Joined: Thu Jun 28, 2012 11:37 pm

Post by TiceRex »

Vero is a linux based media player using lirc as the infrared interface.

Vero: https://osmc.tv/vero/
lirc: https://www.lirc.org/
pH7_jp1
Posts: 485
Joined: Sun Sep 14, 2003 4:17 pm
Location: Sterling Heights, MI

Post by pH7_jp1 »

I believe the lirc configuration that is supposed to be emulating the WDTV is not correct. Can you choose another lirc configuration that emulates some other device and controls the Vero? If so, I would choose one of those and then find the upgrade in our File Section that controls that device.
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

If I understand https://osmc.tv/wiki/general/configuring-a-remote/ correctly, you can just decide on a remote (= a set of named commands), get a Lirc file for it, upload it, and you are done. You can generate a Lirc file from an rmdu file by doing a Girr export from RMDU, use IrScrutinizer to convert it to Lirc (import it, then export it using the Lirc export format).

For example, here is the Lirc file corresponding to the WDTV file mdavej posted:

Code: Select all

# IrScrutinizer parametric export
#
# Creating tool: IrScrutinizer version 2.4.2-SNAPSHOT
# Creating user: bengt
# Creating date: Mon Oct 21 17:02:26 CEST 2024
# Encoding: WINDOWS-1252
#
# Manufacturer: 
# Model: 
# Displayname: 
# Device Class: 
# Remotename: 
#

# Protocol name: NEC1
begin remote
	name		wdtv-NEC1
	bits		32
	flags		SPACE_ENC|CONST_LENGTH
	eps		30
	aeps		100
	zero		564	564
	one		564	1692
	header		9024	4512
	ptrail		564
	repeat		9024	2256
	gap		108000
	frequency	38400
	begin codes
		0	0x00000000219E8877
		1	0x00000000219E18E7
		2	0x00000000219E9867
		3	0x00000000219E708F
		4	0x00000000219E38C7
		5	0x00000000219EB847
		6	0x00000000219E7A85
		7	0x00000000219EBA45
		8	0x00000000219E3AC5
		9	0x00000000219EFA05
		Vol+	0x00000000219EFF00
		Vol-	0x00000000219EFF00
		Mute	0x00000000219EB24D
		Power	0x00000000219E48B7
		Red	0x00000000219EA857
		Green	0x00000000219E28D7
		Orange	0x00000000219E6897
		Blue	0x00000000219EE817
		Guide	0x00000000219E609F
		Info	0x00000000219E58A7
		Up	0x00000000219EA05F
		Left	0x00000000219EE01F
		OK	0x00000000219E10EF
		Right	0x00000000219E906F
		Down	0x00000000219E00FF
		Exit	0x00000000219ED827
		PrevCh	0x00000000219ED827
		Stop	0x00000000219E20DF
		SkipBack	0x00000000219E40BF
		Rewind	0x00000000219EF807
		Pause	0x00000000219E50AF
		SkipFwd	0x00000000219E807F
		FastFwd	0x00000000219E7887
		Play	0x00000000219E50AF
	end codes
end remote
Caveat: Presently, in RMDU 3.1.15 Girr export is broken, see this

Edit by mathdon: The Girr export bug is fixed in development build RMIR 3.1.6.
TiceRex
Posts: 80
Joined: Thu Jun 28, 2012 11:37 pm

Post by TiceRex »

Barf
Thank you, I'm already over this.

I've tried two other built-in config of Vero and URC-7935: Xbox (also NEC1 remote) and Kodi/OSMC (RC-5 remote). Unfortunately the result was the same. :-(

BTW, My current lirc config is this, based on our previous discussion. In terms of functions it is the same as the one you showed, I guess.

Code: Select all

begin remote

  name  URC7935_WDTV
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header        9024    4512
  one           564     1692
  zero          564     564
  ptrail        564
  repeat        9024    2256
  pre_data_bits 16
  pre_data      0x219E
  gap           108000
  toggle_bit_mask       0x0

      begin codes
          KEY_POWER                0x48B7
          KEY_HOME                 0x609F
          KEY_UP                   0xA05F
          KEY_DOWN                 0x00FF
          KEY_LEFT                 0xE01F
          KEY_RIGHT                0x906F
          KEY_OK                   0x10EF
          KEY_BACK                 0xD827
          KEY_STOP                 0x20DF
          KEY_INFO                 0x58A7
          KEY_REWIND               0xF807
          KEY_PLAYPAUSE            0x50AF
          KEY_FASTFORWARD          0x7887
          KEY_PREVIOUS             0x40BF
          KEY_NEXT                 0x807F
          KEY_SETUP                0x827D
          KEY_MENU                 0x08F7
          KEY_SUBTITLE             0x30CF
          KEY_LANGUAGE             0xB04F
          KEY_PAGEUP               0xC03F
          KEY_PAGEDOWN             0x32CD

      end codes

end remote
Post Reply