Bug#706136: [armhf] times out reading from /dev/video0

2013-04-25 Thread martin f krafft
Package: libav-tools
Version: 6:0.8.6-1
Severity: normal

I have a USB camera that works fine on an amd64 system
(3.8-trunk-amd64), but it does not work on a Raspberry Pi.

If I run

  avconv -f video4linux2 -i /dev/video0 -f flv /tmp/test.flv

the file is actually never written. strace (attached) reveals that
the process times out waiting for data on /dev/video0 (which is FD
4).

This may well be a problem with the kernel/module. If so, please
reassign.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libav-tools depends on:
ii  dpkg 1.16.10
ii  libavcodec53 6:0.8.6-1
ii  libavdevice536:0.8.6-1
ii  libavfilter2 6:0.8.6-1
ii  libavformat536:0.8.6-1
ii  libavutil51  6:0.8.6-1
ii  libc62.13-38
ii  libpostproc526:0.8.6-1
ii  libsdl1.2debian  1.2.15-5
ii  libswscale2  6:0.8.6-1

libav-tools recommends no packages.

libav-tools suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft madduck@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems


avconv.strace.gz
Description: Binary data


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Bug#706136: [armhf] times out reading from /dev/video0

2013-04-25 Thread Jonas Smedegaard
Hi Martin,

Quoting martin f krafft (2013-04-25 11:56:45)
 I have a USB camera that works fine on an amd64 system 
 (3.8-trunk-amd64), but it does not work on a Raspberry Pi.
 
 If I run
 
   avconv -f video4linux2 -i /dev/video0 -f flv /tmp/test.flv
 
 the file is actually never written. strace (attached) reveals that
 the process times out waiting for data on /dev/video0 (which is FD
 4).
 
 This may well be a problem with the kernel/module. If so, please
 reassign.

 Architecture: amd64 (x86_64)

Seems you filed this bugreport on the working amd64 system, not the arm 
one with the issue you are reporting.  That's not a problem in 
itself, but please do tell which exact kernel package you use.

Also, do you really use Debian, not Raspbian?  Subject mentions armhf 
but TTBOMK RPi is ARMv6 so is incompatible with Debian armhf (which 
requires ARMv7).

I strongly urge you to mention explicitly if using a derived 
distribution when filing bugreports against Debian, to avoid wasting 
time seeking needles in wrong haystack!


Regards,

 - Jonas


P.S.

Expect others than me to chime in and actually squash this bug - I just 
noticed those architecture-related details.

-- 
 * Jonas Smedegaard - idealist  Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


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



Bug#706136: [armhf] times out reading from /dev/video0

2013-04-25 Thread martin f krafft
also sprach Jonas Smedegaard d...@jones.dk [2013.04.25.1242 +0200]:
 Also, do you really use Debian, not Raspbian?  Subject mentions armhf 
 but TTBOMK RPi is ARMv6 so is incompatible with Debian armhf (which 
 requires ARMv7).

Yes, Raspbian, of course. I am sorry, I stupidly forgot the kernel
data:

  Linux pict 3.6.11+ #393 PREEMPT Fri Mar 8 16:36:28 GMT 2013 armv6l GNU/Linux

About the architecture, I used dpkg --print-architecture, which
gives armhf.

-- 
 .''`.   martin f. krafft madduck@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
whoever fights monsters should see to it that in the process he does
 not become a monster. and when you look into an abyss, the abyss also
 looks into you.
 - friedrich nietzsche


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Bug#706136: [armhf] times out reading from /dev/video0

2013-04-25 Thread Jonas Smedegaard
Quoting martin f krafft (2013-04-25 13:26:44)
 also sprach Jonas Smedegaard d...@jones.dk [2013.04.25.1242 +0200]:
  Also, do you really use Debian, not Raspbian?  Subject mentions 
  armhf but TTBOMK RPi is ARMv6 so is incompatible with Debian armhf 
  (which requires ARMv7).
 
 Yes, Raspbian, of course. I am sorry, I stupidly forgot the kernel 
 data:
 
   Linux pict 3.6.11+ #393 PREEMPT Fri Mar 8 16:36:28 GMT 2013 armv6l GNU/Linux
 
 About the architecture, I used dpkg --print-architecture, which gives 
 armhf.

Thanks for clarifying.

Would be nice if you could test that this bug actually is reproducible 
with Debian.

I'll leave it to others in the Multimedia team more knowledgeable on 
libav to decide if they wanna spent time on this nevertheless - some of 
us care about some (but not all) non-Debian repositories.


 - Jonas

-- 
 * Jonas Smedegaard - idealist  Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


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



Bug#706136: [armhf] times out reading from /dev/video0

2013-04-25 Thread Hector Oron
Hello,

 Quoting martin f krafft (2013-04-25 13:26:44)

 Yes, Raspbian, of course. I am sorry, I stupidly forgot the kernel
 data:

   Linux pict 3.6.11+ #393 PREEMPT Fri Mar 8 16:36:28 GMT 2013 armv6l 
 GNU/Linux

Most likely this issue is related to Rpi hardware, you might seek
further support at debian-arm mailing list or raspberrypi forums.

Regards


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