Author |
Message |
Too Many Secrets
|
Posted: Fri Dec 23, 2011 9:44 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
Well after a long day of upgrading, I'm all up to 7.1 on 3 machines.
But... both use streamzap remotes and both are not working. I had Custom remotes setup, bumped down to the stock remote and still nothing. I see I'm not the first here, is there a fix yet?
TIA
Code: lsmod | grep streamzap rc_streamzap 922 0 streamzap 4048 0 rc_core 13127 12 cx88xx,ir_lirc_codec,ir_rc5_sz_decoder,ir_sony_decoder,ir_jvc_decoder,rc_streamzap,ir_rc6_decoder,ir_rc5_decoder,streamzap,ir_nec_decoder,saa7134 usbcore 119027 5 streamzap,usb_storage,ohci_hcd,ehci_hcd
Code: cat /sys/class/rc/rc0/protocols rc-5 nec rc-6 jvc sony rc-5-sz [lirc]
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Sat Dec 24, 2011 12:21 am |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
OK this seemed to work on one FE. But not the FE that I did a update with disk. (I did run updates after install)
|
|
Top |
|
 |
marc.aronson
|
Posted: Sat Dec 24, 2011 2:02 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
The streamzap worked for me on 7.1, but I did a fresh install. I did have to downgrade the version of the nvidia-drivers I was using as the frontend would blow up periodically, but the streamzap worked before and after.
If you run "irw", do you see any of the events?
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
Martian
|
Posted: Sat Dec 24, 2011 11:38 am |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
This is interesting as I can get my Streamzap to work with my system but can't get my Streamzap receiver to work with my custom remote no matter what I do (it worked fine in 6.04)
Martian
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Sat Dec 24, 2011 11:35 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
marc.aronson wrote: The streamzap worked for me on 7.1, but I did a fresh install. I did have to downgrade the version of the nvidia-drivers I was using as the frontend would blow up periodically, but the streamzap worked before and after.
If you run "irw", do you see any of the events?
I get nothing with irw. Hmm...
OK, changed USB ports and now it's working, sort of! Weird!! Only arrow keys work and it's only after I plug in the receiver after a reboot!? Enter key or exit keys don't work, only arrow keys and only after I unplug and re-plug the receiver.
|
|
Top |
|
 |
marc.aronson
|
Posted: Sun Dec 25, 2011 1:38 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
Hummm... There is a lot written out there about an issue where someone else picks up the IR events instead of or in addition to lirc. There is also an issue that comes up if you downgraded to version 280.13 of the nvidia driers due to the instability of the driver bundled with 7.1. Some things to try:
1. Do your keyboard and mouse work? If not, try "pacman -Sy xf86-input-mouse xf86-input-keyboard", reboot and see if that solves the problem.
2. If that doesn't help, post the contents of "/sys/class/rc/rc0/protocols" and "/var/log/Xorg.0.log".
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Sun Dec 25, 2011 3:52 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
marc.aronson wrote: Hummm... There is a lot written out there about an issue where someone else picks up the IR events instead of or in addition to lirc. There is also an issue that comes up if you downgraded to version 280.13 of the nvidia driers due to the instability of the driver bundled with 7.1. Some things to try:
1. Do your keyboard and mouse work? If not, try "pacman -Sy xf86-input-mouse xf86-input-keyboard", reboot and see if that solves the problem.
2. If that doesn't help, post the contents of "/sys/class/rc/rc0/protocols" and "/var/log/Xorg.0.log".
Thanks for the help Marc. I'm all stock on the nvidia drivers. Would rolling back help the blocky look on some transcodes?
I don't have a problem with keyboard and have no mouse hooked up, should I still try the above fix?
Code: cat /sys/class/rc/rc0/protocols rc-5 nec rc-6 jvc sony rc-5-sz [lirc] This is the Streamzap from Xorg, idk if more would be helpful. Is the "configuring as keyboard" correct? Code: cat /var/log/Xorg.0.log |grep Streamzap [ 21.360] (II) config/udev: Adding input device Streamzap PC Remote Infrared Receiver (0e9c:0000) (/dev/input/event4) [ 21.360] (**) Streamzap PC Remote Infrared Receiver (0e9c:0000): Applying InputClass "evdev keyboard catchall" [ 21.360] (**) Streamzap PC Remote Infrared Receiver (0e9c:0000): always reports core events [ 21.360] (**) Streamzap PC Remote Infrared Receiver (0e9c:0000): Device: "/dev/input/event4" [ 21.367] (--) Streamzap PC Remote Infrared Receiver (0e9c:0000): Found keys [ 21.367] (II) Streamzap PC Remote Infrared Receiver (0e9c:0000): Configuring as keyboard [ 21.367] (II) XINPUT: Adding extended input device "Streamzap PC Remote Infrared Receiver (0e9c:0000)" (type: KEYBOARD)
|
|
Top |
|
 |
