Re: USB Device stops working after 200001 interrupts

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

 



Josh

Could you provide kernel logs (dmesg) which include logs from IR
module ( http://lxr.free-electrons.com/source/drivers/media/rc/mceusb.c)

Cheers

On Wed, Jan 22, 2014 at 11:15 PM, Josh Bendavid <joshbendavid@xxxxxxxxx> wrote:
> I have a usb infrared remote receiver (Windows media center variety) which
> works correctly at boot, but stops working sometime later.
>
> Kernel gives:
> [ 1101.490321] irq 21: nobody cared (try booting with the "irqpoll" option)
> [ 1101.490328] CPU: 0 PID: 0 Comm: swapper/0 Tainted: P O 3.13.0-rc8 #1
> [ 1101.490330] Hardware name: System manufacturer System Product
> Name/P5N7A-VM, BIOS 0407 11/18/2008
> [ 1101.490333] 0000000000000000 ffff88011ae2e584 ffffffff81704b5d
> ffff88011ae2e500
> [ 1101.490337] ffffffff8105c584 ffff88011ae2e500 0000000000000000
> 0000000000000015
> [ 1101.490341] ffffffff8105c930 ffff88011ae2e500 0000000000000000
> ffff88011ae2e500
> [ 1101.490344] Call Trace:
> [ 1101.490346] [] ? dump_stack+0x41/0x51
> [ 1101.490358] [] ? __report_bad_irq+0x1e/0xbb
> [ 1101.490361] [] ? note_interrupt+0x163/0x1ef
> [ 1101.490366] [] ? handle_irq_event_percpu+0xfd/0x114
> [ 1101.490370] [] ? handle_irq_event+0x2e/0x4d
> [ 1101.490373] [] ? handle_fasteoi_irq+0x71/0xa3
> [ 1101.490377] [] ? handle_irq+0x15/0x20
> [ 1101.490380] [] ? do_IRQ+0x41/0x97
> [ 1101.490384] [] ? common_interrupt+0x67/0x67
> [ 1101.490498] [] ? rm_isr+0x93/0x129 [nvidia]
> [ 1101.490502] [] ? __do_softirq+0x92/0x1d9
> [ 1101.490506] [] ? __do_softirq+0x57/0x1d9
> [ 1101.490509] [] ? get_vtime_delta+0xd/0x59
> [ 1101.490513] [] ? irq_exit+0x51/0xbb
> [ 1101.490516] [] ? do_IRQ+0x81/0x97
> [ 1101.490519] [] ? common_interrupt+0x67/0x67
> [ 1101.490521] [] ? tick_broadcast_oneshot_control+0x146/0x166
> [ 1101.490529] [] ? cpuidle_enter_state+0x43/0xa6
> [ 1101.490532] [] ? cpuidle_enter_state+0x3c/0xa6
> [ 1101.490535] [] ? cpuidle_idle_call+0xc3/0x109
> [ 1101.490539] [] ? arch_cpu_idle+0x6/0x17
> [ 1101.490542] [] ? cpu_startup_entry+0xf1/0x170
> [ 1101.490546] [] ? start_kernel+0x3bd/0x3c8
> [ 1101.490549] [] ? repair_env_string+0x57/0x57
> [ 1101.490551] handlers:
> [ 1101.490554] [] usb_hcd_irq
> [ 1101.490556] Disabling IRQ #21
>
> and the output of cat /proc/interrupts:
> 0: 2963382 0 IO-APIC-edge timer
> 1: 3 0 IO-APIC-edge i8042
> 7: 1 0 IO-APIC-edge
>
> 8: 1 0 IO-APIC-edge rtc0
> 9: 0 0 IO-APIC-fasteoi acpi
> 12: 4 0 IO-APIC-edge i8042
> 20: 427944 0 IO-APIC-fasteoi ehci_hcd:usb2, eth0
> 21: 200001 0 IO-APIC-fasteoi ohci_hcd:usb4
> 22: 2 0 IO-APIC-fasteoi ehci_hcd:usb1
> 23: 3193 0 IO-APIC-fasteoi ohci_hcd:usb3, snd_hda_intel
> 40: 379222 0 PCI-MSI-edge ahci
> 41: 2658415 0 PCI-MSI-edge nvidia
> NMI: 3636 547 Non-maskable interrupts
> LOC: 1016378 1512153 Local timer interrupts
> SPU: 0 0 Spurious interrupts
> PMI: 3636 547 Performance monitoring interrupts
> IWI: 81542 67824 IRQ work interrupts
> RTR: 0 0 APIC ICR read retries
> RES: 24020 59830 Rescheduling interrupts
> CAL: 64 103 Function call interrupts
> TLB: 6505 1455 TLB shootdowns
> ERR: 1
> MIS: 0
>
> output of lspci:
> lspci
> 00:00.0 Host bridge: NVIDIA Corporation MCP79 Host Bridge (rev b1)
> 00:00.1 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
> 00:03.0 ISA bridge: NVIDIA Corporation MCP79 LPC Bridge (rev b2)
> 00:03.1 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
> 00:03.2 SMBus: NVIDIA Corporation MCP79 SMBus (rev b1)
> 00:03.3 RAM memory: NVIDIA Corporation MCP79 Memory Controller (rev b1)
> 00:03.4 RAM memory: NVIDIA Corporation Device 0a98 (rev b1)
> 00:03.5 Co-processor: NVIDIA Corporation MCP79 Co-processor (rev b1)
> 00:04.0 USB controller: NVIDIA Corporation MCP79 OHCI USB 1.1 Controller
> (rev b1)
> 00:04.1 USB controller: NVIDIA Corporation MCP79 EHCI USB 2.0 Controller
> (rev b1)
> 00:06.0 USB controller: NVIDIA Corporation MCP79 OHCI USB 1.1 Controller
> (rev b1)
> 00:06.1 USB controller: NVIDIA Corporation MCP79 EHCI USB 2.0 Controller
> (rev b1)
> 00:08.0 Audio device: NVIDIA Corporation MCP79 High Definition Audio (rev b1)
> 00:09.0 PCI bridge: NVIDIA Corporation MCP79 PCI Bridge (rev b1)
> 00:0a.0 Ethernet controller: NVIDIA Corporation MCP79 Ethernet (rev b1)
> 00:0b.0 SATA controller: NVIDIA Corporation MCP79 AHCI Controller (rev b1)
> 00:0c.0 PCI bridge: NVIDIA Corporation MCP79 PCI Express Bridge (rev b1)
> 00:10.0 PCI bridge: NVIDIA Corporation MCP79 PCI Express Bridge (rev b1)
> 00:15.0 PCI bridge: NVIDIA Corporation MCP79 PCI Express Bridge (rev b1)
> 03:00.0 VGA compatible controller: NVIDIA Corporation C79 [GeForce 9300 /
> nForce 730i] (rev b1)
>
>
> output of lsusb -v
> Bus 003 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0         8
>   idVendor           0x046d Logitech, Inc.
>   idProduct          0xc517 LX710 Cordless Desktop Laser
>   bcdDevice           38.10
>   iManufacturer           1 Logitech
>   iProduct                2 USB Receiver
>   iSerial                 0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           59
>     bNumInterfaces          2
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xa0
>       (Bus Powered)
>       Remote Wakeup
>     MaxPower               98mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         3 Human Interface Device
>       bInterfaceSubClass      1 Boot Interface Subclass
>       bInterfaceProtocol      1 Keyboard
>       iInterface              0
>         HID Device Descriptor:
>           bLength                 9
>           bDescriptorType        33
>           bcdHID               1.10
>           bCountryCode            0 Not supported
>           bNumDescriptors         1
>           bDescriptorType        34 Report
>           wDescriptorLength      59
>          Report Descriptors:
>            ** UNAVAILABLE **
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0008  1x 8 bytes
>         bInterval              10
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         3 Human Interface Device
>       bInterfaceSubClass      1 Boot Interface Subclass
>       bInterfaceProtocol      2 Mouse
>       iInterface              0
>         HID Device Descriptor:
>           bLength                 9
>           bDescriptorType        33
>           bcdHID               1.10
>           bCountryCode            0 Not supported
>           bNumDescriptors         1
>           bDescriptorType        34 Report
>           wDescriptorLength     177
>          Report Descriptors:
>            ** UNAVAILABLE **
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x82  EP 2 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0008  1x 8 bytes
>         bInterval              10
> Device Status:     0x0000
>   (Bus Powered)
>
> Bus 004 Device 002: ID 1784:0008 TopSeed Technology Corp. eHome Infrared
> Transceiver
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0         8
>   idVendor           0x1784 TopSeed Technology Corp.
>   idProduct          0x0008 eHome Infrared Transceiver
>   bcdDevice            1.01
>   iManufacturer           1 Topseed Technology Corp.
>   iProduct                2 eHome Infrared Transceiver
>   iSerial                 3 TS0009Aa
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           32
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xa0
>       (Bus Powered)
>       Remote Wakeup
>     MaxPower              100mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass       255 Vendor Specific Class
>       bInterfaceSubClass    255 Vendor Specific Subclass
>       bInterfaceProtocol    255 Vendor Specific Protocol
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x01  EP 1 OUT
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0020  1x 32 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x82  EP 2 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0020  1x 32 bytes
>         bInterval               0
> Device Status:     0x0000
>   (Bus Powered)
>
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0002 2.0 root hub
>   bcdDevice            3.13
>   iManufacturer           3 Linux 3.13.0-rc8 ehci_hcd
>   iProduct                2 EHCI Host Controller
>   iSerial                 1 0000:00:04.1
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0004  1x 4 bytes
>         bInterval              12
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             6
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood       10 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
>    Port 3: 0000.0100 power
>    Port 4: 0000.0100 power
>    Port 5: 0000.0100 power
>    Port 6: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
>
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0002 2.0 root hub
>   bcdDevice            3.13
>   iManufacturer           3 Linux 3.13.0-rc8 ehci_hcd
>   iProduct                2 EHCI Host Controller
>   iSerial                 1 0000:00:06.1
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0004  1x 4 bytes
>         bInterval              12
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             6
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood       10 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
>    Port 3: 0000.0100 power
>    Port 4: 0000.0100 power
>    Port 5: 0000.0100 power
>    Port 6: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
>
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0001 1.1 root hub
>   bcdDevice            3.13
>   iManufacturer           3 Linux 3.13.0-rc8 ohci_hcd
>   iProduct                2 OHCI PCI host controller
>   iSerial                 1 0000:00:04.0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0002  1x 2 bytes
>         bInterval             255
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             6
>   wHubCharacteristic 0x0012
>     No power switching (usb 1.0)
>     No overcurrent protection
>   bPwrOn2PwrGood        1 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0303 lowspeed power enable connect
>    Port 3: 0000.0100 power
>    Port 4: 0000.0100 power
>    Port 5: 0000.0100 power
>    Port 6: 0000.0100 power
> Device Status:     0x0003
>   Self Powered
>   Remote Wakeup Enabled
>
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0001 1.1 root hub
>   bcdDevice            3.13
>   iManufacturer           3 Linux 3.13.0-rc8 ohci_hcd
>   iProduct                2 OHCI PCI host controller
>   iSerial                 1 0000:00:06.0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0002  1x 2 bytes
>         bInterval             255
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             6
>   wHubCharacteristic 0x0012
>     No power switching (usb 1.0)
>     No overcurrent protection
>   bPwrOn2PwrGood        1 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
>    Port 3: 0000.0103 power enable connect
>    Port 4: 0000.0100 power
>    Port 5: 0000.0100 power
>    Port 6: 0000.0100 power
> Device Status:     0x0003
>   Self Powered
>   Remote Wakeup Enabled
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux