PDA

View Full Version : CyberLink Remote?


mdalacu
2008-10-24, 11:32
Is someone using successfully the Cyberlink remote? For me only directional keys are working. Do i have to modify a file or something?
Thank you.

Pvt_Ryan
2008-10-24, 13:15
yes

http://twe.awardspace.com/cyberlink/

http://linux.thaj.net63.net/cyberlinkusb/

If you want I'll post my config.h tonight for you.

mdalacu
2008-10-24, 18:53
yes

http://twe.awardspace.com/cyberlink/

http://linux.thaj.net63.net/cyberlinkusb/

If you want I'll post my config.h tonight for you.

Yes, thank you, it will be much appreciated.

Pvt_Ryan
2008-10-24, 20:29
config.h

// !! DO NOT CHANGE THE ORDER !!
// for valid XK values look in X11/keysym.h
// 0 disables the key

const int KeyToXK[] = {
XK_Escape, // KEY_HOME
XK_End, // KEY_POWEROFF
XK_c, // KEY_RED
XK_F3, // KEY_GREEN
XK_F4, // KEY_YELLOW
XK_F5, // KEY_BLUE
0, // KEY_LiveTV
0, // KEY_Record
0, // KEY_Radio
0, // KEY_SAP
XK_s, // KEY_Teletext
XK_Tab, // KEY_LastCH
0, // KEY_Subtitle
XK_plus, // KEY_Language
0, // KEY_Angle
XK_BackSpace, // KEY_Back
XK_o, // KEY_Info
XK_m, // KEY_DVDMenu
XK_equal, // KEY_VolUp
XK_minus, // KEY_VolDown
0, // KEY_VolMute
XK_Page_Up, // KEY_PageUp
XK_Page_Down, // KEY_PageDown
XK_Up, // KEY_Up
XK_Left, // KEY_Left
XK_Return, // KEY_Enter
XK_Right, // KEY_Right
XK_Down, // KEY_Down
XK_p, // KEY_Play Works
XK_r, // KEY_Rewind Works
XK_p, // KEY_Pause Works
XK_f, // KEY_Forward Works
XK_comma, // KEY_FastRewind
XK_x, // KEY_Stop Works
XK_period, // KEY_FastForward
XK_1, // KEY_1
XK_2, // KEY_2
XK_3, // KEY_3
XK_4, // KEY_4
XK_5, // KEY_5
XK_6, // KEY_6
XK_7, // KEY_7
XK_8, // KEY_8
XK_9, // KEY_9
XK_0, // KEY_0
XK_d, // KEY_Clear
};


#define MICRO_IN_SEC 1000000.00
#define MICRO_IN_MILLI 1000.00
#define KEY_DELAY1 500000.00 / MICRO_IN_MILLI
#define KEY_DELAY2 100000.00 / MICRO_IN_MILLI

Pvt_Ryan
2008-10-24, 20:31
only thing i dont have working is Mute

mdalacu
2008-10-24, 23:31
Thanks but it's way to complicated for me. i'm a noobe in linux.
I will tell you what i have done so far:
1. create password for root account
2. installed WinSCP on windows machine.
3. Downloaded the file cyberlinkusb-20080924.tar.bz2 and copied the contents in XBMC
4. sudo apt-get install make
the rest does'n work ;( :
i can't find Xorg-devel, Xtst-devel, libusb-devel for apt and make command replies make: cc: Command not found


Any hints?
Thank you!

Pvt_Ryan
2008-10-25, 01:47
you are looking for


tar xvjf cyberlinkusb-20080924.tar.bz2
cp config.h ./cyberlinkusb-20080924
cd cyberlinkusb-20080924



sudo apt-get install xorg-dev libusb++-dev libxtst-dev build-essentials bison autoconf
make



sudo cp cyberlinkusb /usr/bin
sudo cyberlinkusb &

