From: andy fc <and...@gm...> - 2017-08-30 17:12:26
|
Hello. I use LIRC with a Raspberry Pi to control Thomson MS5300 I need help for the the Power button With my remote : A simple press of "power" button on the remote switches to "standby mode". A long press of "power" button "power off" the stereo. : With LIRC irsend SEND_ONCE remote KEY_POWER send "standby mode" command How to run a command that makes a long press ("power off")? Thank begin remote > > name Thomson_MS5300 > bits 24 > flags SPACE_ENC|CONST_LENGTH > eps 30 > aeps 100 > > header 4147 3931 > one 608 1901 > zero 608 894 > ptrail 610 > gap 86892 > toggle_bit_mask 0x0 > > begin codes > KEY_VOLUMEDOWN 0xC2E3D1 > KEY_VOLUMEUP 0xC2F3D0 > KEY_POWER 0xC2A3D5 > KEY_MODE 0xC413BE > KEY_CHANNELUP 0xC2D3D2 > KEY_CHANNELDOWN 0xC2C3D3 > KEY_EJECTCD 0x9406BF > KEY_BASSBOOST 0xC3F3C0 > KEY_EQUAL 0xCB234D > KEY_MUTE 0xC283D7 > KEY_INFO 0xCD532A > KEY_RADIO 0x8417BE > KEY_B 0xC043FB > KEY_PLAY 0x8157EA > KEY_PREVIOUS 0x8227DD > KEY_NEXT 0x8207DF > KEY_RECORD 0x9176E8 > KEY_PAUSE 0x81F7E0 > KEY_PAUSECD 0x84D7B2 > KEY_PROG1 0xC183E7 > KEY_TIME 0xC3E3C1 > KEY_ADDRESSBOOK 0x8247DB > KEY_DELETE 0x8237DC > KEY_MEDIA_REPEAT 0x90C6F3 > KEY_SLEEP 0xC213DE > KEY_TITLE 0xC163E9 > KEY_PRINT 0x9A565A > KEY_PROGRAM 0x84A7B5 > end codes > > end remote > |