aMSN Forums
February 11, 2012, 10:39:48 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [FIXED] Webcam not working (unable to convert date-time st..  (Read 2909 times)
Agilo
Newbie

Offline Offline

Posts: 2


View Profile WWW
« on: December 27, 2005, 05:39:13 pm »

I know it sounds weird, but whenever I select my webcam, and then select a channel it gives me this in my console where I started the process:

Quote
bgerror failed to handle background error.
    Original error: expected integer but got ""
    Error in bgerror: unable to convert date-time string "5//20/12/0 05::00"


I ran the process with strace to try and work it out myself, but I can't trace it back far enough, so I was hoping someone else might have encountered this?


Anyway, here's the part from strace:
Code:

{...}

gettimeofday({1135700450, 645247}, {4294967236, 0}) = 0
gettimeofday({1135700450, 645304}, {4294967236, 0}) = 0
select(6, [3 4 5], [], [], {0, 23511})  = 1 (in [3], left {0, 20000})
gettimeofday({1135700450, 650840}, {4294967236, 0}) = 0
ioctl(3, FIONREAD, [32])                = 0
read(3, "\5\1\376[\223\16\326\3\23\1\0\0g\3\340\0\0\0\0\0\353\2"..., 32) = 32
open("/dev/video0", O_RDONLY|O_LARGEFILE) = 6
ioctl(6, EXT2_IOC_GETVERSION, 0xbf8ed140) = 0
ioctl(6, VIDIOCGCHAN, 0xbf8ed110)       = 0
close(6)                                = 0
open("/dev/video0", O_RDWR|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFCHR|0777, st_rdev=makedev(81, 0), ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
ioctl(6, 0x80685600, 0x95485d4)         = -1 EINVAL (Invalid argument)
close(6)                                = 0
close(6)                                = -1 EBADF (Bad file descriptor)
open("/dev/video0", O_RDWR|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFCHR|0777, st_rdev=makedev(81, 0), ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
ioctl(6, EXT2_IOC_GETVERSION, 0x92f5d28) = 0
ioctl(6, VIDIOCGMBUF, 0x92f5e80)        = 0
mmap2(NULL, 2457616, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0xb769a000
rt_sigaction(SIGALRM, {0xb7b54990, [], 0}, {SIG_DFL}, 8) = 0
ioctl(6, VIDIOCGCHAN, 0x87cb400)        = 0
ioctl(6, VIDIOCSCHAN, 0xbf8ecfb0)       = 0
ioctl(6, VIDIOCSCHAN, 0xbf8ecfb0)       = 0
ioctl(6, VIDIOCSCHAN, 0xbf8ecfb0)       = 0
ioctl(6, VIDIOCSCHAN, 0xbf8ecfb0)       = 0
ioctl(6, VIDIOCSCHAN, 0xbf8ecfb0)       = 0
ioctl(6, 0x800476c6, 0xbf8ecfac)        = -1 EINVAL (Invalid argument)
ioctl(6, VIDIOCGFBUF, 0x92f5de4)        = 0
ioctl(6, VIDIOCGPICT, 0x92f5dc4)        = 0
munmap(0xb769a000, 2457616)             = 0
close(6)                                = 0
open("/dev/video0", O_RDWR|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFCHR|0777, st_rdev=makedev(81, 0), ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
ioctl(6, EXT2_IOC_GETVERSION, 0x92f5d28) = 0
ioctl(6, VIDIOCGMBUF, 0x92f5e80)        = 0
mmap2(NULL, 2457616, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0xb769a000
ioctl(6, VIDIOCSCHAN, 0x87cb400)        = 0
ioctl(6, EXT2_IOC_GETVERSION, 0x92f5d28) = 0
ioctl(6, EXT2_IOC_GETVERSION, 0x92f5d28) = 0
ioctl(6, VIDIOCMCAPTURE, 0x934dcb8)     = 0
alarm(5)                                = 0
ioctl(6, VIDIOCSYNC, 0x934dcb8)         = 0
alarm(0)                                = 5
select(6, [3 4 5], [], [], {0, 0})      = 1 (in [3], left {0, 0})
gettimeofday({1135700451, 484818}, {4294967236, 0}) = 0
ioctl(3, FIONREAD, [800])               = 0
read(3, "\4\1\376[\326\16\326\3\23\1\0\0g\3\340\0\0\0\0\0\353\2"..., 800) = 800
gettimeofday({1135700451, 485121}, {4294967236, 0}) = 0
write(3, "&\30\2\0\23\1\0\0", 8)        = 8
read(3, "\1\1\377[\0\0\0\0\23\1\0\0\256M \0\265\2{\1\265\2{\1\20"..., 32) = 32
gettimeofday({1135700451, 485631}, {4294967236, 0}) = 0
gettimeofday({1135700451, 485745}, {4294967236, 0}) = 0
gettimeofday({1135700451, 485802}, {4294967236, 0}) = 0
gettimeofday({1135700451, 485856}, {4294967236, 0}) = 0
gettimeofday({1135700451, 485981}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486039}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486094}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486164}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486220}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486275}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486373}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486428}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486482}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486554}, {4294967236, 0}) = 0
gettimeofday({1135700451, 486607}, {4294967236, 0}) = 0
open("/dev/video0", O_RDONLY|O_LARGEFILE) = -1 EBUSY (Device or resource busy)
open("/dev/video0", O_RDONLY|O_LARGEFILE) = -1 EBUSY (Device or resource busy)
write(3, "\2\30\4\0[\3\340\0\2\0\0\0\344\347\352\0\2\0\4\0[\3\340"..., 96) = 96
select(6, [3 4 5], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1135700451, 488468}, {4294967236, 0}) = 0
getcwd("/usr/share/amsn", 4097)         = 16
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/amsn", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/share/amsn/cvs_date", F_OK) = -1 ENOENT (No such file or directory)
time(NULL)                              = 1135700451
write(2, "bgerror failed to handle backgro"..., 44bgerror failed to handle background error.
) = 44
write(2, "    Original error: ", 20    Original error: )    = 20
write(2, "expected integer but got \"\"", 27expected integer but got "") = 27
write(2, "\r\n", 2
)                     = 2
write(2, "    Error in bgerror: ", 22    Error in bgerror: )  = 22
write(2, "unable to convert date-time stri"..., 54unable to convert date-time string "5//20/12/0 05::00") = 54
write(2, "\r\n", 2
)                     = 2
write(3, "5\30\4\0\'\1\340\0\272\0\340\0\5\2\30\0F\0\5\0\'\1\340"..., 88) = 88
read(3, 0xbf8edf10, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\30\n\\\0\0\0\0\23\1\0\0\0\0\0\0\5\2\30\0\0\0\0\0 \35"..., 32) = 32
write(3, ";\3\37\0\r\0\340\0\0\0\0\0\t\0\0\0\7\0\1\0\5\0\1\0\2\0"..., 188) = 188
write(3, "J\3\6\0\'\1\340\0\"\1\340\0Q\0\20\0\3\0 \272\260\0\1\000"..., 192) = 192
read(3, 0xbf8edf10, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\30\30\\\0\0\0\0\23\1\0\0\0\0\0\0\5\2\30\0\0\0\0\0 \35"..., 32) = 32
write(3, ";\3\37\0\r\0\340\0\0\0\0\0\t\0\0\0\7\0\1\0\5\0\1\0\2\0"..., 188) = 188
write(3, "J\3\r\0\'\1\340\0\"\1\340\0\270\0\20\0!\0oVer   7   DA"..., 60) = 60
read(3, 0xbf8edf10, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\30\36\\\0\0\0\0\23\1\0\0\0\0\0\0\5\2\30\0\0\0\0\0 \35"..., 32) = 32
write(3, "8\3\5\0\r\0\340\0\0\0\6\0\0\0\0\0\0\0\0\0H\2\352\1\344"..., 2064) = 2064
write(3, "6\3\2\0\'\1\340\0\n\0\2\0\377\0\340\0\n\0\2\0\0\1\340\0"..., 736) = 736
select(6, [3 4 5], [], [], {0, 0})      = 0 (Timeout)

{...}



v4l-info (A tool which I downloaded because Gentoo didn't come with it) gave me:
Code:

agilo@localhost [~/bla]$ ./v4l-info

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
        name                    : "Logitech QuickCam Express II"
        type                    : 0x1 [CAPTURE]
        channels                : 1
        audios                  : 0
        maxwidth                : 352
        maxheight               : 288
        minwidth                : 160
        minheight               : 120

channels
    VIDIOCGCHAN(0)
        channel                 : 0
        name                    : "SPCA561"
        tuners                  : 0
        flags                   : 0x0 []
        type                    : CAMERA
        norm                    : 0

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
    VIDIOCGPICT
        brightness              : 27136
        hue                     : 2672
        colour                  : 9301
        contrast                : 11264
        whiteness               : 514
        depth                   : 24
        palette                 : RGB24

buffer
    VIDIOCGFBUF
        base                    : (nil)
        height                  : 0
        width                   : 0
        depth                   : 0
        bytesperline            : 0

window
    VIDIOCGWIN
        x                       : 0
        y                       : 0
        width                   : 160
        height                  : 120
        chromakey               : 0
        flags                   : 0



And yes, my device settings are set-up correctly and my webcam does work with the "test.tcl" program, and with gnomemeeting and with xawtv, so I think this is aMSN specific.



Hopefully I provided enough information..
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #1 on: December 27, 2005, 05:59:04 pm »

use 0.95 release, you're using an old cvs version (theser problems were solved last week)
Logged

KaKaRoTo
Agilo
Newbie

Offline Offline

Posts: 2


View Profile WWW
« Reply #2 on: December 27, 2005, 06:38:58 pm »

Looks as though you're right. Smiley

Sorry about this, I was undr the impression I had the latest version (downloaded the tarball yesterday), but I guess the mirrors didn't update yet (from what I've read).

Thanks.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!