[P35U Dynalink Webcam] onder SUSE 9.1?

Pagina: 1
Acties:

Onderwerpen


Acties:
  • 0 Henk 'm!

  • FrankvR
  • Registratie: Mei 2004
  • Laatst online: 01-01 21:05
Weet iemand een manier om de webcam:
USB Camera Video-U1 (P35U) van Dynalink onder linux aan de praat te krijgen? Ik kan op hun site geen linux-drivers vinden, en verder op google ook niets.
Ik draai Suse 9.1 Personal.

Acties:
  • 0 Henk 'm!

  • Renegade
  • Registratie: December 2000
  • Laatst online: 14-10-2020
Waar heb je op gezocht dan? Als ik zoek op Dynalink usb cam linux vind ik toch zeker een aantal resultaten waar je misschien wat mee kunt. Bijvoorbeeld http://webcam.sourceforge.net/. Weet je toevallig wat voor chipset er in de camera zit? :)

HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
@BasRaayman op twitter


Acties:
  • 0 Henk 'm!

  • FrankvR
  • Registratie: Mei 2004
  • Laatst online: 01-01 21:05
hmmm, ja ik zocht dus vooral op p35u in combinatie met linux en dynalink... De chipset weet ik niet, maar op die website die gaf, staat onder supported cams: Dynalink Digital Camera

ik dacht dus eerst dat ze daarmee een digitale fotocamera bedoelde, maar wellicht bedoelen ze gewoon alle cams van Dynalink.

Ze hebben het er over:
The CPiA webcam driver for Linux provides a Video4Linux interface to many of the early cheap webcams that used the CPiA chip
oud is ie wel, maar goedkoop was ie niet hoor :P

ik ben nu niet thuis, maar ik ga het vanvond zeker even proberen!

Acties:
  • 0 Henk 'm!

  • Simkin
  • Registratie: Maart 2000
  • Laatst online: 20:22

Simkin

Bzzzzz

Deze site zou kunnen helpen :)

Acties:
  • 0 Henk 'm!

  • FrankvR
  • Registratie: Mei 2004
  • Laatst online: 01-01 21:05
Ik heb het geprobeerd met dat programma'tje gevonden op webcam.sourceforge.net, maar ik kom er nog niet echt uit. Ik ben nogal een newbe hoor, maar als ik de readme lees, staat er:
You will need python1.5 and python-gtk 0.6.2 or later.
en
TRY IT OUT

Just type 'cpia-control'.
Als ik deze dan installeer, en dan dit run, dan doet hij het dus niet, ik krijg de volgende melding:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Traceback (most recent call last):
File "./cpia-control", line 30, in ?
import cpia_control, libcpia
File "/home/frank/cpia-control/cpia_control.py", line 35, in ?
from gtk import *
File "/usr/lib/python2.3/site-packages/gtk-1.2/gtk.py", line 33, in ?
_gtk.gtk_init()
RuntimeError: cannot open display
eerlijk gezegd haal ik daar niet zo veel uit...Voor de duidelijkheid, ik heb dus die tar.gz gedownload van die site, en ge-untart, en daarna gerund. Kan iemand me misschien een duwtje in de goede richting geven?

Acties:
  • 0 Henk 'm!

  • smokalot
  • Registratie: Juni 2001
  • Laatst online: 09-09 23:05

smokalot

titel onder

FrankvR schreef op 13 oktober 2004 @ 23:09:
Ik heb het geprobeerd met dat programma'tje gevonden op webcam.sourceforge.net, maar ik kom er nog niet echt uit. Ik ben nogal een newbe hoor, maar als ik de readme lees, staat er:
[...]


en
[...]


Als ik deze dan installeer, en dan dit run, dan doet hij het dus niet, ik krijg de volgende melding:

[...]


eerlijk gezegd haal ik daar niet zo veel uit...Voor de duidelijkheid, ik heb dus die tar.gz gedownload van die site, en ge-untart, en daarna gerund. Kan iemand me misschien een duwtje in de goede richting geven?
die foutmelding heeft niks met het programmaatje te maken, die krijg je ook als je in die situatie xterm probeert te draaien. Je mag gewoon geen gebruik maken van de X sessie die draait. ben je toevallig root, en is er een andere user ingelogd in X? dan moet je even cp /home/user/.Xauthority ~/ als root uitvoeren.

edit:
of beter natuurlijk, door gewoon dit programmaatje als user uit te voeren.

[ Voor 5% gewijzigd door smokalot op 13-10-2004 23:51 ]

It sounds like it could be either bad hardware or software


Acties:
  • 0 Henk 'm!

  • FrankvR
  • Registratie: Mei 2004
  • Laatst online: 01-01 21:05
