View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Oct 10, 2004 7:34 am 
Offline
Joined: Sat Oct 02, 2004 10:52 pm
Posts: 41
I too would like to know how to get LIRC to take these remotes. I have the niveus, which according to ati-remote.c would be picked up as an NVIDIA remote (0xbc7 vendor id, 0x0005 product id) and so, I don't know why it wouldn't work.


- I configured and compiled for the LIRC atiusb module, no additional remotes/options
- I installed, and a device /dev/lirc0 was created (mknod -c 61 0 /dev/lirc0) on udev
- lircd would start just fine
- irw would start just fine, lircd would not crash
- pressing buttons on the remote got nothing
- rebooting made the device go away, though hotplug loaded the modules
- adding the appropriate line to modprobe.conf made the device reappear on boot, but irw still got nothing.

With the kernel module, I had some more luck. I edited the driver to recognize 0005 (niveus/nvidia) instead of 0004 (ati) and installed it. Starting GPM I was able to watch the mouse move, but keyboard events (from alphanumerics to control buttons) didn't work - or at least I didn't know how to test them.

Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 10:31 am 
Offline
Joined: Sat Oct 02, 2004 10:52 pm
Posts: 41
Ok, progress update. I now have buttons working and remapped in irw. I also maybe a .lircrc using the example one in the configfiles folder of the myth source based on the hauppauage remote.

- IRW is giving me proper response to remapped buttons
- myth is not responding at all to the remote

I am not using any other apps like xte or irxevent because I compiled myth with native lirc support.

Anybody fixed that problem before?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 10:47 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well I believe that mythtv at least by default in knoppmyth wants to have ~/.mythtv/lircrc and doesn't read ~/.lircrc

even if that's not it you may want to look at that file, because the syntax is a bit different than irxevent you put program mythtv or mplayer etc.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 10:54 am 
Offline
Joined: Sat Oct 02, 2004 10:52 pm
Posts: 41
I wasn't sure, so I made:

~/.lircrc
~/lircrc
~/.mythtv/.lircrc
~/.mythtv/lircrc

Here are the files

http://home.insightbb.com/~kleptophobiac/lircrc
http://home.insightbb.com/~kleptophobiac/lircd.conf

And proof irw works fine:
http://home.insightbb.com/~kleptophobiac/irw-output.txt


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 11:25 am 
Offline
Joined: Sat Oct 02, 2004 10:52 pm
Posts: 41
Well, I have permissions of the lirc0 and lircd devices set very loose, all permissions on the lircrc file set correctly. irw works for all accounts, and I just can't figure out what the problem is. :(

Here's some of the content of daemons.log:

Oct 10 12:15:23 mythtvbox init: Switching to runlevel: 6
Oct 10 12:16:19 mythtvbox wait_for_sysfs[634]: error: wait_for_sysfs needs an update to handle the device '/class/nvidia/nvidiactl' properly, please report to
<linux-hotplug-devel@lists.sourceforge.net>
Oct 10 12:16:23 mythtvbox wait_for_sysfs[1319]: error: wait_for_sysfs needs an update to handle the device '/class/lirc/lirc0' properly, please report to <lin
ux-hotplug-devel@lists.sourceforge.net>
Oct 10 12:16:25 mythtvbox wait_for_sysfs[1563]: error: wait_for_sysfs needs an update to handle the device '/class/video4linux/video0' properly, please report
to <linux-hotplug-devel@lists.sourceforge.net>
Oct 10 12:16:35 mythtvbox kdm: :0[2236]: PAM unable to dlopen(/lib/security/pam_console.so)
Oct 10 12:16:35 mythtvbox kdm: :0[2236]: PAM [dlerror: /lib/security/pam_console.so: cannot open shared object file: No such file or directory]
Oct 10 12:16:35 mythtvbox kdm: :0[2236]: PAM adding faulty module: /lib/security/pam_console.so

