Bonjour,
Je viens de faire l'acquisition d'une Webcam Plus. C'est mon seul et pr�mier
device USB.
L'utilisation de camstream ou caminfo ( en utilisateur standard ) g�le
compl�tement le PC. ( clavier bloqu�, impossible de se connecter avec un
minitel sur com2), oblig� de faire reset !!! Au bout de 3 manip, je cherche
de l'aide pour ne pas flinger ma configuration.
Voici donc mes r�flexions, corrigez en cas d'erreur :
--------------------------------------------------------------------------------------------------------
-Suite � la lecture de diff�rentes documentation, il apparait que le
hotplugin n�cessite l'ajout d'une couche de scripts et la bonne configuration
du noyau pour lancer l'utilitaire hotplug ( de m�moire).
- l'erreur suivante est-elle li�e au fait que le hotplug n'est pas mis en
place et que l'on d�connecte / reconnecte la cam�ra ?
Sep 24 14:30:24 localhost kernel: hub.c: USB new device connect on bus1/1,
assigned device number 2
Sep 24 14:30:24 localhost kernel: usb.c: USB device 2 (vend/prod
0x5a9/0xa511) is not claimed by any active driver.
Sep 24 14:31:45 localhost kernel: usb.c: USB disconnect on device 2
Sep 24 14:32:08 localhost kernel: hub.c: USB new device connect on bus1/2,
assigned device number 3
Sep 24 14:32:08 localhost kernel: usb-uhci.c: interrupt, status 2, frame# 1546
Sep 24 14:32:08 localhost kernel: usb.c: USB device not accepting new
address=3 (error=-110)
Sep 24 14:32:09 localhost kernel: hub.c: USB new device connect on bus1/2,
assigned device number 4
Sep 24 14:32:09 localhost kernel: usb-uhci.c: interrupt, status 2, frame# 1796
Sep 24 14:32:09 localhost kernel: usb.c: USB device not accepting new
address=4 (error=-110)
Sep 24 14:32:41 localhost kernel: hub.c: USB new device connect on bus1/1,
assigned device number 5
Sep 24 14:32:41 localhost kernel: usb-uhci.c: interrupt, status 2, frame# 1484
Sep 24 14:32:41 localhost kernel: usb.c: USB device not accepting new
address=5 (error=-110)
Sep 24 14:32:41 localhost kernel: hub.c: USB new device connect on bus1/1,
assigned device number 6
Sep 24 14:32:41 localhost kernel: usb-uhci.c: interrupt, status 2, frame# 1734
Sep 24 14:32:41 localhost kernel: usb.c: USB device not accepting new
address=6 (error=-110)
---------------------------------------------------------------------------------------------------------------
Il existe un daemon usb qui lanc� usbd, la doc concernant cet utilitaire est
sommaire et prouve pas l'interet de ce programme. Je ne l'ai pas lanc�.
Erreur ?
---------------------------------------------------------------------------------------------------------------
Le hotplug n'�tant pas ma priorit�, je voudrais avoir des images pour
v�rifier le bon fonctionnement de la cam�ra et des ports USB. Donc halt du
syst�me et rechargement. Vous trouverez ci-dessous les messages lors du
chargement ainsi que quelques fichiers de configuration.
MDK 8.0 et noyau 2.4.10 ( la r�action en 2.4..9 �tait le m�me).
...
Sep 25 12:21:27 localhost kernel: usb.c: registered new driver usbdevfs
Sep 25 12:21:27 localhost kernel: usb.c: registered new driver hub
Sep 25 12:21:27 localhost kernel: usb-uhci.c: $Revision: 1.268 $ time
18:28:29 Sep 24 2001
Sep 25 12:21:27 localhost kernel: usb-uhci.c: High bandwidth mode enabled
Sep 25 12:21:27 localhost kernel: usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 10
Sep 25 12:21:27 localhost kernel: usb-uhci.c: Detected 2 ports
Sep 25 12:21:27 localhost kernel: usb.c: new USB bus registered, assigned bus
number 1
Sep 25 12:21:27 localhost kernel: hub.c: USB hub found
Sep 25 12:21:27 localhost kernel: hub.c: 2 ports detected
Sep 25 12:21:27 localhost kernel: usb-uhci.c: v1.268:USB Universal Host
Controller Interface driver
....
Sep 25 12:21:27 localhost kernel: hub.c: USB new device connect on bus1/1,
assigned device number 2
Sep 25 12:21:27 localhost kernel: usb.c: USB device 2 (vend/prod
0x5a9/0xa511) is not claimed by any active driver.
.....
Sep 25 12:21:27 localhost kernel: usb.c: registered new driver ov511
Sep 25 12:21:27 localhost kernel: ov511.c: USB OV511+ camera found
Sep 25 12:21:27 localhost kernel: ov511.c: camera: Creative Labs WebCam 3
Sep 25 12:21:27 localhost kernel: ov511.c: Sensor is an OV7620
Sep 25 12:21:27 localhost kernel: ov511.c: v1.28:OV511 USB Camera Driver
Voici le contenu de quelques fichiers de configuration :
-----------------------------------------------------------------------------------
/etc/modules.conf
#reseau local
alias eth0 3c509
# liaison Internet
#Modification le 29/05/2001 d'apr�s fichier Documentation/Changes
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
#TV
alias char-major-81 bttv
pre-install bttv modprobe -k tuner
#options i2c verbose=1 scan=1 i2c_debug=1
options i2c verbose=1 scan=1
options bttv radio=0 card=10
options tuner type=3
# Carte SCSI + �mulation
alias scsi_hostadapter aic7xxx
alias scsi_hostadapter1 ide-scsi
# Carte son
# Modif le 29/05/2001
#alias sound-service-0-1 awe-awe
#alias sound-slot-0 sb
#options sound dmabuf=1
#options opl3 io=0x388
#alias synth0 awe_wave
#post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2
#options sb isapnp=1
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
# ALSA portion
alias snd-card-0 snd-card-sbawe
# OSS/Free portion
alias sound-slot-0 snd-card-0
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss
----------------------------------------------------------------------------------
/etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
scsi_hostadapter
scsi_hostadapter1
bttv
ov511
----------------------------------------------------------------------
/etc/fstab
/dev/hda1 /mnt/dosc vfat
auto,noexec,nosuid,nouser,rw,umask=000 0 0
/dev/hda5 /mnt/dosd ntfs
auto,noexec,nosuid,nouser,ro,umask=000 0 0
/dev/hdb1 /boot ext2 defaults
0 2
/dev/hdb5 /home ext2 defaults
1 2
/dev/hdb6 / ext2 defaults
0 1
/dev/scd0 /mnt/cdrom auto
exec,sync,user,noauto,nosuid,nodev,ro,unhide 0 0
/dev/scd1 /mnt/cdwriter auto
exec,sync,user,noauto,nosuid,nodev,rw,unhide 0 0
/dev/fd0 /mnt/floppy auto user,exec,dev,suid,rw,noauto
0 0
/dev/sda4 /mnt/zip auto user,exec,dev,suid,rw,noauto
0 0
none /proc proc defaults
0 0
none /dev/pts devpts mode=0620
0 0
/dev/hda6 none swap exec,dev,suid,rw
0 0
none /proc/bus/usb usbdevfs defaults
0 0
----------------------------------------------------------------------------------------------
[root@localhost dev]# ls -al video*
lrwxrwxrwx 1 root root 6 mai 22 15:50 video -> video0
crw------- 1 jbj sys 81, 0 avr 14 07:06 video0
crw------- 1 jbj sys 81, 1 avr 14 07:06 video1
crw------- 1 jbj sys 81, 2 avr 14 07:06 video2
crw------- 1 jbj sys 81, 3 avr 14 07:06 video3
-----------------------------------------------------------------------------------------------
/proc/usb/devices
[root@localhost usb]# cat devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=e000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=05a9 ProdID=a511 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl= 1ms
I: If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 33 Ivl= 1ms
I: If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 129 Ivl= 1ms
I: If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 257 Ivl= 1ms
I: If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 385 Ivl= 1ms
I: If#= 0 Alt= 5 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 513 Ivl= 1ms
I: If#= 0 Alt= 6 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 769 Ivl= 1ms
I: If#= 0 Alt= 7 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 961 Ivl= 1ms
-----------------------------------------------------------------------------------------------
/proc/usb/drivers
usbdevfs
hub
ov511
----------------------------------------------------------------------------------------------
[root@localhost proc]# cat ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
0220-022f : Sound Blaster AWE32/64
02f8-02ff : serial(auto)
0330-0331 : Sound Blaster AWE32/64 - MPU-401
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
0388-038b : Sound Blaster AWE32/64 - FM
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0620-0623 : Sound Blaster AWE32/64 - WaveTable
0a20-0a23 : Sound Blaster AWE32/64 - WaveTable
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
0e20-0e23 : Sound Blaster AWE32/64 - WaveTable
4000-403f : Intel Corporation 82371AB PIIX4 ACPI
5000-501f : Intel Corporation 82371AB PIIX4 ACPI
d000-dfff : PCI Bus #01
e000-e01f : Intel Corporation 82371AB PIIX4 USB
e000-e01f : usb-uhci
e400-e4ff : Adaptec AHA-7850
f000-f00f : Intel Corporation 82371AB PIIX4 IDE
f000-f007 : ide0
f008-f00f : ide1
------------------------------------------------------------------------------------------------------
Le chargement semble donc s'effectuer correctement.
Un xawtv permet de visualiser les chaines TV.
Comment trouver device utilis� par la cam�ra ?
Un caminfo g�l� le syst�me, xawtv -c /dev/video1 idem.
Comment emp�cher le gel du syst�me ?
Je cherche une piste.
Cordialement.
--
JB JACQUET
[EMAIL PROTECTED]
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com"