uirt2_raw: checksum error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
This appears to be the same issue as noted at this link. https:/
I have a new usbuirt that I want to use as an IR transmitter/
$ sudo /etc/init.d/lirc start
* Starting remote control daemon(s) : LIRC R3 start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/lircd -- --output=
lircd: could not assign address to socket
lircd: Address already in use
R4 /usr/sbin/lircd --output=
$ irw
$ mode2 --driver=
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_
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.
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/
#
#Chosen Remote Control
REMOTE="Hauppauge TV card"
REMOTE_MODULES=""
REMOTE_
REMOTE_
REMOTE_SOCKET=""
REMOTE_
REMOTE_
#Chosen IR Transmitter
TRANSMITTER=
TRANSMITTER_
TRANSMITTER_
TRANSMITTER_
TRANSMITTER_
TRANSMITTER_
TRANSMITTER_
#TRANSMITTER=
#TRANSMITTER_
#TRANSMITTER_
#TRANSMITTER_
#TRANSMITTER_
#TRANSMITTER_
#TRANSMITTER_
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_
#Try to load appropriate kernel modules
#LOAD_MODULES=
LOAD_MODULES=
# 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_NONINTERA
#START_LIRCMD=""
START_LIRCMD=""
My /etc/lirc/lirc.conf has several comments, and one line
include "/usr/share/
According to synaptic
lirc (0.8.7-0ubuntu4.1)
mythbuntu-
some syslog notes that might be of interest include
ul 3 16:22:27 jharvey-
Jul 3 16:22:28 jharvey-
Jul 3 16:22:28 jharvey-
Jul 3 16:22:36 jharvey-
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 <email address hidden> 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-
ProcVersionSign
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/
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,
Controls : 12
Simple ctrls : 7
Date: Sun Jul 3 21:35:21 2011
HibernationDevice: RESUME=
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=
RelatedPackageV
linux-
linux-
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.
dmi.product.name: Latitude D620
dmi.sys.vendor: Dell Inc.
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
I got receive working. It appears that something crashes or doesn't fully clear itself out when with lircd stop is called. With reboots to help keep things cleaner, I got irrecord to work such that I could create my own config file. I then compared it to the provided config file and found my newly generated config file had almost the same items as in the original config file. However remote Haupauge is listed twice. The first on the list was not the setting I needed. It appears the remote name found higher in the lircd.conf file trumps any that are posted lower down. I copied /usr/share/ lirc/remotes/ hauppauge/ lircd.conf. hauppauge to /usr/share/ lirc/remotes/ hauppauge/ lircd.conf. hauppauge. mod then deleted the extra remotes that I don't need, such that only the remote definition was left is in this file. I then modified /etc/lirc/ lircd.conf to use the .mod file. So now receive works. However transmit does not work. Also I run a risk of breaking these changes if they don't get included in "Mythbuntu Control Centre" So even though I have it working on my machine, I consider it a bug, as the graphical config tools would break it.