mdalacu
2008-10-26, 03:26
Thanks a lot Pvt_Ryan but it does not work, only directional keys are working. :(
Maybe i've done something wrong, i don't know: the make command only works with sudo make, otherwize it gives me an error.
Any other ideeas?
Thanks.

Pvt_Ryan
2008-10-26, 05:01
after sudo make:

sudo ./cyberlinkusb &

Have you changed your key config in xbmc? as my cfg file is setup for the default bindings.

Did you replace your config with mine?

What kernel are you running? (uname -a)

mdalacu
2008-10-26, 21:12
after sudo make:

sudo ./cyberlinkusb &

Have you changed your key config in xbmc? as my cfg file is setup for the default bindings.

Did you replace your config with mine?

What kernel are you running? (uname -a)

1 i've copied your seccond post and place it into a file saving it as config.h
2. i replaced the config.h from archive with the one above
3. copy the cyberlinkusb-20080924 directory from xp computer in /home/xbmc with winscp
4. on xbmc: cd cyberlinkusb-20080924
sudo make
sudo cp cyberlinkusb /usr/bin
sudo shutdown -r now (it won't load otherwize)
sudo cyberlinkusb & (command retured a number 5128)

ctrl+alt+f7 : only directional keys are working :-(

what am i dooing wrong ?!? :sad:

thank you for your patience.

Pvt_Ryan
2008-10-26, 21:51
ok, from the desktop open a terminal.

now run: sudo cyberlinkusb

what output are you getting?

now press keys on the remote and tell me if there is any output

mdalacu
2008-10-26, 23:35
ok, from the desktop open a terminal.

now run: sudo cyberlinkusb

what output are you getting?

now press keys on the remote and tell me if there is any output
interface 0: Driver name: usbhid
interface 0: Cannot open X display
interface 1: Driver name: usbhid
interface 1: Cannot open X display

This doesn't sound to good :)

P.S. My kernel version : 2.6.24-19-generic (XBMC Live CD Beta 2)

mdalacu
2008-10-28, 22:10
hi Pvt_Ryan, can you post lsusb output for your xbmc. Thx.
mine shows :
(T: XBMCLiveCD)root@XBMCLive:~# lsusb
Bus 002 Device 002: ID 0766:0204 Jess-Link Products Co., Ltd
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

mdalacu
2008-10-30, 10:11
I couldn't get it to work so i bought a MCE remote which works ok. :)

Off toppic: Can you start the computer with the remote? If so it's a BIOS thing ,no? What is that setting.

Thanks.

Pvt_Ryan
2008-10-30, 13:00
Sorry, I haven't been ignoring you I just haven't had a chance to look.

I'll take a peek tonight and post my findings.

Pvt_Ryan
2008-10-31, 23:44
Bus 004 Device 002: ID 0766:0204 Jess-Link Products Co., Ltd

mdalacu
2008-11-01, 00:17
Bus 004 Device 002: ID 0766:0204 Jess-Link Products Co., Ltd


It's the same device but mine doesn't work :)
Anyway, now i have another remote (MC remote), so everything it fine.
Thank you for your answers and patience.
Have a nice day.

kamistukai
2008-12-04, 22:37
I am also trying to get this remote working but I'm getting erros after typing make (ubuntu 8.10 32bit)

carl@carl-desktop:~/cyberlinkusb-20080924$ sudo make
cc -Wall -Wextra -O3 -c -o cyberlinkusb.o cyberlinkusb.cc
cyberlinkusb.cc:25:17: error: usb.h: No such file or directory
cyberlinkusb.cc:44: error: ISO C++ forbids declaration of ‘usb_dev_handle’ with no type
cyberlinkusb.cc:44: error: expected ‘;’ before ‘*’ token
cyberlinkusb.cc: In function ‘void* watchInterface(void*)’:
cyberlinkusb.cc:95: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:95: error: ‘usb_open’ was not declared in this scope
cyberlinkusb.cc:97: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:98: error: ‘usb_strerror’ was not declared in this scope
cyberlinkusb.cc:104: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:106: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:106: error: ‘usb_close’ was not declared in this scope
cyberlinkusb.cc:110: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:112: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:114: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:114: error: ‘usb_close’ was not declared in this scope
cyberlinkusb.cc:118: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:122: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:122: error: ‘usb_get_driver_np’ was not declared in this scope
cyberlinkusb.cc:123: error: ‘usb_strerror’ was not declared in this scope
cyberlinkusb.cc:128: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:128: error: ‘usb_detach_kernel_driver_np’ was not declared in this scope
cyberlinkusb.cc:129: error: ‘usb_strerror’ was not declared in this scope
cyberlinkusb.cc:132: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:132: error: ‘usb_claim_interface’ was not declared in this scope
cyberlinkusb.cc:133: error: ‘usb_strerror’ was not declared in this scope
cyberlinkusb.cc:134: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:134: error: ‘usb_close’ was not declared in this scope
cyberlinkusb.cc:137: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:137: error: ‘usb_set_altinterface’ was not declared in this scope
cyberlinkusb.cc:144: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:144: error: ‘usb_release_interface’ was not declared in this scope
cyberlinkusb.cc:145: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:145: error: ‘usb_close’ was not declared in this scope
cyberlinkusb.cc:156: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:156: error: ‘usb_interrupt_read’ was not declared in this scope
cyberlinkusb.cc:161: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:161: error: ‘usb_interrupt_read’ was not declared in this scope
cyberlinkusb.cc:189: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:193: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:198: error: ‘usb_strerror’ was not declared in this scope
cyberlinkusb.cc:201: error: ‘usb_strerror’ was not declared in this scope
cyberlinkusb.cc:206: error: ‘usb_strerror’ was not declared in this scope
cyberlinkusb.cc:211: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:211: error: ‘usb_release_interface’ was not declared in this scope
cyberlinkusb.cc:215: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc:215: error: ‘usb_close’ was not declared in this scope
cyberlinkusb.cc: In function ‘int runthreads(usb_device*)’:
cyberlinkusb.cc:224: error: ‘struct watchInterfaceArg’ has no member named ‘handle’
cyberlinkusb.cc: In function ‘usb_device* lookup()’:
cyberlinkusb.cc:247: error: ‘usb_get_busses’ was not declared in this scope
cyberlinkusb.cc:247: error: invalid use of incomplete type ‘struct usb_bus’
cyberlinkusb.cc:244: error: forward declaration of ‘struct usb_bus’
cyberlinkusb.cc:248: error: invalid use of incomplete type ‘struct usb_bus’
cyberlinkusb.cc:244: error: forward declaration of ‘struct usb_bus’
cyberlinkusb.cc:250: error: invalid use of incomplete type ‘struct usb_bus’
cyberlinkusb.cc:244: error: forward declaration of ‘struct usb_bus’
cyberlinkusb.cc:250: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:252: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:253: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:254: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:257: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:257: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc: At global scope:
cyberlinkusb.cc:267: warning: unused parameter ‘sig’
cyberlinkusb.cc: In function ‘int main(int, char**)’:
cyberlinkusb.cc:321: error: ‘usb_set_debug’ was not declared in this scope
cyberlinkusb.cc:324: error: ‘usb_init’ was not declared in this scope
cyberlinkusb.cc:326: error: ‘usb_find_busses’ was not declared in this scope
cyberlinkusb.cc:331: error: ‘usb_find_devices’ was not declared in this scope
cyberlinkusb.cc:344: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:345: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:349: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
cyberlinkusb.cc:350: error: invalid use of incomplete type ‘struct usb_device’
cyberlinkusb.cc:45: error: forward declaration of ‘struct usb_device’
make: *** [cyberlinkusb.o] Error 1

crasam
2008-12-08, 20:27
i have one of these cyberlink remotes working with lirc on a mythfrontend. I also previously had it working on xbmc on the ubuntu platform.

As you know the output of lsusb shows two events. You want to confiure lirc to use the second one marked as a mouse input.

Also you need to tell lirc to use the devinput driver, for usb keyboards (which this is).

you need lircd.conf for standard keyboards

pop this in usual /etc/lircd.conf, reboot your box and type irw in terminal, press some buttons on your remote and you should have some output. You may need to remap some keys by creating lircrc file.

You will notice that 0-9 up, down, left right buttins produce no output after typing irw, however on my ubuntu box, X interacts with those and they still work but just not with lirc.

Hope this helps someone, i never bothered with that program to change keys.

Pvt_Ryan
2008-12-09, 18:23
I am also trying to get this remote working but I'm getting erros after typing make (ubuntu 8.10 32bit)

you are missing the libs..

You need

apt-get install libusb++-dev


Sadly my driver writing for this is very slow as they have changed the kernel API since the guides I was reading were written.. grrrr.

If anyone knows of a usb kernel module guide that is recent please let me know.

Pvt_Ryan
2008-12-09, 18:40
Additional Info:


By default, the CyberLink IR receiver is recognized as a USB keyboard (buttons 0-9, Clear, Enter) and a USB Mouse (the rest).

Kernel Log:
kernel: input: TopSeed Tech Corp. USB IR Combo Device as /class/input/input3
kernel: input,hidraw0: USB HID v1.00 Keyboard [TopSeed Tech Corp. USB IR Combo Device ] on usb-0000:00:02.1-3
kernel: input: TopSeed Tech Corp. USB IR Combo Device as /class/input/input4
kernel: input,hiddev96,hidraw1: USB HID v1.00 Mouse [TopSeed Tech Corp. USB IR Combo Device ] on usb-0000:00:02.1-3

darkinnit
2008-12-13, 01:58
i have one of these cyberlink remotes working with lirc on a mythfrontend. I also previously had it working on xbmc on the ubuntu platform.

As you know the output of lsusb shows two events. You want to confiure lirc to use the second one marked as a mouse input.

Also you need to tell lirc to use the devinput driver, for usb keyboards (which this is).

you need lircd.conf for standard keyboards

pop this in usual /etc/lircd.conf, reboot your box and type irw in terminal, press some buttons on your remote and you should have some output. You may need to remap some keys by creating lircrc file.

You will notice that 0-9 up, down, left right buttins produce no output after typing irw, however on my ubuntu box, X interacts with those and they still work but just not with lirc.

Hope this helps someone, i never bothered with that program to change keys.

Can you go into more detail on how you got this remote working? Upon plugging the USB receiver in, the volume, arrows, numbers, OK/enter and clear buttons work (as I understand they are reconised as a USB keyboard).

I selected the "Linux Input Layer (/dev/input/eventX)" driver for the remote, and set it to event2 (which is what cat /proc/bus/input/devices listed as being the "mouse" input of this remote). I rebooted, but irw still shows nothing.

I suspect my problems lie a bit earlier than lirc though, as I found one place which said to install dvb-utils (http://xbmc.org/forum/showthread.php?t=39739) and use evtest /dev/input/event2 (mine is on event2) to display the button presses. This lists the button codes, but button presses do not seem to get through for me, even when pressing the "non-keyboard" buttons. Does anyone know if I am missing something?

Pvt_Ryan
2008-12-13, 03:07
if you read earlier you will see the program you can use and the config for it. you need to run the program as root.

darkinnit
2008-12-13, 03:45
if you read earlier you will see the program you can use and the config for it. you need to run the program as root.

Ah yes. There's a page 1. Don't I feel stupid. That's what I get for still trying to work on this at 1:30am!

Anyway, I'm using Ubuntu and the names of the required packages are slightly different to those listed in the INSTALL file, so for anyone else trying to do this with no sleep, I had to install the following packages before compiling:
xorg-dev
libxtst-dev
libxtst6
g++

After that I was able to run make and then run the program as root and almost all the buttons were recognised.

Thanks man, I'm gonna get some sleep before I try to do anything more adventurous and make another fool of myself!

Pvt_Ryan
2008-12-13, 16:59
under ubuntu its better to get build-essential instead of just g++. You also don't need libxtst6 as it should be installed along with the dev packages.

One of the pages has a code block with what you need.

marqose
2009-01-15, 13:35
I have remote Cyberlink P/N: 20028356. Can anybody made the remote working with XBMC Live? If Yes, would you like to post appropriate config files?

Pvt_Ryan
2009-01-16, 14:07
Read the whole thread it does work, but you need to run the program listed. The problem with xbmc live is that unless you have installed to your HDD you will need to redownload the program & cfg everytime you reboot.

I am still attempting to write a driver for the remote which when i finish i will submit for inclusion with the linux kernel

Pvt_Ryan
2009-03-24, 13:06
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f14f526d02b14fd0b8c1ac4ec413e45 77ad5f62e

Someone beat me to it.. (Mainly to do with the fact I thought of the remote as a USB device not a HID so was trying to write the wrong type of driver.. lol )

2.6.29 kernerl release has the driver.

I'll see if i can back port it tonight to the live cd / ubuntu 8.10 / 8.04... No promises though.

MaestroDD
2009-07-09, 14:41
I'm using a modified version of the one Pvt_Ryan provided (Thanks for sharing yours!)
things I've modified:
- PowerOff always shows shutdown menu
- mapped unused buttons to XK_Fxx keys
- mapped subtitle/language to default XBMC subtitle key
- mapped LiveTV key to "switch fullscreen"
- mapped Angle to AspectRatio (both start with 'A' :))
- mapped Info to i
- mapped DVDMenu to contextMenu
- remapped VOL_UP
- mapped Mute to Mute

HTH,
mdd

#include <X11/XF86keysym.h>
#include <X11/keysymdef.h>
// !! DO NOT CHANGE THE ORDER !!
// for valid XK values look in X11/keysym.h
// 0 disables the key
const int KeyToXK[] = {
XK_Escape, // KEY_HOME
XK_s, // KEY_POWEROFF
XK_F2, // KEY_RED
XK_F3, // KEY_GREEN
XK_F4, // KEY_YELLOW
XK_F5, // KEY_BLUE
XK_Tab, // KEY_LiveTV
XK_F6, // KEY_Record
XK_F7, // KEY_Radio
XK_F8, // KEY_SAP
XK_s, // KEY_Teletext
XK_Tab, // KEY_LastCH
XK_t, // KEY_Subtitle
XK_l, // KEY_Language
XK_z, // KEY_Angle
XK_BackSpace, // KEY_Back
XK_i, // KEY_Info
XK_c, // KEY_DVDMenu
XK_plus, // KEY_VolUp
XK_minus, // KEY_VolDown
XK_u, // KEY_VolMute
XK_Page_Up, // KEY_PageUp
XK_Page_Down, // KEY_PageDown
XK_Up, // KEY_Up
XK_Left, // KEY_Left
XK_Return, // KEY_Enter
XK_Right, // KEY_Right
XK_Down, // KEY_Down
XK_p, // KEY_Play Works
XK_r, // KEY_Rewind Works
XK_p, // KEY_Pause Works
XK_f, // KEY_Forward Works
XK_comma, // KEY_FastRewind
XK_x, // KEY_Stop Works
XK_period, // KEY_FastForward
XK_1, // KEY_1
XK_2, // KEY_2
XK_3, // KEY_3
XK_4, // KEY_4
XK_5, // KEY_5
XK_6, // KEY_6
XK_7, // KEY_7
XK_8, // KEY_8
XK_9, // KEY_9
XK_0, // KEY_0
XK_d, // KEY_Clear
};


#define MICRO_IN_SEC 1000000.00
#define MICRO_IN_MILLI 1000.00
#define KEY_DELAY1 500000.00 / MICRO_IN_MILLI
#define KEY_DELAY2 100000.00 / MICRO_IN_MILLI

jsock
2009-07-23, 02:13
interface 0: Driver name: usbhid
interface 0: Cannot open X display
interface 1: Driver name: usbhid
interface 1: Cannot open X display

This doesn't sound to good :)

P.S. My kernel version : 2.6.24-19-generic (XBMC Live CD Beta 2)

I am getting the same error as this running on 2.6.28-13-generic kernel. Does anyone know how to overcome this or what the cause might be?

Thanks,

J

Pvt_Ryan
2009-07-23, 10:47
The kernel driver for the remote was introduced in 2.6.29 try upgrading to that. You can get newer ubuntu kernels here: http://kernel.ubuntu.com/~kernel-ppa/mainline/

jsock
2009-07-23, 11:16
Thanks for that, I'll give that a go later. Will that mean I can map all the keys without cyberlinkusb or would that still be necessary?

J

Pete_London
2009-07-23, 11:25
If you're using XBMC live and update the kernel you'll brick your system (I had to rebuild mine yesterday).

Is there a way to get the module in to 2.6.28?

Pete

vikjon0
2009-07-23, 11:32
Pete, I have you checked if it is more than NVIDIA that bricks?
some modules are compiled against specific kernel, i.e graphics drivers and such.

NVIDIA shouldnt be a problem to fix.

Pvt_Ryan
2009-07-23, 21:49
If you're using XBMC live and update the kernel you'll brick your system (I had to rebuild mine yesterday).

Is there a way to get the module in to 2.6.28?

Pete

Not unless you recode the driver.

Kernel driver API changed massively in the .29 release.

jsock
2009-07-24, 00:44
I installed the 2.6.29 kernel and although most of the keys still no longer work they do show up in the log when pressed like so:

HAL: Device (/org/freedesktop/Hal/devices/usb_device_766_204_noserial_if1_logicaldev_input) Condition ButtonPressed | menu

Is there any way of mapping these events into xbmc?

Pete_London
2009-07-24, 01:11
Check this thread..... http://xbmc.org/forum/showthread.php?t=39433

damn I wish I could get Live to see this remote properly.

Pete

fdrzrich
2009-07-24, 22:58
Check this thread..... http://xbmc.org/forum/showthread.php?t=39433

damn I wish I could get Live to see this remote properly.

Pete

That's this thread!

JUICESIX90
2009-08-01, 02:33
I have the remote working with the instructions here and the custom config.h (ubuntu jaunty install) everything works fine but I have to run cyberlinkusb each time I switch my computer on.

Anyway to get it to run on boot?

Pete_London
2009-08-01, 11:26
That's this thread!

At the time it wasn't... they have been merged....

Pete

JUICESIX90
2009-08-03, 02:39
I have the remote working with the instructions here and the custom config.h (ubuntu jaunty install) everything works fine but I have to run cyberlinkusb each time I switch my computer on.

Anyway to get it to run on boot?

I have this working on start up now. I'll post details if anyone's interested.

fdrzrich
2009-08-03, 09:52
I have this working on start up now. I'll post details if anyone's interested.

I would be interested in this please...got the basic buttons working but need to work out how to map the 'esc' button etc to the remote.

Pete_London
2009-08-03, 10:40
yes please

JUICESIX90
2009-08-04, 02:23
I'm running a full install of Ubuntu (jaunty) with the gui.

1) Create a new document (right click on the desktop, choose new document)

2) Copy and Paste this inside:-

