#1 Le 09/12/2010, à 21:49
- obibann
[Résolu] Clé capture USB Syntek
Bonjour,
Je viens de faire l'acquisition d'un clé d'acquisition vidéo USB à base Syntek.
Bus 001 Device 003: ID 05e1:0408 Syntek Semiconductor Co., Ltd
J'ai suivi la documentation Ubuntu de cette page
Comme vous pouvez le lire, cette clé est sensée être compatible
05e1:0408 Clé usb d'acquisition vidéo Driver stk11xx à compiler Oui
Je suis confronté aux problèmes suivants pour la faire fonctionner sous Ubuntu 10.10 64 bits.
Premièrement, j'ai été obligé de supprimer les lignes suivantes dans le fichier "stk11xx-v4l.c" afin que la compilation fonctionne
#ifdef CONFIG_COMPAT
.compat_ioctl = v4l_compat_ioctl32,
#endif
Ces lignes sont à la fin du fichier.
Deuxièmement, seule la version "svn" me permet d'avoir un périphérique /dev/video0. Sinon rien.
Troisièmement, une fois compilé et chargé, la clé semble bien reconnue
[ 75.187428] stk11xx: Syntek USB2.0 webcam driver startup
[ 75.187437] stk11xx: Copyright(c) 2006-2009 Nicolas VIVIEN
[ 75.187491] stk11xx: Syntek USB2.0 - STK-1160 based device found.
[ 75.187497] stk11xx: Syntek AVStream USB2.0 Video Capture - Product ID 0x0408.
[ 75.187506] stk11xx: Release: 0005
[ 75.187511] stk11xx: Number of interfaces : 3
[ 75.189020] stk11xx: Initialize USB2.0 Syntek Capture device
[ 75.310054] Clocksource tsc unstable (delta = -249707027 ns)
[ 75.319720] stk11xx: Syntek USB2.0 Capture device is ready
[ 75.319921] stk11xx: Syntek USB2.0 Camera is now controlling video device /dev/video0
[ 75.320075] usbcore: registered new interface driver usb_stk11xx_driver
[ 75.320082] stk11xx: v2.2.0 : Syntek USB Video Camera
Cependant, impossible de visualiser l'image et le son. L'image reste figée et fait planter la plupart des logiciels (VLC, Cheese, etc...)
Voici un extrait de dmesg :
[ 2114.918454] usbcore: registered new interface driver stkwebcam
[ 2118.609314] stk11xx: Syntek USB2.0 webcam driver startup
[ 2118.609326] stk11xx: Copyright(c) 2006-2009 Nicolas VIVIEN
[ 2118.609382] stk11xx: Syntek USB2.0 - STK-1160 based device found.
[ 2118.609388] stk11xx: Syntek AVStream USB2.0 Video Capture - Product ID 0x0408.
[ 2118.609396] stk11xx: Release: 0005
[ 2118.609401] stk11xx: Number of interfaces : 3
[ 2118.609915] stk11xx: Initialize USB2.0 Syntek Capture device
[ 2118.677587] stk11xx: Syntek USB2.0 Capture device is ready
[ 2118.677908] stk11xx: Syntek USB2.0 Camera is now controlling video device /dev/video0
[ 2118.678021] usbcore: registered new interface driver usb_stk11xx_driver
[ 2118.678028] stk11xx: v2.2.0 : Syntek USB Video Camera
[ 2144.427341] stk11xx: Load default sensor settings fail !
[ 2209.411383] stk11xx: Load default sensor settings fail !
[ 2218.095740] stk11xx: Load default sensor settings fail !
[ 2230.624051] stk11xx: Load default sensor settings fail !
[ 2236.136213] BUG: unable to handle kernel paging request at ffffc900053fc500
[ 2236.136231] IP: [<ffffffffa06fe0f0>] stk11xx_copy_uvyv+0x1e0/0x230 [stk11xx]
[ 2236.136263] PGD 75417067 PUD 75418067 PMD 5557b067 PTE 0
[ 2236.136278] Oops: 0000 [#1] SMP
[ 2236.136285] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
[ 2236.136293] CPU 0
[ 2236.136298] Modules linked in: stk11xx stkwebcam videodev v4l1_compat v4l2_compat_ioctl32 michael_mic arc4 snd_usb_audio snd_usbmidi_lib binfmt_misc vboxnetadp vboxnetflt vboxdrv parport_pc ppdev joydev snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event b44 snd_seq ssb mii lib80211_crypt_tkip snd_timer snd_seq_device wl(P) snd dell_wmi dell_laptop dcdbas soundcore lib80211 edac_core i2c_piix4 snd_page_alloc psmouse serio_raw k8temp edac_mce_amd shpchp lp parport radeon ttm drm_kms_helper usbhid hid video output sdhci_pci ahci drm sdhci led_class pata_atiixp libahci i2c_algo_bit [last unloaded: v4l2_compat_ioctl32]
[ 2236.136411]
[ 2236.136422] Pid: 3363, comm: video_source:sr Tainted: P 2.6.35-23-generic #41-Ubuntu 0UW744/Inspiron 1501
[ 2236.136430] RIP: 0010:[<ffffffffa06fe0f0>] [<ffffffffa06fe0f0>] stk11xx_copy_uvyv+0x1e0/0x230 [stk11xx]
[ 2236.136451] RSP: 0018:ffff8800557b5bd8 EFLAGS: 00010286
[ 2236.136457] RAX: ffffc900053fc500 RBX: 0000000000000000 RCX: 00000000000004fc
[ 2236.136463] RDX: ffffc900035f4500 RSI: 0000000000000500 RDI: ffffc900026ee500
[ 2236.136470] RBP: ffff8800557b5c40 R08: 0000000000000004 R09: 0000000000000000
[ 2236.136477] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
[ 2236.136483] R13: 0000000000000000 R14: 0000000000000a00 R15: ffffc900053fca00
[ 2236.136492] FS: 00007fc473894710(0000) GS:ffff880001e00000(0000) knlGS:00000000f5711b70
[ 2236.136499] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 2236.136505] CR2: ffffc900053fc500 CR3: 000000005526e000 CR4: 00000000000006f0
[ 2236.136512] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 2236.136518] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 2236.136526] Process video_source:sr (pid: 3363, threadinfo ffff8800557b4000, task ffff88004c0aadc0)
[ 2236.136532] Stack:
[ 2236.136538] 0000000000000500 00ad000000100100 0000000000000a00 ffffc900035f4500
[ 2236.136548] <0> 0000000000000500 ffffc900053fc500 000000f0557b5c48 ffffc900035f4000
[ 2236.136559] <0> ffff880050ecf000 ffff880050ecf09c ffff8800557b5cd8 ffff880050ecf0b8
[ 2236.136571] Call Trace:
[ 2236.136591] [<ffffffffa06fe4f0>] dev_stk0408_decode+0xb0/0x1c0 [stk11xx]
[ 2236.136607] [<ffffffffa06faa55>] dev_stk11xx_decompress+0x45/0x50 [stk11xx]
[ 2236.136623] [<ffffffffa06fb36f>] stk11xx_handle_frame+0x9f/0x120 [stk11xx]
[ 2236.136637] [<ffffffffa06f9451>] v4l_stk11xx_do_ioctl+0xab1/0x16b0 [stk11xx]
[ 2236.136651] [<ffffffff81056780>] ? default_wake_function+0x0/0x20
[ 2236.136667] [<ffffffffa06b2642>] video_usercopy+0x1e2/0x400 [videodev]
[ 2236.136682] [<ffffffffa06f89a0>] ? v4l_stk11xx_do_ioctl+0x0/0x16b0 [stk11xx]
[ 2236.136698] [<ffffffffa06f8981>] v4l_stk11xx_ioctl+0x91/0xb0 [stk11xx]
[ 2236.136711] [<ffffffff810cf265>] ? call_rcu_sched+0x15/0x20
[ 2236.136723] [<ffffffffa06ad18d>] v4l2_ioctl+0x3d/0x40 [videodev]
[ 2236.136733] [<ffffffff81162d6f>] vfs_ioctl+0x9f/0xd0
[ 2236.136742] [<ffffffff811635e1>] do_vfs_ioctl+0x81/0x340
[ 2236.136751] [<ffffffff811651fa>] ? sys_ppoll+0x7a/0x180
[ 2236.136759] [<ffffffff81163921>] sys_ioctl+0x81/0xa0
[ 2236.136771] [<ffffffff8100a0f2>] system_call_fastpath+0x16/0x1b
[ 2236.136777] Code: 03 55 d0 48 89 55 b0 e9 10 ff ff ff eb 05 90 90 90 90 90 85 f6 7e 2a 48 8b 45 c0 4c 8b 7d 98 48 8b 55 b0 49 01 c7 eb 03 90 90 90 <0f> b6 08 48 83 c0 01 88 0a 48 83 c2 01 4c 39 f8 75 ee 48 89 45
[ 2236.136856] RIP [<ffffffffa06fe0f0>] stk11xx_copy_uvyv+0x1e0/0x230 [stk11xx]
[ 2236.136873] RSP <ffff8800557b5bd8>
[ 2236.136877] CR2: ffffc900053fc500
[ 2236.136884] ---[ end trace 160358c82a062fdf ]---
[ 2240.141344] stk11xx: Iso frame 7 of USB has error -71
[ 2246.604946] 3:2:1: endpoint lacks sample rate attribute bit, cannot set.
Merci de votre aide par avance.
Dernière modification par obibann (Le 23/12/2010, à 11:39)
Ubuntu 16.04
Avec Windows, on fait ce qu'on peut... Avec Linux, on fait ce qu'on veut !! :p
Hors ligne
#2 Le 10/12/2010, à 19:52
- obibann
Re : [Résolu] Clé capture USB Syntek
Raaaaaaaaah !!
J'ai réussi à faire fonctionné la clé en suivant ce tuto :
http://forum.ubuntu-fr.org/viewtopic.php?id=390714
Par contre j'ai pas de son... Je soupçonne la suppression de OSS d'en être la cause. Une idée pour corriger ça ?
Merci
Ubuntu 16.04
Avec Windows, on fait ce qu'on peut... Avec Linux, on fait ce qu'on veut !! :p
Hors ligne
#3 Le 23/12/2010, à 11:38
- obibann
Re : [Résolu] Clé capture USB Syntek
Bonne nouvelle !!
Mike vient de sortir une version compatible Ubuntu 10.10 avec un driver ALSA Donc fini les problèmes de son.
Ubuntu 16.04
Avec Windows, on fait ce qu'on peut... Avec Linux, on fait ce qu'on veut !! :p
Hors ligne