[mythtv-users] Ati remote wonder

Mike stuff at dustsmoke.com
Fri Jun 9 05:05:53 UTC 2006


Thats surprising, I have never gotten ati_remote to work along with 
lirc_atiusb and lirc_dev.... But I do have it setup as a mouse with 
lircm so I don't need the gatos ati_remote to get the same thing. I 
disable ati_remote so it doesn't break lirc by adding "alias ati_remote 
off" to my modutils/modules.conf (or you can just rename ati_remote.ko 
or something). Then I have a fully functional 'not wacky' remote with a 
mouse that I have better control of. (function keys, repeat and speed) 
Plus it leaves xmodmap to my wireless keyboard's multimedia keys like I 
like it.

-Mike

lircmd.conf 
----------------------------------------------------------------------
#
# lircmd config file
#

# protocol to use
PROTOCOL IMPS/2

# 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_UPRIGHT
MOVE_E * MOUSE_RIGHT
MOVE_SE * MOUSE_DOWNRIGHT
MOVE_S * MOUSE_DOWN
MOVE_SW * MOUSE_DOWNLEFT
MOVE_W * MOUSE_LEFT
MOVE_NW * MOUSE_UPLEFT
MOVE_IN * cursor-up
MOVE_OUT * cursor-down

BUTTON1_CLICK * MOUSE_LEFT_BTN
BUTTON2_CLICK * MOUSE_RIGHT_BTN

lircd.conf 
--------------------------------------------------------------------

# Please make this file available to others
# by sending it to <lirc at bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.7.0-CVS(atiusb) on Sat Jun 19 16:27:14 2004
#
# contributed by gLaNDix
#
# brand: ATI
# model no. of remote control: 5000023600
# devices being controlled by this remote: MythTV 0.14
#
# USB ID: 0bc7:0004
#

begin remote

name REMOTE_WONDER
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 227933
toggle_bit 0


begin codes
A 0x000000000000D500
B 0x000000000000D601
C 0x000000000000EE19
D 0x000000000000F01B
E 0x000000000000F621
F 0x000000000000F823
POWER 0x000000000000D702
TV 0x000000000000D803
DVD 0x000000000000D904
WEB 0x000000000000DA05
BOOK 0x000000000000DB06
HAND 0x000000000000DC07
MOUSE_LEFT_BTN 0x0000000000004D78
MOUSE_LEFTBUTTONUP 0x0000000000004E79
MOUSE_LEFTBUTTONDBLCLICK 0x0000000000004E79
MOUSE_RIGHT_BTN 0x000000000000517C
MOUSE_RIGHTBUTTONUP 0x000000000000527D
MOUSE_RIGHTBUTTONDBLCLICK 0x000000000000537E
MOUSE_LEFT 0x0000000000004570
MOUSE_RIGHT 0x0000000000004671
MOUSE_UP 0x0000000000004772
MOUSE_DOWN 0x0000000000004873
MOUSE_UPRIGHT 0x0000000000004A75
MOUSE_DOWNRIGHT 0x0000000000004B76
MOUSE_DOWNLEFT 0x0000000000004C77
MOUSE_UPLEFT 0x0000000000004974
VOL_UP 0x000000000000DD08
VOL_DOWN 0x000000000000DE09
MUTE 0x000000000000DF0A
CH_DOWN 0x000000000000E10C
CH_UP 0x000000000000E00B
1 0x000000000000E20D
2 0x000000000000E30E
3 0x000000000000E40F
4 0x000000000000E510
5 0x000000000000E611
6 0x000000000000E712
7 0x000000000000E813
8 0x000000000000E914
9 0x000000000000EA15
0 0x000000000000EC17
DVD_ROOTMENU 0x000000000000EB16
SETUP 0x000000000000ED18
ARROW_UP 0x000000000000EF1A
ARROW_RIGHT 0x000000000000F41F
ARROW_DOWN 0x000000000000F722
ARROW_LEFT 0x000000000000F21D
OK 0x000000000000F31E
MAXAMIZE 0x000000000000F520
TV_ON_DEMAND 0x000000000000F11C
BACK 0x000000000000F924
PLAY 0x000000000000FA25
NEXT 0x000000000000FB26
RECORD 0x000000000000FC27
STOP 0x000000000000FD28
PAUSE 0x000000000000FE29
end codes

end remote

XF86Config 
----------------------------------------------------------------------------------------------

Section "InputDevice"
Identifier "Lirc Mouse"
Driver "mouse"
Option "Device" "/dev/lircm"
Option "Protocol" "IMPS/2"
Option "SendCoreEvents"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection

then add the mouse to my ServerLayout section

InputDevice "Lirc Mouse" "CorePointer"


---------------------------------------------------------------------------------------------------------



Will Constable wrote:
>
> Oh- I forgot about the ati_remote part.. I’ll check when I get home. I 
> am pretty sure ati_remote is running alongside lirc_atiusb and 
> lirc_dev, and lircd definitely works.. However, I added a Logitech 
> wireless keyboard keyboard and mouse via usb right before I started 
> troubleshooting the non-working lircd. Before adding the Logitech, 
> lircd was broken but the ati_remote thing functioned as an X mouse. 
> After adding Logitech, the remote immediately stopped working as a 
> mouse- I assume this is just an only one usb mouse kind of thing. I’ll 
> try and see if I can have the remote work as both.
>
> -will
>
> ------------------------------------------------------------------------
>
> *From:* mythtv-users-bounces at mythtv.org 
> [mailto:mythtv-users-bounces at mythtv.org] *On Behalf Of *Niels Dybdahl
> *Sent:* Thursday, June 08, 2006 3:00 AM
> *To:* Discussion about mythtv
> *Subject:* Re: [mythtv-users] Ati remote wonder
>
> On 6/7/06, *Will Constable* <willconstable at gmail.com 
> <mailto:willconstable at gmail.com>> wrote:
>
>     Fixed!! Thanks a lot for your help
>     -will
>
>
> Does this mean that you have both lirc and ati_remote running at the 
> same time, so that you can use it both as a mouse and via lirc ?
> I have never been able of starting lirc when ati_remote was running, 
> so I have renamed ati_remote.ko.
> Do you have more details on what is going on?
>
> Best regards
> Niels Dybdahl
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   



More information about the mythtv-users mailing list