You are not logged in.

#1 2015-03-24 09:00:04

TheRob
Member
Registered: 2011-11-01
Posts: 13

[SOLVED] latest lirc and bw6130

So.... now I was forced to upgrade to latest lirc since older lirc forces kernel version<=3.18.

Theres now new stuff, and I configured lirc as this:

/etc/lirc/lirc_options.conf:

# These are the default options to lircd, if installed as
# /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
# manpages for info on the different options.

[lircd]
nodaemon        = False
driver          = bw6130
device          = /dev/usb/hiddev1
output          = /var/run/lirc/lircd
pidfile         = /var/run/lirc/lircd.pid
plugindir       = /usr/lib/lirc/plugins
permission      = 666
allow-simulate  = No
repeat-max      = 600
#effective-user =
#listen         = [address:]port
#connect        = host[:port]
#debug          = 6
#uinput         = ...
#release        = ...
#logfile        = ...

[lircmd]
uinput          = False
nodaemon        = False

[modprobe]
#modules        = [lircd_dev, lirc_sir...]

and then /etc/lirc/lircd.conf

# Populated config files can be found at [url]http://sf.net/p/lirc-remotes[/url]. The
# irdb-get(1) and lirc-setup(1) tools can be used to search and download
# config files.
#
# From 0.9.2 config files could just be dropped as-is in the lircd.conf.d
# directory and be included by this file.

include "lircd.conf.d/*.conf"

and /etc/lirc/lircd.conf.d/0-bw6130.conf

#
# brand:                       Remotec
# model no. of remote control: BW 6130 Multimedia Master Receiver
# devices being controlled by this remote:
#

begin remote

  name  MEDIAMASTER
  bits            32
  eps             0
  aeps            0

  one             0     0
  zero            0     0
  pre_data_bits   32
  pre_data 0xFFA10003
  gap          131980
  post_data_bits  0
  toggle_bit     0

      begin codes
          KEY_PREVIOUS             0x23                      #  Was: PRE
          KEY_NEXT                 0x24                      #  Was: NEXT
          KEY_1                    0X10                      #  Was: 1
          KEY_2                    0x11                      #  Was: 2
          KEY_3                    0x12                      #  Was: 3
          KEY_POWER                0x50                      #  Was: POWER
          KEY_VOLUMEUP             0x30                      #  Was: VOL+
          KEY_VOLUMEDOWN           0x31                      #  Was: VOL-
          KEY_L                    0x42                      #  Was: L
          KEY_R                    0x44                      #  Was: R
          KEY_PAUSE                0x22                      #  Was: PAUSE
          KEY_PLAY                 0x20                      #  Was: PLAY
          KEY_STOP                 0x21                      #  Was: STOP
          KEY_MUTE                 0x32                      #  Was: MUTE
	MOUSE_SLOW_N		0x95
	MOUSE_SLOW_NNE		0xd1
	MOUSE_SLOW_NE		0xcd
	MOUSE_SLOW_ENE		0xc9
	MOUSE_SLOW_E		0xc5
	MOUSE_SLOW_ESE		0xe9
	MOUSE_SLOW_SE		0xed
	MOUSE_SLOW_SSE		0xf1
	MOUSE_SLOW_S		0xb5
	MOUSE_SLOW_SSW		0xb1
	MOUSE_SLOW_SW		0xad
	MOUSE_SLOW_WSW		0xa9
	MOUSE_SLOW_W		0x85
	MOUSE_SLOW_WNW		0x89
	MOUSE_SLOW_NW		0x8d
	MOUSE_SLOW_NNW		0x91
	MOUSE_MEDIUM_N		0x96
	MOUSE_MEDIUM_NNE	0xd2
	MOUSE_MEDIUM_NE		0xce
	MOUSE_MEDIUM_ENE	0xca
	MOUSE_MEDIUM_E		0xc6
	MOUSE_MEDIUM_ESE	0xea
	MOUSE_MEDIUM_SE		0xee
	MOUSE_MEDIUM_SSE	0xf2
	MOUSE_MEDIUM_S		0xb6
	MOUSE_MEDIUM_SSW	0xb2
	MOUSE_MEDIUM_SW		0xae
	MOUSE_MEDIUM_WSW	0xaa
	MOUSE_MEDIUM_W		0x86
	MOUSE_MEDIUM_WNW	0x8a
	MOUSE_MEDIUM_NW		0x8e
	MOUSE_MEDIUM_NNW	0x92
	MOUSE_FAST_N		0x97
	MOUSE_FAST_NNE		0xd3
	MOUSE_FAST_NE		0xcf
	MOUSE_FAST_ENE		0xcb
	MOUSE_FAST_E		0xc7
	MOUSE_FAST_ESE		0xeb
	MOUSE_FAST_SE		0xef
	MOUSE_FAST_SSE		0xf3
	MOUSE_FAST_S		0xb7
	MOUSE_FAST_SSW		0xb3
	MOUSE_FAST_SW		0xaf
	MOUSE_FAST_WSW		0xab
	MOUSE_FAST_W		0x87
	MOUSE_FAST_WNW		0x8b
	MOUSE_FAST_NW		0x8f
	MOUSE_FAST_NNW		0x93
   end codes

end remote

when I start lircd w/ "sudo systemctl start lircd"
then "systemctl status lircd" says:

● lircd.service - LIRC Infrared Signal Decoder
   Loaded: loaded (/usr/lib/systemd/system/lircd.service; disabled; vendor preset: disabled)
   Active: failed (Result: core-dump) since Tue 2015-03-24 10:49:57 EET; 6s ago
  Process: 22449 ExecStart=/usr/sbin/lircd --nodaemon (code=dumped, signal=SEGV)
 Main PID: 22449 (code=dumped, signal=SEGV)

Mar 24 10:49:57 crappa systemd[1]: lircd.service: main process exited, code=dumped, status=11/SEGV
Mar 24 10:49:57 crappa systemd[1]: Unit lircd.service entered failed state.
Mar 24 10:49:57 crappa systemd[1]: lircd.service failed.
Mar 24 10:49:57 crappa systemd-coredump[22450]: Process 22449 (lircd) of user 0 dumped core.

so lirc segfaults, where did I go wrong? I have been thinkering for like 3 hours now and been coming up empty.

any pointers?


EDIT [SOLVED]:
use the dvico driver instead of bw6130 seems to work for whatever reason.

//Robert

Last edited by TheRob (2015-03-24 16:44:26)

Offline

#2 2015-03-24 09:06:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] latest lirc and bw6130

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-03-24 09:13:39

TheRob
Member
Registered: 2011-11-01
Posts: 13

Re: [SOLVED] latest lirc and bw6130

fixed [edit: the code syntax is fixed, the problem is still there big_smile]

Last edited by TheRob (2015-03-24 10:39:28)

Offline

Board footer

Powered by FluxBB