[Bug 1312287] [NEW] lircd start problem

Dan Volkman DanVolkman at gmail.com
Thu Apr 24 16:29:21 UTC 2014


Public bug reported:

If no one else is having lircd(8) problems, ignore this bug report and I
will make a work around for me.  After upgrading from 13.<what-ever-
current> to 14.04 my IR remote stopped working, no output from irw(1) or
mode2(1).  After some digging I found it worked right if I started
lircd(8) with no argument.  Please note the lines below:

# grep REMOTE_SOCKET /etc/lirc/hardware.conf
REMOTE_SOCKET=""
# service lirc start
# ps -ef | grep lirc
root      4601  2201  0 11:34 ?        00:00:00 /usr/sbin/lircd --output=/run/lirc/lircd --device=/dev/lirc0
# irw (does not work)

(So I set REMOTE_SOCKET to default settings per manual stating what default is)
# grep REMOTE_SOCKET /etc/lirc/hardware.conf
REMOTE_SOCKET="/var/run/lirc/lircd"
# service lirc start
# ps -ef | grep lirc
root      4694  2201  0 11:42 ?        00:00:00 /usr/sbin/lircd --output=/var/run/lirc/lircd --device=/dev/lirc0
(it looks right but)
# irw (does not work)

# ps -ef | grep lirc
root      4694  2201  0 11:42 ?        00:00:00 /usr/sbin/lircd --output=/var/run/lirc/lircd --device=/dev/lirc0
# service lirc stop
(copy command from ps output above and past it as a command)
# /usr/sbin/lircd --output=/var/run/lirc/lircd --device=/dev/lirc0
# irw (it works)

(I know this is usually an environment issue so here is my environment before launching the above /usr/sbin/lircd)
# env
SHELL=/bin/bash
TERM=xterm
OLDPWD=/etc/init.d
USER=root
SUDO_USER=dan
SUDO_UID=1000
USERNAME=root
MAIL=/var/mail/root
PATH=/usr/sbin:/usr/bin:/sbin:/bin
PWD=/
LANG=en_US.UTF-8
SHLVL=1
SUDO_COMMAND=/bin/bash
HOME=/home/dan
LANGUAGE=en_US
LOGNAME=root
LESSOPEN=| /usr/bin/lesspipe %s
SUDO_GID=1000
DISPLAY=:0.0
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/home/dan/.Xauthority
_=/usr/bin/env

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.2
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Thu Apr 24 11:03:22 2014
InstallationDate: Installed on 2013-02-06 (441 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: Upgraded to trusty on 2014-04-24 (0 days ago)
VarLogDistupgradeTermlog:

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade trusty

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1312287

Title:
  lircd start problem

Status in “ubuntu-release-upgrader” package in Ubuntu:
  New

Bug description:
  If no one else is having lircd(8) problems, ignore this bug report and
  I will make a work around for me.  After upgrading from 13.<what-ever-
  current> to 14.04 my IR remote stopped working, no output from irw(1)
  or mode2(1).  After some digging I found it worked right if I started
  lircd(8) with no argument.  Please note the lines below:

  # grep REMOTE_SOCKET /etc/lirc/hardware.conf
  REMOTE_SOCKET=""
  # service lirc start
  # ps -ef | grep lirc
  root      4601  2201  0 11:34 ?        00:00:00 /usr/sbin/lircd --output=/run/lirc/lircd --device=/dev/lirc0
  # irw (does not work)

  (So I set REMOTE_SOCKET to default settings per manual stating what default is)
  # grep REMOTE_SOCKET /etc/lirc/hardware.conf
  REMOTE_SOCKET="/var/run/lirc/lircd"
  # service lirc start
  # ps -ef | grep lirc
  root      4694  2201  0 11:42 ?        00:00:00 /usr/sbin/lircd --output=/var/run/lirc/lircd --device=/dev/lirc0
  (it looks right but)
  # irw (does not work)

  # ps -ef | grep lirc
  root      4694  2201  0 11:42 ?        00:00:00 /usr/sbin/lircd --output=/var/run/lirc/lircd --device=/dev/lirc0
  # service lirc stop
  (copy command from ps output above and past it as a command)
  # /usr/sbin/lircd --output=/var/run/lirc/lircd --device=/dev/lirc0
  # irw (it works)

  (I know this is usually an environment issue so here is my environment before launching the above /usr/sbin/lircd)
  # env
  SHELL=/bin/bash
  TERM=xterm
  OLDPWD=/etc/init.d
  USER=root
  SUDO_USER=dan
  SUDO_UID=1000
  USERNAME=root
  MAIL=/var/mail/root
  PATH=/usr/sbin:/usr/bin:/sbin:/bin
  PWD=/
  LANG=en_US.UTF-8
  SHLVL=1
  SUDO_COMMAND=/bin/bash
  HOME=/home/dan
  LANGUAGE=en_US
  LOGNAME=root
  LESSOPEN=| /usr/bin/lesspipe %s
  SUDO_GID=1000
  DISPLAY=:0.0
  LESSCLOSE=/usr/bin/lesspipe %s %s
  XAUTHORITY=/home/dan/.Xauthority
  _=/usr/bin/env

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.220.2
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Thu Apr 24 11:03:22 2014
  InstallationDate: Installed on 2013-02-06 (441 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: Upgraded to trusty on 2014-04-24 (0 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1312287/+subscriptions



More information about the foundations-bugs mailing list