PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : CamStick von DNT und Linux



Christian Hartm
26.04.03, 20:44
Hallo
wer weiss, wie man einen digitalen Camstick XXL von DNT unter Mandrake 9.0 - Linux betreibt?

Er soll dennoch unter Linux laufen können als AEG Snap 300 .


Leider kommen bei mir folgende Fehlermeldungen:
Fehler beim Initialisieren der Kamera. Could not claim the USB-device.
..und...
Could not list folders in " / "


Weiss jemand Rat?

netmaster
27.04.03, 14:43
Bei mir läuft es jetzt.

Habe 2 Sachen geändert.

1.) /etc/fstab
usbdevfs /proc/bus/usb usbdevfs defaults 0 0

2.) Berechtigungen geändert
rechte Maustaste auf die Cam im Desktop --> Eigenschaften --> Berechtigungen
Dort alles angeklickt. :rolleyes:

Danach den Rechner neu gestartet. Jetzt funtz es bei mir.
Bin happy wie ne sau...:D

stefan.becker
27.04.03, 15:07
http://www.linuxforen.de/forums/showthread.php?threadid=37544

Christian Hartm
27.04.03, 19:41
Hallo Rene
alles so gemacht wie du gesagt hast, klappt leider nicht.

Stefan:
Soweit bin ich:
Mit gphoto2 wird der Camstick als User als AEG Snap 300
erkannt.
Ich habe libusb installiert.

Mit cat /proc/bus/usb/devices habe ich getestet, ob die Kamera erkannt wird, es scheint so zu sein, siehe weiter unten

christian 20:25:19 ~ \> cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=ef80
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0553 ProdID=0202 Rev= 0.00
S: Manufacturer=STMicroelectronics
S: Product=USB Dual-mode Camera
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 70mA
I: If#= 0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=00 Prot=00 Driver=stv680
I: If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=stv680
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms


Trotzdem noch dieselben Fehlermeldungen, wenn ich GTKam als Root und als User ausführe.

Christian Hartm
27.04.03, 20:16
Hier nochmal eine ausführliche Fehlermeldung:

*** Fehler ***
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program or kernel module (e.g. dc2xx or stv680) is using the device and you have read/write access to the device.
*** Fehler ('Could not claim the USB device') ***

netmaster
27.04.03, 20:23
Ich habe gedacht bei mir geht es.
Jetzt habe ich wieder neue Erkenntnisse.

Es geht nur sporadisch. Ich klicke drauf und bekomme die alte Fehlermeldung.
10 Minuten später geht es dann, keine Ahnung warum.

Ich bin voll am Ende mit meiner Weisheit. In den Programmen funtzt es jedoch immer.
Das sporadische tritt nur beim Direktzugriff auf.

Da werden wohl noch einige Nächte drauf gehen, bis ich den Fehler gefunden hab.
Wenn ich ihn überhaupt finde. :ugly:
Bin ja auch noch fast ein Newbie. :ugly:

Giuly
06.10.03, 20:17
hmmm.....
ich bekomme immer nur das:

[giuly@Campi giuly]$ su -c "gphoto2 -P"
Password:

*** Fehler ***
Ein Fehler trat in der IO-Bibliothek auf (»Konnte das USB-Gerät nicht beanspruchen«): Could not claim interface 0 (Das Gerät oder die Ressource ist belegt). Make sure no other program or kernel module (e.g. dc2xx or stv680) is using the device and you have read/write access to the device.
*** Error (-53: 'Konnte das USB-Gerät nicht beanspruchen') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug -P

Please make sure there is sufficient quoting around the arguments.
Das mache ich, und bekomme dsa:

[giuly@Campi giuly]$ su -c "env LANG=C gphoto2 --debug -P"
Password:
0.000051 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000392 main(2): gphoto2 2.1.2
0.000516 main(2): gphoto2 has been compiled with the following options:
0.000630 main(2): + gcc (C compiler used)
0.000741 main(2): + popt (for handling command-line parameters)
0.000851 main(2): + no exif (for displaying EXIF information)
0.048046 main(2): + no cdk (for accessing configuration options)
0.048186 main(2): + no aa (for displaying live previews)
0.048299 main(2): + jpeg (for displaying live previews in JPEG format)
0.048409 main(2): + readline (for easy navigation in the shell)
gphoto2: relocation error: gphoto2: undefined symbol: gp_library_version
Vielleicht jemand ne Idee?