Moderator Control Panel ]

TBS6981 Remote Control

Re: TBS6981 Remote Control

Postby blckcat » Thu Oct 28, 2010 12:44 am

:D found the problem in rc-tbs-nec.c:

old and wrong value:
{ 0x9d, KEY_MODE}
new value:
{ 0x9b, KEY_MODE}

works after full driver recompling and reinstall.

here some necessary files for vdr working:

/etc/lirc/lircd.conf:
-----------------------------------------------------------------
#Rumpf erstellt mit irrecord
#changes by Michael Brodersen (michaelbrodersen@googlemail.com)
#usage nearly as vdr on m740av remote control
#date: 27.10.2010

begin remote

name lircd.conf
bits 16
eps 30
aeps 100

one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x8001
gap 35987
toggle_bit_mask 0x0

begin codes
menu 0x0175
onoff 0x0164
mute 0x0071

1 0x0002
2 0x0003
3 0x0004
4 0x0005
5 0x0006
6 0x0007
7 0x0008
8 0x0009
9 0x000A
0 0x000B

back 0x0192
info 0x0073
menu 0x0193
epg 0x0072

up 0x0067
down 0x006C
vol- 0x0069
vol+ 0x006A
ok 0x0160

red 0x008B
yellow 0x0174
green 0x016C
blue 0x00AE

fr 0x016d
stop 0x0077
play 0x0172
ff 0x00d4

back 0x019c
pause 0x00A7

end codes

end remote

---------------------------

/etc/vdr/remote.conf:
-----------------------------------------------------------------
LIRC.Power onoff
LIRC.0 0
LIRC.1 1
LIRC.2 2
LIRC.3 3
LIRC.4 4
LIRC.5 5
LIRC.6 6
LIRC.7 7
LIRC.8 8
LIRC.9 9
LIRC.Info info
LIRC.Play play
LIRC.Stop stop
LIRC.Pause pause
LIRC.Record rec
LIRC.FastFwd ff
LIRC.FastRew fr
LIRC.Next next
LIRC.Prev last
LIRC.Volume+ vol+
LIRC.Volume- vol-
LIRC.Mute mute
LIRC.Channel+ ch+
LIRC.Channel- ch-
LIRC.Up up
LIRC.Down down
LIRC.Menu menu
LIRC.Ok ok
LIRC.Back back
LIRC.Left left
LIRC.Right right
LIRC.Red red
LIRC.Green green
LIRC.Yellow yellow
LIRC.Blue blue

KBD.Up 00000000001B5B41
KBD.Down 00000000001B5B42
KBD.Menu 000000000000006D
KBD.Ok 000000000000000D
KBD.Back 000000000000007F
KBD.Left 00000000001B5B44
KBD.Right 00000000001B5B43
KBD.Red 000000001B5B5B41
KBD.Green 000000001B5B5B42
KBD.Yellow 000000001B5B5B43
KBD.Blue 000000001B5B5B44
KBD.0 0000000000000030
KBD.1 0000000000000031
KBD.2 0000000000000032
KBD.3 0000000000000033
KBD.4 0000000000000034
KBD.5 0000000000000035
KBD.6 0000000000000036
KBD.7 0000000000000037
KBD.8 0000000000000038
KBD.9 0000000000000039
KBD.Info 0000000000000069
KBD.FastFwd 0000001B5B31377E
KBD.FastRew 000000001B5B5B45
KBD.Power 0000000000000070
KBD.Volume+ 0000001B5B32347E
KBD.Volume- 0000001B5B32337E
KBD.Mute 0000001B5B32317E
KBD.User7 0000001B5B31387E
KBD.User8 0000001B5B31397E
KBD.User9 0000001B5B32307E
XKeySym.Up Up
XKeySym.Down Down
XKeySym.Menu m
XKeySym.Ok Return
XKeySym.Back BackSpace
XKeySym.Left Left
XKeySym.Right Right
XKeySym.Red F1
XKeySym.Green F2
XKeySym.Yellow F3
XKeySym.Blue F4
XKeySym.0 0
XKeySym.1 1
XKeySym.2 2
XKeySym.3 3
XKeySym.4 4
XKeySym.5 5
XKeySym.6 6
XKeySym.7 7
XKeySym.8 8
XKeySym.9 9
XKeySym.Info i
XKeySym.Pause space
XKeySym.FastFwd F6
XKeySym.FastRew F5
XKeySym.Power p
XKeySym.Volume+ F12
XKeySym.Volume- F11
XKeySym.Mute F10
XKeySym.User7 F7
XKeySym.User8 F8
XKeySym.User9 F9


