2011-04-11, 19:41
Gujs Wrote:Try RECTV button.
Doesn't do anything at all I'm afraid. All the other buttons works as expected.
Hmmmm
Gujs Wrote:Try RECTV button.
sraue Wrote:this patch for both devices (5577 and 5578) is included in kernel 2.6.38 which is used in openelec:
http://git.kernel.org/?p=linux/kernel/gi...-topseed.c
so if this remote dont work in openelec there must be anything other wrong, or its simply not added to eventlircd which is used in openelec. please test with evtest if you get signals from the remote and add a feature request thread to the forum on openelec.tv.
root ~ # evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Power Button
/dev/input/event1: Power Button
/dev/input/event2: BTC USB MCE Cordless Remote Control.
/dev/input/event3: BTC USB MCE Cordless Remote Control.
Select the device event number [0-3]: 3
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x46e product 0x5578 version 0x111
Input device name: "BTC USB MCE Cordless Remote Control."
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 113 (Mute)
Event code 114 (VolumeDown)
Event code 115 (VolumeUp)
Event code 116 (Power)
Event code 119 (Pause)
Event code 128 (Stop)
Event code 130 (Props)
Event code 131 (Undo)
Event code 133 (Copy)
Event code 134 (Open)
Event code 135 (Paste)
Event code 136 (Find)
Event code 137 (Cut)
Event code 138 (Help)
Event code 139 (Menu)
Event code 140 (Calc)
Event code 142 (Sleep)
Event code 143 (WakeUp)
Event code 144 (File)
Event code 150 (WWW)
Event code 152 (Screen Lock)
Event code 155 (Mail)
Event code 156 (Bookmarks)
Event code 158 (Back)
Event code 159 (Forward)
Event code 161 (EjectCD)
Event code 163 (NextSong)
Event code 164 (PlayPause)
Event code 165 (PreviousSong)
Event code 166 (StopCD)
Event code 167 (Record)
Event code 168 (Rewind)
Event code 169 (Phone)
Event code 171 (Config)
Event code 172 (HomePage)
Event code 173 (Refresh)
Event code 174 (Exit)
Event code 177 (ScrollUp)
Event code 178 (ScrollDown)
Event code 181 (New)
Event code 182 (Redo)
Event code 206 (Close)
Event code 207 (Play)
Event code 208 (Fast Forward)
Event code 209 (Bass Boost)
Event code 210 (Print)
Event code 212 (Camera)
Event code 213 (Sound)
Event code 216 (Chat)
Event code 217 (Search)
Event code 219 (Finance)
Event code 223 (Cancel)
Event code 226 (Media)
Event code 231 (Send)
Event code 232 (Reply)
Event code 233 (Forward Mail)
Event code 234 (Save)
Event code 235 (Documents)
Event code 256 (Btn0)
Event code 354 (Goto)
Event code 358 (Info)
Event code 362 (Program)
Event code 363 (Channel)
Event code 366 (PVR)
Event code 368 (Language)
Event code 370 (Subtitle)
Event code 371 (Angle)
Event code 373 (Mode)
Event code 376 (PC)
Event code 377 (TV)
Event code 378 (TV2)
Event code 379 (VCR)
Event code 380 (VCR2)
Event code 381 (Sat)
Event code 383 (CD)
Event code 384 (Tape)
Event code 385 (Radio)
Event code 386 (Tuner)
Event code 388 (Text)
Event code 389 (DVD)
Event code 391 (MP3)
Event code 392 (Audio)
Event code 393 (Video)
Event code 396 (Memo)
Event code 397 (Calendar)
Event code 398 (Red)
Event code 399 (Green)
Event code 400 (Yellow)
Event code 401 (Blue)
Event code 402 (ChannelUp)
Event code 403 (ChannelDown)
Event code 405 (Last)
Event code 416 (Videophone)
Event code 417 (Games)
Event code 418 (Zoom In)
Event code 419 (Zoom Out)
Event code 420 (Zoom Reset)
Event code 421 (Word Processor)
Event code 422 (Editor)
Event code 423 (Spreadsheet)
Event code 424 (Graphics Editor)
Event code 425 (Presentation)
Event code 426 (Database)
Event code 427 (News)
Event code 428 (Voicemail)
Event code 429 (Addressbook)
Event code 430 (Messenger)
Event code 432 (Spellcheck)
Event code 433 (Log Off)
Event code 439 (Media Repeat)
Event type 2 (Relative)
Event code 6 (HWheel)
Event type 3 (Absolute)
Event code 32 (Volume)
Value 0
Min 0
Max 767
Event type 4 (Misc)
Event code 4 (ScanCode)
Testing ... (interrupt to exit)
Event: time 1302543887.524219, type 4 (Misc), code 4 (ScanCode), value ffbc0048
Event: time 1302543887.524238, type 1 (Key), code 378 (TV2), value 1
Event: time 1302543887.524245, -------------- Report Sync ------------
Event: time 1302543887.644204, type 4 (Misc), code 4 (ScanCode), value ffbc0048
Event: time 1302543887.644223, type 1 (Key), code 378 (TV2), value 0
Event: time 1302543887.644227, -------------- Report Sync ------------
sraue Wrote:...
i have added support for ... BTC Emprex ... Please test also if various buttons dont work or must be remapped in this build.
thanks
rincage Wrote:The only odd one is that the back action is tied to the DVDMENU button and the actual BACK button on the remote doesn't seem to do anything now
killall eventlircd
Event: time 1302608479.494713, type 4 (Misc), code 4 (ScanCode), value c0224
Event: time 1302608479.494734, type 1 (Key), code 158 (Back), value 1
Event: time 1302608479.494740, -------------- Report Sync ------------
Event: time 1302608479.590714, type 4 (Misc), code 4 (ScanCode), value c0224
Event: time 1302608479.590736, type 1 (Key), code 158 (Back), value 0
Event: time 1302608479.590740, -------------- Report Sync ------------
Event: time 1302608480.822712, type 4 (Misc), code 4 (ScanCode), value ffbc0048
Event: time 1302608480.822728, type 1 (Key), code 378 (TV2), value 1
Event: time 1302608480.822734, -------------- Report Sync ------------
Event: time 1302608480.934723, type 4 (Misc), code 4 (ScanCode), value ffbc0048
Event: time 1302608480.934739, type 1 (Key), code 378 (TV2), value 0
Event: time 1302608480.934743, -------------- Report Sync ------------
Event: time 1302608481.902703, type 4 (Misc), code 4 (ScanCode), value c008d
Event: time 1302608481.902719, type 1 (Key), code 362 (Program), value 1
Event: time 1302608481.902724, -------------- Report Sync ------------
Event: time 1302608482.038715, type 4 (Misc), code 4 (ScanCode), value c008d
Event: time 1302608482.038732, type 1 (Key), code 362 (Program), value 0
Event: time 1302608482.038736, -------------- Report Sync ------------
Event: time 1302608482.758700, type 4 (Misc), code 4 (ScanCode), value ffbc0025
Event: time 1302608482.758716, type 1 (Key), code 377 (TV), value 1
Event: time 1302608482.758721, -------------- Report Sync ------------
Event: time 1302608482.886708, type 4 (Misc), code 4 (ScanCode), value ffbc0025
Event: time 1302608482.886726, type 1 (Key), code 377 (TV), value 0
Event: time 1302608482.886729, -------------- Report Sync ------------
Event: time 1302608483.854717, type 4 (Misc), code 4 (ScanCode), value ffbc0024
Event: time 1302608483.854739, type 1 (Key), code 139 (Menu), value 1
Event: time 1302608483.854744, -------------- Report Sync ------------
Event: time 1302608483.990735, type 4 (Misc), code 4 (ScanCode), value ffbc0024
Event: time 1302608483.990781, type 1 (Key), code 139 (Menu), value 0
Event: time 1302608483.990787, -------------- Report Sync ------------
Event: time 1302608694.326753, type 4 (Misc), code 4 (ScanCode), value ffbc005b
Event: time 1302608694.326770, type 1 (Key), code 398 (Red), value 1
Event: time 1302608694.326775, -------------- Report Sync ------------
Event: time 1302608694.462760, type 4 (Misc), code 4 (ScanCode), value ffbc005b
Event: time 1302608694.462778, type 1 (Key), code 398 (Red), value 0
Event: time 1302608694.462782, -------------- Report Sync ------------
Event: time 1302608695.782753, type 4 (Misc), code 4 (ScanCode), value ffbc005c
Event: time 1302608695.782769, type 1 (Key), code 399 (Green), value 1
Event: time 1302608695.782774, -------------- Report Sync ------------
Event: time 1302608695.894744, type 4 (Misc), code 4 (ScanCode), value ffbc005c
Event: time 1302608695.894761, type 1 (Key), code 399 (Green), value 0
Event: time 1302608695.894765, -------------- Report Sync ------------
Event: time 1302608696.438762, type 4 (Misc), code 4 (ScanCode), value ffbc005d
Event: time 1302608696.438780, type 1 (Key), code 400 (Yellow), value 1
Event: time 1302608696.438785, -------------- Report Sync ------------
Event: time 1302608696.590747, type 4 (Misc), code 4 (ScanCode), value ffbc005d
Event: time 1302608696.590764, type 1 (Key), code 400 (Yellow), value 0
Event: time 1302608696.590768, -------------- Report Sync ------------
Event: time 1302608697.158753, type 4 (Misc), code 4 (ScanCode), value ffbc005e
Event: time 1302608697.158771, type 1 (Key), code 401 (Blue), value 1
Event: time 1302608697.158776, -------------- Report Sync ------------
Event: time 1302608697.318754, type 4 (Misc), code 4 (ScanCode), value ffbc005e
Event: time 1302608697.318770, type 1 (Key), code 401 (Blue), value 0
Event: time 1302608697.318774, -------------- Report Sync ------------
Gujs Wrote:Hi sraue,
I can also confirm that the remote is working, but the mapping is not very good right now.
I am currently on a business trip and don't know if I had time to look at it, but I will definitely check this in the weekend when I am back at home.
mrnorm Wrote:Hello!
Wow, lots of advice in here, thanks!
I'm having issues getting my module to load on the "2.6.35-23-generic-pae" kernel.
I've followed the instructions posted by earlier and later edited my hid-core.c as the device ID was a number out. I've compiled everything and installed the modules, but the buggers just won't load!
Any advice or suggestions? Thanks!
sudo update-initramfs -u
Quote:root@mediaserver:~# lsmod | grep usb
usbhid 36348 0
hid 66517 2 hid_btc,usbhid
usb_storage 40204 1
Crispy2 Wrote:so edit your ~/.xsessionrc file with your favourite editor (I'm a vi person myself) and add/replace the following (Comments should make them obvious):
Code:# Pause Button
xmodmap -display :0 -e "keycode 127 = F11"
# Back Button
xmodmap -display :0 -e "keycode 166 = BackSpace"
# Record - Escape
xmodmap -display :0 -e "keycode 175 = Escape"
# Power - Power!
xmodmap -display :0 -e "keycode 150 = s"
# Green Button - gui toggle
xmodmap -display :0 -e "keycode 234 = Tab"
# I Button, map to context menu
xmodmap -display :0 -e "keycode 138 = c"
# DVD Menu, map to info
xmodmap -display :0 -e "keycode 147 = i"
# Pictures, map to codec info
xmodmap -display :0 -e "keycode 220 = o"