marc.aronson
|
Posted: Sun Dec 25, 2011 4:53 pm |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
I don't know if the drivers are used in transcoding. What many of us have noticed is a high degree on instability with the frontend with the stock driver. If you aren't having problems with the myth frontend periodically blowing up on you, I wouldn't make any changes. If you do run into problems with front end stability, check out this thread.
I don't know if the pacman installs I suggest would help or not. The logs suggest that your IR receiver is being treated like a keyboard. As a first step I would try the idea documented made here, but I would do it this way:
1. Save the current values: cat /sys/class/rc/rc0/protocols > /myth/tmp/protocols.save
2. Make the change: echo lirc> /sys/class/rc/rc0/protocols
I would also make sure that that your lirc daemon is running: ps auxw | grep lircd
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Mon Dec 26, 2011 1:46 am |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
marc.aronson wrote: I don't know if the drivers are used in transcoding. What many of us have noticed is a high degree on instability with the frontend with the stock driver. If you aren't having problems with the myth frontend periodically blowing up on you, I wouldn't make any changes. If you do run into problems with front end stability, check out this thread. I don't know if the pacman installs I suggest would help or not. The logs suggest that your IR receiver is being treated like a keyboard. As a first step I would try the idea documented made here, but I would do it this way: 1. Save the current values: cat /sys/class/rc/rc0/protocols > /myth/tmp/protocols.save 2. Make the change: echo lirc> /sys/class/rc/rc0/protocols I would also make sure that that your lirc daemon is running: ps auxw | grep lircd
No dice. I tried the above protocols edit, but I'm not seeing any actual change, it still appears the same (see first post). I've read thru the thread you linked, and that just doesn't seem to be making a difference. 
|
|
Top |
|
 |
marc.aronson
|
Posted: Mon Dec 26, 2011 8:50 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
I only have 1 more suggestion, and it seems really unlikely, but it can't make things any worse and I suspect you will need to downgrade your nvidia driver at some point. The full thread is here, but here is a synopsis of the steps:
1.1. Save your current /etc/X11/xorg.conf file
1.2. Download Nvidia drivers ( http://www.nvidia.com/Download/index.aspx?lang=en-us)
1.3. sudo pacman –Sy mercurial
1.4. sudo pacman –Sy gcc
1.5. sudo pacman –Sy make
1.6. sudo pacman -Sy kernel26-headers
1.7. sv stop frontend
1.8. sh NVIDIA-Linux-x86-280.13.run and follow scripts.
1.9. pacman -Sy xf86-input-mouse xf86-input-keyboard
1.10. Reboot.
Also check that /etc/lircrc and /etc/lircd.conf are pointing at the correct configuration files. Sorry I don't have any better ideas...
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Mon Dec 26, 2011 5:44 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
Thanks Marc for all your help. I was able to get the remote to work after a few more searches and tinkering.
First I blacklistedthe remote so that xorg wouldn't recognize it as a keyboard.
I also had to manually recreate the /etc/lircrc and /etc/lircd.conf which were missing for some reason.
Finally I noticed that somewhere along the way, my changes to the remote on the FE were not being made. From this post, I checked the /etc/systemconfig file and made a change manually which then enabled the changes on the FE to be accepted again.
Bottom line, I'm working and it survives a reboot.
|
|
Top |
|
 |
TheBigRed
|
Posted: Fri Jan 13, 2012 10:20 pm |
|
Joined: Tue Apr 18, 2006 3:42 pm
Posts: 46
Location:
Central PA
|
Too Many Secrets wrote: Well after a long day of upgrading, I'm all up to 7.1 on 3 machines. But... both use streamzap remotes and both are not working. I had Custom remotes setup, bumped down to the stock remote and still nothing. I see I'm not the first here, is there a fix yet? TIA Code: lsmod | grep streamzap rc_streamzap 922 0 streamzap 4048 0 rc_core 13127 12 cx88xx,ir_lirc_codec,ir_rc5_sz_decoder,ir_sony_decoder,ir_jvc_decoder,rc_streamzap,ir_rc6_decoder,ir_rc5_decoder,streamzap,ir_nec_decoder,saa7134 usbcore 119027 5 streamzap,usb_storage,ohci_hcd,ehci_hcd
Code: cat /sys/class/rc/rc0/protocols rc-5 nec rc-6 jvc sony rc-5-sz [lirc] I've got this problem as well. After some searching and trial and error here are my findings. But first where the system is at. I decided since IR is now in the kernel I didn't want/need lircd because I only want/need the limited functionality, so I have removed the lircd service and am dealing with just the kernel and ir-keytable. On boot with the streamzap plugged in if I do nothing else but start ir-keytable -t I see the streamzap keys defined properly (kind of) As others have found only the arrow keys seem to work. So, we must edit the keymap file. For some time with the keymap file edited when I would "write" the file (ir-keytable -w /etc/rc_keymaps/streamzap) I'd get back an error about invalid parameter. For some time I thought this had to do entirely with the command. Tonight I found however what it did not like was the "type" definition on the first line of the keymap file. At this point I'd try using the -p option on ir-keytable with all the protocols (commonly listed) at which point when I would test the codes were nowhere near what they needed to be. After a closer look at Code: ir-keytable -v both after a reboot and after listing all protocols I noticed this difference: Before using -p option Code: /sys/class/rc/rc0/protocols protocol rc-5-sz (enabled) After using -p option Code: /sys/class/rc/rc0/protocols protocol rc-5-sz (disabled) After much searching I've found some posts on the internet about not being able to dissable the protocol due to the order it is listed in the protocol, but my problem is I can't re-enable it. When I try to enable it with: Code: ir-keytable -p rc5sz I get this error: Code: Invalid parameter(s) ir-keytable: -p: (PROGRAM ERROR) Option should have been recognized!? Try `ir-keytable --help' or `ir-keytable --usage' for more information.
Basically I can't find a way to re-enable the protocol that is needed for the streamzap to work correctly, and since I can't get it to work from the command line it also won't take the parameter from the keymap file either. And since I can't read a keymap file without having the protocol listed in the file I can't change the keymap and use it, so beyond the arrow keys I don't have any functionality.
The only other option I can think of at the moment, as I've found suggested elsewhere, is to blacklist the kernel module and use lirc to handle things, but since it appears that looking forward the kernel is the way to go that seems like taking steps backwards.
_________________ ---------
Amos B.
|
|
Top |
|
 |