Errors in /proc/bus/input/devices
Hi, I hope you could understand my poor english. I'm running a Kubuntu hardy with this huge problem: input peripherals are randomly associated with the devices in /proc/bus/input/devices, but they work only if associated with one of them. Here the example, this is a good one:
Quote:
Is there something I can do to stop this? |
Has this happened with other distrubutions that you have tried?....if so....I suspect you have the wrong bios options
2) have you got your motherboard manual or can you download it....so you can see the various options in your bios 3) what is the name of the bios supplier? award or phoenix etc 4) what is the name of your bootloader? is it lilo or grub or what? 5) assuming its grub you add (with root powers so save works).to your /boot/grub/menu.lst kernel line at end..........pci=routeirq but please be aware that we can only make one change at a time. 6) also you may have a interrupt conflict.....a conflict is more serious than a interrupt that is shared. conflicts normally occur if your bios is set to pic and not apic open a shell and run commands Code:
su |
oops you do not need root powers to run cat command and here is my output
cat /proc/interrupts CPU0 0: 287 IO-APIC-edge timer 1: 3670 IO-APIC-edge i8042 3: 1 IO-APIC-edge 4: 2 IO-APIC-edge 6: 9 IO-APIC-edge floppy 9: 0 IO-APIC-fasteoi acpi 12: 73194 IO-APIC-edge i8042 14: 17956 IO-APIC-edge pata_via 15: 0 IO-APIC-edge pata_via 16: 175455 IO-APIC-fasteoi EMU10K1, nvidia 18: 6909 IO-APIC-fasteoi eth0 20: 10724 IO-APIC-fasteoi sata_via 21: 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4, uhci_hcd:usb5 NMI: 0 Non-maskable interrupts LOC: 1725704 Local timer interrupts RES: 0 Rescheduling interrupts CAL: 0 function call interrupts TLB: 0 TLB shootdowns TRM: 0 Thermal event interrupts SPU: 0 Spurious interrupts ERR: 0 notice the APIC shows up and a number of devices SHARE the same interrupt but ERR is zero so there are no errors |
The output of "cat /proc/interrupts" is:
Quote:
I have grub, but I don't understand this: Quote:
|
interrupts looks fine....now try the grub boot parameter please
|
First of all, here it is my menu.lst:
Quote:
By the way, I have booted 2 times the generic kernel and 2 times the rt kernel: the generic one seems to work now, the rt doesn't: maybe this option is not supported by that kernel? |
Unfortunately on the third boot pcspeaker took the mouse's place even with the generic kernel.
|
did you write it correctly....yes....your observations are good as well...I do not use ubuntu but I have requests for you.
1) from now on ignore the recovery kernels pls 2) try only the generic and whatever the rt is....btw in your package manager there should be a description of rt...if you find it let me know pls....it may help others as well now for both...kernels...upload your /var/log/syslog to a online site that you can link to....if you do not have one...use www.ripway.com and its free. this is more work for you...and for others to read....but these logs tend to be large and may turn off others reading it so the link posted here is easier on the eye if you agree? 3) for each kernel I would like a link for the output of your cat /proc/interrupts AND I would like a link for each for the output of lsmod command....this lsmod command may not be useful...but we won't know until we read it eh? 4) can I suggest you name each file something like gen-syslog and rt-syslog gen-irq (for interrupts) and rt-irq gen-lsmod and rt-lsmod 5) Please remove that grub parameter from your (recovery mode) kernel kernel lines |
Now the other questions you ask and my reasons are:
to troubleshoot...you only want to make change at a time...so you know what u did and so know what has changed the effects. 2) did you have the same issue with the other distros?......what was wrong with them if it did not? as if I or others can not help....it may not be you....I suspect it never was...but your choice of distro....leaping ahead pclinuxos is based on mandriva....heh heh 3) knowing it is phoenix allows us to think about whether we should flash it...and where to get the flash files.....but altho I am experienced at it....it is the last resort and not recommended in case we can solve it for software issues. again...if your other distros did not have the problem....it is not your bios...but until you answer I am not sure ok? |
First of all, thanks a lot for you help, really. Then, here is the description of the rt-kernel:
Quote:
http://www.webalice.it/villasilvana/linux/gen-irq http://www.webalice.it/villasilvana/linux/gen-lsmod http://www.webalice.it/villasilvana/linux/gen-syslog http://www.webalice.it/villasilvana/linux/gen-devices (a save of the "cat /proc/bus/input/devices" command) http://www.webalice.it/villasilvana/linux/rt-irq http://www.webalice.it/villasilvana/linux/rt-syslog http://www.webalice.it/villasilvana/linux/rt-lsmod http://www.webalice.it/villasilvana/linux/rt-devices (the same as above, in this case mouse and ircommand are not working) I can't install more distros because my burner is broken, but the ones I used in the past worked well. |
bad luck on burner....and at least we know this is a distro specific issue and you previously had working hw with other distros you tried.
$50 burner is looking good 2) easy stuff first.... http://h1.ripway.com/aus9/sloteel/irq-diff.png see the main diff is irq 21 for flgx which is for graphics...I used to think that it was ati but then I spotted in your lsmod.... nvidia graphics. 3) I propose the following suggestions assume from now on....boot only the generic pls a) if you do not need pcspeaker, you can get rid of it completely ubuntu should have a folder in /etc/ called module or modules whatever....you will find files called blacklist just add a new line to one with the new line pcspkr b) if you do need it.....run a command with root powers after you have booted ....check your input devices first modprobe pcskr if there are no conflicts now add it to /etc/rc.local with root powers and see if on reboot your input devices is still good. pls report if any success....but do a few reboots so we have more confidence it is the pcskr. |
No, it still doesn't work, but maybe I forgot something important:
To make the ircommand work I put in rc.local this line: /usr/sbin/lircd -H dev/input -d /dev/input/event5 I tried to erase "-d /dev/input/event5" and reboot: even with the mouse in "...input5" (the place that the remote should have) the mouse itself works.... but the ircommand doesn't. Following the guide I use to configure the tvcard to indicate the device is a condition not escapable. Maybe this is the root of the problem? I have used this trick in every distro I got. |
not that I have infrared remote but you can see your device in here and can you name pls
http://lirc.sourceforge.net/remotes/ EDIT remove all work you did on attempt for pcskr since it failed. 2) you won't like it but please try this remove that rc.local line that fixes ir device to event5 reboot run your cat /proc/bus/input/devices command to see what events are free run manually /usr/sbin/lircd -H dev/input -d /dev/input/eventN where N is a free number |
My remote isn't there: I have one bundled with the tv card, a lifeview flyvideo 2000.
After a reboot as in 2) I got this: Quote:
I know that /dev/input/event5 is the place where it always worked but after 10 boots I couldn't have it in another place! But I think that this is the problem. Maybe I should write a script that read the content of /proc/bus/input/devices and sets the line I use to start lircd... |
I hopefully solved the problem with a very rough solution. First, I blacklisted pcspkr: I don't really need it, and its presence is going to complicate the situation. Then, I made this script:
Quote:
Aus9, thanks a lot for your time, your help and your learnings. |
All times are GMT -5. The time now is 08:25 AM. |