#!/bin/sh

cyberlinkusb

3) Save the document in > File System > etc > init.d (I saved mine as remote)

4) From the System drop down menu choose > Preferences > Startup Applications

5) Click +Add

6) Enter a name (I called mine remote) click browse and navigate to your saved file from step 3 and save

That should be it. Obviously you'll need to follow Pete's instructions earlier in the thread before you do all this but that worked for me so I hope it helps.

Mr_Ceee
2009-08-07, 21:31
I don't know if anybody is interested but I have got this working with Kernel version 2.6.29-02062906-generic and lirc.

Here is what I did:
1. Follow the instructions here http://www.ramoonus.nl/2009/03/24/linux-kernel-2629-installation-guide-for-ubuntu-and-debian-linux/ to upgrade the Kernel
2. Determine which /dev/input/event# the remote is mapped to
Type cat /proc/bus/input/devices
This should give something like this:
I: Bus=0003 Vendor=0766 Product=0204 Version=0100
N: Name="TopSeed Tech Corp. USB IR Combo Device "
P: Phys=usb-0000:00:04.0-5/input1
S: Sysfs=/devices/pci0000:00/0000:00:04.0/usb2/2-5/2-5:1.1/input/input6
U: Uniq=
H: Handlers=kbd mouse2 event6
B: EV=17
B: KEY=fc112 20d0c00 0 0 70000 0 18000 21f8 d001d804 9e0040 0 0 0
B: REL=103
B: MSC=10