I don't know why it is complaining about PAM, nvidia, or v4l, since all those seem to work just fine.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 2:26 pm 
Offline
Joined: Sat Oct 02, 2004 10:52 pm
Posts: 41
oops, I had a typo in lircrc. Fixed.

Yay! Myth works with the niveus!!!!


Top
 Profile  
 
 Post subject: Problems with my remote
PostPosted: Tue Oct 19, 2004 8:35 am 
Offline
Joined: Tue Oct 19, 2004 12:31 am
Posts: 1
my remote is basicly a niveus. I got it from one box media center and it looks exactly the same. i have tried what you have there but it doesn't work at all.

root@box:~ # mknod -c 61 0 /dev/lirc0
mknod: invalid option -- c
Try `mknod --help' for more information.
root@box:~ #

Module Size Used by Tainted: P
ati_remote 5212 0 (unused)
hid 20164 0 (unused)
usb-storage 64352 0
uhci 25500 0 (unused)
usb-ohci 19048 0 (unused)
ehci-hcd 17740 0 (unused)
snd-pcm-oss 36420 0 (autoclean)
lirc_i2c 4448 0 (autoclean) (unused)
lirc_dev 8592 0 (autoclean) [lirc_i2c]
nvidia 4586252 6 (autoclean)
apm 9544 1 (autoclean)
nls_iso8859-1 2812 1 (autoclean)
nls_cp437 4316 1 (autoclean)
keybdev 1956 0 (unused)
mousedev 4180 0
joydev 5792 0
input 3200 0 [ati_remote hid keybdev mousedev joydev]
ext3 65732 0
jbd 48144 0 [ext3]
autofs4 9332 0 (unused)
af_packet 14632 0
snd-mixer-oss 11640 0 [snd-pcm-oss]
snd-intel8x0 17636 0
snd-pcm 56000 0 [snd-pcm-oss snd-intel8x0]
snd-timer 14088 0 [snd-pcm]
snd-ac97-codec 32832 0 [snd-intel8x0]
snd-page-alloc 4316 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 3168 0 [snd-intel8x0]
snd-rawmidi 13088 0 [snd-mpu401-uart]
snd-seq-device 3824 0 [snd-rawmidi]
snd 27940 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pc
m snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
agpgart 42852 3
8139too 14664 1
mii 2176 0 [8139too]
crc32 2848 0 [8139too]
tuner 12712 1 (autoclean)
bttv 110572 0
video-buf 11392 0 [bttv]
btcx-risc 2216 0 [bttv]
i2c-algo-bit 7048 1 [bttv]
i2c-core 12452 0 [lirc_i2c tuner bttv i2c-algo-bit]
soundcore 3524 3 [snd bttv]
videodev 6016 2 [bttv]
v4l2-common 3104 0 [bttv]
serial 44708 0
usbcore 59980 1 [ati_remote hid usb-storage uhci usb-ohci ehci
-hcd]
rtc 7432 0


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 22, 2004 1:34 am 
Offline
Joined: Sat Oct 02, 2004 10:52 pm
Posts: 41
It looks like you are using the kernel ati-remote modules, I never did get those to work properly. I suggest you remove the ati-remote module from your kernel and use the lirc drivers.


Top
 Profile  
 
 Post subject: Niveus PC Remote
PostPosted: Thu Dec 01, 2005 11:33 am 
Offline
Joined: Thu Dec 01, 2005 11:05 am
Posts: 1
Location: Tulsa
I have had succes with the Niveus PC Remote also. It is model number UR88A, with an X10 USB RF receiver, model # CM21A.
During install of KnoppMyth R5A26, at the remote selection screen, I chose option 4 (atiusb). It gave an error (chose to install LIRC instead), but the receiver was detected none the less. After install completed, I was able to make an irrecord file (as root) and made it the /etc/lircd.conf file. Then I had to create a .lircrc file in my home directory (as user) and viola!
Works very well, need to tweak the mappings to my liking but works great.
Have to add the caveat that YMMV..... :D


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 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