Нет, это просто присваивание имен кодам кнопок на пульте.
Драйвер, если мне память не изменяет, указывается в /etc/lirc/hardware
(обычно это dev/input), так же при установке lirc появляется "мастер настройки" lirc, в котором выбираешь из списка производителя и модель тюнера (если есть конечно), после чего lirc сам установит нужные настройки.
В папке /etc/lirc/hardware есть 3 файла.
hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Philips SRM 7500 RF remote"
REMOTE_MODULES=""
REMOTE_DRIVER="srm7500libusb"
REMOTE_DEVICE=""
REMOTE_LIRCD_CONF="philips/lircd.conf.srm7500libusb"
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
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="true"
# 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=""
REMOTE_SOCKET=""
TRANSMITTER_SOCKET=""
lircd.conf
#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.
#Configuration for the Philips SRM 7500 RF remote remote:
include "/usr/share/lirc/remotes/philips/lircd.conf.srm7500libusb"
lircmd.conf
#UNCONFIGURED
#
# To find out how to get a proper configuration file please read:
#
# /usr/share/doc/lirc/README.Debian
Файлы появились после того как я удалил с компа все связанное с лирком и поставил заново.
Мой пульт был выбран при установке. (именно моя модель)
А теперь по порядку.. Третий файл тут походу нам не интересен.
Второй по счету файл выполняет include того, что я выкладывал выше... Вот его содержание (вдруг что изменилось)...
# Philips SRM-7500 RF configuration for use with the srm7500libusb driver
#
# The remote and the dongle communicate with each other over ieee 802.15.4
# a few extra network parameters are needed (via lircd's --device option).
#
# lircd --driver=srm7500libusb lircd.conf.srm7500libusb \
# --device=macShortAddress=12:34,remoteShortAddress=56:78,macPANId=9a:bc
#
# explanation:
# mandatory parameters:
# macShortAddress: 802.15.4 short address (2 byte hex)
# to be assigned to the receiver
# remoteShortAddress: 802.15.4 short address (2 byte hex)
# to be assigned to the remote
# macPANId: 802.15.4 numeric network id (2 byte hex)
# optional parameters:
# remoteExtendedAddress: 802.15.4 extended address (8 byte hex)
# of the remote. when given, ignores all other
# 802.15.4 rf communication. lircd writes your
# remotes address to the logs when pairing
# macBeaconPayload: 802.15.4 network name (ASCII string)
# defaults to PHILIPS+your hostname. remote will not
# pair unless it starts with PHILIPS.
# LogicalChannel: 802.15.4 channel number (1 byte hex)
# defaults to 19
# other channels than 19 do not work on my remote
# usb: USB bus and device number (2 integer decimal)
# bind to a specific USB device, e.g. 003:002
#
# Things that work using this driver:
# - pairing
# - reception of all keypresses except for the 'music' button
# Things that do not work yet
# - signal strength monitoring (via 'rf settings' in the remotes setup menu)
# - displaying infos on the remote's display
#
begin remote
name SRM-7500
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
gap 132799
toggle_bit_mask 0x0
post_data_bits 8
post_data 0x01
begin codes
Power 0x0035
Back 0x0024
More 0x0033
Up 0x0023
Down 0x0011
Left 0x0029
Right 0x0031
Ok 0x0039
Vol+ 0x0027
Vol- 0x002A
Mute 0x0028
Ch+ 0x0037
Ch- 0x003A
Windows 0x0015
Rec 0x0012
Stop 0x0017
Rew 0x0007
Play 0x001A
Fwd 0x0047
Prev 0x000A
Pause 0x0016
Next 0x004A
Guide 0x0022
LiveTV 0x0036
RecTV 0x0026
DVD 0x0032
1 0x0008
2 0x0018
3 0x0048
4 0x0009
5 0x0019
6 0x0049
7 0x0004
8 0x0014
9 0x0044
Star 0x0003
0 0x0013
Hash 0x0043
Text 0x0042
Clear 0x0001
Enter 0x0041
AspectRatio 0x0006
Red 0x0005
Green 0x0002
Yellow 0x0045
Blue 0x0046
end codes
end remote
begin remote
name SRM-7500_UP
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
gap 132799
toggle_bit_mask 0x0
post_data_bits 8
post_data 0x03
begin codes
Power_UP 0x0035
Back_UP 0x0024
More_UP 0x0033
Up_UP 0x0023
Down_UP 0x0011
Left_UP 0x0029
Right_UP 0x0031
Ok_UP 0x0039
Vol+_UP 0x0027
Vol-_UP 0x002A
Mute_UP 0x0028
Ch+_UP 0x0037
Ch-_UP 0x003A
Windows_UP 0x0015
Rec_UP 0x0012
Stop_UP 0x0017
Rew_UP 0x0007
Play_UP 0x001A
Fwd_UP 0x0047
Prev_UP 0x000A
Pause_UP 0x0016
Next_UP 0x004A
Guide_UP 0x0022
LiveTV_UP 0x0036
RecTV_UP 0x0026
DVD_UP 0x0032
1_UP 0x0008
2_UP 0x0018
3_UP 0x0048
4_UP 0x0009
5_UP 0x0019
6_UP 0x0049
7_UP 0x0004
8_UP 0x0014
9_UP 0x0044
Star_UP 0x0003
0_UP 0x0013
Hash_UP 0x0043
Text_UP 0x0042
Clear_UP 0x0001
Enter_UP 0x0041
AspectRatio_UP 0x0006
Red_UP 0x0005
Green_UP 0x0002
Yellow_UP 0x0045
Blue_UP 0x0046
end codes
end remote
Собственно результат снова никакой. На USB свистке не горит лампочка (обычно она горит постоянно) и пульт свистка естественно не видит...
lsusb показывает наличие устройства..
Bus 004 Device 005: ID 0471:0617 Philips (or NXP) IEEE802.15.4 RF Dongle
Нашел то что называют драйвером для этого устройства..
http://pt.sourceforge.jp/projects/sfnet_srm7500-linux/releases/Как его поставить так и не понял. при попытке выполнить sudo sh setup-sh (да именно такое название файла) (а также install.sh setup-driver.sh)
В первом случае ошибка, что не найден исходный файл (какой файл...?)
В остальных ошибка что не найдено окно. (какое нахрен окно...)
Попытка почитать файл readme меня отправила читать файл index.html в папке doc
Естественно ни одного *.html там нет. Других вариантов этого "драйвера" я не нашел. Более того сам этот "драйвер" по структуре папок и файлов ОЧЕНЬ похож на lirc.
Прошу совета...