Da quando ho aggiornato a Ubuntu 12.04 la mia webcam Philips PCVC 720K/40 ToUcam XS non viene più riconosciuta da Cheese.
Tra l'altro il LED rosso della webcam rimane sempre acceso, non capisco perchè.
Qualcuno saprebbe darmi una mano?
Grazie mille.

Codice: Seleziona tutto
lsusb
Codice: Seleziona tutto
dmesg | grep usb
Codice: Seleziona tutto
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 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 002 Device 004: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge
Bus 006 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
Bus 007 Device 002: ID 0471:0313 Philips (or NXP) <---- dovrebbe essere questa la webcam
Bus 008 Device 002: ID 045e:076c Microsoft Corp.
Codice: Seleziona tutto
[ 0.189340] usbcore: registered new interface driver usbfs
[ 0.189350] usbcore: registered new interface driver hub
[ 0.189373] usbcore: registered new device driver usb
[ 0.789755] usbcore: registered new interface driver libusual
[ 1.080019] usb 1-3: new high-speed USB device number 2 using ehci_hcd
[ 1.328026] usb 1-5: new high-speed USB device number 3 using ehci_hcd
[ 1.463941] scsi6 : usb-storage 1-5:1.0
[ 1.463998] usbcore: registered new interface driver usb-storage
[ 1.796023] usb 2-4: new high-speed USB device number 4 using ehci_hcd
[ 1.938431] usb-storage 2-4:1.0: Quirks match for vid 152d pid 2329: 8020
[ 1.938546] scsi9 : usb-storage 2-4:1.0
[ 2.232025] usb 6-2: new full-speed USB device number 2 using uhci_hcd
[ 2.644020] usb 7-1: new full-speed USB device number 2 using uhci_hcd
[ 3.200021] usb 8-1: new low-speed USB device number 2 using uhci_hcd
[ 3.382712] usbcore: registered new interface driver usbhid
[ 3.382715] usbhid: USB HID core driver
[ 3.447748] input: Microsoft Microsoft\xffffffc2\xffffffae\xffffffae Comfort Mouse 4500 as /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/input/input3
[ 3.447928] microsoft 0003:045E:076C.0001: input,hidraw0: USB HID v1.11 Mouse [Microsoft Microsoft\xffffffc2\xffffffae\xffffffae Comfort Mouse 4500] on usb-0000:00:1d.2-1/input0
[ 10.712396] usbcore: registered new interface driver btusb
[ 10.775511] usbcore: registered new interface driver snd-usb-audio
[ 11.172911] usbcore: registered new interface driver rtl8187

Questo è una parte del comando modinfo pwc; quelli evidenziati in rosso sono dati relativi per la tua webcam Philips; impostando il parametro leds è possibile spegnere o accendere il LED rosso della webcam.modinfo pwc
filename: /lib/modules/3.2.0-27-generic/kernel/drivers/media/video/pwc/pwc.ko
version: 10.0.15
alias: pwcx
license: GPL
author: Luc Saillard <luc@saillard.org>
description: Philips & OEM USB webcam driver
srcversion: D855E38DECBF936D58FEF95
alias: usb:v0D81p1900d*dc*dsc*dp*ic*isc*ip*
.................................................................................................
alias: usb:v0471p0313d*dc*dsc*dp*ic*isc*ip*
depends: videodev,videobuf2-core,videobuf2-vmalloc
intree: Y
vermagic: 3.2.0-27-generic SMP mod_unload modversions 686
parm: fps:Initial frames per second. Varies with model, useful range 5-30 (int)
parm: power_save:Turn power saving for new cameras on or off (int)
parm: compression:Preferred compression quality. Range 0 (uncompressed) to 3 (high compression) (int)
parm: leds:LED on,off time in milliseconds (array of int)
parm: dev_hint:Device node hints (array of charp)
Codice: Seleziona tutto
sudo modprobe pwc
Codice: Seleziona tutto
sudo modprobe -r pwc leds=0
Codice: Seleziona tutto
sudo modprobe -r pwc leds=0
Codice: Seleziona tutto
FATAL: Module leds=0 not found.

