LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Strange interaction between mic/webcam and wifi + mouse (https://www.linuxquestions.org/questions/linux-kernel-70/strange-interaction-between-mic-webcam-and-wifi-mouse-807689/)

fakie_flip 05-13-2010 05:46 PM

Strange interaction between mic/webcam and wifi + mouse
 
Hello, I had a HD Hue webcam with built-in microphone given to me
during a Christmas long ago. In the beginning. I never had problems
with it. The microphone on it worked out of the box. I may have just
needed to set it as the default audio input. And for the camera, I got
the microdia driver source, compiled from git, stripped debugging
symbols, modprobed it, depmod -a and all that good stuff, and it
worked, and a future release of that driver vastly improved the
quality of the webcam image.

Now with current Ubuntu distros, I plug it in, and Linux goes haywire.
For many days, I was trying to understand why my wifi had seemed to
quit working on me in Ubuntu Linux. It turned out that if I left the
webcam with built-in microphone unplugged and booted, everything was
fine. Now, I can have everything working, plug it in, set the
microphone as the default audio input. Then the wireless immediately
goes out. Shortly after that, the LED on the mouse turns off, and I
can no longer use the mouse. So what I did was, I intentionally caused
this to happen again, and using keyboard shortcuts to navigate around
Gnome, I was able to get some output right after it happened, unplug
it, use system alt req keys to reboot and send this email. Here's the
output.

dmesg:

Code:

1.6.208.46 LEN=1492 TOS=0x00 PREC=0x00 TTL=64 ID=44201 DF PROTO=TCP
SPT=46365 DPT=44589 WINDOW=12564 RES=0x00 ACK URGP=0
[  180.147852] usb 2-1: USB disconnect, address 9
[  180.910023] usb 2-1: new low speed USB device using ohci_hcd and address 10
[  181.103185] usb 2-1: configuration #1 chosen from 1 choice
[  181.111384] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input13
[  181.111585] generic-usb 0003:046D:C00E.0009: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  186.343665] usb 2-1: USB disconnect, address 10
[  187.140030] usb 2-1: new low speed USB device using ohci_hcd and address 11
[  187.343187] usb 2-1: configuration #1 chosen from 1 choice
[  187.351620] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input14
[  187.351736] generic-usb 0003:046D:C00E.000A: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  187.652692] usb 2-1: USB disconnect, address 11
[  188.471335] usb 2-1: new low speed USB device using ohci_hcd and address 12
[  188.663182] usb 2-1: configuration #1 chosen from 1 choice
[  188.672386] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input15
[  188.673641] generic-usb 0003:046D:C00E.000B: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  199.305311] usb 2-1: USB disconnect, address 12
[  200.050023] usb 2-1: new low speed USB device using ohci_hcd and address 13
[  200.110030] hub 2-0:1.0: unable to enumerate USB device on port 1
[  200.800029] usb 2-1: new low speed USB device using ohci_hcd and address 14
[  200.993183] usb 2-1: configuration #1 chosen from 1 choice
[  201.002396] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input16
[  201.002603] generic-usb 0003:046D:C00E.000C: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  203.775919] usb 1-3: USB disconnect, address 9
[  203.776078] gspca: disconnect complete
[  205.550042] usb 1-3: new high speed USB device using ehci_hcd and address 17
[  205.703381] usb 1-3: configuration #1 chosen from 1 choice
[  205.703593] gspca: probing 0c45:6282
[  205.728767] sn9c20x: MT9M111 sensor detected
[  205.728853] gspca: probe ok
[  205.728928] gspca: probing 0c45:6282
[  205.731520] 17:2:1: cannot get freq at ep 0x84
[  205.777023] 17:2:1: cannot get freq at ep 0x84
[  205.781776] 17:2:1: cannot get freq at ep 0x84
[  224.921987] usb 2-1: USB disconnect, address 14
[  225.681287] usb 2-1: new low speed USB device using ohci_hcd and address 15
[  225.873192] usb 2-1: configuration #1 chosen from 1 choice
[  225.881409] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input17
[  225.882222] generic-usb 0003:046D:C00E.000D: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  229.660066] usb 2-1: USB disconnect, address 15
[  230.060045] usb 2-1: new low speed USB device using ohci_hcd and address 16
[  230.253191] usb 2-1: configuration #1 chosen from 1 choice
[  230.261408] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input18
[  230.261662] generic-usb 0003:046D:C00E.000E: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  235.930055] usb 2-1: USB disconnect, address 16
[  236.320025] usb 2-1: new low speed USB device using ohci_hcd and address 17
[  236.513189] usb 2-1: configuration #1 chosen from 1 choice
[  236.522296] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input19
[  236.522412] generic-usb 0003:046D:C00E.000F: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  280.275281] usb 2-1: USB disconnect, address 17
[  281.030079] usb 2-1: new low speed USB device using ohci_hcd and address 18
[  281.223200] usb 2-1: configuration #1 chosen from 1 choice
[  281.231416] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input20
[  281.231535] generic-usb 0003:046D:C00E.0010: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  281.925832] usb 2-1: USB disconnect, address 18
[  282.690024] usb 2-1: new low speed USB device using ohci_hcd and address 19
[  282.883198] usb 2-1: configuration #1 chosen from 1 choice
[  282.890438] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input21
[  282.890642] generic-usb 0003:046D:C00E.0011: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  296.167758] usb 2-1: USB disconnect, address 19
[  296.930020] usb 2-1: new low speed USB device using ohci_hcd and address 20
[  297.123201] usb 2-1: configuration #1 chosen from 1 choice
[  297.130758] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input22
[  297.131589] generic-usb 0003:046D:C00E.0012: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  297.799910] usb 2-1: USB disconnect, address 20
[  298.590030] usb 2-1: new low speed USB device using ohci_hcd and address 21
[  298.783204] usb 2-1: configuration #1 chosen from 1 choice
[  298.791421] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input23
[  298.791538] generic-usb 0003:046D:C00E.0013: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  318.681777] usb 2-1: USB disconnect, address 21
[  319.490028] usb 2-1: new low speed USB device using ohci_hcd and address 22
[  319.683204] usb 2-1: configuration #1 chosen from 1 choice
[  319.691423] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input24
[  319.692231] generic-usb 0003:046D:C00E.0014: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  344.580557] usb 2-1: USB disconnect, address 22
[  345.340027] usb 2-1: new low speed USB device using ohci_hcd and address 23
[  345.533194] usb 2-1: configuration #1 chosen from 1 choice
[  345.540505] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input25
[  345.540716] generic-usb 0003:046D:C00E.0015: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  402.838921] usb 2-1: USB disconnect, address 23
[  403.580034] usb 2-1: new low speed USB device using ohci_hcd and address 24
[  403.773212] usb 2-1: configuration #1 chosen from 1 choice
[  403.783426] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input26
[  403.784237] generic-usb 0003:046D:C00E.0016: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:13.0-1/input0
[  439.885812] usb 1-3: USB disconnect, address 17
[  439.885977] gspca: disconnect complete
[  442.160025] usb 1-3: new high speed USB device using ehci_hcd and address 28
[  442.314327] usb 1-3: configuration #1 chosen from 1 choice
[  442.314662] gspca: probing 0c45:6282
[  442.340341] sn9c20x: MT9M111 sensor detected
[  442.340424] gspca: probe ok
[  442.340497] gspca: probing 0c45:6282
[  442.342975] 28:2:1: cannot get freq at ep 0x84
[  442.391599] 28:2:1: cannot get freq at ep 0x84
[  442.396351] 28:2:1: cannot get freq at ep 0x84
[  452.415059] 28:2:1: cannot get freq at ep 0x84
[  452.418294] ehci_hcd 0000:00:13.5: force halt; handhake
ffffc9000034a024 00004000 00000000 -> -110
[  452.418299] cannot submit datapipe for urb 1, error -108: device disabled
[  453.116294] irq 19: nobody cared (try booting with the "irqpoll" option)
[  453.116300] Pid: 0, comm: swapper Tainted: P
2.6.32-22-generic #33-Ubuntu
[  453.116303] Call Trace:
[  453.116305]  <IRQ>  [<ffffffff810c6a7b>] __report_bad_irq+0x2b/0xa0
[  453.116316]  [<ffffffff810c6c7c>] note_interrupt+0x18c/0x1d0
[  453.116319]  [<ffffffff810c737d>] handle_fasteoi_irq+0xdd/0x100
[  453.116323]  [<ffffffff81015d12>] handle_irq+0x22/0x30
[  453.116327]  [<ffffffff81545e9c>] do_IRQ+0x6c/0xf0
[  453.116329]  [<ffffffff81013b13>] ret_from_intr+0x0/0x11
[  453.116331]  <EOI>  [<ffffffff81038acb>] ? native_safe_halt+0xb/0x10
[  453.116339]  [<ffffffff81543ad6>] ? notifier_call_chain+0x16/0x80
[  453.116343]  [<ffffffff8101b6cd>] ? default_idle+0x3d/0x90
[  453.116347]  [<ffffffff8101b783>] ? c1e_idle+0x63/0x120
[  453.116351]  [<ffffffff81011e73>] ? cpu_idle+0xb3/0x110
[  453.116354]  [<ffffffff8153ad4b>] ? start_secondary+0xa8/0xaa
[  453.116356] handlers:
[  453.116357] [<ffffffff813d2d50>] (usb_hcd_irq+0x0/0x90)
[  453.116363] Disabling IRQ #19
[  455.011282] rtl8187: wireless radio switch turned off
[  455.121275] wlan0: deauthenticating from 00:0a:06:ff:a7:23 by local
choice (reason=3)
[  479.093495] usb 2-1: USB disconnect, address 24
[  571.230017] timeout: still 1 active urbs..
[  578.099070] 28:2:1: usb_set_interface failed
[  578.099112] 28:2:1: usb_set_interface failed
[  578.099152] 28:2:1: usb_set_interface failed
[  578.099627] 28:2:1: usb_set_interface failed
[  578.100111] 28:2:1: usb_set_interface failed
[  578.100527] 28:2:1: usb_set_interface failed
[  578.100561] 28:2:1: usb_set_interface failed
[  578.100601] 28:2:1: usb_set_interface failed
[  578.101071] 28:2:1: usb_set_interface failed
[  578.101630] 28:2:1: usb_set_interface failed
[  578.102207] 28:2:1: usb_set_interface failed
[  578.102260] 28:2:1: usb_set_interface failed
[  578.102356] 28:2:1: usb_set_interface failed
[  578.102924] 28:2:1: usb_set_interface failed
[  578.103510] 28:2:1: usb_set_interface failed
[  578.104232] 28:2:1: usb_set_interface failed
[  578.104287] 28:2:1: usb_set_interface failed
[  578.104391] 28:2:1: usb_set_interface failed
[  578.104928] 28:2:1: usb_set_interface failed
[  578.105540] 28:2:1: usb_set_interface failed
[  688.361202] 28:2:1: usb_set_interface failed
[  688.361247] 28:2:1: usb_set_interface failed
[  688.361290] 28:2:1: usb_set_interface failed
[  688.361883] 28:2:1: usb_set_interface failed
[  688.362442] 28:2:1: usb_set_interface failed
[  688.362890] 28:2:1: usb_set_interface failed
[  688.362926] 28:2:1: usb_set_interface failed
[  688.362969] 28:2:1: usb_set_interface failed
[  688.363464] 28:2:1: usb_set_interface failed
[  688.363968] 28:2:1: usb_set_interface failed
[  688.364504] 28:2:1: usb_set_interface failed
[  688.364560] 28:2:1: usb_set_interface failed
[  688.364660] 28:2:1: usb_set_interface failed
[  688.365213] 28:2:1: usb_set_interface failed
[  688.365773] 28:2:1: usb_set_interface failed
[  688.366490] 28:2:1: usb_set_interface failed
[  688.366545] 28:2:1: usb_set_interface failed
[  688.366651] 28:2:1: usb_set_interface failed
[  688.367219] 28:2:1: usb_set_interface failed
[  688.367781] 28:2:1: usb_set_interface failed
[  751.821223] atkbd.c: Unknown key pressed (translated set 2, code
0x88 on isa0060/serio0).
[  751.821227] atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.
[  751.931051] atkbd.c: Unknown key released (translated set 2, code
0x88 on isa0060/serio0).
[  751.931055] atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.

