[linux-l] bunte Pixel mit Webcam
Frank Lehmann
eggsperde at gmx.net
Mo Okt 27 12:27:46 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Axel,
ich würde dir empfehlen auf Kernel 2.6.27 zu wechseln, sofern du nicht
an deine alte Version gebunden bist. Die Webcam-treiber wurden in dieser
Version stark verbessert, insbesondere der von dir benötigte GSPCA [1].
Grüße,
Frank
[1]
http://www.heise.de/open/Viel-bewegt-Die-Neuerungen-von-Linux-2-6-27--/artikel/116387
bialas at nabu wrote:
> Hallo an alle,
> habe mir von meiner Tochter eine USB Webcam (MSI) geborgt und wollte
> diese mal ausprobieren, da ich mir dann
> eine zulegen wollte. Bekomme mit camorama, camstreams, kopete und xawtv
> aber nur ein Bild mit bunten Pixeln.
> Dieses wird auch so abgespeichert bei "take picture"
>
> Die LED der webcam leuchtet nach dem Aufruf von camorama usw.
> ein /dev/video0 ist nach dem einsteppseln vorhanden.
>
> lsusb
> Bus 004 Device 001: ID 0000:0000
> Bus 002 Device 003: ID 0c45:60c0 Microdia
> Bus 002 Device 001: ID 0000:0000
> Bus 003 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
>
>
> nach dmesg:
>
> new full speed USB device using uhci_hcd and address 2
> usb 2-2: configuration #1 chosen from 1 choice
> Linux video capture interface: v2.00
> /usr/src/modules/gspca/gspca_core.c: USB GSPCA camera found. SONIX
> JPEG (sn9c1xx)
> /usr/src/modules/gspca/gspca_core.c: [spca5xx_probe:4275] Camera type
> JPEG
> /usr/src/modules/gspca/gspca_core.c: [spca5xx_getcapability:1249]
> maxw 640 maxh 480 minw 160 minh 120
> usbcore: registered new interface driver gspca
> /usr/src/modules/gspca/gspca_core.c: gspca driver 01.00.20 registered
> usbcore: registered new interface driver snd-usb-audio
>
> Ich habe rumgetestet mit sn9c102 das Ergebnis:
>
> Oct 26 12:37:10 advnb01 kernel: sn9c102: V4L2 driver for SN9C1xx PC
> Camera Controllers v1:1.44
> Oct 26 12:37:11 advnb01 kernel: usb 2-2: SN9C105 PC Camera Controller
> detected (vid:pid 0x0C45:0x60C0)
> Oct 26 12:37:11 advnb01 kernel: usb 2-2: No supported image sensor
> detected for this bridge
> Oct 26 12:37:11 advnb01 kernel: usbcore: registered new interface
> driver sn9c102
>
> Habe diesen wieder in die /etc/modprobe.d/blacklist eingetragen.
>
> Im Netz noch etwas gefunden und msicam modul, Ergebnis:
> new full speed USB device using uhci_hcd and address 5
> usb 2-2: configuration #1 chosen from 1 choice
> /usr/src/modules/gspca/gspca_core.c: USB GSPCA camera found. SONIX
> JPEG (sn9c1xx)
> /usr/src/modules/gspca/gspca_core.c: [spca5xx_probe:4275] Camera
> type JPEG
> /usr/src/modules/gspca/gspca_core.c: [spca5xx_getcapability:1249]
> maxw 640 maxh 480 minw 160 minh 120
> usbcore: registered new interface driver msicam
> /opt/msicam/gspca_core.c: gspca driver 01.00.20 registered
>
>
>
> Lt. http://mxhaard.free.fr/spca5xx.html sollte die Camera funktionieren
>
> Sangha 154 0x0c45 0x60c0 Sn-535 sn9c105
> Mi0360 Yes jpeg spca5xx/LE *****
>
> In camorama wird in der Status Zeile 20,50 fps -current 24,96 fps - average
> angezeigt.
>
>
> In camstream wird unter Device Sangha 350k angezeigt und das
> nachfolgende wenn ich auf Maximum einstelle:
> camstream
> CCamWindow::CCamWindow()
> CWebCamViewer::CWebCamViewer(0x80c68c8, 640x480)
> CVideoDevice::Init()
> Using mmap(), VMBuf.size = 2457616
> Trying to find video options for Sangha 350k:/dev/video0
> searching Sangha 350k
> CSnapshotSettingsDlg::CSnapshotSettingsDlg(...)
> CVideoSettingsDlg::SizeChanged(320x240)
> CVideoSettingsDlg::FramerateChanged(10)
> CCamPanel::SetSize(320x240)
> CCamPanel::SetImageSize(320x240)
> CCamPanel::SetVisibleSize(320x240)
> CVideoDevice::SetSize(640, 480)
> CCamPanel::SetSize(640x480)
> CCamPanel::SetImageSize(640x480)
> CCamPanel::SetVisibleSize(640x480)
> CWebCamViewer::DeviceChangedSize(640x480)
> RecalcTotalViewSize: resize viewport(640x480)
> CCamPanel::SetSize(640x480)
> CCamPanel::SetImageSize(640x480)
> CCamPanel::SetVisibleSize(640x480)
> RecalcTotalViewSize: resize viewport(640x480)
> EnableRGB: +
> CVideoDevice::SetPalette picked palette 5 [rgb32]
> CVideoDevice::CreateImagesRGB()
> using pre-allocated memory
> CVideoDevice::StartCapture() go!
>
> Mit xawtv kommt diese:
> xawtv
> This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.22.1g)
> /dev/video0 [v4l]: no overlay support
> v4l-conf had some trouble, trying to continue anyway
> ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=7): Das
> Argument ist ungültig
>
>
> Eigenen Kernel 2.6,22.1g, wobei nichts geändert wurde mit menuconfig
> gegenüber dem Orginal.
>
> Ich hoffe ich habe erstmal alle nötigen Infos geliefert um von euch
> einen Tip zubekommen wie ich ein Bild
> bekomme.
> Einen schönen sonntagabend noch.
>
> mfg. axel
>
>
>
>
> _______________________________________________
> linux-l mailing list
> linux-l at mlists.in-berlin.de
> Die Mailingliste der BeLUG (Berliner Linux User Group)
>
> Wenn du diese Mailingliste abbestellen willst, gehe bitte auf
> https://mlists.in-berlin.de/mailman/listinfo/linux-l-mlists.in-berlin.de
> und trage dich dort bitte aus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkkFpbEACgkQPpBcf+DQrUrjeQCfVVPrwoZnX+qpavhXOnda5pgu
KmEAnRtQHFrdfn9TZa2lo0etnDqesxKs
=mtk0
-----END PGP SIGNATURE-----
Mehr Informationen über die Mailingliste linux-l