Problem: Cyberlink/Sapphire remote not added to /dev
|
23rd Apr, 2013, 01:53 AM
Post: #1
|
|||
|
|||
Cyberlink/Sapphire remote not added to /dev
I have a Sapphire remote, which is the same as the Cyberlink one (http://www.altechco.com/images/cyber.jpg ). This remote worked perfectly on other XBMC distros with the default Lirc installed. However, I had to change lircd.conf for it to work.
Now I have installed the latest version of Xbian and only the UP, DOWN, LEFT, RIGHT and OK buttons are working. I’ve followed the tutorial at http://xbian.org/2012/12/configuring-a-remote/ but I failed at the first step. As so many other posts, my remote is not added to /dev. Below is the output for various commands. lsusb Terminal Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 0766:0204 Jess-Link Products Co., Ltd TopSpeed Cyberlink Remote Control dmesg Terminal [ 4046.208174] usb 1-1.3: new low-speed USB device number 6 using dwc_otg [ 4046.316930] usb 1-1.3: New USB device found, idVendor=0766, idProduct=0204 [ 4046.316973] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4046.316989] usb 1-1.3: Product: USB IR Combo Device [ 4046.317007] usb 1-1.3: Manufacturer: TopSeed Tech Corp. [ 4046.334935] input: TopSeed Tech Corp. USB IR Combo Device as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input4 [ 4046.344218] topseed 0003:0766:0204.0005: input,hidraw0: USB HID v1.00 Keyboard [TopSeed Tech Corp. USB IR Combo Device ] on usb-bcm2708_usb-1.3/input0 [ 4046.376271] input: TopSeed Tech Corp. USB IR Combo Device as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input5 [ 4046.388110] topseed 0003:0766:0204.0006: input,hiddev0,hidraw1: USB HID v1.00 Mouse [TopSeed Tech Corp. USB IR Combo Device ] on usb-bcm2708_usb-1.3/input1 irw Terminal <no output> mode2 Terminal mode2: could not get file information for /dev/lirc0 mode2: default_init(): No such file or directory ls -Al /dev/lirc* Terminal lrwxrwxrwx 1 root root 21 Apr 22 17:39 /dev/lircd -> ../var/run/lirc/lircd cat /proc/bus/input/devices Terminal I: Bus=0003 Vendor=0766 Product=0204 Version=0100 N: Name="TopSeed Tech Corp. USB IR Combo Device " P: Phys=usb-bcm2708_usb-1.3/input0 S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input4 U: Uniq= H: Handlers=sysrq kbd event0 B: PROP=0 B: EV=120013 B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe B: MSC=10 B: LED=1f I: Bus=0003 Vendor=0766 Product=0204 Version=0100 N: Name="TopSeed Tech Corp. USB IR Combo Device " P: Phys=usb-bcm2708_usb-1.3/input1 S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input5 U: Uniq= H: Handlers=kbd mouse0 event1 B: PROP=0 B: EV=17 B: KEY=c0390 60d0c00 0 0 70000 4 118000 21f8 d001d804 9e0400 0 0 0 B: REL=103 B: MSC=10 I’ve put XBMC into debug mode and tested my key presses. About 40% of the keys show in the XBMC log, the rest (about 60%) seem not to be working. I’ve also tried to add the Lirc configurations that I used in the past (see attached file), then update lircd.conf and restart Lirc, but that also didn’t help. Any help with this will be appreciated!! |
|||
23rd Apr, 2013, 01:57 AM
Post: #2
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
Can you try using the mceusb_event1.conf or mceusb_event0.conf and check if irw works?
And can you post a xbmc.log where the keys show up. pilight - modular domotica solution
|
|||
23rd Apr, 2013, 02:18 AM
Post: #3
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
Ahhhh, using mceusb_event1.conf seems to detect all key presses in the XBMC log. Some of them didn't do anything, but that's probably because I didn't map them in remote.xml
I'll do that tomorrow and let you know what happened. Thanks for the quick response. |
|||
23rd Apr, 2013, 02:51 AM
Post: #4
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
Yes, let me know, then i will add your remote to the auto recognition.
pilight - modular domotica solution
|
|||
23rd Apr, 2013, 04:57 PM
Post: #5
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
I've still got some problems with the mapping. When pressing the Home key on my remote, the following shows up in the XBMC log:
Terminal 08:49:22 T:3042832384 DEBUG: LIRC: Update - NEW at 604349:00000000800100e2 00 KEY_MEDIA devinput (KEY_MEDIA) 08:49:22 T:3042832384 DEBUG: OnKey: 254 (fe) pressed, action is XBMC.ActivateWindow(MyPictures) 08:49:22 T:3042832384 DEBUG: Activating window ID: 10002 So Lirc says that the KEY_MEDIA button was pressed. The following is in my Lircmap.conf: Terminal <lircmap> <remote device="devinput"> <obc1>KEY_MEDIA</obc1> <!-- Home/House --> </remote> </lircmap> And the following is in my remote.xml: Terminal <keymap> <global> <!-- Custom Sapphire Control --> <remote> <obc1>XBMC.ActivateWindow(Home)</obc1> </remote> </global> </keymap> When presseing the home key, MyPictures is opened, instead of going to Home. So for some reason KEY_MEDIA doesn't execute obc1, but some other code. Any idea what's wrong? |
|||
23rd Apr, 2013, 05:28 PM
Post: #6
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
I believe it is like this:
Terminal <key_media>XBMC.ActivateWindow(Home)</key_media> pilight - modular domotica solution
|
|||
23rd Apr, 2013, 05:37 PM
Post: #7
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
Nope, still not working. Now it goes to MyVideos instead of MyPictures.
|
|||
23rd Apr, 2013, 06:15 PM
Post: #8
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
Then it is working, however, not as you want it to Check the XBMC documentation one the names of the different commands.
pilight - modular domotica solution
|
|||
23rd Apr, 2013, 06:16 PM
Post: #9
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
I'm not sure which documentation you're talking about, could you maybe give me a link?
|
|||
23rd Apr, 2013, 06:21 PM
Post: #10
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
pilight - modular domotica solution
|
|||
23rd Apr, 2013, 06:52 PM
Post: #11
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
Yeah, I know that. But I don't known what I'm looking for. According to the XBMC documentation, my command is correct. Since it doesn't do what the specs say, there is something special or some changes in Xbian that I'm not aware of.
|
|||
23rd Apr, 2013, 07:36 PM
Post: #12
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
It's all XBMC.
This is a Lirc - lirc map: https://github.com/xbianonpi/xbian/blob/xbian-beta1/etc/lirc/remotes/devinput.conf This is a keyboard.xml: https://github.com/xbianonpi/xbian/blob/xbian-beta1/etc/lirc/remotes/speedlink.xml This is a XBMC - lirc map: https://github.com/xbianonpi/xbian/blob/xbian-beta1/usr/local/share/xbmc/system/Lircmap.xml pilight - modular domotica solution
|
|||
23rd Apr, 2013, 08:03 PM
Post: #13
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
Thanks for the links. Helped a lot.
|
|||
23rd Apr, 2013, 10:35 PM
Post: #14
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
There are a number of keys (like left, right, up, down, ok and clear) which don't show up in the XMBC log as a key press. They up, down, left and right keys work in XBMC, but I'm not sure how to bind it to a custom command. For instance, the clear key shows up in the XBMC log as:
Terminal 14:32:58 T:3042271232 DEBUG: Keyboard: scancode: 6f, sym: 007f, unicode: 0000, modifier: 0 14:32:58 T:3042271232 DEBUG: OnKey: delete (f087) pressed, action is 14:32:59 T:2955625536 DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL |
|||
23rd Apr, 2013, 10:54 PM
Post: #15
|
|||
|
|||
RE: Cyberlink/Sapphire remote not added to /dev
I think that key is recognized as delete
pilight - modular domotica solution
|
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Delete source with remote SAPPHIRE ATI 5000023600 | Chiron | 13 | 26,095 |
22nd Nov, 2016 08:23 AM Last Post: Chiron |