Codice: Seleziona tutto
echo pwc | sudo tee -a /etc/modules
Mi sa tanto che la sintassi è sbagliata, ho cercato in Internet, non ho trovato nulla di specifico.robymontyz » [url=http://forum.ubuntu-it.org/viewtopic.php?p=4150976#p4150976]40 minuti fa[/url] ha scritto:
Invece per il LED se do:mi dice:Codice: Seleziona tutto
sudo modprobe -r pwc leds=0Forse la sintassi del comando è sbagliata...Codice: Seleziona tutto
FATAL: Module leds=0 not found.
Il problema l'avevo anche su 11.10 prima dell'aggiornamento, il LED rimaneva sempre acceso anche quando non usavo la webcam...Alexperia ha scritto:Prova su Ubuntu 12.04 in Live CD, probabilmente l'aggiornamento ha portato con se qualche problema, io consiglio sempre di fare un'istallazione da zero

Codice: Seleziona tutto
sudo modprobe -r pwc
Codice: Seleziona tutto
sudo modprobe pwc power_save=1 fps=15 leds=250,750
Codice: Seleziona tutto
sudo modprobe -r pwc
Codice: Seleziona tutto
sudo apt-get install setpwc
Codice: Seleziona tutto
setpwc -h
Codice: Seleziona tutto
dmesg | grep usb
Si infatti, in teoria...magozurlinux ha scritto:In teoria se la webcam non viene utilizzata il led dovrebbe rimanere spento, si accende quando lanci cheese o Skype.
Si, su windows il LED si accende solo quando la uso.Hai provato la webcam con Windows per vedere se anche con esso rimane acceso oppure spento?
Codice: Seleziona tutto
setpwc v1.2, (C) 2003-2006 by folkert@vanheusden.com
-d device device to use (default: /dev/video0)
-p dump current settings
-f x set framerate (0...63)
-S w,h,x set width/height/framerate
-b store settings in nonvolatile RAM
-r restore settings from nonvolatile RAM
-x restore factory settings
-c x set compression preference (0-3)
-g x set automatic gain control (0...65535)
-s x set shutter speed (1...65535)
-w auto/manual/indoor/outdoor/fl
set automatic white balance mode
-a x red-balance (only if -w manual) (0...65535)
-e x blue-balance (idem) (0...65535)
-i x speed of automatic white balance (1...65535)
-j x delay for automatic white balance (1...65535)
-k x set led on-time (0...25500ms
-l x set led off-time
-m x set electronic sharpness (0...65535)
-n x set backlight compensation (0=0ff, other=on)
-o x set antiflicker mode (0=0ff, other=on)
-q x set noise reduction mode (0=none...3=high)
-t x reset pan(bit 0) and/or tilt(bit 1)
-u query pan/tilt status
-y x set pan position
-z x set tilt position
-h this help
With this tool, you can only set settings specific to the Philips WebCams.
For something more generic, see dov4l:
http://www.vanheusden.com/dov4l/
Codice: Seleziona tutto
[ 0.189331] usbcore: registered new interface driver usbfs
[ 0.189341] usbcore: registered new interface driver hub
[ 0.189364] usbcore: registered new device driver usb
[ 0.781760] usbcore: registered new interface driver libusual
[ 1.072019] usb 1-3: new high-speed USB device number 2 using ehci_hcd
[ 1.320026] usb 1-5: new high-speed USB device number 3 using ehci_hcd
[ 1.455923] scsi6 : usb-storage 1-5:1.0
[ 1.455979] usbcore: registered new interface driver usb-storage
[ 1.788023] usb 2-4: new high-speed USB device number 4 using ehci_hcd
[ 1.929568] usb-storage 2-4:1.0: Quirks match for vid 152d pid 2329: 8020
[ 1.929583] scsi9 : usb-storage 2-4:1.0
[ 2.224033] usb 6-2: new full-speed USB device number 2 using uhci_hcd
[ 2.636021] usb 7-1: new full-speed USB device number 2 using uhci_hcd
[ 3.192025] usb 8-1: new low-speed USB device number 2 using uhci_hcd
[ 3.375703] usbcore: registered new interface driver usbhid
[ 3.375705] usbhid: USB HID core driver
[ 3.440523] input: Microsoft Microsoft\xffffffc2\xffffffae\xffffffae Comfort Mouse 4500 as /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/input/input3
[ 3.442746] microsoft 0003:045E:076C.0001: input,hidraw0: USB HID v1.11 Mouse [Microsoft Microsoft\xffffffc2\xffffffae\xffffffae Comfort Mouse 4500] on usb-0000:00:1d.2-1/input0
[ 11.988711] usbcore: registered new interface driver btusb
[ 12.210399] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/input/input4
[ 12.210675] usbcore: registered new interface driver Philips webcam
[ 12.332696] usbcore: registered new interface driver snd-usb-audio
[ 12.439293] usbcore: registered new interface driver rtl8187
[ 2735.660038] usbcore: deregistering interface driver Philips webcam
[ 2772.808047] usb 7-1: USB disconnect, device number 2
[ 2826.918527] usbcore: registered new interface driver Philips webcam
[ 2837.088024] usb 7-1: new full-speed USB device number 3 using uhci_hcd
[ 2838.321180] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/input/input5
[ 2958.756640] usbcore: deregistering interface driver Philips webcam
[ 2965.061225] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/input/input6
[ 2965.061754] usbcore: registered new interface driver Philips webcam
[ 2992.064136] usbcore: deregistering interface driver Philips webcam
[ 3002.385248] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/input/input7
[ 3002.385787] usbcore: registered new interface driver Philips webcam
[ 3354.668015] usbcore: deregistering interface driver Philips webcam
[ 3358.297404] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/input/input8
[ 3358.298667] usbcore: registered new interface driver Philips webcam
[ 3370.736049] usb 7-1: USB disconnect, device number 3
[ 3395.784035] usb 7-1: new full-speed USB device number 4 using uhci_hcd
[ 3396.967169] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/input/input9
[ 5398.092052] usbcore: deregistering interface driver Philips webcam
[ 5421.635060] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/input/input10
[ 5421.636095] usbcore: registered new interface driver Philips webcam
Codice: Seleziona tutto
setpwc -k 0
setpwc -l 0
setpwc -xCodice: Seleziona tutto
input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/input/input10
Codice: Seleziona tutto
setpwc -x
Codice: Seleziona tutto
setpwc -k 0 -l 1
Codice: Seleziona tutto
setpwc -b
Codice: Seleziona tutto
dmesg | tail
Codice: Seleziona tutto
[ 14.123781] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.124422] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 16.295525] cfg80211: Found new beacon on frequency: 2472 MHz (Ch 13) on phy0
[ 19.036890] wlan0: authenticate with [....] (try 1)
[ 19.038637] wlan0: authenticated
[ 19.244890] wlan0: associate with [....] (try 1)
[ 19.247896] wlan0: RX AssocResp from [....] (capab=0x471 status=0 aid=1)
[ 19.247899] wlan0: associated
[ 19.249779] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 30.408069] wlan0: no IPv6 routers present
Visualizzano questa sezione: 0 utenti iscritti e 15 ospiti