Re: /proc/interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/12/06, akumar@xxxxxxxxxxxxxxxxxx <akumar@xxxxxxxxxxxxxxxxxx> wrote:
>
> irq 1 for keyboard
> irq 3 for serial mouse
> irq 12 for PS/2 mouse
>
> -----Original Message-----
> From: Rajaram Suryanarayanan [mailto:rajaram_linux@xxxxxxxxx]
> Sent: Friday, January 13, 2006 12:28 PM
> To: kernelnewbies@xxxxxxxxxxxx
> Subject: /proc/interrupts
>
>
>  Hi,
>
> I am trying to trace the IRQ number of my keyboard and mouse from
> /proc/interrupts.
>
> The contents of my /proc/interrupts is
>
> [root@localhost ~]# cat /proc/interrupts
>            CPU0
>   0:     547208    IO-APIC-edge  timer
>   7:          0    IO-APIC-edge  parport0
>   8:         10    IO-APIC-edge  rtc
>   9:          0   IO-APIC-level  acpi
>  12:        102    IO-APIC-edge  i8042
>  14:      18447    IO-APIC-edge  ide0
> 169:       6477   IO-APIC-level  eth0, i915@pci:0000:00:02.0
> 185:      14483   IO-APIC-level  libata
> 193:       6420   IO-APIC-level  Intel ICH6, uhci_hcd:usb5
> 201:          3   IO-APIC-level  ehci_hcd:usb1, uhci_hcd:usb2
> 209:      40821   IO-APIC-level  uhci_hcd:usb3
> 217:          0   IO-APIC-level  uhci_hcd:usb4
> NMI:          0
> LOC:     547164
> ERR:          0
> MIS:          0
> [root@localhost ~]#
>
> I am not able to find out which IRQ above corresponds to the keyboard and
> mouse. I tried disable_irq() for each one of the IRQs mentioned above, but
> nothing disabled the mouse or keyboard. But disable_irq(169) disabled eth0
> as expected.
>
> Can anybody please help ?
>
> Thanks,
> Rajaram.
>
If Your mouse is USB then it would be using one of the USB interrupt
lines which you can see in the listing. Your are not going to see the
word mouse in /proc/interrupts. Try to figure out the type of your
mouse
i.e: PS/2, Serial or USB and check for corresponding entry in /proc/interrupts

Nauman


>
>
>  ________________________________
>  Yahoo! Photos
> Ring in the New Year with Photo Calendars. Add photos, events, holidays,
> whatever.
>
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux