View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 27 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jan 21, 2004 3:27 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Quote:
billytwowilly said in a locked thread:

I'd like to see drivers for tha ati rf remote included in R5 of knoppmyth.
I think the inclusion of those drivers would be beneficial because the ati remote is probably one of the nicest remotes I've come in contact with and a fair amount of mythtv users own one.
The drivers can be found at http://gatos.sourceforge.net/ati_remote.php
and a handy little patch that changes the keymappings to something more useful to mythtv can be found at:http://homepage.mac.com/johnsflowers/FreeplayTV/Documentation.html
right near the bottom.
As far as I'm aware of there are no dependencies for this module, or than the input.o, mousedev.o, keybdev.o, and hid.o kernel modules, which are fairly standard and are already included in knoppmyth (I think).


Thanks for the info billytwowilly. I just got a remote wonder. Did a clean install of Knoppmyth R4 on a new PC. I got the files and read the instructions from the 2 links you talked about, but I still can't get any remote functions to work Here's what I did:

Got these 2 files:

ati_remote-2.1.1.tgz
ati_remote.diff

(In /home/mythtv/)
$ tar zxvf ati_remote-2.1.1.tgz
$ cp ati_remove.diff ./ati_remote
$ cd ati_remote

mythtv@mythtv-bedroom:~/ati_remote $ patch -p 0 < ati_remote.diff
can't find file to patch at input line 1
Perhaps you used the wrong -p or --strip option?
File to patch:

I entered:

File to patch: /home/mythtv/ati_remote/ati_remote.c
I: No such file or directory
Skip this patch? [y]

mythtv@mythtv-bedroom:~/ati_remote $ make
gcc -m486 -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -DMODULE -D__KERNEL__ -DLINUX -I/usr/src/linux/include -c ati_remote.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.

(Guess that worked.)

mythtv@mythtv-bedroom:~/ati_remote $ make test
sync
insmod ./ati_remote.o
./ati_remote.o: unresolved symbol input_register_device
./ati_remote.o: unresolved symbol input_unregister_device
./ati_remote.o: unresolved symbol input_event
make: *** [test] Error 1
mythtv@mythtv-bedroom:~/ati_remote $

What am I doing wrong?

Thanks!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 3:45 pm 
Offline
Joined: Fri Nov 14, 2003 4:02 pm
Posts: 68
Location: Edmonton, Alberta, Canada
mythtv@mythtv-bedroom:~/ati_remote $ patch -p 0 < ati_remote.diff
can't find file to patch at input line 1
Perhaps you used the wrong -p or --strip option?
File to patch:

That tells you that it can't find the file to patch. The question is then "Is ati_remote.c in the directory with the patch file?" because I would tend to think no... the other possibility is that the patch no longer works with a newer release of the ati_remote code.. I don't think that is the case though..


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 3:46 pm 
Offline
Joined: Fri Nov 14, 2003 4:02 pm
Posts: 68
Location: Edmonton, Alberta, Canada
Oh yah,
That unresolved symbol stuff is usually ok. It doesn't seem to affect the workings of the program.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 4:02 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
hmm... after doing the steps I wrote about in the post, I restarted gdm, but still have no remote functionality.

The README says
Quote:
ATI USB Remote Control driver

This is an experimental driver.. who knows what it'll do ?

To use:

* turn on USB and "input" support in the kernel
* make
* make test
* configure X to use /devfs/input/mice as a mouse
* start X - enjoy !

loading module like this:

insmod ati_remote channel_mask=16


But this site you referenced says:

Quote:
The remote works without modifying /etc/X11/XFConfig, but you can get rid of the mouse & only use the remote by changing the 'mouse' device to /dev/input/mice.


The only other thing I can figure is doing the insmod command:

mythtv@mythtv-bedroom:~/ati_remote $ insmod ati_remote channel_mask=16
Using /lib/modules/2.4.21-xfs/misc/ati_remote.o
/lib/modules/2.4.21-xfs/misc/ati_remote.o: unresolved symbol input_register_device
/lib/modules/2.4.21-xfs/misc/ati_remote.o: unresolved symbol input_unregister_device
/lib/modules/2.4.21-xfs/misc/ati_remote.o: unresolved symbol input_event

Is there something else I need to do to get this to work?

Thanks!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Last edited by graysky on Wed Jan 21, 2004 4:05 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 4:05 pm 
Offline
Joined: Fri Nov 14, 2003 4:02 pm
Posts: 68
Location: Edmonton, Alberta, Canada
you have to modprobe the module after you make install it.. and if it isn't patched then you won't have very much functionality anyway because the keys are bound to fairly useless keys in the default configuration... you should also set the module up to be loaded at boot..


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 4:13 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Thanks for the quick reply :)

Is this correct (you're dealing with a LINUX newbie here)

root@mythtv-bedroom:/home/mythtv# modprobe ati_remote
Note: /etc/modules.conf is more recent than /lib/modules/extra/modules.dep
modprobe: Can't locate module ati_remote

Also, how does one get a module to load up at boot?

Thanks man!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 4:15 pm 
Offline
Joined: Fri Nov 14, 2003 4:02 pm
Posts: 68
Location: Edmonton, Alberta, Canada
If you get this in the next ten minutes just go on #knoppmyth.. this is kind of tedious;) If you go there and I'm not around just post another message here and I will be alerted and respond to this question on here.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 4:20 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I'm there dude... once we get this working. I'll write a howto based on what we do so others can use the info also.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 4:22 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Hey, regarding the patch:

root@mythtv-bedroom:/home/mythtv/ati_remote# patch -p 0 < ati_remote.diff
can't find file to patch at input line 1
Perhaps you used the wrong -p or --strip option?
File to patch: /home/mythtv/ati_remote/ati_remote.c
patching file /home/mythtv/ati_remote/ati_remote.c
root@mythtv-bedroom:/home/mythtv/ati_remote#

seems like it worked :)

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 7:16 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
OK! It's working!

h0leman and billytwowilly get the credit for this. I (with help) will make a script to do what it takes to get this to work for others. And, I'll post it in the howto area when it's finished!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 8:09 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Quote:
<billytwowilly> I think I just put it in with /etc/modules or something.
<billytwowilly> input
<billytwowilly> mousedev
<billytwowilly> keybdev
<billytwowilly> hid
<billytwowilly> ati_remote
<billytwowilly> put each of those lines in /etc/modules
<billytwowilly> and they'll load at boot
<billytwowilly> in that order
<billytwowilly> sorry dude, I forgot about that.
<billytwowilly> I haven't had to install ati remote since shortly after r4 was released.


What is the correct syntax for this? Can you paste your /etc/modules.conf in this thread?

Thanks again for the help!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 9:03 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
note that if you put it directly in modules.conf it is VERY likely to dissapear. you should put it in a file in /etc/modutils/

then run update-modules


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 9:47 pm 
Offline
Joined: Fri Nov 14, 2003 4:02 pm
Posts: 68
Location: Edmonton, Alberta, Canada
I just put those words into /etc/modules in the order that I pasted them into the channel.
ie, I added this to the end of /etc/modules:
input
mousedev
keybdev
hid
ati_remote

It has worked without issue since I installed R4 shortly after its release. I think xsecrets suggestion is a much cleaner way to do things however.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 2:40 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Sounds great man.. I'll tryiit later today. Thanks for the info!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
PostPosted: Sun Feb 01, 2004 10:33 am 
Offline
Joined: Sat Jan 31, 2004 2:48 pm
Posts: 77
I saw a ton of great work in this thread, is there a HOW-TO for newbie's on how to get this working.... I'd LOVE TO USE IT....

Please advise and thanks.... :?:


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu