Indbyggede webcam kan ikke findes

Scannere, kameraer, printere, mus, tegneplader osv.
rpa
Indlæg: 16
Tilmeldt: 5. nov 2010, 12:26

Indbyggede webcam kan ikke findes

Indlæg af rpa »

Hej.
Jeg kan efter installation af 11.10 ikke få kontakt til mit indbyggede webcam. Dukker hverken op i Cheese eller Skype.
har prøvet at køre lsusb, hvor det tilsyneladende heller ikke detekteres:

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 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 004: ID 046d:c526 Logitech, Inc. Nano Receiver
Bus 002 Device 004: ID 0489:e011 Foxconn / Hon Hai

What to do???
Mvh
René
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Indbyggede webcam kan ikke findes

Indlæg af Christian.Arvai »

Hvis dit kamera er indbygget, vil lsusb ikke vise det, da kommandoen er til usb-tilsluttet hardware.
Kør:

Kode: Vælg alt

lspci

for at vise indbygget hardware.
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Indbyggede webcam kan ikke findes

Indlæg af Christian.Arvai »

Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
rpa
Indlæg: 16
Tilmeldt: 5. nov 2010, 12:26

Re: Indbyggede webcam kan ikke findes

Indlæg af rpa »

Hej Christian.

lspci siger:
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 330M] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)
03:00.0 Network controller: Broadcom Corporation BCM43225 802.11b/g/n (rev 01)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)

Har prøvet pakken luvcview som foreslået i FAQ'en.

Stadig detekteres kameraet ikke.

Mvh
René
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Indbyggede webcam kan ikke findes

Indlæg af Christian.Arvai »

Hmmm .. Har kameraret virket i tidligere udgaver af Ubuntu ?
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
rpa
Indlæg: 16
Tilmeldt: 5. nov 2010, 12:26

Re: Indbyggede webcam kan ikke findes

Indlæg af rpa »

Der har ikke været installeret Ubuntu før. Kameraet virkede fint i Windows 7.
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Indbyggede webcam kan ikke findes

Indlæg af Christian.Arvai »

Prøv at give os resultatet af:

Kode: Vælg alt

lsb_release -a && uname -a

Og skriv præcist hvilken pc det drejer sig om (vi kommer til at Google nu).
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
rpa
Indlæg: 16
Tilmeldt: 5. nov 2010, 12:26

Re: Indbyggede webcam kan ikke findes

Indlæg af rpa »

Som efterspurgt:

lsb_release -a && uname -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Linux rene-Aspire-5745G 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 i686 i386 GNU/Linux

Der er tale om en Acer Aspire 5745G
Klaus Rasmussen
Admin
Indlæg: 5604
Tilmeldt: 26. apr 2010, 02:40
IRC nickname: ClaudiuS
Geografisk sted: Nyborg [fyn]

Re: Indbyggede webcam kan ikke findes

Indlæg af Klaus Rasmussen »

Linux Compatibility
Device Compatibility Comments

Webcam Works Doesn't work in v4l1 applications. Works in kopete (uvcvideo driver)

Fandt dette Fungerer kun med Linux UVC driver. Hvilket vel betyder, at det burde virke ud af boxen.
Med Venlig Hilsen
Klaus

Kører Ubuntu 24.04.1 på ASUS All-Series, og Probook 4520s.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
https://mega.nz/folder/aJsmCYKa#dxMHKTi4Idmz6hiVpsI68Q
rpa
Indlæg: 16
Tilmeldt: 5. nov 2010, 12:26

Re: Indbyggede webcam kan ikke findes

Indlæg af rpa »

