Forum
remote Speedlink SL-6399 not working - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Remotes and CEC support (/forum-26.html)
+--- Thread: remote Speedlink SL-6399 not working (/thread-414.html)



remote Speedlink SL-6399 not working - Nemesis8899 - 6th Feb, 2013 07:19 PM

Hi all,

I have a Speedlink SL-6399 remote which works fine with XBMCbuntu. Now I tried XBian and some buttons (Vol down, ContextMenu, ...) are not working.

I followed the tutorial (Remote Config) and in step 1 the "mode2" stated:

"could not get file information for /dev/lirc0"
"default_init() : No such file or directory"

Anybody any ideas how to get my remote working?

I have not followed the other steps by getting a new lircd.conf for my remote and creating the lirc.xml.

Thanks.

Holger


RE: remote Speedlink SL-6399 not working - CurlyMo - 6th Feb, 2013 07:23 PM

Can you check if mode2 does work on XBMCbuntu?


RE: remote Speedlink SL-6399 not working - CurlyMo - 7th Feb, 2013 01:15 AM

Also, can you
1) enable debug mode in XBMC?
2) run "tail -f /home/xbian/.xbmc/temp/xbmc.log"
3) Press some buttons while "tail" is running
4) Paste some lines considering the remote here


RE: remote Speedlink SL-6399 not working - Nemesis8899 - 7th Feb, 2013 07:20 PM

(6th Feb, 2013 07:23 PM)CurlyMo Wrote:  Can you check if mode2 does work on XBMCbuntu?

this what I got on the XBMCbunut

xbmc@xbmc:~$ sudo su
[sudo] password for xbmc:
root@xbmc:/home/xbmc# /etc/init.d/lirc stop
* Stopping remote control daemon(s): LIRC [fail]
root@xbmc:/home/xbmc# mode2
mode2: could not get file information for /dev/lirc
mode2: default_init(): No such file or directory


RE: remote Speedlink SL-6399 not working - CurlyMo - 7th Feb, 2013 07:24 PM

So the device isn't controlled by LIRC, can you check my second suggestion.


RE: remote Speedlink SL-6399 not working - Nemesis8899 - 7th Feb, 2013 08:43 PM

(7th Feb, 2013 01:15 AM)CurlyMo Wrote:  Also, can you
1) enable debug mode in XBMC?
2) run "tail -f /home/xbian/.xbmc/temp/xbmc.log"
3) Press some buttons while "tail" is running
4) Paste some lines considering the remote here

here some lines:

05:36:36 T:3042476032 DEBUG: OnKey: volume_up (f0b9) pressed, action is VolumeUp
05:36:36 T:3042476032 DEBUG: CAnnouncementManager - Announcement: OnVolumeChanged from xbmc
05:36:36 T:3042476032 DEBUG: GOT ANNOUNCEMENT, type: 64, from xbmc, message OnVolumeChanged

05:36:38 T:3042476032 DEBUG: OnKey: f14 (f09d) pressed, action is
05:36:38 T:3042476032 DEBUG: Keyboard: scancode: 72, sym: 0127, unicode: 0000, modifier: 0

05:36:29 T:3042476032 DEBUG: Keyboard: scancode: 69, sym: 0114, unicode: 0000, modifier: 0
05:36:29 T:3042476032 DEBUG: OnKey: left (f082) pressed, action is Left

05:36:30 T:3042476032 DEBUG: Keyboard: scancode: 67, sym: 0111, unicode: 0000, modifier: 0
05:36:30 T:3042476032 DEBUG: OnKey: up (f080) pressed, action is Up

05:36:31 T:3042476032 DEBUG: Keyboard: scancode: 7f, sym: 0137, unicode: 0000, modifier: 0
05:36:31 T:3042476032 DEBUG: OnKey: leftwindows (f0d6) pressed, action is


RE: remote Speedlink SL-6399 not working - CurlyMo - 7th Feb, 2013 08:53 PM

This remote acts as a keyboard instead of a remote.

What you need to do is to create a custom keymap.xml for this remote like here: https://github.com/xbianonpi/xbian/blob/xbian-alpha5/etc/lirc/remotes/tigerfly.xml

In this line you can see that the key known as f14 has no action set:
Code:
OnKey: f14 (f09d) pressed, action is
If you would like to map the stop button to that key you need to do:
Code:
<f14>Stop</f14>

And that for all buttons. If you're done, share the file with us, and if you need additional help, feel free to ask.


RE: remote Speedlink SL-6399 not working - Nemesis8899 - 7th Feb, 2013 09:23 PM

(7th Feb, 2013 08:53 PM)CurlyMo Wrote:  This remote acts as a keyboard instead of a remote.