ah, bedankt, weer een stapje verder, nouja eerlijk gezegd, een stapje terug, kreeg weer een foutmelding, na wat zoeken enz. enz. kwam ik erachter dat je eerst je kernel moet compileren (!?!? ik ben newbe)
ik heb nu deze readme, maar vind het allemaal maar acrabadabra... heb natuurlijk al gezocht, maar hoe meer ik zoek hoe meer ik er niets meer van begrijp... Wil iemand me weer een duwtje in de goede richting geven?
stap 1 is me overigens gelukt (via de otherwise methode) en daarvoor heb ik het commando

modprobe cpia_usb

gedaan, zonder foutmelding (maar wat t doet????)
USAGE:

General:
========

1) Make sure you have created the video devices (/dev/video*):

- if you have a recent MAKEDEV do a 'cd /dev;./MAKEDEV video'
- otherwise do a:

cd /dev
mknod video0 c 81 0

Repeat for /dev/video1, /dev/video2 etc as needed.

2) Compile the kernel (see below for the list of options to use).
If applicable, configure your parport. Reboot.

3) If all worked well you should get messages similar
to the following (your versions may be different) on the console:

V4L-Driver for Vision CPiA based cameras v1.2.2
parport0: read2 timeout.
parport0: Multimedia device, VLSI Vision Ltd PPC2
Parallel port driver for Vision CPiA based camera
CPIA Version: 1.20 (2.0)
CPIA PnP-ID: 0553:0002:0100
VP-Version: 1.0 0100
1 camera(s) found


Building the Driver as modules:
============================

Make sure you have selected the following kernel options (you can
select all stuff as modules):


parallel port:

CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_1284=y
CONFIG_PARPORT_PC_FIFO=y (needed for high-speed ECP modes, if available)

usb:
CONFIG_USB=m
CONFIG_USB_[OHCI/UHCI/UHCI_ALT/EHCI_HCD]=m (as appropiate for your usb)


The cpia-stuff is in the section 'Character devices -> Video For Linux'.
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_CPIA=m

also, depending on whether you have parport or USB cameras (or both):

CONFIG_VIDEO_CPIA_PP=m
CONFIG_VIDEO_CPIA_USB=m

Finally for controlling the camera using the /proc/cpia/video<n>
interface you need
CONFIG_PROC_FS=y

The cpia module supports the module parameter option:

options cpia usb_alt=[1,2,3] (initial "usb alt interface" setting <usb_alt>)

The usb_alt parameter only affects usb cameras, and selects the
"alternate usb interface setting " that is assigned when the camera is
first registered (i.e., when it is initially plugged in to the USB
hub, and registered as /dev/video<n>).
(see below)

The cpia_pp module supports module options for selecting parallel ports:
options cpia_pp parport=[none,auto,0,1,2,...] (just like lp)

If your parallel port has ECP hardware, it will not get used unless you:
(a) Build the kernel with CONFIG_PARPORT_PC_FIFO=y
(b) You may have to select ECP mode for the parallel port in the computer's
BIOS setup.
(c) load the parport_pc module with options specifying the interrupt
(and dma channel, if available)

For (c), add the following lines to your modutils config-file
(e.g. /etc/modules.conf or wherever your distribution does store that
stuff):

options parport_pc io=0x378 irq=7 dma=3
alias char-major-81 cpia_pp

The first line tells the dma/irq channels to use. Those _must_ match
the settings of your BIOS. Do NOT simply use the values above. See
Documentation/parport.txt for more information about this. The second
line associates the video-device file with the driver. Of cause you
can also load the modules once upon boot (usually done in /etc/modules).


Building the Driver linked into the kernel:
============================================

Make sure you have selected the following kernel options. Note that
you cannot compile the parport-stuff/usb-stuff as modules and the cpia-driver
statically (the other way round is okay though).


CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_1284=y

and/or

CONFIG_USB=y
CONFIG_USB_[OHCI/UHCI/UHCI_ALT/EHCI_HCD]=y


The cpia-stuff is in the section 'Character devices -> Video For Linux'.

CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_CPIA=y
and (as needed):
CONFIG_VIDEO_CPIA_PP=y
CONFIG_VIDEO_CPIA_USB=y

For camera control using /proc/cpia/video<n>,
CONFIG_PROC_FS=y


The kernel-linked cpia_pp driver supports boot-parameter options for
selecting parallel ports: You can give these at the LILO-prompt,
or specify them in lilo.conf, with an append-line:

append="cpia_pp=<...>",

where <...> is one of: [ none, auto, parport <n>], where
<n> is the desired parport number.

To use fast DMA/irq ECP parallel port modes, you will need to tell the kernel
upon boot time the hardware configuration of the parport. You can give the
boot-parameter at the LILO-prompt or specify it in lilo.conf.
I use the following
append-line in lilo.conf:

append="parport=0x378,7,3"

See Documentation/parport.txt for more information about the
configuration of the parport and the values given above. Do not simply
use the values given above.

Acties:
  • 0 Henk 'm!

  • FrankvR
  • Registratie: Mei 2004
  • Laatst online: 01-01 21:05
kick O-)
Pagina: 1