Muligvis, men det gør det bare ikke :-(
Klaus Rasmussen
Admin
Indlæg: 5604
Tilmeldt: 26. apr 2010, 02:40
IRC nickname: ClaudiuS
Geografisk sted: Nyborg [fyn]

Re: Indbyggede webcam kan ikke findes

Indlæg af Klaus Rasmussen »

Dit webcam fungerer ikke med v4l1 (video for Linux 1). Dette hænger muligvis sammen med at det er et avanceret camera med indbygget mikrofon. Prøv at installere v4l2 drivere, som godt nok stadig er experimentale, men lover support af dit webcam:

Kode: Vælg alt

sudo apt-get install git
git clone git://linuxtv.org/media_build.git
cd media_build
./build

Sidste kommando vil give dig en fejlmelding om mgl afhængigheder, men også kommandoen der installerer dem.
Kør build igen for at compilere rigtigt.

Kode: Vælg alt

make install


PS. Compileringen kan godt tage nogen tid.

Kilder:
http://git.linuxtv.org/media_build.git
http://www.ideasonboard.org/uvc/
Senest rettet af Klaus Rasmussen 14. jan 2012, 14:30, rettet i alt 1 gang.
Med Venlig Hilsen
Klaus

Kører Ubuntu 24.04.1 på ASUS All-Series, og Probook 4520s.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
https://mega.nz/folder/aJsmCYKa#dxMHKTi4Idmz6hiVpsI68Q
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Indbyggede webcam kan ikke findes

Indlæg af Christian.Arvai »

En lille tilføjelse. Hvis du ikke ved det i forvejen, skal kommandoerne i "den store boks", tages en linje ad gangen.
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
rpa
Indlæg: 16
Tilmeldt: 5. nov 2010, 12:26

Re: Indbyggede webcam kan ikke findes

Indlæg af rpa »

Hej igen.
Har prøvet 2 gange uden resultat, her er udskriften efter 2. forsøg:

rene@rene-Aspire-5745G:~$ sudo apt-get install git
[sudo] password for rene:
Indlæser pakkelisterne... Færdig
Opbygger afhængighedstræ
Læser tilstandsoplysninger... Færdig
git er i forvejen den nyeste version.
0 opgraderes, 0 nyinstalleres, 0 afinstalleres og 8 opgraderes ikke.
rene@rene-Aspire-5745G:~$ git clone git://linuxtv.org/media_build.git
fatal: destination path 'media_build' already exists and is not an empty directory.
rene@rene-Aspire-5745G:~$ cd media_build
rene@rene-Aspire-5745G:~/media_build$ ./build
Checking if the needed tools for Ubuntu 11.10 are available
Needed package dependencies are met.

************************************************************
* This script will download the latest tarball and build it*
* Assuming that your kernel is compatible with the latest *
* drivers. If not, you'll need to add some extra backports,*
* ./backports/<kernel> directory. *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License *
* Firmware files are under the license terms found at: *
* http://www.linuxtv.org/downloads/firmware/ *
* Please abort if you don't agree with the license *
************************************************************

****************************
Updating the building system
****************************
From git://linuxtv.org/media_build
* branch master -> FETCH_HEAD
Already up-to-date.
make: Går til katalog '/home/rene/media_build/linux'
wget http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
--2012-01-14 15:35:54-- http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
Løser linuxtv.org... 130.149.80.248
Tilslutter linuxtv.org|130.149.80.248|:80... forbundet.
HTTP forespørgsel sendt, afventer svar... 200 OK
Længde: 93 [application/x-bzip2]
Gemmer til: 'linux-media.tar.bz2.md5.tmp'

100%[======================================>] 93 --.-K/s om 0s

2012-01-14 15:35:54 (8,98 MB/s) - 'linux-media.tar.bz2.md5.tmp' gemt [93/93]

cat: linux-media.tar.bz2.md5: Ingen sådan fil eller filkatalog
--2012-01-14 15:35:54-- http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
Løser linuxtv.org... 130.149.80.248
Tilslutter linuxtv.org|130.149.80.248|:80... forbundet.
HTTP forespørgsel sendt, afventer svar... 200 OK
Længde: 4275769 (4,1M) [application/x-bzip2]
Gemmer til: 'linux-media.tar.bz2'

100%[======================================>] 4.275.769 2,29M/s om 1,8s

2012-01-14 15:35:56 (2,29 MB/s) - 'linux-media.tar.bz2' gemt [4275769/4275769]

make: Forlader katalog '/home/rene/media_build/linux'
make: Går til katalog '/home/rene/media_build/linux'
tar xfj linux-media.tar.bz2
rm -f .patches_applied .linked_dir .git_log.md5
make: Forlader katalog '/home/rene/media_build/linux'
**********************************************************
* Downloading firmwares from linuxtv.org. *
**********************************************************
--2012-01-14 15:35:57-- http://www.linuxtv.org/downloads/firmware//dvb-firmwares.tar.bz2
Løser http://www.linuxtv.org... 130.149.80.248
Tilslutter http://www.linuxtv.org|130.149.80.248|:80... forbundet.
HTTP forespørgsel sendt, afventer svar... 200 OK
Længde: 649441 (634K) [application/x-bzip2]
Gemmer til: 'dvb-firmwares.tar.bz2'

100%[======================================>] 649.441 1,48M/s om 0,4s

2012-01-14 15:35:58 (1,48 MB/s) - 'dvb-firmwares.tar.bz2' gemt [649441/649441]

dvb-fe-bcm3510-01.fw
dvb-fe-or51132-qam.fw
dvb-fe-or51132-vsb.fw
dvb-fe-or51211.fw
dvb-fe-xc5000-1.6.114.fw
dvb-ttpci-01.fw-261a
dvb-ttpci-01.fw-261b
dvb-ttpci-01.fw-261c
dvb-ttpci-01.fw-261d
dvb-ttpci-01.fw-261f
dvb-ttpci-01.fw-2622
dvb-usb-avertv-a800-02.fw
dvb-usb-bluebird-01.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-dibusb-5.0.0.11.fw
dvb-usb-dibusb-6.0.0.8.fw
dvb-usb-dtt200u-01.fw
dvb-usb-terratec-h5-drxk.fw
dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-drxk.fw
dvb-usb-umt-010-02.fw
dvb-usb-vp702x-01.fw
dvb-usb-vp7045-01.fw
dvb-usb-wt220u-01.fw
dvb-usb-wt220u-02.fw
v4l-cx231xx-avcore-01.fw
v4l-cx23418-apu.fw
v4l-cx23418-cpu.fw
v4l-cx23418-dig.fw
v4l-cx23885-avcore-01.fw
v4l-cx23885-enc.fw
v4l-cx25840.fw
******************
* Start building *
******************
make -C /home/rene/media_build/v4l allyesconfig
make[1]: Går til katalog '/home/rene/media_build/v4l'
make[2]: Entering directory `/home/rene/media_build/linux'
Applying patches for kernel 3.0.0-14-generic-pae
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_export_h.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_pm_qos.patch
patch -s -f -N -p1 -i ../backports/no_atomic_include.patch
patch -s -f -N -p1 -i ../backports/v4l2-compat-timespec.patch
Patched drivers/media/dvb/dvb-core/dvbdev.c
Patched drivers/media/video/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
make[2]: Leaving directory `/home/rene/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/3.0.0-14-generic-pae/build /lib/modules/3.0.0-14-generic-pae/build 1
Preparing to compile for kernel version 3.0.0

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

WARNING: This is the V4L/DVB backport tree, with experimental drivers
backported to run on legacy kernels from the development tree at:
http://git.linuxtv.org/media-tree.git.
It is generally safe to use it for testing a new driver or
feature, but its usage on production environments is risky.
Don't use it in production. You've been warned.
SOC_CAMERA: Requires at least kernel 3.2.0
SOC_CAMERA_MT9M001: Requires at least kernel 3.2.0
SOC_CAMERA_MT9M111: Requires at least kernel 3.2.0
SOC_CAMERA_MT9T031: Requires at least kernel 3.2.0
SOC_CAMERA_MT9V022: Requires at least kernel 3.2.0
SOC_CAMERA_TW9910: Requires at least kernel 3.2.0
SOC_CAMERA_PLATFORM: Requires at least kernel 3.2.0
SOC_CAMERA_OV772X: Requires at least kernel 3.2.0
Created default (all yes) .config file
./scripts/fix_kconfig.pl
make[1]: Forlader katalog '/home/rene/media_build/v4l'
make -C /home/rene/media_build/v4l
make[1]: Går til katalog '/home/rene/media_build/v4l'
./scripts/make_myconfig.pl
make[1]: Forlader katalog '/home/rene/media_build/v4l'
make[1]: Går til katalog '/home/rene/media_build/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.0.0-14-generic-pae/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/rene/media_build/v4l/firmware'
make[2]: Leaving directory `/home/rene/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/rene/media_build/v4l/firmware'
CC ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/home/rene/media_build/v4l/firmware'
Kernel build directory is /lib/modules/3.0.0-14-generic-pae/build
make -C ../linux apply_patches
make[2]: Entering directory `/home/rene/media_build/linux'
Patches for 3.0.0-14-generic-pae already applied.
make[2]: Leaving directory `/home/rene/media_build/linux'
make -C /lib/modules/3.0.0-14-generic-pae/build SUBDIRS=/home/rene/media_build/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-3.0.0-14-generic-pae'
CC [M] /home/rene/media_build/v4l/bt87x.o
LD [M] /home/rene/media_build/v4l/snd-bt87x.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/rene/media_build/v4l/snd-bt87x.mod.o
LD [M] /home/rene/media_build/v4l/snd-bt87x.ko
make[2]: Leaving directory `/usr/src/linux-headers-3.0.0-14-generic-pae'
./scripts/rmmod.pl check
found 1 modules
make[1]: Forlader katalog '/home/rene/media_build/v4l'
**********************************************************
* Compilation finished. Use 'make install' to install them
**********************************************************
rene@rene-Aspire-5745G:~/media_build$ make install
make -C /home/rene/media_build/v4l install
make[1]: Går til katalog '/home/rene/media_build/v4l'

Removing obsolete files from /lib/modules/3.0.0-14-generic-pae/kernel/drivers/media/IR/keymaps:


Removing obsolete files from /lib/modules/3.0.0-14-generic-pae/kernel/drivers/media/video:


Removing obsolete files from /lib/modules/3.0.0-14-generic-pae/kernel/drivers/media/dvb/cinergyT2:


Removing obsolete files from /lib/modules/3.0.0-14-generic-pae/kernel/drivers/media/common:


Removing obsolete files from /lib/modules/3.0.0-14-generic-pae/kernel/drivers/media/dvb/frontends:


Removing obsolete files from /lib/modules/3.0.0-14-generic-pae/kernel/drivers/media/IR:


Hmm... distro kernel with a non-standard place for module backports detected.
Please always prefer to use vanilla upstream kernel with V4L/DVB
I'll try to remove old/obsolete LUM files from /lib/modules/3.0.0-14-generic-pae//updates/dkms:
Installing kernel modules under /lib/modules/3.0.0-14-generic-pae/kernel/drivers/media/:
/sbin/depmod -a 3.0.0-14-generic-pae
FATAL: Could not open /lib/modules/3.0.0-14-generic-pae/modules.dep.temp for writing: Permission denied
make[1]: *** [media-install] Fejl 1
make[1]: Forlader katalog '/home/rene/media_build/v4l'
make: *** [install] Fejl 2
rene@rene-Aspire-5745G:~/media_build$
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Indbyggede webcam kan ikke findes

Indlæg af Christian.Arvai »

Jeg vil regne med at fejlen:
FATAL: Could not open /lib/modules/3.0.0-14-generic-pae/modules.dep.temp for writing: Permission denied
make[1]: *** [media-install] Fejl 1

skyldes at du fulgte:
* Compilation finished. Use 'make install' to install them

Og jeg tror at der skal være "sudo" først, altså:

Kode: Vælg alt

sudo make install
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
rpa
Indlæg: 16
Tilmeldt: 5. nov 2010, 12:26

Re: Indbyggede webcam kan ikke findes

Indlæg af rpa »

Nu installerer driverne fint og i Cheese dukker kameraet også op i nedtrækslisten.

Men stadig er der sort skærm :?