View previous topic :: View next topic |
Author |
Message |
icrf n00b

Joined: 25 Jun 2004 Posts: 2
|
Posted: Thu Jul 01, 2004 1:31 am Post subject: ati_remote issues |
|
|
I compiled support for ati_remote into the kernel and get the lines in dmesg:
Code: |
# dmesg | grep ati_remote
drivers/usb/core/usb.c: registered new driver ati_remote
drivers/usb/input/ati_remote.c: Registered USB driver ATI/X10 RF USB Remote Control v. 2.2.0
|
So it looks like it's recognized by the kernel, and is certainly detected by USB:
Code: |
# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0bc7:0005 X10 Wireless Technology, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
|
From everything I've read about it, it should add additional devices for keyboard and mouse. No need for lirc at all. Unfortunately, I do not see any additional devices. xev doesn't see any input from the remote. Is there a way I can manually add the devices for the remote?
I tried the lirc route, too, but the kernel module lirc_atiusb won't compile. If I can get ati_remote to work, that'd be preferrable, as it'd just be additional input devices and wouldn't need to run an additional daemon.
edit: Maybe of note, there's no devices listed under /dev/usb/ and /dev/usbmouse responds to the input of my PS/2 mouse. Not quite what I'd expect.
Any ideas?
Thanks,
Andrew |
|
Back to top |
|
 |
ESCartist n00b

Joined: 14 Jul 2004 Posts: 2
|
Posted: Fri Sep 24, 2004 2:48 am Post subject: |
|
|
If support has been compiled into the kernel, and the device is being recognized, then you probably just have to change some setting in your XF86config or xorg.config file.
First try finding exactly which device the remote is in devfs or udev by using cat:
Code: | # cat /dev/input/mice |
Move your mouse around, some random crap should appear indicating that your mouse is working. Now move the directional pad on the remote, if more random crap appears then you know the remote is being recognized for sure. If not, you have a problem.
Ctrl-C, to get out of cat, and try testing each individual device.
Code: | # cat /dev/input/mouse0 |
Move the remote around looking for the random output. Repeat for mouse1, mouse2 and so on until you find which recieves input from the remote.
When you find which device is your remote, its time to edit your XF86config or xorg.config file.
In /etc/X11/xorg.config, add the following lines to make your remote work:
Code: |
#This is my mouse, something similar should exist in your config
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mouse1"
#This is my ATI remote, add this code
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mouse2"
EndSection
|
Farther down in the file add this:
Code: |
#This should already exist in your config file
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
#Add this code
InputDevice "Mouse2" "SendCoreEvents"
|
Now restart X, and your ATI remote should work.
Let me know how it goes. |
|
Back to top |
|
 |
tucolino Tux's lil' helper


Joined: 12 Jun 2003 Posts: 90
|
Posted: Sun May 15, 2005 4:52 pm Post subject: |
|
|
ESCartist,
this is an old post, but your suggestion was a quick way of finding my ati remote... thanks... good first post! _________________ Alvaro Ramirez
http://www.xenodium.com/blog
eye candy corner |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|