Hello Nick,

Sunday, January 16, 2005, 12:31:23 AM, you wrote:

NR> I assume it fails in both cases then?

It does, and these are the outputs from the commands you gave me.

> gentoo root # xawtv -c /dev/v4l/video0
>
> This is xawtv-3.86, running on Linux/i686 (2.6.10-gentoo-r4)
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Error: Can't open display: :0.0

_____________________________________________________________

> gentoo root # xawtv -hwscan
>
> This is xawtv-3.86, running on Linux/i686 (2.6.10-gentoo-r4)
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Error: Can't open display: :0.0

_____________________________________________________________

And the last part from the strace command.

> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
> = 0x40018000
> read(4, "", 4096)                       = 0
> close(4)                                = 0
> munmap(0x40018000, 4096)                = 0
> writev(3, [{"l\0\v\0\0\0\0\0\0\0\0\0", 12}], 1) = 12
> fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
> fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
> read(3, "\0\26\v\0\0\0\6\0", 8)         = 8
> read(3, "No protocol specified\n\0\0", 24) = 24
> write(2, "Xlib: connection to \":0.0\" refus"..., 52Xlib: connection to 
> ":0.0" refused by server
> Xlib: ) = 52
> write(2, "No protocol specified\n", 22No protocol specified
> ) = 22
> write(2, "\r\n", 2
> )                     = 2
> shutdown(3, 2 /* send and receive */)   = 0
> close(3)                                = 0
> open("/usr/X11R6/lib/X11/XtErrorDB", O_RDONLY) = -1 ENOENT (No such file or 
> directory)
> getuid32()                              = 0
> geteuid32()                             = 0
> getuid32()                              = 0
> write(2, "Error: ", 7Error: )                  = 7
> write(2, "Can\'t open display: :0.0", 24Can't open display: :0.0) = 24
> write(2, "\n", 1
> )                       = 1
> exit_group(1)                           = ?


As you can see there are errors but I have no idea what they mean. And I
didn't get and string conversion errors.


-- 
Tony.

The Bat! 3.0.2.10 under the influence of Wine and Gentoo
Registered Linux user #316959
PGP Key http://www.theboomclan.com/pgp.txt
        http://www.1and1.co.uk/?k_id=7037908      

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to