[Tellico-users] Webcam barcode scanning

Morten Bo Johansen mbj at spamcop.net
Thu Oct 29 22:20:38 UTC 2009


Sebastian Held <sebastian at bildungsdoku-gabi.de> wrote:

> no, that's not the problem. I've a cheap one, too (without focus).
> One debug method is to use strace:

> strace -e trace=open ./tellico

> [...] (click on search)

When I do this, I get the following. It opens the /dev/video0 device, but
then several instances of error messages pertaining to missing system info
files follows. Is this just a case of my webcam not registering itself
adequately for this to work? Like I said, the webcam works with mplayer so
it is certainly supported in linux.

Thanks,

Morten

open("/var/tmp/kdecache-mojo/kpc/kde-icon-cache.updated", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE|O_CLO
EXEC, 0666) = 11
open("/var/tmp/kdecache-mojo/kpc/kde-icon-cache.lock.N10612", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_CL
OEXEC, 0600) = 11
open("/var/tmp/kdecache-mojo/kpc/kde-icon-cache.lock.o10612", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_CL
OEXEC, 0600) = 11
open("/opt/kde4/share/apps/khtml/khtml.rc", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 11
open("/opt/kde4/share/apps/tellico/entry-templates/Compact.xsl", O_RDONLY|O_LARGEFILE) = 11
open("/opt/kde4/share/apps/tellico/tellico-common.xsl", O_RDONLY|O_LARGEFILE) = 11
open("/dev/video0", O_RDWR)             = 11
open("/sys/class/video4linux/video0/dev", O_RDONLY) = 12
open("/sys/class/video4linux/video0/device/modalias", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/class/video4linux/video0/device/idVendor", O_RDONLY) = 12
open("/sys/class/video4linux/video0/device/idProduct", O_RDONLY) = 12
open("/sys/class/dmi/id/sys_vendor", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/devices/virtual/dmi/id/sys_vendor", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/class/dmi/id/product_name", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/devices/virtual/dmi/id/product_name", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/class/dmi/id/product_version", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/devices/virtual/dmi/id/product_version", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/class/dmi/id/board_vendor", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/devices/virtual/dmi/id/board_vendor", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/class/dmi/id/board_name", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/devices/virtual/dmi/id/board_name", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/class/dmi/id/board_version", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/devices/virtual/dmi/id/board_version", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/tmp/kdecache-mojo/kpc/kde-icon-cache.lock.I10612", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_CLOEXEC, 0600) = 11
open("/var/tmp/kdecache-mojo/kpc/kde-icon-cache.lock.u10612", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_CLOEXEC, 0600) = 11
open("/var/tmp/kdecache-mojo/kpc/kde-icon-cache.lock.d10612", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_CLOEXEC, 0600) = 11
open("/var/tmp/kdecache-mojo/kpc/kde-icon-cache.lock.V10612", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_CLOEXEC, 0600) = 11
open("/var/tmp/kdecache-mojo/kpc/kde-icon-cache.updated", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE|O_CLOEXEC, 0666) = 11





More information about the tellico-users mailing list