ifconfig wlan0:

Code:

wlan0    Link encap:Ethernet  HWaddr aa:bb:cc:dd:ee:ff
        BROADCAST MULTICAST  MTU:1500  Metric:1
        RX packets:14572 errors:0 dropped:0 overruns:0 frame:0
        TX packets:18455 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:10007236 (10.0 MB)  TX bytes:8438696 (8.4 MB)

ifconfig wlan0 up:

Code:

SIOCSIFFLAGS: Unknown error 132
lsmod:

Code:

Module                  Size  Used by
snd_usb_audio          92747  0
snd_usb_lib            18978  1 snd_usb_audio
gspca_sn9c20x          25686  0
gspca_main            25031  1 gspca_sn9c20x
videodev              40486  1 gspca_main
v4l1_compat            15495  1 videodev
v4l2_compat_ioctl32    12020  1 videodev
binfmt_misc            7960  1
ipt_REJECT              2384  1
ipt_LOG                5370  5
xt_limit                2180  7
xt_tcpudp              2667  7
ipt_addrtype            2151  4
snd_hda_codec_realtek  278890  1
xt_state                1490  7
snd_hda_intel          25645  4
snd_hda_codec          85727  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              6924  2 snd_usb_audio,snd_hda_codec
snd_pcm_oss            41394  0
snd_mixer_oss          16299  1 snd_pcm_oss
snd_pcm                87850  5
snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy          1782  0
snd_seq_oss            31219  0
snd_seq_midi            5829  0
snd_rawmidi            23388  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      7267  2 snd_seq_oss,snd_seq_midi
ip6table_filter        2887  1
arc4                    1473  2
snd_seq                57417  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
ip6_tables            19618  1 ip6table_filter
snd_timer              23553  2 snd_pcm,snd_seq
snd_seq_device          6824  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
nf_nat_irc              1577  0
nf_conntrack_irc        4429  1 nf_nat_irc
nf_nat_ftp              2513  0
hwmon_vid              3130  0
snd                    70978  20
snd_usb_audio,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
rtl8187                53204  0
nf_nat                19501  2 nf_nat_irc,nf_nat_ftp
nf_conntrack_ipv4      12980  9 nf_nat
adt7473                18732  0
nf_defrag_ipv4          1481  1 nf_conntrack_ipv4
fbcon                  39270  71
nvidia              10799466  40
nf_conntrack_ftp        7126  1 nf_nat_ftp
soundcore              8052  1 snd
mac80211              238128  1 rtl8187
lp                      9336  0
led_class              3732  1 rtl8187
tileblit                2487  1 fbcon
font                    8053  1 fbcon
bitblit                5811  1 fbcon
snd_page_alloc          8500  2 snd_hda_intel,snd_pcm
softcursor              1565  1 bitblit
i2c_piix4              9639  0
cfg80211              148386  2 rtl8187,mac80211
ppdev                  6375  0
vga16fb                12757  1
nf_conntrack          73934  7
xt_state,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp
edac_core              45423  0
parport_pc            29958  1
vgastate                9857  1 vga16fb
eeprom_93cx6            1765  1 rtl8187
parport                37160  3 lp,ppdev,parport_pc
edac_mce_amd            9214  0
k8temp                  3912  0
iptable_filter          2791  1
asus_atk0110          10033  0
ip_tables              18390  1 iptable_filter
x_tables              22429  8
ipt_REJECT,ipt_LOG,xt_limit,xt_tcpudp,ipt_addrtype,xt_state,ip6_tables,ip_tables
raid10                21290  0
raid456                54720  0
async_raid6_recov      5945  1 raid456
async_pq                3891  2 raid456,async_raid6_recov
raid6_pq              80147  2 async_raid6_recov,async_pq
async_xor              3111  3 raid456,async_raid6_recov,async_pq
xor                    4685  1 async_xor
async_memcpy            1537  2 raid456,async_raid6_recov
async_tx                2545  5
raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
raid1                  22226  0
usbhid                40988  0
hid                    83376  1 usbhid
raid0                  6778  1
8139too                22245  0
multipath              7149  0
8139cp                19541  0
linear                  4158  0
floppy                63156  0
pata_atiixp            4209  0
ahci                  37646  14
r8169                  39554  0
mii                    5237  3 8139too,8139cp,r8169

lsusb:

Code:

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 028: ID 0c45:6282 Microdia PC Camera with Microphone
(SN9C202 + MI1310)
Bus 001 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187
Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


timetraveler 05-17-2010 12:59 AM

Looks like an IRQ issue. The kernel usually tries to sort it out. What kernel?
You may need a newer one as they may have introduced some problems that show with your combo. Does the kernel have support now for your webcam?

fakie_flip 06-20-2010 07:20 PM

It does not matter whether I use the gspca_sn9c20x module/driver included with the stock ubuntu kernel or the sn9c20x one I compiled from the microdia project using git. Then I tried blacklisting both of them to see if using just the microphone on it would work by itself, and my internet cut out again. I believe for that, I am using snd-usb-audio module. Actually, my internet cut out as soon as I used a mixer to switch my input device from the sound card to it.

EDIT: I have updated my kernel several times since. And even a distro upgrade from Ubuntu 9 to 10. I am currently using 2.6.32-22-generic.

fakie_flip 06-23-2010 12:56 AM

The problem still persists. I just tried booting with with kernel option irqpoll. Any help?

Bump!


All times are GMT -5. The time now is 02:18 AM.