problemi con la webcam su un vecchio portatile Acer

20 risposte [Ultimo messaggio]
Ritratto di sagitter
sagitter
(Collaboratore)
Offline
Collaboratore
Iscritto: 04/01/2011
Messaggi: 1320

amontag ha scritto:

sagitter ha scritto:

E' già qualcosa.

$ ls /dev | grep video
$ cheese

Che dice ?

ls /dev | grep video $ cheese
grep: $: File o directory non esistente
grep: cheese: File o directory non esistente

Sono due comandi diversi. Smile

Ritratto di amontag
amontag
(Monster)
Offline
Monster
Iscritto: 06/01/2011
Messaggi: 446

[antonio@exmarco ~]$ ls /dev | grep video
[antonio@exmarco ~]$ cheese
[antonio@exmarco ~]$

e mi appare la finestra di cheese che dice nessun dispositivo video trovato

antonio m

Ritratto di sagitter
sagitter
(Collaboratore)
Offline
Collaboratore
Iscritto: 04/01/2011
Messaggi: 1320

Facciamo un test:

# modprobe -r uvcvideo
# modprobe -r gspca_main
# modprobe -r gspca_vc032x
# modprobe uvcvideo
# cat /var/log/messages | tail -n 40

Mostrami l'ultimo comando perfavore.

Ritratto di amontag
amontag
(Monster)
Offline
Monster
Iscritto: 06/01/2011
Messaggi: 446

cat /var/log/messages | tail -n 40
Apr 16 23:38:09 exmarco dbus-daemon[924]: dbus[924]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Apr 16 23:38:10 exmarco dbus[924]: [system] Successfully activated service 'org.freedesktop.UDisks'
Apr 16 23:38:10 exmarco dbus-daemon[924]: dbus[924]: [system] Successfully activated service 'org.freedesktop.UDisks'
Apr 16 23:38:12 exmarco kernel: [ 114.754111] lp: driver loaded but no devices found
Apr 16 23:38:12 exmarco udev-configure-printer: Failed to get parent
Apr 16 23:38:12 exmarco kernel: [ 114.964524] ppdev: user-space parallel port driver
Apr 16 23:38:14 exmarco dbus[924]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 16 23:38:14 exmarco dbus-daemon[924]: dbus[924]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 16 23:38:14 exmarco dbus[924]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.bluez.service' for details.
Apr 16 23:38:14 exmarco dbus-daemon[924]: dbus[924]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.bluez.service' for details.
Apr 16 23:38:14 exmarco dbus[924]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 16 23:38:14 exmarco dbus-daemon[924]: dbus[924]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 16 23:38:14 exmarco dbus[924]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.bluez.service' for details.
Apr 16 23:38:14 exmarco dbus-daemon[924]: dbus[924]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.bluez.service' for details.
Apr 16 23:38:16 exmarco dbus[924]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 16 23:38:16 exmarco dbus-daemon[924]: dbus[924]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 16 23:38:16 exmarco dbus[924]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.bluez.service' for details.
Apr 16 23:38:16 exmarco dbus-daemon[924]: dbus[924]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.bluez.service' for details.
Apr 16 23:38:16 exmarco dbus[924]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 16 23:38:16 exmarco dbus-daemon[924]: dbus[924]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 16 23:38:16 exmarco dbus[924]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.bluez.service' for details.
Apr 16 23:38:16 exmarco dbus-daemon[924]: dbus[924]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.bluez.service' for details.
Apr 16 23:38:19 exmarco goa[1589]: goa-daemon version 3.2.1 starting [main.c:112, main()]
Apr 16 23:38:22 exmarco systemd[1]: Startup finished in 2s 271ms 744us (kernel) + 5s 84ms 854us (initrd) + 1min 57s 385ms 133us (userspace) = 2min 4s 741ms 731us.
Apr 16 23:38:56 exmarco kernel: [ 158.548038] iwl3945 0000:03:00.0: Queue 2 stuck for 2000 ms.
Apr 16 23:38:56 exmarco kernel: [ 158.548049] iwl3945 0000:03:00.0: On demand firmware reload
Apr 16 23:38:56 exmarco kernel: [ 158.587802] ieee80211 phy0: Hardware restart was requested
Apr 16 23:43:24 exmarco chronyd[919]: Selected source 109.168.106.59
Apr 16 23:48:38 exmarco dbus[924]: [system] Activating service name='net.reactivated.Fprint' (using servicehelper)
Apr 16 23:48:38 exmarco dbus-daemon[924]: dbus[924]: [system] Activating service name='net.reactivated.Fprint' (using servicehelper)
Apr 16 23:48:38 exmarco dbus-daemon[924]: Launching FprintObject
Apr 16 23:48:38 exmarco dbus[924]: [system] Successfully activated service 'net.reactivated.Fprint'
Apr 16 23:48:38 exmarco dbus-daemon[924]: dbus[924]: [system] Successfully activated service 'net.reactivated.Fprint'
Apr 16 23:48:38 exmarco dbus-daemon[924]: ** Message: D-Bus service launched with name: net.reactivated.Fprint
Apr 16 23:48:38 exmarco dbus-daemon[924]: ** Message: entering main loop
Apr 16 23:49:08 exmarco dbus-daemon[924]: ** Message: No devices in use, exit
Apr 16 23:49:34 exmarco kernel: [ 797.243780] Linux media interface: v0.10
Apr 16 23:49:34 exmarco kernel: [ 797.264693] Linux video capture interface: v2.00
Apr 16 23:49:34 exmarco kernel: [ 797.298346] usbcore: registered new interface driver uvcvideo
Apr 16 23:49:34 exmarco kernel: [ 797.298354] USB Video Class driver (1.1.1)
[root@exmarco antonio]#