graphtft-fe.Up 0000000000000062
graphtft-fe.Down 0000000000000068
graphtft-fe.Menu 0000000000000047
graphtft-fe.Ok 0000000000000024
graphtft-fe.Back 0000000000000016
graphtft-fe.Left 0000000000000064
graphtft-fe.Right 0000000000000066
graphtft-fe.Red 0000000000000043
graphtft-fe.Green 0000000000000044
graphtft-fe.Yellow 0000000000000045
graphtft-fe.Blue 0000000000000046
graphtft-fe.0 0000000000000013
graphtft-fe.1 000000000000000A
graphtft-fe.2 000000000000000B
graphtft-fe.3 000000000000000C
graphtft-fe.4 000000000000000D
graphtft-fe.5 000000000000000E
graphtft-fe.6 000000000000000F
graphtft-fe.7 0000000000000010
graphtft-fe.8 0000000000000011
graphtft-fe.9 0000000000000012
graphtft-fe.Info 0000000000000048
graphtft-fe.Volume+ 0000000000000063
graphtft-fe.Volume- 0000000000000069
graphtft-fe.Mute 0000000000000067

---------------------------------------------------

thanks and regards

Michael
blckcat
 
Posts: 10
Joined: Wed Sep 29, 2010 4:47 pm

Re: TBS6981 Remote Control

Postby blckcat » Thu Oct 28, 2010 1:34 pm

/etc/lirc/hardware.conf:

-------snap.................

#Chosen Remote Control
REMOTE="cx23885 IR (TurboSight TBS 6981)"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/tbs-ir"
REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="dev/input"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/input/tbs-ir"
MODULES=""

# Default configuration files for your hardware if any
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF=""


----------------snap...................

Before this hardware.conf works, you need to configure the right ir input port. You can do that by a kernel udev rule. I have added the file '10-dvb-remote.rules' to /etc/udev/rules.d with the following contents:

..............snap ....................
KERNEL=="event*", ATTRS{name}=="cx23885 IR (TurboSight TBS 6981)", SYMLINK+="input/tbs-ir"
..............snap ....................

After a reboot, you get a new input device /dev/input/tbs-ir for the remote control and all keys should work.

greetings and a nice day

Michael
blckcat
 
Posts: 10
Joined: Wed Sep 29, 2010 4:47 pm

Re: TBS6981 Remote Control

Postby sami8519 » Thu Oct 28, 2010 10:58 pm

Thank you very very much, Michael. That works well now:)

Best Regards
Sami
sami8519
 
Posts: 40
Joined: Fri Jun 18, 2010 2:08 pm

Re: TBS6981 Remote Control

Postby cody » Fri Oct 29, 2010 7:35 am

hello Michael,

thank you about comprehensive feedback about new Linux driver and incredibly useful information you posted.

i will look at "{ 0x9d, KEY_MODE} <-> {0x9b, KEY_MODE}" issue - i could have made just a simple mistake writing the wrong key code in the last minute, which is most probably what have happened.

many thanks once again,
cody
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: TBS6981 Remote Control

Postby Meindert » Mon Feb 14, 2011 4:25 am

Hello,

I have the same problem with the newest driver (2010-12-21), also i need to recompile with the patch described above.
Until now I'm very happy with the card, it works great.

Best regards,

Meindert
Meindert
 
Posts: 21
Joined: Mon Feb 14, 2011 4:16 am

Re: TBS6981 Remote Control

Postby cody » Mon Feb 14, 2011 6:48 am

hello,

Meindert Wrote:I have the same problem with the newest driver (2010-12-21)


and which driver is that? because the last driver is from 2010-10-24 and indeed it includes this small bug.

thanks,
cody
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: TBS6981 Remote Control

Postby Meindert » Mon Feb 14, 2011 8:21 pm

My mistake, the driver is from 2010-10-24

Regards, Meindert
Meindert
 
Posts: 21
Joined: Mon Feb 14, 2011 4:16 am

Re: TBS6981 Remote Control

Postby cody » Wed Feb 16, 2011 6:56 am

Meindert Wrote:My mistake, the driver is from 2010-10-24


yes, this driver package indeed includes that small error, but in any newer driver package that also has 6980/6981 support liek this one:

http://www.tbsdtv.com/download/QBOX3/linux-s2api-tbs5921_v1.24.1.rar

the bug is fixed.
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: TBS6981 Remote Control

Postby stevellion » Mon May 16, 2011 5:29 am

Cody - does the driver you mention work on Ubuntu Natty (AMD-64) - or are we better off for now, using the patched version as per other posting in this forum?
stevellion
 
Posts: 20
Joined: Tue May 10, 2011 4:03 am

Re: TBS6981 Remote Control

Postby qwerty286 » Tue Jul 22, 2014 12:22 am

Hi guys

I am using OpenElec 4.0 system can somebody tell me step by step how to configure remote for TBS5922 it's a bit diffrent system
qwerty286
 
Posts: 3
Joined: Mon Apr 07, 2014 5:25 pm

Previous

Return to Linux

Who is online

Users browsing this forum: No registered users and 3 guests