You are not logged in.
The update to linux 3.0 broke the support of my laptops webcam. It isn't recognized since and I'm getting following output in my errors.log:
Aug 8 12:13:55 localhost udevd[264]: timeout: killing 'usb_id --export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0' [477]
Aug 8 12:13:56 localhost udevd[264]: timeout: killing 'usb_id --export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0' [477]
Aug 8 12:13:57 localhost udevd[264]: timeout: killing 'usb_id --export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0' [477]
Aug 8 12:13:58 localhost udevd[264]: timeout: killing 'usb_id --export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0' [477]
Aug 8 12:13:59 localhost udevd[264]: timeout: killing 'usb_id --export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0' [477]
Aug 8 12:14:00 localhost udevd[264]: timeout: killing 'usb_id --export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0' [477]
Aug 8 12:14:01 localhost udevd[264]: timeout: killing 'usb_id --export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0' [477]
Aug 8 12:14:02 localhost udevd[264]: timeout: killing 'usb_id --export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0' [477]
In addition my fan is spinning up without top showing a high processor load. And finally I can't suspend because of this.
I'm working with an intel hm65 chipset and lsusb gives following output:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0bda:58e8 Realtek Semiconductor Corp.
Bus 001 Device 004: ID 0a5c:219c Broadcom Corp.
Bus 002 Device 003: ID 04d9:0461 Holtek Semiconductor, Inc.
Downgrading would solve the problem, but do you have any advice what else I can do?
Last edited by steffinger (2011-08-08 19:42:41)
Offline
Ok i just found out, that this upgrade also breaks USB hotplugging for me. So I'm pretty sure it's a bug.
As I never filed a bug before, can anyone tell me where to file it and if there is any useful howto out there?
Offline
first check your dmesg and your logs. I do not have problems with usbs so its not a general problem. Only you seem to be having it as of this moment. I do not use v4l, so I cannot comment on that.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I think you're right. It's mostly a problem on my side. I didn't find much similar things on the internet so far. Sorry for the confusion.
I'm adding the part of my dmesg.log which i find confusing. I see that there are some problems loading usbcore and uvcmedia etc. but i don't really see what i can do about it.
Thank you for any help.
....
[ 7.331934] Linux media interface: v0.10
[ 7.456577] Linux video capture interface: v2.00
[ 7.490340] uvcvideo: Found UVC 1.00 device USB Camera (0bda:58e8)
[ 7.497047] ------------[ cut here ]------------
[ 7.497482] kernel BUG at drivers/media/media-entity.c:346!
[ 7.497957] invalid opcode: 0000 [#1] PREEMPT SMP
[ 7.498414] CPU 0
[ 7.498585] Modules linked in: uvcvideo(+) videodev media v4l2_compat_ioctl32 bcma snd_hda_intel(+) snd_hda_codec snd_hwdep arc4 snd_pcm sg brcmsmac(C) snd_timer snd serio_raw brcmutil(C) mac80211 btusb bluetooth cfg80211 soundcore iTCO_wdt iTCO_vendor_support i2c_i801 psmouse evdev r8169 mii rfkill thermal snd_page_alloc crc_ccitt pcspkr mei(C) battery ac fan cpufreq_ondemand acpi_cpufreq freq_table processor mperf fuse ext4 mbcache jbd2 crc16 usbhid hid sd_mod ahci libahci libata ehci_hcd scsi_mod usbcore i915 drm_kms_helper drm intel_agp i2c_algo_bit button intel_gtt i2c_core video
[ 7.504402]
[ 7.504539] Pid: 447, comm: modprobe Tainted: G C 3.0-ARCH #1 Compal PBL00/PBL00
[ 7.505333] RIP: 0010:[<ffffffffa02ab0cf>] [<ffffffffa02ab0cf>] media_entity_create_link+0x10f/0x120 [media]
[ 7.506255] RSP: 0018:ffff880146961bb8 EFLAGS: 00010246
[ 7.506740] RAX: ffff880147d02800 RBX: ffff880147d02870 RCX: 0000000000000000
[ 7.507390] RDX: ffff880147d03870 RSI: 0000000000000000 RDI: ffff880147d02870
[ 7.508040] RBP: ffff880146961bf8 R08: 0000000000000003 R09: ffff880147768980
[ 7.508691] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880147d03870
[ 7.509341] R13: ffff88014773d880 R14: 0000000000000000 R15: 0000000000000000
[ 7.509991] FS: 00007f9c2ab4c700(0000) GS:ffff88014fa00000(0000) knlGS:0000000000000000
[ 7.510729] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 7.511253] CR2: 000000000188e000 CR3: 0000000147cd8000 CR4: 00000000000406f0
[ 7.511903] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 7.512553] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 7.513203] Process modprobe (pid: 447, threadinfo ffff880146960000, task ffff88014616c7e0)
[ 7.513964] Stack:
[ 7.514148] ffff880146961bf8 ffffffffa02ab3db 0000000000000000 0000000000000000
[ 7.514887] ffff880147d03800 ffff88014773d880 ffff880147d03870 ffff88014773d898
[ 7.515625] ffff880146961c48 ffffffffa0384334 ffff88014777a068 ffff8801ffffffff
[ 7.516365] Call Trace:
[ 7.516591] [<ffffffffa02ab3db>] ? media_entity_init+0x3b/0xa0 [media]
[ 7.517197] [<ffffffffa0384334>] uvc_mc_register_entities+0x1d4/0x290 [uvcvideo]
[ 7.517882] [<ffffffffa037aa70>] uvc_probe+0x3d0/0x2600 [uvcvideo]
[ 7.518459] [<ffffffffa0145543>] usb_probe_interface+0xd3/0x1e0 [usbcore]
[ 7.519087] [<ffffffff812ea54e>] driver_probe_device+0x7e/0x1b0
[ 7.519634] [<ffffffff812ea72b>] __driver_attach+0xab/0xb0
[ 7.520143] [<ffffffff812ea680>] ? driver_probe_device+0x1b0/0x1b0
[ 7.520714] [<ffffffff812ea680>] ? driver_probe_device+0x1b0/0x1b0
[ 7.542117] [<ffffffff812e950c>] bus_for_each_dev+0x5c/0x90
[ 7.563597] [<ffffffff812ea1de>] driver_attach+0x1e/0x20
[ 7.585200] [<ffffffff812e9e30>] bus_add_driver+0x1a0/0x270
[ 7.606996] [<ffffffff812eac96>] driver_register+0x76/0x140
[ 7.628819] [<ffffffff810ca1b9>] ? tracepoint_module_notify+0x29/0x30
[ 7.650866] [<ffffffffa014439d>] usb_register_driver+0x9d/0x190 [usbcore]
[ 7.673084] [<ffffffffa02c3000>] ? 0xffffffffa02c2fff
[ 7.695077] [<ffffffffa02c3020>] uvc_init+0x20/0x3a [uvcvideo]
[ 7.717024] [<ffffffff81002040>] do_one_initcall+0x40/0x180
[ 7.739077] [<ffffffff8109d2ef>] sys_init_module+0x8f/0x200
[ 7.761169] [<ffffffff813f3d82>] system_call_fastpath+0x16/0x1b
[ 7.783269] Code: 4c 8b 6d e8 4c 8b 75 f0 4c 8b 7d f8 c9 c3 66 0f 1f 44 00 00 b8 f4 ff ff ff eb dd 66 83 6b 3e 01 b8 f4 ff ff ff eb d1 0f 0b 0f 0b <0f> 0b 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5
[ 7.830750] RIP [<ffffffffa02ab0cf>] media_entity_create_link+0x10f/0x120 [media]
[ 7.854319] RSP <ffff880146961bb8>
[ 7.876682] Synaptics claims to have extended capability 0x0c, but I'm not able to read it.
[ 7.901289] ---[ end trace daa15c62bb633e9c ]---
[ 8.000055] hda_codec: ALC259: BIOS auto-probing.
[ 8.022118] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input7
[ 8.090174] HDMI status: Pin=5 Presence_Detect=0 ELD_Valid=0
[ 8.113423] input: HDA Intel PCH HDMI/DP as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[ 8.122402] Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04731/0xa40000/0x0
[ 8.155387] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[ 8.176173] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[ 8.261428] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input11
[ 36.814967] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 36.925894] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[ 37.008875] Adding 4095996k swap on /dev/sda5. Priority:-1 extents:1 across:4095996k
Offline
Had the same problem and actually posted a redundant message...Anyways, put uvcvideo in your modules array in rc.conf and you should be fine. At least this worked for me.
Offline
Ok now I see my fingers work faster than my brain. Referring to this post: https://bbs.archlinux.org/viewtopic.php?id=124079 I removed uvcvideo and now a lot of things work smoothly that didn't really work before (like booting without errors, suspending, usb hotplugging, proper fan speed).
But I'm still not able to use my webcam. If I try
modprobe uvcvideo
everything crashes. For me this is a big regression from kernel 2.6.39. Did I miss something? Did i miss other possibilities to make the webcam work?
Offline
Thanks panosk. I just thought the same about your post, but actually it seems to be a bit different. I can not get my webcam to work with just putting uvcvideo in my modules array in rc.conf and if I try to load it by hand, the whole system crashes.
Offline
I recently installed Arch using the most recent media, and after system upgrade (pacman -Syu) hotplugging worked. I also noticed that my webcam didn't work either, although I cannot say if it before the upgrade as I didn't test it. I've got my camera working by loading the uvcvideo module in my /etc/rc.conf file:
MODULES=(... uvcvideo ...)
My user is in the video group, but the camera only worked as root. After changing /dev/video0 permissions with
chmod 666 /dev/video0
i got my camera working in Skype and gstreamer, but it is not working in Cheese. I plan to file a bug regarding this last issue. About USB hotplugging, I have made no progress.
Offline
I'm not sure if your problem is really related to this. Maybe you should have a look into this post:
https://bbs.archlinux.org/viewtopic.php?id=124134
There is already some work going on upstream.
You also can post your dmesg.log or see for yourself if it shows
kernel BUG at drivers/media/media-entity.c:346!
If not, you should open a new thread.
Last edited by steffinger (2011-09-11 08:43:58)
Offline
I do have this warning in my dmesg output. Thanks for the heads up.
Offline