What you need to do is to create a custom keymap.xml for this remote like here: https://github.com/xbianonpi/xbian/blob/xbian-alpha5/etc/lirc/remotes/tigerfly.xml

In this line you can see that the key known as f14 has no action set:
Code:
OnKey: f14 (f09d) pressed, action is
If you would like to map the stop button to that key you need to do:
Code:
<f14>Stop</f14>

And that for all buttons. If you're done, share the file with us, and if you need additional help, feel free to ask.

Ok i got a file like this already. Where would I need to place it?


RE: remote Speedlink SL-6399 not working - CurlyMo - 7th Feb, 2013 09:27 PM

Name the file remote.xml and put it in /home/xbian/.xbmc/userdata/keymaps/ then restart xbmc

Can you also share the following outputs with us (placed on pastebin):
1) lsusb
2) dmesg
3) cat /proc/bus/input/devices

And of course the remote.xml when you got it to work. Then i will include support by default.


RE: remote Speedlink SL-6399 not working - Nemesis8899 - 8th Feb, 2013 06:32 PM

(7th Feb, 2013 09:27 PM)CurlyMo Wrote:  Name the file remote.xml and put it in /home/xbian/.xbmc/userdata/keymaps/ then restart xbmc

Can you also share the following outputs with us (placed on pastebin):
1) lsusb
2) dmesg
3) cat /proc/bus/input/devices

And of course the remote.xml when you got it to work. Then i will include support by default.

Hi,

ok here is the story.

I already had a xml file for my remote but on the XBMCbuntu it was called keyboard.xml. Thats why it did not work on the XBian. I renamed it to remote.xml and some of the specially mapped keys started to work.

Still no luck wiht the volume down and context menu. So I used the debugg and your command again and monitored the keypress. I got the correct labels and changed my remote.xml.

Guess what - it works!

So if sombody used a Speedlink SL 6399 remote please use the attached remote.xml and copy it to: /home/xbian/.xbmc/userdata/keymaps/

Thanks for your help. Now I can use XBian officially with my TV.


RE: remote Speedlink SL-6399 not working - CurlyMo - 8th Feb, 2013 07:14 PM

Can you still post the outputs of the commands i was requesting so users don't have to do anything because we can add support by default.


RE: remote Speedlink SL-6399 not working - Nemesis8899 - 8th Feb, 2013 07:39 PM

(8th Feb, 2013 07:14 PM)CurlyMo Wrote:  Can you still post the outputs of the commands i was requesting so users don't have to do anything because we can add support by default.

lsusb:
xbian@xbian:~# lsusb
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 1241:e000 Belkin

cat /proc/bus/input/devices:
xbian@xbian:~# cat /proc/bus/input/devices
I: Bus=0003 Vendor=1241 Product=e000 Version=0110
N: Name="HOLTEK YaoCoo "
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/input0
U: Uniq=
H: Handlers=sysrq kbd event0
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=1241 Product=e000 Version=0110
N: Name="HOLTEK YaoCoo "
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/input1
U: Uniq=
H: Handlers=kbd mouse0 event1
B: PROP=0
B: EV=1f
B: KEY=4c37fff 72ff32d bf544446 0 0 1f0001 20c10 b17c000 267bfa d951dfed 9e1680 4400 0 10000002
B: REL=143
B: ABS=7f01 0
B: MSC=10

dmesg:
see attached file

I hope it helps.


RE: remote Speedlink SL-6399 not working - CurlyMo - 9th Feb, 2013 06:09 AM

I tried to built-in the support for this remote, can you try if i succeeded. Make a backup of the current keyboard.xml and remove it. Then do the following:

Code:
sudo su
wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha5/etc/lirc/hardware.conf > /etc/lirc/hardware.conf
wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha5/etc/lirc/remotes/speedlink.xml > /etc/lirc/remotes/speedlink.xml
reboot
Now check if your remote works out of the box?


RE: remote Speedlink SL-6399 not working - Nemesis8899 - 21st Feb, 2013 05:57 PM

Hi,

sorry for not coming back but with my job and 4 daughters I have only limited time. I playeed around with the remote and the remote.xml a bit more. on the end I notice you only have to map 4 keys (Vol down, More - Contextmenu, TV Power - Shutdown, Green Start - Home) to get it to work. The rest was just cosmetic for soem of my favourite keys.

I saw XBians post last night and the Special Thanks. Really cool to mention me there. I downlaoded the Alpha 5 and I must say - I'M FUCKING IMPRESSED!!!!

The speed is awesome and my Speedlink remote works out of the box.

You guys rock and XBian is running from on my RasPi's from now on.