← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 816598] Re: Natty can't resume "lirc" after sleep

 

Possibly wrong kernel version... but still the kernel (media subsystem)

** Package changed: lirc (Ubuntu) => linux-lts-utopic (Ubuntu)

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/816598

Title:
  Natty can't resume "lirc" after sleep

Status in linux-lts-utopic package in Ubuntu:
  Confirmed

Bug description:
  My MCE remote won't work after sleep in Natty 11.04 using the latest
  kernel 2.6.39.  I'm able to wake the computer from sleep using the MCE
  remote but no respond after the system is awake.  No respond from irw
  or restarting lirc make any difference.  Pm-suspend.log and pm-
  powersave.log doesn't show any error message regarding lirc but the
  remote still doesn't work until I do a reboot of the system.  Any help
  would greatly be appreciate!!!!

  
  $ ls -l /dev/mce*
  crw------- 1 root root 10, 227 2011-07-21 01:21 /dev/mcelog

  $ lsmod | grep mce*
  rc_rc6_mce             12502  0 
  mceusb                 17867  0 
  rc_core                26918  9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,rc_rc6_mce,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder,mceusb

  $ ls -l /dev/lirc*
  crw------- 1 root root 250, 0 2011-07-21 01:21 /dev/lirc0
  lrwxrwxrwx 1 root root     19 2011-07-21 01:22 /dev/lircd -> /var/run/lirc/lircd

  $ lsmod | grep lirc_ 
  ir_lirc_codec          12898  0 
  lirc_dev               19232  1 ir_lirc_codec
  rc_core                26918  9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,rc_rc6_mce,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder,mceusb

  
  $ dmesg | grep mceusb
  [    9.355076] mceusb 7-1:1.0: Registered Microsoft Microsoft IR Transceiver on usb7:2
  [    9.355131] usbcore: registered new interface driver mceusb
  [    9.397277] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
  [18795.680738] mceusb 7-1:1.0: suspend
  [18798.424133] mceusb 7-1:1.0: resume
  [18798.424150] PM: resume of drv:mceusb dev:7-1:1.0 complete after 789.441 msecs
  [18808.260732] Modules linked in: snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm nfsd snd_seq_midi exportfs i915 nfs snd_rawmidi snd_seq_midi_event lockd fscache nfs_acl ir_lirc_codec lirc_dev auth_rpcgss snd_seq rc_rc6_mce ir_sony_decoder snd_timer snd_seq_device joydev ir_jvc_decoder drm_kms_helper ir_rc6_decoder drm ir_rc5_decoder i2c_algo_bit snd video mceusb ir_nec_decoder psmouse soundcore usbhid snd_page_alloc rc_core hid sunrpc lp parport serio_raw usb_storage uas r8169 ahci libahci

  
  $ cat /proc/bus/input/devices

  I: Bus=0003 Vendor=045e Product=006d Version=0200
  N: Name="Media Center Ed. eHome Infrared Remote Transceiver (045e:006d)"
  P: Phys=usb-0000:00:1d.1-1
  S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/rc/rc0/input4
  U: Uniq=
  H: Handlers=kbd event4 
  B: PROP=0
  B: EV=100013
  B: KEY=fff 0 200108fc326 237605100000000 0 700158000 419200100001 9e968000000000 10000000
  B: MSC=10

  
  $ cat /sys/class/rc/rc0/protocols
  rc-5 nec rc-6 jvc sony [lirc]

  
  $ ir-keytable 
  Found /sys/class/rc/rc0/ (/dev/input/event4) with:
  	Driver mceusb, table rc-rc6-mce
  	Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC 
  	Enabled protocols: LIRC 
  	Repeat delay = 500 ms, repeat period = 33 ms

  
  $ cat /etc/lirc/hardware.conf
  # /etc/lirc/hardware.conf
  #
  #Chosen Remote Control
  REMOTE="Windows Media Center Transceivers/Remotes (all)"
  REMOTE_MODULES="lirc_dev mceusb"
  #REMOTE_DRIVER="devinput"
  REMOTE_DRIVER=""
  REMOTE_DEVICE="/dev/lirc0"
  #REMOTE_DEVICE="/dev/input/by-id/usb-Microsoft_Microsoft_IR_Transceiver_MS193YGT-event-if00"
  REMOTE_SOCKET=""
  #REMOTE_LIRCD_CONF="lircd.conf"
  REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
  REMOTE_LIRCD_ARGS=""

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

  #Enable lircd
  START_LIRCD="true"

  #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="false"

  # Default configuration files for your hardware if any
  LIRCMD_CONF=""

  #Forcing noninteractive reconfiguration
  #If lirc is to be reconfigured by an external application
  #that doesn't have a debconf frontend available, the noninteractive
  #frontend can be invoked and set to parse REMOTE and TRANSMITTER
  #It will then populate all other variables without any user input
  #If you would like to configure lirc via standard methods, be sure
  #to leave this set to "false"
  FORCE_NONINTERACTIVE_RECONFIGURATION="false"
  START_LIRCMD=""

  
  $ lsmod 
  Module                  Size  Used by
  nfsd                  316512  13 
  exportfs               12998  1 nfsd
  nfs                   330417  0 
  lockd                  85732  2 nfsd,nfs
  fscache                57123  1 nfs
  nfs_acl                12883  2 nfsd,nfs
  auth_rpcgss            52881  2 nfsd,nfs
  sunrpc                234297  14 nfsd,nfs,lockd,nfs_acl,auth_rpcgss
  snd_hda_codec_realtek   336771  1 
  snd_hda_intel          33211  4 
  snd_hda_codec         103804  2 snd_hda_codec_realtek,snd_hda_intel
  snd_hwdep              13604  1 snd_hda_codec
  snd_pcm                96391  3 snd_hda_intel,snd_hda_codec
  joydev                 17606  0 
  snd_seq_midi           13324  0 
  ir_lirc_codec          12898  0 
  lirc_dev               19232  1 ir_lirc_codec
  ir_sony_decoder        12549  0 
  snd_rawmidi            30486  1 snd_seq_midi
  ir_jvc_decoder         12546  0 
  rc_rc6_mce             12502  0 
  ir_rc6_decoder         12546  0 
  snd_seq_midi_event     14899  1 snd_seq_midi
  snd_seq                61621  2 snd_seq_midi,snd_seq_midi_event
  ir_rc5_decoder         12546  0 
  ir_nec_decoder         12546  0 
  mceusb                 17867  0 
  rc_core                26918  9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,rc_rc6_mce,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder,mceusb
  usbhid                 46956  0 
  hid                    91020  1 usbhid
  snd_timer              29602  3 snd_pcm,snd_seq
  snd_seq_device         14462  3 snd_seq_midi,snd_rawmidi,snd_seq
  psmouse                73535  0 
  i915                  514975  3 
  serio_raw              13166  0 
  drm_kms_helper         42136  1 i915
  drm                   227495  4 i915,drm_kms_helper
  snd                    67382  15 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
  soundcore              12680  1 snd
  snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
  i2c_algo_bit           13400  1 i915
  video                  19438  1 i915
  lp                     17825  0 
  parport                46458  1 lp
  usb_storage            53538  0 
  uas                    17996  0 
  ahci                   25951  2 
  libahci                26642  1 ahci
  r8169                  48022  0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-utopic/+bug/816598/+subscriptions


References