domenica 4 novembre 2007

Webcam anche su Ubuntu. Guida all'installazione.


Vi fornisco una semplice procedura per installare una webcam su Ubuntu. La prima parte della guida (cioè l'installazione dei driver gspca) va eseguita solo nel caso si usi una distro di Ubuntu inferiore alla 7.04 (Feisty), altrimenti basta seguire solo l'ultima parte della guida. Naturalmente prima di installare i driver, assicuratevi che la vostra webcam sia compatibile con Ubuntu (difficile che non lo sia) e che questi che vi indicherò sono i driver giusti.

Per prima cosa scaricate i driver GSPCA dal sito


http://mxhaard.free.fr/download.html

e scompattateli con

tar -xvf [file_scaricato].tar.gz

Supponiamo avete scaricato il file sul Desktop; spostiamo quindi qui:

sudo su cd /home/nome_utente/Desktop make make install

Se la compilazione (make) e l'installazione (make install) sono andati a buon fine, apriamo il file:

gedit /etc/modprobe.d/options

e aggiungete alla fine del file che si è appena aperto:


options gspca force_rgb=1

salviamo e chiudiamo il file. Da terminale eseguiamo:

sudo modprobe gspca
(il sudo è necessario solo se non siete più root)

ls /dev/video* (se otteniamo come output /dev/video0 è tutto ok!)

"Se si usa Ubuntu 7.04 o superiore eseguire solo questi comandi"

sudo gedit /etc/modprobe.d/options

inserite alla fine del file la riga:

options gspca force_rgb=1

salvate e uscite; ancora da terminale:

sudo modprobe -r gspca
sudo modprobe gspca


Infine, per verificare che tutto sia andato bene, installate camorama con

sudo apt-get install camorama

e avviatelo prmendo Alt+F2 e scrivendo camorama nel box. Buona visione!

26 commenti:

elena ha detto...

ciao sono una nuova utilizzatrice di ubuntu 8.04 e sono disperata perchè ho fatto tutta la procedura ma mi dice che non trova la connessione con il device. io utilizzo una creative live!cam im pro e il driver per linux mi sembra che ci sia puoi darmi altri suggerimenti?

Anyon ha detto...

Collega la webcam e da terminale dai il comando "lsusb" e postami il risultato. Ciao

elena ha detto...

giuliana@giuliana-laptop:~$ lsusb
Bus 005 Device 003: ID 041e:4055 Creative Technology, Ltd
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 046d:c018 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
giuliana@giuliana-laptop:~$

elena ha detto...

ti ho postato il risultato.
Grazie
Elena

Anyon ha detto...

Postami anche il risultato del comando "dmesg" dopo che colleghi la webcam...

elena ha detto...

ciao Anyon eccoti il risultato
[ 24.089101] AppArmor: AppArmor initialized
[ 24.089106] Failure registering capabilities with primary security module.
[ 24.089114] Mount-cache hash table entries: 512
[ 24.089250] Initializing cgroup subsys ns
[ 24.089255] Initializing cgroup subsys cpuacct
[ 24.089268] CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e39d 00000000 00000001 00000000
[ 24.089276] monitor/mwait feature present.
[ 24.089277] using mwait in idle threads.
[ 24.089282] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 24.089284] CPU: L2 cache: 2048K
[ 24.089287] CPU: Physical Processor ID: 0
[ 24.089288] CPU: Processor Core ID: 0
[ 24.089290] CPU: After all inits, caps: bfebfbff 20100000 00000000 00043940 0000e39d 00000000 00000001 00000000
[ 24.089302] Compat vDSO mapped to ffffe000.
[ 24.089315] Checking 'hlt' instruction... OK.
[ 24.105451] SMP alternatives: switching to UP code
[ 24.107169] Early unpacking initramfs... done
[ 24.452673] ACPI: Core revision 20070126
[ 24.452716] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 24.484711] CPU0: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz stepping 06
[ 24.484727] SMP alternatives: switching to SMP code
[ 24.485484] Booting processor 1/1 eip 3000
[ 24.495686] Initializing CPU#1
[ 24.572307] Calibrating delay using timer specific routine.. 3325.03 BogoMIPS (lpj=6650078)
[ 24.572314] CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e39d 00000000 00000001 00000000
[ 24.572319] monitor/mwait feature present.
[ 24.572323] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 24.572325] CPU: L2 cache: 2048K
[ 24.572327] CPU: Physical Processor ID: 0
[ 24.572328] CPU: Processor Core ID: 1
[ 24.572330] CPU: After all inits, caps: bfebfbff 20100000 00000000 00043940 0000e39d 00000000 00000001 00000000
[ 24.572915] CPU1: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz stepping 06
[ 24.572937] Total of 2 processors activated (6653.90 BogoMIPS).
[ 24.573133] ENABLING IO-APIC IRQs
[ 24.573324] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 24.720200] checking TSC synchronization [CPU#0 -> CPU#1]: passed.
[ 24.740185] Brought up 2 CPUs
[ 24.740210] CPU0 attaching sched-domain:
[ 24.740213] domain 0: span 03
[ 24.740215] groups: 01 02
[ 24.740218] CPU1 attaching sched-domain:
[ 24.740220] domain 0: span 03
[ 24.740221] groups: 02 01
[ 24.740484] net_namespace: 64 bytes
[ 24.740493] Booting paravirtualized kernel on bare hardware
[ 24.740970] Time: 13:34:41 Date: 07/31/08
[ 24.740998] NET: Registered protocol family 16
[ 24.741218] EISA bus registered
[ 24.741222] ACPI: bus type pci registered
[ 24.780076] PCI: PCI BIOS revision 2.10 entry at 0xfd843, last bus=6
[ 24.780079] PCI: Using configuration type 1
[ 24.780095] Setting up standard PCI resources
[ 24.784235] ACPI: EC: Look up EC in DSDT
[ 24.785700] ACPI: BIOS _OSI(Linux) query ignored via DMI
[ 24.786279] ACPI: Interpreter enabled
[ 24.786282] ACPI: (supports S0 S3 S4 S5)
[ 24.786296] ACPI: Using IOAPIC for interrupt routing
[ 24.786661] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 24.791645] ACPI: EC: GPE = 0x19, I/O: command/status = 0x66, data = 0x62
[ 24.791648] ACPI: EC: driver started in interrupt mode
[ 24.791698] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 24.792552] PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
[ 24.792556] PCI quirk: region 1180-11bf claimed by ICH6 GPIO
[ 24.793777] PCI: Transparent bridge - 0000:00:1e.0
[ 24.793822] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 24.794106] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
[ 24.794228] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
[ 24.794349] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT]
[ 24.794485] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
[ 24.797600] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[ 24.797699] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[ 24.797795] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 *3 4 5 6 7 10 12 14 15)
[ 24.797889] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[ 24.797983] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[ 24.798078] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[ 24.798173] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 *7 10 12 14 15)
[ 24.798267] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 *5 6 7 11 12 14 15)
[ 24.798420] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 24.798454] pnp: PnP ACPI init
[ 24.798461] ACPI: bus type pnp registered
[ 24.800360] pnp: PnP ACPI: found 11 devices
[ 24.800362] ACPI: ACPI bus type pnp unregistered
[ 24.800366] PnPBIOS: Disabled by ACPI PNP
[ 24.800627] PCI: Using ACPI for IRQ routing
[ 24.800630] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 24.800713] PCI: Cannot allocate resource region 0 of device 0000:05:00.0
[ 24.840072] NET: Registered protocol family 8
[ 24.840074] NET: Registered protocol family 20
[ 24.840114] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 24.840118] hpet0: 3 64-bit timers, 14318180 Hz
[ 24.841154] AppArmor: AppArmor Filesystem Enabled
[ 24.843898] Time: tsc clocksource has been installed.
[ 24.843910] Switched to high resolution mode on CPU 0
[ 24.844021] Switched to high resolution mode on CPU 1
[ 24.867863] system 00:01: iomem range 0xe0000000-0xefffffff could not be reserved
[ 24.867866] system 00:01: iomem range 0xfed14000-0xfed17fff could not be reserved
[ 24.867869] system 00:01: iomem range 0xfed18000-0xfed18fff could not be reserved
[ 24.867872] system 00:01: iomem range 0xfed19000-0xfed19fff could not be reserved
[ 24.867875] system 00:01: iomem range 0xfed1c000-0xfed1ffff could not be reserved
[ 24.867878] system 00:01: iomem range 0xfed20000-0xfed3ffff could not be reserved
[ 24.867881] system 00:01: iomem range 0xfed40000-0xfed44fff could not be reserved
[ 24.867884] system 00:01: iomem range 0xfed45000-0xfed8ffff could not be reserved
[ 24.867892] system 00:04: iomem range 0xfed00000-0xfed003ff could not be reserved
[ 24.867899] system 00:06: ioport range 0x200-0x20f has been reserved
[ 24.867901] system 00:06: ioport range 0x680-0x69f has been reserved
[ 24.867904] system 00:06: ioport range 0x800-0x80f has been reserved
[ 24.867906] system 00:06: ioport range 0x1000-0x107f has been reserved
[ 24.867909] system 00:06: ioport range 0x1180-0x11bf has been reserved
[ 24.867912] system 00:06: ioport range 0x1640-0x164f has been reserved
[ 24.867919] system 00:07: ioport range 0x6a0-0x6af has been reserved
[ 24.867921] system 00:07: ioport range 0x6b0-0x6ff has been reserved
[ 24.898359] PCI: Bridge: 0000:00:1c.0
[ 24.898363] IO window: f000-ffff
[ 24.898369] MEM window: fac00000-febfffff
[ 24.898375] PREFETCH window: disabled.
[ 24.898380] PCI: Bridge: 0000:00:1c.1
[ 24.898382] IO window: disabled.
[ 24.898387] MEM window: disabled.
[ 24.898391] PREFETCH window: disabled.
[ 24.898409] PCI: Bridge: 0000:00:1c.2
[ 24.898410] IO window: disabled.
[ 24.898416] MEM window: f7000000-f70fffff
[ 24.898420] PREFETCH window: disabled.
[ 24.898430] PCI: Bridge: 0000:00:1e.0
[ 24.898433] IO window: 2000-2fff
[ 24.898439] MEM window: f0200000-f02fffff
[ 24.898443] PREFETCH window: disabled.
[ 24.898473] PCI: Enabling device 0000:00:1c.0 (0000 -> 0003)
[ 24.898479] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 16
[ 24.898487] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[ 24.898512] ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low) -> IRQ 17
[ 24.898519] PCI: Setting latency timer of device 0000:00:1c.1 to 64
[ 24.898543] PCI: Enabling device 0000:00:1c.2 (0000 -> 0002)
[ 24.898547] ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18
[ 24.898554] PCI: Setting latency timer of device 0000:00:1c.2 to 64
[ 24.898569] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[ 24.898580] NET: Registered protocol family 2
[ 24.935779] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 24.936001] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 24.936474] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 24.936715] TCP: Hash tables configured (established 131072 bind 65536)
[ 24.936718] TCP reno registered
[ 24.947844] checking if image is initramfs... it is
[ 25.626437] Freeing initrd memory: 7320k freed
[ 25.626611] Simple Boot Flag at 0x35 set to 0x1
[ 25.627357] audit: initializing netlink socket (disabled)
[ 25.627371] audit(1217511281.465:1): initialized
[ 25.627611] highmem bounce pool size: 64 pages
[ 25.629789] VFS: Disk quotas dquot_6.5.1
[ 25.629870] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 25.630010] io scheduler noop registered
[ 25.630013] io scheduler anticipatory registered
[ 25.630015] io scheduler deadline registered
[ 25.630026] io scheduler cfq registered (default)
[ 25.630038] Boot video device is 0000:00:02.0
[ 25.630246] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[ 25.630306] assign_interrupt_mode Found MSI capability
[ 25.630357] Allocate Port Service[0000:00:1c.0:pcie00]
[ 25.630395] Allocate Port Service[0000:00:1c.0:pcie02]
[ 25.630502] PCI: Setting latency timer of device 0000:00:1c.1 to 64
[ 25.630561] assign_interrupt_mode Found MSI capability
[ 25.630609] Allocate Port Service[0000:00:1c.1:pcie00]
[ 25.630644] Allocate Port Service[0000:00:1c.1:pcie02]
[ 25.630757] PCI: Setting latency timer of device 0000:00:1c.2 to 64
[ 25.630816] assign_interrupt_mode Found MSI capability
[ 25.630863] Allocate Port Service[0000:00:1c.2:pcie00]
[ 25.630899] Allocate Port Service[0000:00:1c.2:pcie02]
[ 25.631187] isapnp: Scanning for PnP cards...
[ 25.985052] isapnp: No Plug & Play device found
[ 26.012713] Real Time Clock Driver v1.12ac
[ 26.012958] hpet_resources: 0xfed00000 is busy
[ 26.012985] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 26.014301] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 26.014374] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 26.014481] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 26.016977] i8042.c: Detected active multiplexing controller, rev 1.1.
[ 26.018137] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 26.018143] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[ 26.018145] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[ 26.018147] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[ 26.018149] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[ 26.039179] mice: PS/2 mouse device common for all mice
[ 26.039309] EISA: Probing bus 0 at eisa.0
[ 26.039316] Cannot allocate resource for EISA slot 1
[ 26.039319] Cannot allocate resource for EISA slot 2
[ 26.039346] EISA: Detected 0 cards.
[ 26.039349] cpuidle: using governor ladder
[ 26.039351] cpuidle: using governor menu
[ 26.039436] NET: Registered protocol family 1
[ 26.039466] Using IPI No-Shortcut mode
[ 26.039495] registered taskstats version 1
[ 26.039611] Magic number: 0:743:585
[ 26.039641] hash matches device ptyc3
[ 26.039689] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 26.039690] EDD information not available.
[ 26.039883] Freeing unused kernel memory: 368k freed
[ 26.070883] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 27.266981] fuse init (API version 7.9)
[ 27.286114] ACPI: SSDT 7F697DCC, 01A8 (r1 PmRef Cpu0Ist 3000 INTL 20050624)
[ 27.286321] ACPI: SSDT 7F697B81, 01C6 (r1 PmRef Cpu0Cst 3001 INTL 20050624)
[ 27.286745] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[ 27.286750] ACPI: Processor [CPU0] (supports 8 throttling states)
[ 27.286990] ACPI: SSDT 7F697F74, 0089 (r1 PmRef Cpu1Ist 3000 INTL 20050624)
[ 27.287179] ACPI: SSDT 7F697D47, 0085 (r1 PmRef Cpu1Cst 3000 INTL 20050624)
[ 27.287686] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[ 27.287692] ACPI: Processor [CPU1] (supports 8 throttling states)
[ 27.290050] ACPI: Thermal Zone [THRM] (65 C)
[ 27.637530] usbcore: registered new interface driver usbfs
[ 27.637556] usbcore: registered new interface driver hub
[ 27.654119] usbcore: registered new device driver usb
[ 27.655301] USB Universal Host Controller Interface driver v3.0
[ 27.655356] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19
[ 27.655367] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[ 27.655372] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 27.655619] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[ 27.655651] uhci_hcd 0000:00:1d.0: irq 19, io base 0x00001820
[ 27.655789] usb usb1: configuration #1 chosen from 1 choice
[ 27.655813] hub 1-0:1.0: USB hub found
[ 27.655817] hub 1-0:1.0: 2 ports detected
[ 27.704107] 8139too Fast Ethernet driver 0.9.28
[ 27.760453] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 20
[ 27.760466] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[ 27.760470] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 27.760496] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[ 27.760528] uhci_hcd 0000:00:1d.1: irq 20, io base 0x00001840
[ 27.760645] usb usb2: configuration #1 chosen from 1 choice
[ 27.760669] hub 2-0:1.0: USB hub found
[ 27.760674] hub 2-0:1.0: 2 ports detected
[ 27.761173] SCSI subsystem initialized
[ 27.770854] libata version 3.00 loaded.
[ 27.864289] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
[ 27.864303] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[ 27.864308] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 27.864333] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[ 27.864367] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001860
[ 27.864491] usb usb3: configuration #1 chosen from 1 choice
[ 27.864516] hub 3-0:1.0: USB hub found
[ 27.864521] hub 3-0:1.0: 2 ports detected
[ 27.967137] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 17
[ 27.967149] PCI: Setting latency timer of device 0000:00:1d.3 to 64
[ 27.967154] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[ 27.967182] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
[ 27.967215] uhci_hcd 0000:00:1d.3: irq 17, io base 0x00001880
[ 27.967335] usb usb4: configuration #1 chosen from 1 choice
[ 27.967359] hub 4-0:1.0: USB hub found
[ 27.967364] hub 4-0:1.0: 2 ports detected
[ 27.998979] usb 1-1: new low speed USB device using uhci_hcd and address 2
[ 28.071010] PCI: Enabling device 0000:06:04.0 (0195 -> 0197)
[ 28.071021] ACPI: PCI Interrupt 0000:06:04.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 28.071101] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 19
[ 28.071114] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[ 28.071118] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 28.071142] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
[ 28.075051] ehci_hcd 0000:00:1d.7: debug port 1
[ 28.075058] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[ 28.075064] ehci_hcd 0000:00:1d.7: irq 19, io mem 0xf0004000
[ 28.121690] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18] MMIO=[f0200000-f02007ff] Max Packet=[2048] IR/IT contexts=[8/8]
[ 28.126760] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 28.126877] usb usb5: configuration #1 chosen from 1 choice
[ 28.126903] hub 5-0:1.0: USB hub found
[ 28.126909] hub 5-0:1.0: 8 ports detected
[ 28.230891] ahci 0000:00:1f.2: version 3.0
[ 28.230924] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 20
[ 28.230974] ahci 0000:00:1f.2: nr_ports (4) and implemented port map (0x5) don't match, using nr_ports
[ 28.230977] ahci 0000:00:1f.2: forcing PORTS_IMPL to 0xf
[ 28.522207] usb 1-1: device not accepting address 2, error -71
[ 28.653951] Clocksource tsc unstable (delta = -2952697637 ns)
[ 28.659361] Time: hpet clocksource has been installed.
[ 28.706443] usb 1-1: new low speed USB device using uhci_hcd and address 4
[ 28.733151] usb 1-1: configuration #1 chosen from 1 choice
[ 28.749017] usbcore: registered new interface driver hiddev
[ 28.752708] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/input/input2
[ 28.756326] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 1.5 Gbps 0xf impl SATA mode
[ 28.756333] ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part
[ 28.756342] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[ 28.756687] scsi0 : ahci
[ 28.756872] scsi1 : ahci
[ 28.757042] scsi2 : ahci
[ 28.757189] scsi3 : ahci
[ 28.757276] ata1: SATA max UDMA/133 abar m1024@0xf0004400 port 0xf0004500 irq 220
[ 28.757280] ata2: SATA max UDMA/133 abar m1024@0xf0004400 port 0xf0004580 irq 220
[ 28.757283] ata3: SATA max UDMA/133 abar m1024@0xf0004400 port 0xf0004600 irq 220
[ 28.757287] ata4: SATA max UDMA/133 abar m1024@0xf0004400 port 0xf0004680 irq 220
[ 28.757615] input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.0-1
[ 28.757639] usbcore: registered new interface driver usbhid
[ 28.757644] /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[ 28.785205] ieee1394: Host added: ID:BUS[0-00:1023] GUID[00030d0050045e24]
[ 28.819640] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 28.871800] ata1.00: ATA-7: WDC WD1200BEVS-07LAT0, 01.06M01, max UDMA/133
[ 28.871804] ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 1)
[ 28.872768] ata1.00: configured for UDMA/133
[ 28.903186] ata2: SATA link down (SStatus 0 SControl 0)
[ 28.934602] ata3: SATA link down (SStatus 0 SControl 300)
[ 28.963865] ata4: SATA link down (SStatus 0 SControl 0)
[ 28.964129] scsi 0:0:0:0: Direct-Access ATA WDC WD1200BEVS-0 01.0 PQ: 0 ANSI: 5
[ 28.964626] ACPI: PCI Interrupt 0000:06:05.0[A] -> GSI 16 (level, low) -> IRQ 17
[ 28.965650] eth0: RealTek RTL8139 at 0x2000, 00:03:0d:55:2d:2d, IRQ 17
[ 28.965653] eth0: Identified 8139 chip type 'RTL-8100B/8139D'
[ 28.965688] ata_piix 0000:00:1f.1: version 2.12
[ 28.965704] ACPI: PCI Interrupt 0000:00:1f.1[B] -> GSI 19 (level, low) -> IRQ 20
[ 28.965735] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[ 28.965792] scsi4 : ata_piix
[ 28.965837] scsi5 : ata_piix
[ 28.966312] ata5: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x1810 irq 14
[ 28.966315] ata6: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x1818 irq 15
[ 28.969027] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 28.975479] Driver 'sd' needs updating - please use bus_type methods
[ 28.977960] sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
[ 28.977982] sd 0:0:0:0: [sda] Write Protect is off
[ 28.977987] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 28.978016] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 28.978094] sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
[ 28.978111] sd 0:0:0:0: [sda] Write Protect is off
[ 28.978115] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 28.978143] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 28.978149] sda: sda1 sda2 sda3 < sda5 sda6 > sda4
[ 29.055626] sd 0:0:0:0: [sda] Attached SCSI disk
[ 29.060735] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 29.278880] ata5.00: ATAPI: Optiarc DVD RW AD-7540A, 1.42, max UDMA/33
[ 29.449601] ata5.00: configured for UDMA/33
[ 29.449711] ata6: port disabled. ignoring.
[ 29.450851] scsi 4:0:0:0: CD-ROM Optiarc DVD RW AD-7540A 1.42 PQ: 0 ANSI: 5
[ 29.450933] scsi 4:0:0:0: Attached scsi generic sg1 type 5
[ 29.463207] Driver 'sr' needs updating - please use bus_type methods
[ 29.467498] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 29.467501] Uniform CD-ROM driver Revision: 3.20
[ 29.467550] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 29.718824] Attempting manual resume
[ 29.718827] swsusp: Resume From Partition 8:6
[ 29.718829] PM: Checking swsusp image.
[ 29.718978] PM: Resume from disk failed.
[ 29.754763] kjournald starting. Commit interval 5 seconds
[ 29.754792] EXT3-fs: mounted filesystem with ordered data mode.
[ 40.762381] input: PC Speaker as /devices/platform/pcspkr/input/input3
[ 40.910649] Linux agpgart interface v0.102
[ 40.973928] iTCO_vendor_support: vendor-support=0
[ 41.013858] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
[ 41.013958] iTCO_wdt: Found a ICH7-M TCO device (Version=2, TCOBASE=0x1060)
[ 41.013995] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 41.085460] input: Power Button (FF) as /devices/virtual/input/input4
[ 41.108685] ACPI: Power Button (FF) [PWRF]
[ 41.108771] input: Lid Switch as /devices/virtual/input/input5
[ 41.108833] ACPI: Lid Switch [LID0]
[ 41.108897] input: Power Button (CM) as /devices/virtual/input/input6
[ 41.124644] ACPI: Power Button (CM) [PWRB]
[ 41.124733] input: Sleep Button (CM) as /devices/virtual/input/input7
[ 41.140624] ACPI: Sleep Button (CM) [SLPB]
[ 41.164197] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 41.193697] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 41.249573] agpgart: Detected an Intel 945GM Chipset.
[ 41.250635] agpgart: Detected 7932K stolen memory.
[ 41.266984] agpgart: AGP aperture is 256M @ 0xc0000000
[ 41.278014] ACPI: AC Adapter [AC0] (on-line)
[ 41.325759] ACPI: Battery Slot [BAT0] (battery present)
[ 41.415447] intel_rng: FWH not detected
[ 41.645137] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input8
[ 41.693134] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 41.694253] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input9
[ 41.751687] ACPI: Video Device [IGD] (multi-head: yes rom: no post: no)
[ 42.020259] sdhci: Secure Digital Host Controller Interface driver
[ 42.020263] sdhci: Copyright(c) Pierre Ossman
[ 42.020309] sdhci: SDHCI controller found at 0000:06:04.2 [1217:7120] (rev 1)
[ 42.020338] ACPI: PCI Interrupt 0000:06:04.2[A] -> GSI 18 (level, low) -> IRQ 18
[ 42.020357] sdhci:slot0: Unknown controller version (16). You may experience problems.
[ 42.020403] mmc0: SDHCI at 0xb0300800 irq 18 PIO
[ 42.551167] input: PS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio4/input/input10
[ 42.672695] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.0
[ 42.672699] iwl3945: Copyright(c) 2003-2007 Intel Corporation
[ 42.672809] PCI: Enabling device 0000:05:00.0 (0000 -> 0002)
[ 42.672820] ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 42.672841] PCI: Setting latency timer of device 0000:05:00.0 to 64
[ 42.672866] iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
[ 42.750684] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 21
[ 42.750707] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 42.785669] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
[ 43.265134] iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
[ 43.265536] wmaster0: Selected rate control algorithm 'iwl-3945-rs'
[ 43.457391] lp: driver loaded but no devices found
[ 43.575770] Adding 2128572k swap on /dev/sda6. Priority:-1 extents:1 across:2128572k
[ 44.023642] EXT3 FS on sda5, internal journal
[ 44.823087] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 45.355592] No dock devices found.
[ 46.738741] apm: BIOS not found.
[ 47.040050] ppdev: user-space parallel port driver
[ 47.230620] NET: Registered protocol family 10
[ 47.230880] lo: Disabled Privacy Extensions
[ 47.385466] audit(1217504109.811:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=5183 profile="/usr/sbin/cupsd" namespace="default"
[ 48.639520] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 48.666295] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 48.887561] Bluetooth: Core ver 2.11
[ 48.887691] NET: Registered protocol family 31
[ 48.887695] Bluetooth: HCI device and connection manager initialized
[ 48.887700] Bluetooth: HCI socket layer initialized
[ 48.912896] Bluetooth: L2CAP ver 2.9
[ 48.912903] Bluetooth: L2CAP socket layer initialized
[ 48.974962] Bluetooth: RFCOMM socket layer initialized
[ 48.974977] Bluetooth: RFCOMM TTY layer initialized
[ 48.974979] Bluetooth: RFCOMM ver 1.8
[ 51.563398] NET: Registered protocol family 17
[ 52.096942] [drm] Initialized drm 1.1.0 20060810
[ 52.173977] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 17
[ 52.173990] PCI: Setting latency timer of device 0000:00:02.0 to 64
[ 52.174074] [drm] Initialized i915 1.6.0 20060119 on minor 0
[ 63.921252] eth0: no IPv6 routers present
[ 93.532505] glxinfo[8737]: segfault at 00000200 eip b7f49bad esp bff47520 error 4
[ 93.551645] glxinfo[8739]: segfault at 00000200 eip b7f14bad esp bfb77960 error 4
[ 93.608133] glxinfo[8744]: segfault at 00000200 eip b7efebad esp bff39510 error 4
[ 98.369645] CPU0 attaching NULL sched-domain.
[ 98.369652] CPU1 attaching NULL sched-domain.
[ 98.382302] CPU0 attaching sched-domain:
[ 98.382306] domain 0: span 03
[ 98.382308] groups: 01 02
[ 98.382311] CPU1 attaching sched-domain:
[ 98.382313] domain 0: span 03
[ 98.382315] groups: 02 01
[ 156.328328] usb 5-5: new high speed USB device using ehci_hcd and address 3
[ 156.540481] usb 5-5: configuration #1 chosen from 1 choice
giuliana@giuliana-laptop:~$