3. install lirc:
typesudo apt-get install lirc
When prompted select Linux input layer (/dev/input/eventX) from the lirc Package Configuration and follow the config screens until asked to enter the event number. Enter the event number from step 2. (I am only interested in mouse events since the others are mapped to keyboard keys so I entered 6)
4. Create a new Lircmap.xml file in your userdata directory (~/.xbmc/userdata) mapping the keys to remote buttons, here is mine:
<lircmap>
<remote device="linux-input-layer">
<back>BACK</back>
<menu>MENU</menu>
<info>PROPS</info>
<display>TV</display>
<title>TEXT</title>
<play>PLAY</play>
<pause>PAUSE</pause>
<reverse>REWIND</reverse>
<forward>FASTFORWARD</forward>
<skipplus>NEXTSONG</skipplus>
<skipminus>PREVIOUSSONG</skipminus>
<stop>STOPCD</stop>
<power>AUDIO</power>
<myTV>RED</myTV>
<mymusic>GREEN</mymusic>
<mypictures>YELLOW</mypictures>
<myvideo>BLUE</myvideo>
<record>RECORD</record>
<start>HOME</start>
<volumeplus>VOLUMEUP</volumeplus>
<volumeminus>VOLUMEDOWN</volumeminus>
<pageplus>CHANNELUP</pageplus>
<pageminus>CHANNELDOWN</pageminus>
<mute>MUTE</mute>
</remote>
</lircmap>
I also remapped power to bring up the shutdown menu instead of powering down by creating the following Keymap.xml file in my userdata directory:
<keymap>
<global>
<remote>
<power>ActivateWindow(shutdownmenu)</power>
</remote>
</global>
</keymap>

Cheers,
Chris

Pvt_Ryan
2009-08-08, 00:31
Good job MR_Cree.

I'll have to give that a try..

bittihuduga
2009-10-14, 00:13
does this cyberlink remote work on xbmc on win xp?
i am planning to buy one and any advice appreciated