Abilitare la WebCam integrata del notebook Dell Ispiron 1520 con Linux »


La web cam intergrata nei notebook Dell Inspiron 1520 non funziona di default almeno in Sidux Gaia ma penso sia lo stesso anche per altre distro come Ubuntu (aspetto conferme).

Ecco come installarla:


svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk

Entriamo dentro la cartella linux-uvc/trunk e editiamo il fil uvc_driver.c (gedit uvc_driver.c)

Dopo la linea 1661 inseriamo:


/* OmniVision OEM Dell Notebook */
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
| USB_DEVICE_ID_MATCH_INT_INFO,
.idVendor = 0x05a9,
.idProduct = 0x2640,
.bInterfaceClass = USB_CLASS_VIDEO,
.bInterfaceSubClass = 1,
.bInterfaceProtocol = 0,
.driver_info = UVC_QUIRK_PROBE_MINMAX },

Salviamo e compiliamo

make

Da root:

make install

Carichiamo il driver:


modprobe uvcvideo

Se tutto è stato eseguito correttamente con il comando lshw risulterà:


description: Video
product: Laptop Integrated Webcam
vendor: OmniVision Technologies, Inc. -2640-07.07.20.3
physical id: 6
bus info: usb@2:6
version: 1.00
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480.0MB/s

A questo punto potete vedere che funziona perfettamente con AMSN.

lspci del notebook su cui è stato testato il driver :Dell ispiron 1520.


00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation Mobile SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0407 (rev a1)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832 (rev 05)
03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
0c:00.0 Network controller: Intel Corporation Unknown device 4229 (rev 61)

Tratto da Gentoo Wiki

Tags: , , ,

Leggi Anche :




8 commenti

  • At 2007.12.29 05:00, * alex * said:

    Ciao, sono “inciampato” su questo post quasi per caso e volevo chiederti un favore, sono disperato. Possiedo un Olidata Tehom 1300 (http://www.olidata.com/Prodotti_Vendita/Prodotti/Configurazioni/Scheda_conf.asp?conf=SpecTecUltraP_TehomCW1300)
    e come potrai constatare alla voce “video camera” non compaiono specifiche esaustive. Ho installato Gutsy Gibbon da 2 mesi e mi trovo bene, ho installato molte cose (alcune delle quali anche grazie a tuoi post, quindi grazie). L’unica periferica che non mi riconosce, ahimè, è proprio la webcam integrata! Mi hanno consigliato “Camorama”, l’ho installato ma quando lo faccio partire salta fuori un errore (”Could not connect to video device (/dev/video0) Please check connection”). Ritengo che il problema riscontrato sia uguale a quello che hai risolto per il tuo Dell. Oggi stesso ho mandato una mail di richiesta informazioni - per sapere almeno qualche notizia sul produttore di questa fantomatica “Auto Focus 1.3 Mega Pixels” - ma ovviamente non ho ancora ricevuto risposta e chissà se mi risponderanno mai…

    Aiuto, puoi aiutarmi per favore? Grazie, attendo con ansia…Alex

    • At 2007.12.29 11:45, intilinux said:

      Ciao. Basta aprire un terminale e digitare lspci.
      Verrano elencate tutte le periferiche installate compresa la tua webcam. Casomai fai un copia ed incolla qui di tutto quello che viene visualizzato da lspci.

      • At 2007.12.29 14:06, * alex * said:

        Ecco qua:
        00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
        00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
        00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
        00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
        00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
        00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
        00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
        00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
        00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
        00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
        00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
        00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
        00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Audio Controller (rev 03)
        00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Modem Controller (rev 03)
        01:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
        01:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        01:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
        01:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
        01:04.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
        01:04.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 08)
        02:00.0 USB Controller: NEC Corporation USB (rev 43)
        02:00.1 USB Controller: NEC Corporation USB (rev 43)
        02:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04)

        • At 2007.12.29 14:09, * alex * said:

          …e adesso? :-(

          • At 2007.12.29 19:25, IntiLinux said:

            Fai la stessa cosa con il comando lsusb.

            • At 2007.12.29 19:27, IntiLinux said:

              Se non sbaglio con questa guida potresti attivare la tua webcam. Anche se la guida si riferisce a notebook HP la tua webcam potrebbe essere la stessa. Vai a vedere:

              http://wiki.ubuntu-it.org/Hard.....HpPavilion

              • At 2008.01.23 21:44, Nick said:

                beh…devo dire che ora la webcam e abilitata e funzionante!!
                una cosa sola le immagini riprese non sono per niente fluide, sembra che vanno al rallentatore..
                qualcuno ha riscontrato lo stesso problema e ha una soluzione??
                a presto
                ciao

                • At 2008.03.06 00:36, Massimiliano said:

                  Ciao, mi intrometto per avere un’informazione.
                  Possiedo un dell xps 1330 con ubuntu montato sopra. La web cam da 2Mp con skype beta la riconosce ma si vede mailssimo. Avete percaso qualche consiglio per configurarla correttamente.
                  Bel sito.
                  WeCanUCan

                  (Required)
                  (Required, will not be published)
                  Se sei alle prime armi con Linux fai la tua richiesta alla sezione Help per inesperti su InTiLinuX Forum.