grazie!
Elena

Anyon ha detto...

Il comando

ls /dev/video*

cosa ti restituisce?

elena ha detto...

Ciao mi restituisce questo:
giuliana@giuliana-laptop:~$ ls /dev/video*
ls: impossibile accedere a /dev/video*: Nessun file o directory
giuliana@giuliana-laptop:~$

Anyon ha detto...

Ciao Elena. Mi dispiace ma non capisco a cosa è dovuto il fatto che la tua web non venga rilevata. Quando hai dato i comandi make e make install la compilazione e l'installazione sono andati a buon fine? Se si allora probabilmente i driver per la tua creative live!cam non sono inclusi nel pacchetto dei driver GSPCA. A questo punto puoi fare una ricerca prima sul Forum ufficiale di Ubuntu.it e vedere se trovi qualcosa...poi su Google in generale. Io cmq se leggo qualcosa di interessante che può esserti utile te lo posto qui. Ciao

Anyon ha detto...

Prova comunqua a vedere una cosa: da Synaptic ricerca la parola "linux-header" e dimmi se sono installati i pacchetti

"linux-headers-2.6.24-xx"
"linux-headers-2.6.24-xx-generic"
"linux-headers-generic"

conn xx uguale a 16, 18, 19 e 20, e dimmi anche altri pacchetti di questo tipo eventualmente installati. Se non sono installati quelli che ti ho detto installali e collega la webcam. Installa camorama con

sudo apt-get install camorama

e avvialo da terminale scrivendo "camorama"

Anyon ha detto...

Nel caso non funzionasse nemmeno l'ultimo suggerimento, prova con questo
http://www.andreagrandi.it/2008/06/05/creative-live-cam-notebook-su-ubuntu-linux/

elena ha detto...

Ciao Anyon, prima di tutto grazie.
Ho provato a fare i passaggi che mi hai detto ma la scritta che esce in una finestra è la seguente:
Could not connect to video device (/dev/video0) Please check connection.
Ti chiedo mi scrivi il comando make e make install perchè se non ricordo male mi dava dei problemi quando l'ho lanciato tempo fa. Magari riprovo e ti posto il risultato.
Grazie
Elena

Anyon ha detto...

Forse ti conviene riprovare tutta la procedura seguendo la guida: scarichi il file indicato dal link, lo scompatti col comando:

tar -xvf [file_scaricato].tar.gz

ti sposti nella cartella dove hai scompattato il file, se nella scrivania ad esempio scrivi

$- cd /home/*nome_utente*/Scrivania/*nome_cartella_file_scaricato*/

e una volta dentro compili con il comando:

$- sudo make

e installi con il comando:

$- sudo make install

Postami il risultato di questi comandi e rispondimi al post degli HEADERS, perchè ho letto che su Ubuntu 8.04 le Creative dovrebbero essere riconosciute automaticamente se questi pacchetti sono installati.

elena ha detto...

sì quegli headers ce l'ho tutti sia xx che generic e non ho altri headers installati.
Ora sono su win appena passo su ubuntu riprovo la procedura e ti faccio sapere.
Ciao

Andrea ha detto...

ciao a tutti.. Anche io uso ubuntu 8.04, e ancora non son riuscito a utilizzare la webcam.. Ok, va bene che è una cam stranissima, però che palle! ah, l'output di lsusb

Bus 005 Device 003: ID 0ace:1215 ZyDAS WLA-54L WiFi
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 003: ID 0d64:1053 DXG Technology Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

in pratica ho gli stessi problemi di elena! XD

Anyon ha detto...

@Andrea
Mi dispiace, ma non so come aiutarti...sul tuo modello di cam non ho trovato nulla. Comunque se trovo qualcosa di interessante lo posto qua. Ciao

elena ha detto...

Ciao Anyo, sto provando a fare tutti i passaggi per installare la webcam, ma non riesco nemmeno a scompattare il file scaricato. mi dice tar: errore irrimendiabile esco- nessun file o directory trovata.
mi sa che ci devo rinunciare a far funzionare sta webcam ;-)

elena ha detto...

Scusa ho scritto male il tuo nick!!
Anyon sorry!!

Anyon ha detto...

Ciao Elena. Se non riesci a scompattare il file prova cliccandoci 2 volte sopra e utilizzando tramite l'interfaccia il pulsante estrai. Se ci vuoi rinunciare fallo...ma la tua web dovrebbe funzionare su Ubuntu...Qualunque dubbio non esitare a chiedere...ci sbrighiamo prima...fidati!

