Bug#446015: sane-utils: scanimage fails with v4l backend and pwc

2015-04-23 Thread Andreas Hartmann
The same bug still exists with sane-utils 1.0.24-8:

scanimage -L
device `v4l:/dev/video1' is a Noname Philips 740 webcam virtual device
device `v4l:/dev/video0' is a Noname Terratec Cinergy HT PCI virtual device

scanimage -d v4l:/dev/video1 > image.pnm
scanimage: sane_start: Invalid argument

SANE_DEBUG_V4L=2 scanimage -d v4l:/dev/video1 -T -vv
[sanei_debug] Setting debug level of v4l to 2.
[v4l] SANE v4l backend version 1.0 build 5 from sane-backends 1.0.24
[v4l] attach: failed to open device `/dev/bttv0': No such file or directory
[v4l] attach: found videodev `Terratec Cinergy HT PCI' on `/dev/video0'
[v4l] attach: found videodev `Philips 740 webcam' on `/dev/video1'
[v4l] attach: failed to open device `/dev/video2': No such file or directory
[v4l] attach: failed to open device `/dev/video3': No such file or directory
[v4l] sane_open: ioctl VIDIOCSPICT failed (Invalid argument)
[v4l] sane_control option: option is inactive
[v4l] sane_control option: option is inactive
[v4l] sane_control option: option is inactive
[v4l] sane_control option: option is inactive
[v4l] sane_control option: option is inactive
scanimage: ignored request to set inactive option br-x
[v4l] sane_control option: option is inactive
scanimage: ignored request to set inactive option br-y
[v4l] sane_start
[v4l] sane_start: mmapped frame 640 x 480 with palette 1
[v4l] sane_start: ioctl VIDIOCMCAPTURE failed: Invalid argument
scanimage: sane_start: Invalid argument
[v4l] sane_cancel
Closing device
[v4l] sane_close: trying to close handle 0x7fcfbb183c70
Calling sane_exit
scanimage: finished

I did not mention it in the initial bug report, but image capture was working 
back in early 2006.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#446015: sane-utils: scanimage fails with v4l backend and pwc

2015-01-18 Thread Jörg Frings-Fürst
Hello,

I close this bug from 2007 now:

 - Release 1.0.19~cvs20070730-1 is unsupported
 - no answer for more then 12 weeks


Thank you for spending your time helping to make Debian better with this
bug report. 

If this bug still exist please file a new bug or reopen this bug.

CU
Jörg

-- 
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB  30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key: 8CA1D25D
CAcert Key S/N : 0E:D4:56

Old (revoked since 2014-12-31):
pgp Fingerprint: 7D13 3C60 0A10 DBE1 51F8  EBCB 422B 44B0 BE58 1B6E
pgp Key: BE581B6E

Jörg Frings-Fürst
D-54526 Niederkail

Threema: SYR8SJXB

IRC: j_...@freenode.net
 j_...@oftc.net



signature.asc
Description: This is a digitally signed message part


Bug#446015: sane-utils: scanimage fails with v4l backend and pwc

2014-10-26 Thread Jörg Frings-Fürst
tags 446015 + moreinfo
thanks



Hello,

sane-backends release 1.0.24-3 is now in testing.

Please can you check whether the same bug still exists?


CU
Jörg
-- 
pgp Fingerprint: 7D13 3C60 0A10 DBE1 51F8  EBCB 422B 44B0 BE58 1B6E
pgp Key: BE581B6E
CAcert Key S/N: 0E:D4:56

Jörg Frings-Fürst
D-54526 Niederkail

Threema-ID: SYR8SJXB

IRC: j_...@freenode.net, j_...@oftc.net

signature.asc
Description: This is a digitally signed message part.


Bug#446015: sane-utils: scanimage fails with v4l backend and pwc

2007-10-15 Thread Andreas Hartmann
I have tried with 640x480 and 352x288, resulting in exactly the same problems.

On Mon, 15 Oct 2007 14:25:23 +0200
Julien BLACHE <[EMAIL PROTECTED]> wrote:
> 
> Can you try to grab a 640 x 480 image ?
> 
> JB.
> 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#446015: sane-utils: scanimage fails with v4l backend and pwc

2007-10-15 Thread Andreas Hartmann
xcam also fails to display or capture any image from the Philips
webcam. Upon pressing the 'Play' button, an error message box pops up:
"Failed to start webcam: Invalid argument"

After jumping between the other available devices, upon selecting the
webcam (pwc) device, xcam terminates immediately:
Segmentation fault

