[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Accessing USB Camera pics



Okay, I have Debian, Woody, Hotplug, USB, and a cheap junk USB camera.

How do I access my pics?  I'd really like three answers:
  (1) How to access them directly as files, if possible
  (2) Best way to download them as pictures, and save them
(3) How to create nice compressed .mpgs from it (my camera supports 8 seconds of movie, high res, 32 seconds low res.).


---------SPECIFICS------------------


Okay, got my USB up and running:  hotplug installs via dselect, and
will put a directory in /proc/bus/usb.


I even found that, having created a "/camera" directory I can mount it
manually to camera via

mount -t usbdevfs /proc/bus/usb /camera

So far, so good. But when I look at this directory (or the hotplug directory), I see that I only have the following:

[001]  devices  drivers

[001] in turn contains files 001  and 004, with a few junk lines of data
(sorry, don't have DOS Debug, and don't know of an equivalent that would
allow me to easily figure out the binary code).

Devices is a file that contains the following:

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=000 ProdID=0000 Rev=0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=1020
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=01 Cnt=01 Dev#=4 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=1 #EPs=1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS=54 Ivl=0ms

(file attached)

From this, I deduce that I have an STMicro camera, and it is device
4 (004).  But I don't know how to access the pictures


I tried installing SANE from Debian, but as of (no reboot yet), KWord
doesn't recognize SANE.
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=1020
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=01 Cnt=01 Dev#=  4 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=(none)
I:  If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms

001
004


Reply to: