View previous topic :: View next topic |
Author |
Message |
zcar
Joined: 08 Jul 2009 Posts: 6
|
Posted: Wed Jul 08, 2009 11:44 am Post subject: Lirc decode for Cyp Se Generic USB PC Remote |
|
|
1. Device: CypSe Generic USB BF108PC
2. Type of device: Generic USB remote
3. Year: ? (new)
4. JP1/UEI Remote model: modified 6131 & old 8810
5. Do you have a JP1 cable? yes. usb
6. Still have original remote? yes
7. Checked the file section? yes
8. Checked Pronto file section (at R/C)? yes
9. Partially working setup code? yes (lirc file)
10. Learning remote question? (see below)
My 8810 decided it doesn't want to learn anymore, thus the need to try and decode the lirc file.
I've been using JP1 remotes with Lirc on my MythTV box for a few years now, but I made the mistake of upgrading my box to handle h264 better. The new box doesn't like my serial IR input with lirc, so I gave the above remote a try. The remote itself works fine and shows as an HID keyboard in linux (ubuntu 9.04, 32bit), but I'm having problems getting my JP1 remote to take on these codes.
I tried the upgrade from this recent post, hoping they'd be similar, but it didn't work. http://www.hifi-remote.com/forums/viewtopic.php?t=10564
Here's the lirc conf that I found elsewhere...
Code: | begin remote
name Cyp_Se_WitheHome
bits 32
begin codes
POWER 0x40004 0x80010074
RADIO 0x40004 0x8001001e
TV 0x40004 0x80010014
DVD 0x40004 0x80010031
MUSIC 0x40004 0x80010032
PHOTO 0x40004 0x80010017
VIDEO 0x40004 0x80010012
DVD_MENU 0x40004 0x8001002f
MUTE 0x40004 0x80010042
BACK 0x40004 0x8001000e
GUIDE 0x40004 0x8001003b
VOLUME_UP 0x40004 0x80010073
VOLUME_DOWN 0x40004 0x80010072
CHANNEL_UP 0x40004 0x80010068
CHANNEL_DOWN 0x40004 0x8001006d
ARROW_UP 0x40004 0x80010067
ARROW_DOWN 0x40004 0x8001006c
ARROW_LEFT 0x40004 0x80010069
ARROW_RIGHT 0x40004 0x8001006a
ENTER 0x40004 0x8001001c
RECORD 0x40004 0x8001001d 0x40004 0x80010013
REPEAT 0x40004 0x8001002a 0x40004 0x80010013
PLAY 0x40004 0x8001002a 0x40004 0x80010019
PAUSE 0x40004 0x8001001d 0x40004 0x80010019
STOP 0x40004 0x8001001f
REWIND 0x40004 0x8001002a 0x40004 0x80010020
FORWARD 0x40004 0x8001002a 0x40004 0x80010021
PREV_TRACK 0x40004 0x8001001d 0x40004 0x80010030
NEXT_TRACK 0x40004 0x8001001d 0x40004 0x80010021
NUMPAD_1 0x40004 0x80010002
NUMPAD_2 0x40004 0x80010003
NUMPAD_3 0x40004 0x80010004
NUMPAD_4 0x40004 0x80010005
NUMPAD_5 0x40004 0x80010006
NUMPAD_6 0x40004 0x80010007
NUMPAD_7 0x40004 0x80010008
NUMPAD_8 0x40004 0x80010009
NUMPAD_9 0x40004 0x8001000a
NUMPAD_0 0x40004 0x8001000b
end codes
end remote |
The default lircd.conf generated for devinput also worked for most of the keys if that helps any. Here's how it starts:
Code: |
# generated by devinput.sh
begin remote
name devinput
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x8001
gap 132799
toggle_bit_mask 0x0
begin codes
KEY_0 0x000B
KEY_102ND 0x0056
KEY_1 0x0002
...<snip>...
end codes
end remote |
The full list is much longer, so I've save it here to spare you: http://dl.getdropbox.com/u/483041/lircd.conf.devinput.txt
All help is greatly appreciated!
Last edited by zcar on Wed Jul 08, 2009 1:42 pm; edited 1 time in total |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21271 Location: Chicago, IL |
Posted: Wed Jul 08, 2009 1:16 pm Post subject: |
|
|
I'm blocked from looking at the 2nd file, so could you please post the complete set. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
zcar
Joined: 08 Jul 2009 Posts: 6
|
Posted: Wed Jul 08, 2009 1:20 pm Post subject: rest of file |
|
|
Here's the whole thing. That should have been a public link, but oh well.
Code: | # generated by devinput.sh
begin remote
name devinput
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x8001
gap 132799
toggle_bit_mask 0x0
begin codes
KEY_0 0x000B
KEY_102ND 0x0056
KEY_1 0x0002
KEY_2 0x0003
KEY_3 0x0004
KEY_4 0x0005
KEY_5 0x0006
KEY_6 0x0007
KEY_7 0x0008
KEY_8 0x0009
KEY_9 0x000A
KEY_A 0x001E
KEY_AB 0x0196
KEY_AGAIN 0x0081
KEY_ALTERASE 0x00DE
KEY_ANGLE 0x0173
KEY_APOSTROPHE 0x0028
KEY_ARCHIVE 0x0169
KEY_AUDIO 0x0188
KEY_AUX 0x0186
KEY_B 0x0030
KEY_BACK 0x009E
KEY_BACKSLASH 0x002B
KEY_BACKSPACE 0x000E
KEY_BASSBOOST 0x00D1
KEY_BATTERY 0x00EC
KEY_BLUE 0x0191
KEY_BOOKMARKS 0x009C
KEY_BREAK 0x019B
KEY_BRIGHTNESSDOWN 0x00E0
KEY_BRIGHTNESSUP 0x00E1
KEY_BRL_DOT1 0x01F1
KEY_BRL_DOT2 0x01F2
KEY_BRL_DOT3 0x01F3
KEY_BRL_DOT4 0x01F4
KEY_BRL_DOT5 0x01F5
KEY_BRL_DOT6 0x01F6
KEY_BRL_DOT7 0x01F7
KEY_BRL_DOT8 0x01F8
KEY_C 0x002E
KEY_CALC 0x008C
KEY_CALENDAR 0x018D
KEY_CAMERA 0x00D4
KEY_CANCEL 0x00DF
KEY_CAPSLOCK 0x003A
KEY_CD 0x017F
KEY_CHANNEL 0x016B
KEY_CHANNELDOWN 0x0193
KEY_CHANNELUP 0x0192
KEY_CHAT 0x00D8
KEY_CLEAR 0x0163
KEY_CLOSE 0x00CE
KEY_CLOSECD 0x00A0
KEY_COFFEE 0x0098
KEY_COMMA 0x0033
KEY_COMPOSE 0x007F
KEY_COMPUTER 0x009D
KEY_CONFIG 0x00AB
KEY_CONNECT 0x00DA
KEY_COPY 0x0085
KEY_CUT 0x0089
KEY_CYCLEWINDOWS 0x009A
KEY_D 0x0020
KEY_DEL_EOL 0x01C0
KEY_DEL_EOS 0x01C1
KEY_DELETE 0x006F
KEY_DELETEFILE 0x0092
KEY_DEL_LINE 0x01C3
KEY_DIGITS 0x019D
KEY_DIRECTION 0x0099
KEY_DIRECTORY 0x018A
KEY_DOCUMENTS 0x00EB
KEY_DOT 0x0034
KEY_DOWN 0x006C
KEY_DVD 0x0185
KEY_E 0x0012
KEY_EDIT 0x00B0
KEY_EJECTCD 0x00A1
KEY_EJECTCLOSECD 0x00A2
KEY_EMAIL 0x00D7
KEY_END 0x006B
KEY_ENTER 0x001C
KEY_EPG 0x016D
KEY_EQUAL 0x000D
KEY_ESC 0x0001
KEY_EXIT 0x00AE
KEY_F10 0x0044
KEY_F11 0x0057
KEY_F12 0x0058
KEY_F13 0x00B7
KEY_F14 0x00B8
KEY_F15 0x00B9
KEY_F1 0x003B
KEY_F16 0x00BA
KEY_F17 0x00BB
KEY_F18 0x00BC
KEY_F19 0x00BD
KEY_F20 0x00BE
KEY_F21 0x00BF
KEY_F22 0x00C0
KEY_F23 0x00C1
KEY_F24 0x00C2
KEY_F2 0x003C
KEY_F 0x0021
KEY_F3 0x003D
KEY_F4 0x003E
KEY_F5 0x003F
KEY_F6 0x0040
KEY_F7 0x0041
KEY_F8 0x0042
KEY_F9 0x0043
KEY_FASTFORWARD 0x00D0
KEY_FAVORITES 0x016C
KEY_FILE 0x0090
KEY_FINANCE 0x00DB
KEY_FIND 0x0088
KEY_FIRST 0x0194
KEY_FN 0x01D0
KEY_FN_1 0x01DE
KEY_FN_2 0x01DF
KEY_FN_B 0x01E4
KEY_FN_D 0x01E0
KEY_FN_E 0x01E1
KEY_FN_ESC 0x01D1
KEY_FN_F 0x01E2
KEY_FN_F10 0x01DB
KEY_FN_F1 0x01D2
KEY_FN_F11 0x01DC
KEY_FN_F12 0x01DD
KEY_FN_F2 0x01D3
KEY_FN_F3 0x01D4
KEY_FN_F4 0x01D5
KEY_FN_F5 0x01D6
KEY_FN_F6 0x01D7
KEY_FN_F7 0x01D8
KEY_FN_F8 0x01D9
KEY_FN_F9 0x01DA
KEY_FN_S 0x01E3
KEY_FORWARD 0x009F
KEY_FORWARDMAIL 0x00E9
KEY_FRONT 0x0084
KEY_G 0x0022
KEY_GOTO 0x0162
KEY_GRAVE 0x0029
KEY_GREEN 0x018F
KEY_H 0x0023
KEY_HANGEUL 0x007A
KEY_HANJA 0x007B
KEY_HELP 0x008A
KEY_HENKAN 0x005C
KEY_HIRAGANA 0x005B
KEY_HOME 0x0066
KEY_HOMEPAGE 0x00AC
KEY_HP 0x00D3
KEY_I 0x0017
KEY_INFO 0x0166
KEY_INSERT 0x006E
KEY_INS_LINE 0x01C2
KEY_ISO 0x00AA
KEY_J 0x0024
KEY_K 0x0025
KEY_KATAKANA 0x005A
KEY_KATAKANAHIRAGANA 0x005D
KEY_KBDILLUMDOWN 0x00E5
KEY_KBDILLUMTOGGLE 0x00E4
KEY_KBDILLUMUP 0x00E6
KEY_KEYBOARD 0x0176
KEY_KP0 0x0052
KEY_KP1 0x004F
KEY_KP2 0x0050
KEY_KP3 0x0051
KEY_KP4 0x004B
KEY_KP5 0x004C
KEY_KP6 0x004D
KEY_KP7 0x0047
KEY_KP8 0x0048
KEY_KP9 0x0049
KEY_KPASTERISK 0x0037
KEY_KPCOMMA 0x0079
KEY_KPDOT 0x0053
KEY_KPENTER 0x0060
KEY_KPEQUAL 0x0075
KEY_KPJPCOMMA 0x005F
KEY_KPLEFTPAREN 0x00B3
KEY_KPMINUS 0x004A
KEY_KPPLUS 0x004E
KEY_KPPLUSMINUS 0x0076
KEY_KPRIGHTPAREN 0x00B4
KEY_KPSLASH 0x0062
KEY_L 0x0026
KEY_LANGUAGE 0x0170
KEY_LAST 0x0195
KEY_LEFT 0x0069
KEY_LEFTALT 0x0038
KEY_LEFTBRACE 0x001A
KEY_LEFTCTRL 0x001D
KEY_LEFTMETA 0x007D
KEY_LEFTSHIFT 0x002A
KEY_LINEFEED 0x0065
KEY_LIST 0x018B
KEY_M 0x0032
KEY_MACRO 0x0070
KEY_MAIL 0x009B
KEY_MAX 0x01FF
KEY_MEDIA 0x00E2
KEY_MEMO 0x018C
KEY_MENU 0x008B
KEY_MHP 0x016F
KEY_MINUS 0x000C
KEY_MODE 0x0175
KEY_MOVE 0x00AF
KEY_MP3 0x0187
KEY_MSDOS 0x0097
KEY_MUHENKAN 0x005E
KEY_MUTE 0x0071
KEY_N 0x0031
KEY_NEW 0x00B5
KEY_NEXT 0x0197
KEY_NEXTSONG 0x00A3
KEY_NUMLOCK 0x0045
KEY_O 0x0018
KEY_OK 0x0160
KEY_OPEN 0x0086
KEY_OPTION 0x0165
KEY_P 0x0019
KEY_PAGEDOWN 0x006D
KEY_PAGEUP 0x0068
KEY_PASTE 0x0087
KEY_PAUSE 0x0077
KEY_PAUSECD 0x00C9
KEY_PC 0x0178
KEY_PHONE 0x00A9
KEY_PLAY 0x00CF
KEY_PLAYCD 0x00C8
KEY_PLAYER 0x0183
KEY_PLAYPAUSE 0x00A4
KEY_POWER 0x0074
KEY_POWER2 0x0164
KEY_PREVIOUS 0x019C
KEY_PREVIOUSSONG 0x00A5
KEY_PRINT 0x00D2
KEY_PROG1 0x0094
KEY_PROG2 0x0095
KEY_PROG3 0x00CA
KEY_PROG4 0x00CB
KEY_PROGRAM 0x016A
KEY_PROPS 0x0082
KEY_PVR 0x016E
KEY_Q 0x0010
KEY_QUESTION 0x00D6
KEY_R 0x0013
KEY_RADIO 0x0181
KEY_RECORD 0x00A7
KEY_RED 0x018E
KEY_REDO 0x00B6
KEY_REFRESH 0x00AD
KEY_REPLY 0x00E8
KEY_RESERVED 0x0000
KEY_RESTART 0x0198
KEY_REWIND 0x00A8
KEY_RIGHT 0x006A
KEY_RIGHTALT 0x0064
KEY_RIGHTBRACE 0x001B
KEY_RIGHTCTRL 0x0061
KEY_RIGHTMETA 0x007E
KEY_RIGHTSHIFT 0x0036
KEY_RO 0x0059
KEY_S 0x001F
KEY_SAT 0x017D
KEY_SAT2 0x017E
KEY_SAVE 0x00EA
KEY_SCREEN 0x0177
KEY_SCROLLDOWN 0x00B2
KEY_SCROLLLOCK 0x0046
KEY_SCROLLUP 0x00B1
KEY_SEARCH 0x00D9
KEY_SELECT 0x0161
KEY_SEMICOLON 0x0027
KEY_SEND 0x00E7
KEY_SENDFILE 0x0091
KEY_SETUP 0x008D
KEY_SHOP 0x00DD
KEY_SHUFFLE 0x019A
KEY_SLASH 0x0035
KEY_SLEEP 0x008E
KEY_SLOW 0x0199
KEY_SOUND 0x00D5
KEY_SPACE 0x0039
KEY_SPORT 0x00DC
KEY_STOP 0x0080
KEY_STOPCD 0x00A6
KEY_SUBTITLE 0x0172
KEY_SUSPEND 0x00CD
KEY_SWITCHVIDEOMODE 0x00E3
KEY_SYSRQ 0x0063
KEY_T 0x0014
KEY_TAB 0x000F
KEY_TAPE 0x0180
KEY_TEEN 0x019E
KEY_TEXT 0x0184
KEY_TIME 0x0167
KEY_TITLE 0x0171
KEY_TUNER 0x0182
KEY_TV 0x0179
KEY_TV2 0x017A
KEY_TWEN 0x019F
KEY_U 0x0016
KEY_UNDO 0x0083
KEY_UNKNOWN 0x00F0
KEY_UP 0x0067
KEY_V 0x002F
KEY_VCR 0x017B
KEY_VCR2 0x017C
KEY_VENDOR 0x0168
KEY_VIDEO 0x0189
KEY_VOLUMEDOWN 0x0072
KEY_VOLUMEUP 0x0073
KEY_W 0x0011
KEY_WAKEUP 0x008F
KEY_WWW 0x0096
KEY_X 0x002D
KEY_XFER 0x0093
KEY_Y 0x0015
KEY_YELLOW 0x0190
KEY_YEN 0x007C
KEY_Z 0x002C
KEY_ZENKAKUHANKAKU 0x0055
KEY_ZOOM 0x0174
BTN_0 0x0100
BTN_1 0x0101
BTN_2 0x0102
BTN_3 0x0103
BTN_4 0x0104
BTN_5 0x0105
BTN_6 0x0106
BTN_7 0x0107
BTN_8 0x0108
BTN_9 0x0109
BTN_A 0x0130
BTN_B 0x0131
BTN_BACK 0x0116
BTN_BASE 0x0126
BTN_BASE2 0x0127
BTN_BASE3 0x0128
BTN_BASE4 0x0129
BTN_BASE5 0x012A
BTN_BASE6 0x012B
BTN_C 0x0132
BTN_DEAD 0x012F
BTN_DIGI 0x0140
BTN_EXTRA 0x0114
BTN_FORWARD 0x0115
BTN_GAMEPAD 0x0130
BTN_GEAR_DOWN 0x0150
BTN_GEAR_UP 0x0151
BTN_JOYSTICK 0x0120
BTN_LEFT 0x0110
BTN_MIDDLE 0x0112
BTN_MISC 0x0100
BTN_MODE 0x013C
BTN_MOUSE 0x0110
BTN_PINKIE 0x0125
BTN_RIGHT 0x0111
BTN_SELECT 0x013A
BTN_SIDE 0x0113
BTN_START 0x013B
BTN_STYLUS 0x014B
BTN_STYLUS2 0x014C
BTN_TASK 0x0117
BTN_THUMB 0x0121
BTN_THUMB2 0x0122
BTN_THUMBL 0x013D
BTN_THUMBR 0x013E
BTN_TL 0x0136
BTN_TL2 0x0138
BTN_TOOL_AIRBRUSH 0x0144
BTN_TOOL_BRUSH 0x0142
BTN_TOOL_DOUBLETAP 0x014D
BTN_TOOL_FINGER 0x0145
BTN_TOOL_LENS 0x0147
BTN_TOOL_MOUSE 0x0146
BTN_TOOL_PEN 0x0140
BTN_TOOL_PENCIL 0x0143
BTN_TOOL_RUBBER 0x0141
BTN_TOOL_TRIPLETAP 0x014E
BTN_TOP 0x0123
BTN_TOP2 0x0124
BTN_TOUCH 0x014A
BTN_TR 0x0137
BTN_TR2 0x0139
BTN_TRIGGER 0x0120
BTN_WHEEL 0x0150
BTN_X 0x0133
BTN_Y 0x0134
BTN_Z 0x0135
end codes
end remote
|
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21271 Location: Chicago, IL |
Posted: Wed Jul 08, 2009 2:55 pm Post subject: Re: rest of file |
|
|
zcar wrote: | Here's the whole thing. That should have been a public link, but oh well. |
It was blocked by my company's server.
Does anyone know enough about LIRC to understand how these two signal sets can work with no carrier frequency and no burst times? _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
johnsfine Site Admin
Joined: 10 Aug 2003 Posts: 4766 Location: Bedford, MA |
Posted: Wed Jul 08, 2009 3:22 pm Post subject: |
|
|
It means the file isn't from a generic IR receiver, but from a protocol specific IR receiver that does most of the job of decoding before passing anything to the generic lirc code.
So I don't think we can use any of the LIRC data to learn the basic structure of the code.
If we knew the basic structure from elsewhere, the posted lists would give us the per function detail. |
|
Back to top |
|
|
mdavej Expert
Joined: 08 Oct 2003 Posts: 4519
|
Posted: Wed Jul 08, 2009 4:13 pm Post subject: |
|
|
If you can't get it working, I highly recommend getting that remote in the other thread you linked. It's very cheap and works perfectly with JP1 remotes. |
|
Back to top |
|
|
zcar
Joined: 08 Jul 2009 Posts: 6
|
Posted: Wed Jul 08, 2009 9:31 pm Post subject: |
|
|
Thanks for the help. Yeah, I might not spend too much longer on this. $10 isn't worth beating my head against the wall. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21271 Location: Chicago, IL |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21271 Location: Chicago, IL |
Posted: Wed Jul 08, 2009 10:38 pm Post subject: |
|
|
I've done some extensive searching this evening trying to find out what the secret is to these format-less LIRC files, and there are several of them out there, but I haven't found the answer. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Wed Jul 08, 2009 11:36 pm Post subject: |
|
|
The USB dongle is seen as a Human Input Device(HID) and the driver(/dev/input) converts whatever it sees into keycodes. These keycodes are listed in the lircd.conf file. If a match is found, then the button name is used to find the keyboard action to be taken from the file .licrc. The action acts as if you had typed that keyboard key within a program. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21271 Location: Chicago, IL |
Posted: Thu Jul 09, 2009 7:55 am Post subject: |
|
|
binky123 wrote: | The USB dongle is seen as a Human Input Device(HID) and the driver(/dev/input) converts whatever it sees into keycodes. These keycodes are listed in the lircd.conf file. If a match is found, then the button name is used to find the keyboard action to be taken from the file .licrc. The action acts as if you had typed that keyboard key within a program. |
Can you take that a step further to get me the info I need to creeate a JP1 upgrade? The OP in the following thread descibes how he made his lircd.conf file.
http://ubuntuforums.org/showthread.php?t=805876 _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Thu Jul 09, 2009 11:15 am Post subject: |
|
|
The raw IR signals have been processed already by the dongle so I don't think you can glean any info from it. The lircd program takes the data from the dongle and sends the data out to a socket/port. The program irw will then take that data and display the raw data or look up in the lircd.conf file and display the button mapping.
Perhaps its an NEC IR signal? http://www.hifi-remote.com/forums/dload.php?action=file&file_id=2728 seems to list a file for a DVB-S card that uses a USB dongle. |
|
Back to top |
|
|
zcar
Joined: 08 Jul 2009 Posts: 6
|
Posted: Thu Jul 09, 2009 11:40 am Post subject: |
|
|
Not sure if that was intended for me or to assist Rob in his decoding, but I gave it a shot just in case. No go, unfortunately. I wish my old 8810 would still learn codes.
You guys are really going the extra mile on this. Thank you! |
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Thu Jul 09, 2009 1:06 pm Post subject: |
|
|
Is there any way you can get your serial IR input device to record the raw signals from the Cyp remote? Can you use irrecord in raw mode? Do you have access to other learning equipment(parallel port + IR sensor)? |
|
Back to top |
|
|
zcar
Joined: 08 Jul 2009 Posts: 6
|
Posted: Thu Jul 09, 2009 1:21 pm Post subject: |
|
|
yes, I wish my serial receiver was working, then I wouldn't have tried this remote in the first place. Either my serial port is dead on the new MB, or my ir receiver broke while moving things around, but I don't have any other serial devices or machines with serial ports to tell which side is the problem. moving to the new machine has been a pain. this has been just one of many hurdles getting everything to play nice (the joy of linux). I may give it another shot though to see if there was anything I missed before. |
|
Back to top |
|
|
|