Here is the output of such a session, shortened by the lines containing
'sane_control_option' or 'sane_get_option_descriptor':

~$ SANE_DEBUG_V4L=255 xcam
[sanei_debug] Setting debug level of v4l to 255.
[v4l] SANE v4l backend version 1.0 build 4 from sane-backends 1.0.18-cvs
[v4l] attach: trying to open /dev/bttv0
[v4l] attach: failed to open device `/dev/bttv0': No such file or directory
[v4l] attach: trying to open /dev/video0
[v4l] attach: found videodev `Hauppauge Nova-T DVB-T' on `/dev/video0'
[v4l] attach: trying to open /dev/video1
[v4l] attach: found videodev `BT878 video (Lifeview FlyVideo ' on `/dev/video1'
[v4l] attach: trying to open /dev/video2
[v4l] attach: found videodev `Philips 740 webcam' on `/dev/video2'
[v4l] attach: trying to open /dev/video3
[v4l] attach: failed to open device `/dev/video3': No such file or directory
[v4l] sane_get_devices
[v4l] sane_open: device /dev/video2 found in devlist
[v4l] sane_open: 1 channels, 1 audio devices
[v4l] sane_open: minwidth=160, minheight=120, maxwidth=640, maxheight=480
[v4l] sane_open: V4L device can capture to memory
[v4l] sane_open: channel 0 (Webcam), tuners=0, flags=0x0, type=2, norm=49080
[v4l] sane_open: input is camera input
[v4l] sane_open: brightness=32256, hue=65535, colour=32768, contrast=64512
[v4l] sane_open: whiteness=43008, depth=24, palette=15
[v4l] sane_open: ioctl VIDIOCSPICT failed (Invalid argument)
[v4l] sane_open: x=0, y=0, width=160, height=120
[v4l] sane_get_parameters
[v4l] sane_get_parameters
[v4l] sane_start
[v4l] sane_start: mmap frame, buffersize: 925696 bytes, buffers: 2, offset 0 0
[v4l] sane_start: mmapped frame, capture 1 pict into 0xb6a1
[v4l] sane_start: mmappeded frame 160 x 120 with palette 1
[v4l] sane_start: ioctl VIDIOCMCAPTURE failed: Invalid argument
[v4l] sane_cancel
[v4l] sane_close: trying to close handle 0x80d3208
[v4l] sane_open: device /dev/video1 found in devlist
[v4l] sane_open: 3 channels, 3 audio devices
[v4l] sane_open: minwidth=48, minheight=32, maxwidth=924, maxheight=576
[v4l] sane_open: V4L device can capture to memory
[v4l] sane_open: V4L device has a tuner of some form
[v4l] sane_open: V4L device can overlay its image onto the frame buffer
[v4l] sane_open: V4L device supports overlay clipping
[v4l] sane_open: V4L device supports hardware scaling
[v4l] sane_open: channel 0 (Television), tuners=1, flags=0x3, type=1, norm=0
[v4l] sane_open: channel has tuner(s)
[v4l] sane_open: channel has audio
[v4l] sane_open: input is TV input
[v4l] sane_open: channel 1 (Composite1), tuners=0, flags=0x2, type=2, norm=0
[v4l] sane_open: channel has audio
[v4l] sane_open: input is camera input
[v4l] sane_open: channel 2 (S-Video), tuners=0, flags=0x2, type=2, norm=0
[v4l] sane_open: channel has audio
[v4l] sane_open: input is camera input
[v4l] sane_open: brightness=32768, hue=32768, colour=32768, contrast=32768
[v4l] sane_open: whiteness=0, depth=24, palette=4
[v4l] sane_open: ioctl VIDIOCSPICT failed (Invalid argument)
[v4l] sane_open: x=0, y=0, width=320, height=240
[v4l] sane_close: trying to close handle 0x80d31d8
[v4l] sane_open: device /dev/video2 found in devlist
[v4l] sane_open: can't open /dev/video2 (Device or resource busy)
Segmentation fault



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#446015: sane-utils: scanimage fails with v4l backend and pwc

2007-10-13 Thread Julien BLACHE
Andreas Hartmann <[EMAIL PROTECTED]> wrote:

Hi,

> I would like to do some more testing but how can I tell v4l and v4l2
> devices apart?
> The devices I already mentioned are the only ones I have available at
> the moment.

Actually as long as you have the v4l comapt layer built into the
kernel (which is the case in debian kernels) you can use any device as
a v4l device IIRC.

So the problem lies in the backend.

Can you give a try to xcam, which is a SANE frontend dedicated to v4l
devices ?

Also, try setting SANE_DEBUG_V4L=255 and see if you can get any useful
error message.

JB.

-- 
 Julien BLACHE <[EMAIL PROTECTED]>  |  Debian, because code matters more 
 Debian & GNU/Linux Developer|   
 Public key available on  - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#446015: sane-utils: scanimage fails with v4l backend and pwc

2007-10-12 Thread Andreas Hartmann
I would like to do some more testing but how can I tell v4l and v4l2
devices apart?
The devices I already mentioned are the only ones I have available at
the moment.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#446015: sane-utils: scanimage fails with v4l backend and pwc

2007-10-09 Thread Julien BLACHE
Andreas Hartmann <[EMAIL PROTECTED]> wrote:

Hi,

> scanimage fails to capture an image from a video stream provided by the kernel
> module 'pwc' for Philips web cams. However, I can watch the camera's video 
> stream
> with xawtv.
> scanimage works as expected with the other video sources present in my system
> (modules quickcam, bttv and cx8800).

Hmm, the v4l backend does not support v4l2, and I'm not even sure it
handles everything in v4l1.

Can dig a bit further into the issue ? I only have v4l2 devices here...

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]> 
 
 Public key available on  - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#446015: sane-utils: scanimage fails with v4l backend and pwc

2007-10-09 Thread Andreas Hartmann
Package: sane-utils
Version: 1.0.19~cvs20070730-1
Severity: normal

scanimage fails to capture an image from a video stream provided by the kernel
module 'pwc' for Philips web cams. However, I can watch the camera's video 
stream
with xawtv.
scanimage works as expected with the other video sources present in my system
(modules quickcam, bttv and cx8800).

scanimage -L
device `v4l:/dev/video3' is a Noname Logitech QuickCam USB virtual device
device `v4l:/dev/video2' is a Noname Philips 740 webcam virtual device
device `v4l:/dev/video1' is a Noname BT878 video (Lifeview FlyVideo  virtual 
device
device `v4l:/dev/video0' is a Noname Hauppauge Nova-T DVB-T virtual device

scanimage -d v4l:/dev/video2 > image.pnm
scanimage: sane_start: Invalid argument

scanimage -d v4l:/dev/video2 -T -vv
scanimage: ignored request to set inactive option br-x
scanimage: ignored request to set inactive option br-y
scanimage: sane_start: Invalid argument
Closing device
Calling sane_exit
scanimage: finished

SANE_DEBUG_V4L=2 scanimage -d v4l:/dev/video2 -T
[sanei_debug] Setting debug level of v4l to 2.
[v4l] SANE v4l backend version 1.0 build 4 from sane-backends 1.0.18-cvs
[v4l] attach: failed to open device `/dev/bttv0': No such file or directory
[v4l] attach: found videodev `Hauppauge Nova-T DVB-T' on `/dev/video0'
[v4l] attach: found videodev `BT878 video (Lifeview FlyVideo ' on `/dev/video1'
[v4l] attach: found videodev `Philips 740 webcam' on `/dev/video2'
[v4l] attach: found videodev `Logitech QuickCam USB' on `/dev/video3'
[v4l] sane_open: ioctl VIDIOCSPICT failed (Invalid argument)
[v4l] sane_control option: option is inactive
[v4l] sane_control option: option is inactive
[v4l] sane_control option: option is inactive
[v4l] sane_control option: option is inactive
[v4l] sane_control option: option is inactive
[v4l] sane_control option: option is inactive
[v4l] sane_start
[v4l] sane_start: mmappeded frame 160 x 120 with palette 1
[v4l] sane_start: ioctl VIDIOCMCAPTURE failed: Invalid argument
scanimage: sane_start: Invalid argument
[v4l] sane_cancel
[v4l] sane_close: trying to close handle 0x8053be8


-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-4-p4pe (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages sane-utils depends on:
ii  adduser 3.105add and remove users and groups
ii  libc6   2.6.1-1+b1   GNU C Library: Shared libraries
ii  libieee1284-3   0.2.11-1 cross-platform library for paralle
ii  libjpeg62   6b-14The Independent JPEG Group's JPEG 
ii  libsane 1.0.19~cvs20070730-1 API library for scanners
ii  libtiff43.8.2-7  Tag Image File Format (TIFF) libra
ii  libusb-0.1-42:0.1.12-7   userspace USB programming library
ii  zlib1g  1:1.2.3.3.dfsg-5 compression library - runtime

sane-utils recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]