elena ha detto...

Ciao Anyon,
oltre allo scompattamento non riesco a capire quale file devo scaricare, seguendo la guida dopo un po' mi perdo, poi scarico qlc che mi sembra vada bene e mi trovo di fronte a un muro quando mi dice file not found o roba del genere.
Cmq non ci voglio rinunciare e che ogni tentativo va a finire allo stesso modo!!

Anyon ha detto...

Il fil e che devi scaricare è questo:

http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz

Quando scaricherai questo file, molto probabilmente sarà scaricato di default sulla Scrivania...se è cosi digita da terminale:

cd Scrivania

e poi:

tar -xvf gspcav1-20071224.tar.gz

(se non vuoi scrivere tutto il nome del file basta scrivere le prime lettere, tipo "gsp", e poi premere il tasto TAB: quello con le due freccie opposte una sopra l'altra |<-- -->|. In questo modo il nome del file verrà automaticamente completato ed eviterai errori nel comando). Se neanche questo va bene, vai sulla scrivania, dove hai scaricato il file e cliccaci 2 volte sopra. Si apre il Gestore di Archivi. Con questo, clicca su estrai e lo estrai manualmente...che è lo stesso del digitare il comando tar.
Se poi neanche questo va, assicurati che il file sia sulla Scrivania, xkè se non è cosi il problema è solo spostarsi nella cartella giusta, quindi se per esempio la directory dove è stato scaricato il file è la cartella Download nella tua Home, allora digitiamo sul terminale il comando

cd /home/*nomeutente/Download

per spostarci nella cartella Download, dove naturalmente *nomeutente sta per il tuo nome utente.
Se ancora non riesci ad aprire il file, entra in Synaptic (Gestore di pacchetti in Amministrazione) e cerca la parola "tar" e verifica che sia installato.
Se ancora ottieni lo stesso errore, al max TE LO MANDO VIA E-MAIL...e tagliamo la testa al toro. Fammi sapere cosa succede quando faio tutti questi tentativi. Se riesci a risolvere questo passo, vai avanti nella guida e poi passo passo, se ne hai bisogno, ti guido io. Ciao Ciao

elena ha detto...

Caro Anyon ho scaricato il file l'ho scompattato da Scrivania ho scritto la riga alla fine del file ho salvato e chiuso, ho digitato sudo modprobe -r gspca
e sudo modprobe gspca (dove per altro non mi ha risposto nulla il terminale), ho installato camorama, ho scritto AltF2 camorama, ma la risposta è sempre stata la stessa!
Non sarà che il mio PC ha qlc che non và?
sigh!
Ciao Elena

Anyon ha detto...

hai provato questo ?

elena ha detto...

ma non è lo stesso modello di webcam che ho io. In ogni modo non mi voglio perdere di animo al massimo mi compro quel modello di webcam!
Grazie

Anonimo ha detto...

[url=http://aluejxfttk.com]vsbrPKpqtOzGH[/url] - yvIytLS , http://iluubcb.com

Anonimo ha detto...

you are truly a just right webmaster. The web site loading velocity is
incredible. It sort of feels that you're doing any distinctive trick. Moreover, The contents are masterwork. you have done a magnificent job in this matter!

Also visit my webpage - jacked up trucks