[Pkg-lirc-maint] Bug#373871: One more verification for sanity
Mario L
superm1 at gmail.com
Mon Jul 10 05:16:21 UTC 2006
I just received fresh LTS disks of dapper today (I'd been working off my own
installs that were dist-upgraded). So just to verify that I wasn't entirely
crazy, I fired one up for a clean dapper environment without modifications
to work under and make sure that I didn't do any odd configurations.
This is the exact procedure I followed to verify that still my transmitters
don't work under dapper if anyone wants to repeat the procedures:
0) Boot up a Ubuntu 6.06 LTS Live disk
1) Download archives for lirc & svgalib from packages.debian.org
2) Enable universe/multiverse in synaptic
3) sudo apt-get install fakeroot dpkg-dev dialog module-assistant setserial
4) sudo apt-get build-dep lirc
5) dpkg-source -x svgalib_1.4.3-23.dsc
6) fakeroot dpkg-buildpackage
7) cd.. && sudo dpkg -i libsvga1*.deb
8) dpkg-source -x lirc_0.8.0-5.dsc
9) cd lirc-0.8.0
10) fakeroot dpkg-buildpackage
11) sudo dpkg -i liblirc*deb lirc*.deb
12) sudo m-a update,prepare
13) "configure" the files in /etc/lirc
sudo dpkg-reconfigure lirc-modules-source
Here are the results that I got:
A) /etc/lirc/lirc-modules-source.conf
**********************************************************
# lirc-modules-source config file used by Debian GNU/Linux
# Space separated list of lirc kernel drivers to build
LIRC_MODULES="serial"
# It87 module configuration
LIRC_IT87_CFLAGS="UNCONFIGURED"
# Parallel module configuration
LIRC_PARALLEL_PORT="UNCONFIGURED"
LIRC_PARALLEL_IRQ="UNCONFIGURED"
LIRC_PARALLEL_TIMER="UNCONFIGURED"
# Serial module configuration
LIRC_SERIAL_PORT="0x3f8"
LIRC_SERIAL_IRQ="4"
LIRC_SERIAL_CFLAGS=" -DLIRC_SERIAL_TRANSMITTER"
# Sir module configuration
LIRC_SIR_PORT="UNCONFIGURED"
LIRC_SIR_IRQ="UNCONFIGURED"
LIRC_SIR_CFLAGS="UNCONFIGURED"
******************************************************
B) /etc/lirc/lircd.conf
******************************************************
begin remote
name Samsung
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 4485 4464
one 619 1613
zero 619 498
ptrail 619
repeat 647 1596
pre_data_bits 16
pre_data 0xE0E0
gap 107570
toggle_bit 0
begin codes
chan+ 0x00000000000048B7
chan- 0x00000000000008F7
video 0x000000000000807F
vol+ 0x000000000000E01F
vol- 0x000000000000D02F
power 0x00000000000040BF
end codes
end remote
******************************************************
C) /etc/lirc/hardware.conf
******************************************************
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
#use the first lircd for mceusb
LIRCD_ARGS="-d /dev/lirc0 --output=/dev/lircd --listen"
#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
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER=""
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE=""
MODULES="lirc_serial"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
******************************************************
14) sudo m-a a-i lirc
15) sudo depmod -a
16) sudo setserial /dev/ttyS0 uart none
17) sudo modprobe lirc-serial
18) sudo /etc/init.d/lirc restart
19) test via irsend
irsend SEND_ONCE Samsung power
I experimented with the Software Carrier option and without it in the clean
dapper enviroment. I got the transmitter to work 1 out of the 30 times I
tried, and that was with Software Carrier disabled.
--
Mario Limonciello
superm1 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-lirc-maint/attachments/20060710/136f39d1/attachment.htm
More information about the Pkg-lirc-maint
mailing list