• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
Anyone have a Emprex 3009URF MCE RC?
#91
Gujs Wrote:Try RECTV button.

Doesn't do anything at all I'm afraid. All the other buttons works as expected.

Hmmmm Huh
Reply
#92
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.


This is my evtest output, at the bottom is the output when I press the rectv button. But nothing happens in Openelec-XBMC

Code:
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 ------------
Reply
#93
Hi Gujs and rincage

can you both test this devel image:

http://sources.openelec.tv/tmp/image/Ope...27.tar.bz2

i have added support for various Topseed, BTC Emprex and Chicony remotes. Please test also if various buttons dont work or must be remapped in this build.

thanks
greetings, Stephan

Image

Image
Reply
#94
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

You absolute star. It now works. The pop-up/context menu is tied to the "RECTV" button. 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 Huh. But still completely workable. Even the big green button now takes you to the home screen.

Image

Superb

Thanks
Rin
Reply
#95
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 Huh

can you do via ssh:

Code:
killall eventlircd

and then run again evtest and paste the output (i need only the generated output on buttonpresses) from pressing your back button and dvdmenu button, i will try to remap both

Stephan
greetings, Stephan

Image

Image
Reply
#96
Sure. With respect to the picture above, the button presses come back as follows

BACK BUTTON

Code:
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 ------------

RECTV BUTTON

Code:
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 ------------

GUIDE BUTTON

Code:
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 ------------

LIVETV BUTTON

Code:
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 ------------


DVDMENU BUTTON

Code:
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 ------------

The RED, GREEN, YELLOW and BLUE buttons come up as

Code:
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 ------------
Reply
#97
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.
Reply
#98
Hi Gujs,

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.

thanks for your help with this. there is a additional thread here: http://openelec.tv/forum/27-hardware-sup...emote#5346 can you include this mappings too to topseed.evmap.
greetings, Stephan

Image

Image
Reply
#99
@rincage

I created a build which fixes the mapping for me. Can you try it?
http://gujs.openelec.tv/build/topseed/Op...98.tar.bz2
Reply
Hello!

Wow, lots of advice in here, thanks! Smile

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!
Reply
mrnorm Wrote:Hello!

Wow, lots of advice in here, thanks! Smile

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!

Hi. Did you try to load them manual? If they load manual and just not automatic, then you should try this command:
Code:
sudo update-initramfs -u
Reply
Well thats the thing, when I do a modprobe hid_btc, it appears in the lsmod list correctly:

Quote:root@mediaserver:~# lsmod | grep usb
usbhid 36348 0
hid 66517 2 hid_btc,usbhid
usb_storage 40204 1

But still nothing from the additional buttons on the remote.
Reply
Hi,

Found this thread last night and very grateful for the great work done here - I haven't bit the bullet and tried the drivers part, but got most features working by remapping the buttons, and learnt a little linux on the way Smile

Am i right in understanding that the HID drivers part (to give more buttons functionality) is not 'recompiling the kernel' as first was done by tonyt.?

I am going to give it a go I think as really want the big green button on my Emprex to work.

I am running the current Live version of XBCM on a small Dell box. I have samba installed so i can share out all my media from it (on an external drive USB'd into the box) and everything else is going well. Playing with the config files (sources.xml, keymaps etc) via Putty.

Would there be any update on the current process tonyt outlines or shoudl i go for that?

Thanks

paul
Reply
Wink 
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"

I have been using these codes for ages, but after updating my XBMC with a pre-eden release (to get my weather channel back!) i noticed the 'i' button no longer worked.
I turned on debugging and checked the keycode and it appeared to have changed!

xmodmap -display :0 -e "keycode 175 = c"

now works Smile
Reply
Anyone using this on xbmcuntu to get all the buttons mapped ? I am still a little confused on including the module with the kernel. Anyone got a better step by step for xbmcuntu ?
-= My Media Centre =-
ACER Revo R3610 | x2 1.5TB WD Caviar Green SATA Hard Drives (WD15EADS) | x2 2.0TB WD Caviar Green SATA Hard Drive ( WD15EARS ) | 3.5in Black eSATA USB Trayless SATA External Hard Drive Enclosure | Emprex 3009URF Wireless MCE Remote Control | XBMCLive Dharma Beta1
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9

Logout Mark Read Team Forum Stats Members Help
Anyone have a Emprex 3009URF MCE RC?0