← Back to team overview

kernel-packages team mailing list archive

[Bug 805299] Re: uirt2_raw: checksum error

 

[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** Changed in: linux (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/805299

Title:
  uirt2_raw: checksum error

Status in “linux” package in Ubuntu:
  Expired

Bug description:
  This appears to be the same issue as noted at this link.
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/177166

  I have a new usbuirt that I want to use as an IR transmitter/receiver
  for mythbuntu 11.04.  From a fresh boot, I do the following.

  $ sudo /etc/init.d/lirc start
   * Starting remote control daemon(s) : LIRC                                                                                  R3 start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/lircd -- --output=/var/run/lirc/lircd --driver=usb_uirt_raw --device=/dev/ttyUSB0 -l --listen
                                                                                                                        [ OK ]
  lircd: could not assign address to socket
  lircd: Address already in use
  R4 /usr/sbin/lircd --output=/var/run/lirc/lircd1 --driver=usb_uirt_raw --device=/dev/ttyUSB0 -l --connect=localhost:8765 --pidfile=/var/run/lirc/lircd1.pid
  $ irw

  $ mode2 --driver=usb_uirt_raw
  mode2: WARNING: uirt2_raw: Old UIRT hardware
  mode2: uirt2_raw: checksum error
  space 754500
  pulse 1000
  space 700
  pulse 1800
  space 1600
  pulse 950
  space 700
  pulse 950
  space 700
  pulse 950
  space 750
  pulse 1800
  space 750
  pulse 950
  space 750
  pulse 950
  space 700
  pulse 950
  space 750
  pulse 950
  space 750
  pulse 950
  space 750
  pulse 950
  space 87300
  pulse 950
  space 700
  pulse 1800
  space 1600
  pulse 950
  space 750
  pulse 950
  space 700
  pulse 950
  space 750
  pulse 1800
  space 750
  pulse 950
  space 750
  pulse 950
  space 750
  pulse 950
  space 750
  pulse 950
  space 750
  pulse 950
  space 750
  pulse 950
  ^C
  $ irsend LIST   ""    ""
  irsend: Hauppauge
  irsend: dish
  irsend: dish1
  irsend: dish2
  irsend: dish3
  irsend: dish4
  irsend: dish5
  irsend: dish6
  irsend: dish7
  irsend: dish8
  irsend: dish9
  irsend: dish10
  irsend: dish11
  irsend: dish12
  irsend: dish13
  irsend: dish14
  irsend: dish15
  irsend: dish16
  $ sudo irrecord -H usb_uirt_raw -d /dev/ttyUSB0 blah_usb_uirt_raw.conf

  BLAH BLAH

  Please enter the name for the next button (press <ENTER> to finish recording)
  KEY_0

  Now hold down button "KEY_0".
  Something went wrong. irrecord: uirt2_raw: checksum error
  irrecord: uirt2_raw: UIRT version 0905 ok
  Please try again. (9 retries left)

  
  I modified the initscript to echo the start stop daemon commands. That is where the R3 and R4 lines noted above came from. The init script claims it launched OK, but notes that there was a problem. Before running the script, there was no file under /var/run/lircd so I don't know why it has a problem with getting the socket. Then irw failed to produce anything when I pushed buttons on the remote, while I watch the LED on the uirt blink. I then ran mode2, which verifies that LIRC is connected to the uirt device via USB and it's passing bits to LIRC. My current understanding of problem is that the driver for ttyUSB0 has changed and it doesn't communicate correctly with LIRC. The last thing I did was to verify that my config files loaded correctly, with irsend LIST. The haupauge note is the remote, the dish's are for transmitting to the dish receiver.  Thinking that perhaps the config files might be broken, I tried making my own with once seemed to work, but typically fails on that error message. I once got KEY_0 to come through as 00, KEY_1 as 01. Which worked, and was much different than 0x0000000000001001 noted in lircd.conf.hauppauge. 

  I believe the key issue is that I need an updated config file, however
  I can't create it with irrecord, as it appears that program fails
  because of the checksum complaint.

  Here's my hardware.conf file.

  # /etc/lirc/hardware.conf
  #
  #Chosen Remote Control
  REMOTE="Hauppauge TV card"
  REMOTE_MODULES=""
  REMOTE_DRIVER="usb_uirt_raw"
  REMOTE_DEVICE="/dev/ttyUSB0"
  REMOTE_SOCKET=""
  REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
  REMOTE_LIRCD_ARGS="-l"

  #Chosen IR Transmitter
  TRANSMITTER="USB-UIRT2 : Dish Receiver"
  TRANSMITTER_MODULES=""
  TRANSMITTER_DRIVER="usb_uirt_raw"
  TRANSMITTER_DEVICE="/dev/ttyUSB0"
  TRANSMITTER_SOCKET=""
  TRANSMITTER_LIRCD_CONF="dish/general.conf"
  TRANSMITTER_LIRCD_ARGS="-l"
  #TRANSMITTER="USB-UIRT2 : Dish Receiver"
  #TRANSMITTER_MODULES=""
  #TRANSMITTER_DRIVER="uirt2_raw"
  #TRANSMITTER_DEVICE=""
  #TRANSMITTER_SOCKET=""
  #TRANSMITTER_LIRCD_CONF="dish/general.conf"
  #TRANSMITTER_LIRCD_ARGS="-d /dev/ttyUSB0"

  #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="true"
  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=""
  START_LIRCMD=""

  My /etc/lirc/lirc.conf has several comments, and one line

  include "/usr/share/lirc/extras/transmitters/dish/general.conf"

  According to synaptic 
  lirc (0.8.7-0ubuntu4.1)
  mythbuntu-control-centre (0.63-0ubuntu1)

  some syslog notes that might be of interest include

  ul  3 16:22:27 jharvey-Latitude-D620 lircd-0.8.7[1080]: accepted new client on /var/run/lirc/lircd
  Jul  3 16:22:28 jharvey-Latitude-D620 lircd-0.8.7[1080]: uirt2_raw: checksum error
  Jul  3 16:22:28 jharvey-Latitude-D620 lircd-0.8.7[1080]: uirt2_raw: UIRT version 0905 ok
  Jul  3 16:22:36 jharvey-Latitude-D620 lircd-0.8.7[1080]: removed client

  Also I expect to be using the driver usb_uirt_raw, not uirt2_raw which
  is a valid driver, just not the expected driver.

  I'm new to this bug reporting, so feel free to contact me at
  launchpad@xxxxxxxxxxxxxxx for more information if there is something I
  can do to help with resolving this problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: linux-image-2.6.38-8-generic 2.6.38-8.42
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jharvey    1786 F.... pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xefebc000 irq 44'
     Mixer name	: 'SigmaTel STAC9200'
     Components	: 'HDA:83847690,102801c2,00102201 HDA:14f12bfa,14f100c3,00090000'
     Controls      : 12
     Simple ctrls  : 7
  Date: Sun Jul  3 21:35:21 2011
  HibernationDevice: RESUME=UUID=26c5a0aa-16db-4431-a1a2-bee2c37e9778
  InstallationMedia: Mythbuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
  MachineType: Dell Inc. Latitude D620
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=5b6c6922-d87a-4c90-aebf-21fee4ee9e6d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-2.6.38-8-generic N/A
   linux-backports-modules-2.6.38-8-generic  N/A
   linux-firmware                            1.52
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/16/2008
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 0FT292
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA10:bd05/16/2008:svnDellInc.:pnLatitudeD620:pvr:rvnDellInc.:rn0FT292:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: Latitude D620
  dmi.sys.vendor: Dell Inc.

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