|
From: Dan M. <dan...@ad...> - 2007-03-20 15:25:15
|
Hello,
I searched the mailing lists, and I see plenty of people who seem to
have the same problem as I. If any of you could share your resolutions
I would greatly appreciate it. I have been having trouble for some
time.
I have LIRC working perfectly, and use it daily. I am using an ATI
remote wonder USB, with irexec running to start programs and of course
the remote functions for multimedia. This all works great. My problem
is I can not seem to get LIRCMD to function (at all).
If someone can please give me some idea as to what I am doing wrong, I
would greatly appreciate it.
irw gives output for all the mouse pad and buttons, so I know I have
them mapped correctly. lircm starts in my /dev fine. The error log
shows lircd accepted a new client. I did get some messages about
"ignoring the conf file" and as it turned out I had the formatting of
the lircmd.conf file wrong, and it would ignore lines. I found those
entries in "messages" log on the system. When I corrected that problem
it didn't fix THE problem. Due to those errors I am relatively sure
that my lircmd config file is now fine, and it looks like it loads.
Here is my lircd.conf (named dan.conf for my own reasons)
begin remote
name ati
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 8
pre_data 0x14
post_data_bits 16
post_data 0x0
gap 235959
toggle_bit 0
begin codes
a 0xD500
b 0xD601
power 0xD702
tv 0xD803
dvd 0xD904
web 0xDA05
book 0xDB06
drag 0xDC07
mouse-button_left 0x4D78
mouse-button_right 0x517C
mouse-up 0x4772
mouse-right_up 0x4a75
mouse-right 0x4671
mouse-right_down 0x4b76
mouse-down 0x4873
mouse-left_down 0x4c77
mouse-left 0x4570
mouse-left_up 0x4974
vol- 0xDE09
vol+ 0xDD08
mute 0xDF0A
ch- 0xE10C
ch+ 0xE00B
1 0xE20D
2 0xE30E
3 0xE40F
4 0xE510
5 0xE611
6 0xE712
7 0xE813
8 0xE914
9 0xEA15
menu 0xEB16
0 0xEC17
check 0xED18
c 0xEE19
d 0xF01B
up 0xEF1A
down 0xF722
right 0xF41F
left 0xF21D
max 0xF520
exit 0xF11C
e 0xF621
f 0xF823
rew 0xF924
play 0xFA25
ff 0xFB26
stop 0xFD28
rec 0xFC27
ok 0xf31e
pause 0xFE29
end codes
end remote
-----------------------------------------------------------------
My lircmd.conf:
#
# lircmd config file
#
# protocol to use
PROTOCOL IntelliMouse
ACTIVATE * mouse-up <-----I added these "activate" lines
ACTIVATE * mouse-right_up just today. someone posted that
ACTIVATE * mouse-right it fixed their problem....
ACTIVATE * mouse-right_down
ACTIVATE * mouse-down
ACTIVATE * mouse-left_down
ACTIVATE * mouse-left
ACTIVATE * mouse-left_up
ACTIVATE * mouse-button_left
ACTIVATE * mouse-button_right
# ACCELERATOR start max multiplier
ACCELERATOR 1 30 1
# this button activates/deactivates mouse mode
# in this case it is the 'drag' (below power) button
# commenting out keeps it on
# ACTIVATE drag
# TOGGLE_ACTIVATE * drag
MOVE_N * mouse-up
MOVE_NE * mouse-right_up
MOVE_E * mouse-right
MOVE_SE * mouse-right_down
MOVE_S * mouse-down
MOVE_SW * mouse-left_down
MOVE_W * mouse-left
MOVE_NW * mouse-left_up
BUTTON1_CLICK * mouse-button_left
BUTTON2_CLICK * mouse-button_right
--------------------------------------------------------------
Here is my xorg.conf entries:
Section "InputDevice"
Identifier "LIRC-Mouse"
Driver "mouse"
Option "Device" "/dev/lircm"
Option "Protocol" "IntelliMouse"
Option "SendCoreEvents"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "LIRC-Mouse"
EndSection
Thanks Dan M
|