antonio m

Ritratto di amontag
amontag
(Monster)
Offline
Monster
Iscritto: 06/01/2011
Messaggi: 446

e adesso ho una domanda: mi sono accorto che dmesg non viene aggiornato...come è possibile???

ora lsmod mi dice:

lsmod
Module Size Used by
ppdev 17363 0
parport_pc 27442 0
lp 17486 0
parport 39179 3 ppdev,parport_pc,lp
fuse 71231 3
lockd 73543 0
arc4 12473 2
snd_hda_codec_realtek 121580 1
iwl3945 98908 0
iwlegacy 114778 1 iwl3945
mac80211 427444 2 iwl3945,iwlegacy
snd_hda_intel 32323 2
snd_hda_codec 102795 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13236 1 snd_hda_codec
cfg80211 169437 3 iwl3945,iwlegacy,mac80211
snd_seq 54637 0
snd_seq_device 13817 1 snd_seq
irda 104493 0
snd_pcm 81170 2 snd_hda_intel,snd_hda_codec
acer_wmi 23325 0
sparse_keymap 13342 1 acer_wmi
snd_timer 23896 2 snd_seq,snd_pcm
rfkill 20417 3 cfg80211,acer_wmi
crc_ccitt 12517 1 irda
tifm_7xx1 13156 0
tifm_core 14474 1 tifm_7xx1
iTCO_wdt 17652 0
iTCO_vendor_support 13243 1 iTCO_wdt
snd 62853 12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore 14116 1 snd
snd_page_alloc 13709 2 snd_hda_intel,snd_pcm
microcode 18642 0
joydev 17124 0
serio_raw 13155 0
i2c_i801 17485 0
tg3 130300 0
sunrpc 196934 2 lockd
uinput 17246 0
firewire_ohci 39538 0
yenta_socket 36196 0
firewire_core 55025 1 firewire_ohci
crc_itu_t 12523 1 firewire_core
wmi 18273 1 acer_wmi
radeon 750846 3
ttm 68064 1 radeon
drm_kms_helper 30903 1 radeon
drm 199418 5 radeon,ttm,drm_kms_helper
i2c_algo_bit 12980 1 radeon
i2c_core 28151 5 i2c_i801,radeon,drm_kms_helper,drm,i2c_algo_bit

antonio m

Ritratto di sagitter
sagitter
(Collaboratore)
Offline
Collaboratore
Iscritto: 04/01/2011
Messaggi: 1320

Scaricando i gspca e caricando uvcvideo la webcam funziona ?

Ritratto di amontag
amontag
(Monster)
Offline
Monster
Iscritto: 06/01/2011
Messaggi: 446

se intendi dopo i comandi da te suggeriti, la risposta è no...conviene tornare indietro???

guarda anche questi link...per me il mistero rimane dome messages la veda, e lsusb no

[1] http://www.ideasonboard.org/uvc/
[2] http://mxhaard.free.fr/spca5xx.html

antonio m

Ritratto di sagitter
sagitter
(Collaboratore)
Offline
Collaboratore
Iscritto: 04/01/2011
Messaggi: 1320

amontag ha scritto:

se intendi dopo i comandi da te suggeriti, la risposta è no...conviene tornare indietro???

guarda anche questi link...per me il mistero rimane dome messages la veda, e lsusb no

[1] http://www.ideasonboard.org/uvc/
[2] http://mxhaard.free.fr/spca5xx.html

Già controllati da tempo.
Secondo il primo, quella webcam è supportata; ma usando il secondo mi sembra ci sia stata una reazione. Non ti resta che sentirli sulla loro mailing list; non possiamo farci nulla.

Ritratto di amontag
amontag
(Monster)
Offline
Monster
Iscritto: 06/01/2011
Messaggi: 446

sagitter ha scritto:

Facciamo un test:

# modprobe -r uvcvideo
# modprobe -r gspca_main
# modprobe -r gspca_vc032x
# modprobe uvcvideo
# cat /var/log/messages | tail -n 40

Mostrami l'ultimo comando perfavore.

per tornare alla situazione originale devo fare l'inverso
# modprobe -r uvcvideo
# modprobe gspca_main
# modprobe gspca_vc032x
# modprobe uvcvideo

o mi sbaglio??.. non ho capito perchè rimuoviamo uvcvideo e poi lo ricarichiamo.

antonio m

Ritratto di sagitter
sagitter
(Collaboratore)
Offline
Collaboratore
Iscritto: 04/01/2011
Messaggi: 1320

Era un test per provare il solo uvcvideo module scaricando tutti per ricaricarne uno soltanto (temevo dei conflitti).