Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

No space left on device... On a webcam???

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
leon_73
Guru
Guru
User avatar
Posts: 505
Joined: Thu Mar 13, 2003 2:08 pm
Location: Milano

No space left on device... On a webcam???

  • Quote

Post by leon_73 » Wed Jun 07, 2006 9:36 pm

Hi all,

I'm trining to configure media-video/motion but when I start it it gives me the following error...

How it is possible that

Code: Select all

#motion
[0] Processing thread 0 - config file /etc/motion.conf
[0] Thread is from /etc/motion.conf
[1] Thread started
[1] Failed with YUV420P, trying YUV422 palette: Invalid argument
[1] sync error in proc 31797: No space left on device
[1] Started stream webcam server in port 8001
[1] sync error in proc 31797: No space left on device
[1] sync error in proc 31797: No space left on device
[1] sync error in proc 31797: No space left on device
[1] Thread exiting
[0] Motion terminating
with the same configuration file, and the same webcam on an other box it works...

does anybody can help me where to start to look for?

thnx

Leo
Top
Beefrum
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Tue May 23, 2006 2:46 pm
Contact:
Contact Beefrum
Website

  • Quote

Post by Beefrum » Wed Jun 07, 2006 9:43 pm

No space left on device
Sometimes permissions on filesystems can trigger these kind of messages 8)
:? Give adaptive answers to unknown problems!
Top
leon_73
Guru
Guru
User avatar
Posts: 505
Joined: Thu Mar 13, 2003 2:08 pm
Location: Milano

  • Quote

Post by leon_73 » Wed Jun 07, 2006 10:52 pm

Beefrum wrote:
No space left on device
Sometimes permissions on filesystems can trigger these kind of messages 8)
permissions for root??? Don't think it is the problem...

anyway

Code: Select all

aperta-mente ~ # ll /dev/video0
lrwxrwxrwx 1 root root 10  8 giu 00:44 /dev/video0 -> v4l/video0
aperta-mente ~ # ll /dev/v4l/video0
crw-rw---- 1 root video 81, 0  8 giu 00:44 /dev/v4l/video0
any other ideas?

Leo
Top
stens
n00b
n00b
User avatar
Posts: 43
Joined: Mon Feb 03, 2003 8:09 am
Location: France (originated from Hungary)

  • Quote

Post by stens » Thu Jun 08, 2006 7:23 pm

Hello,

The error message in this case means: USB bandwidth exceeded.
Try to connect the camera to a different USB port, it might help... Unless you have nForce4 based motherboard as I do (the camera worked on my old PC). I had the same problem with spca5xx (20060501) driver on my motherboard. My solution was to modify the spca5xx driver to request for less badwidth for the camera.

So far my camera works without any problem.

StenS
Top
leon_73
Guru
Guru
User avatar
Posts: 505
Joined: Thu Mar 13, 2003 2:08 pm
Location: Milano

  • Quote

Post by leon_73 » Fri Jun 09, 2006 7:22 am

stens wrote:Hello,
The error message in this case means: USB bandwidth exceeded.
Try to connect the camera to a different USB port, it might help... Unless you have nForce4 based motherboard as I do (the camera worked on my old PC). I had the same problem with spca5xx (20060501) driver on my motherboard. My solution was to modify the spca5xx driver to request for less badwidth for the camera.
So far my camera works without any problem.
StenS
The camere is connected to a usb hub...
Since I use the same driver could you send me what are the hack you have done on the src, pls. I would like to see if it work for me too.
Top
erzhong
n00b
n00b
Posts: 12
Joined: Thu Mar 23, 2006 5:51 am

  • Quote

Post by erzhong » Mon Jun 12, 2006 12:01 am

stens wrote:Hello,

The error message in this case means: USB bandwidth exceeded.
Try to connect the camera to a different USB port, it might help... Unless you have nForce4 based motherboard as I do (the camera worked on my old PC). I had the same problem with spca5xx (20060501) driver on my motherboard. My solution was to modify the spca5xx driver to request for less badwidth for the camera.

So far my camera works without any problem.

StenS
I am using a nforce401 motherboard and have the same problem. Could you please show us how you modify the driver or submit a patch to spca5xx? Thank you very much!
Top
stens
n00b
n00b
User avatar
Posts: 43
Joined: Mon Feb 03, 2003 8:09 am
Location: France (originated from Hungary)

  • Quote

Post by stens » Tue Jun 13, 2006 4:35 am

Hello,
this is the patch, which seams to fix the problem. Do notice, that this is NOT the correct way to fix it, but since I don't know any other way...

Code: Select all

diff -ur spca5xx-20060501/drivers/usb/spca5xx.c spca5xx-20060501-new/drivers/usb/spca5xx.c
--- spca5xx-20060501/drivers/usb/spca5xx.c      2006-04-29 18:38:07.000000000 +0300
+++ spca5xx-20060501-new/drivers/usb/spca5xx.c  2006-05-15 17:39:22.000000000 +0300
@@ -1588,7 +1588,8 @@
//    spca50x->frame[0].seq = -1;
    spca50x->lastFrameRead = -1;

-    spca50x_set_packet_size(spca50x, spca50x->pipe_size);
+//    spca50x_set_packet_size(spca50x, spca50x->pipe_size);
+    spca50x_set_packet_size(spca50x, 896);
    PDEBUG(2, "setpacketsize %d", spca50x->pipe_size);

    for (n = 0; n < SPCA50X_NUMSBUF; n++) {
At home I have the spaca5xx ebuild in my overlay, so it patches the driver when I'm re-installing it via portage. I can put my spca5xx overlay directory somewhere, so you can download it, if you need it.

And for the sake of interest here is the link to my mail in the spca5xx dev mail list with more details and some (two - to be precise) response from the spca5xx developers:
http://lists.zerezo.com/spca50x-devs/msg00664.html

StenS
Top
Membris-Khan
n00b
n00b
User avatar
Posts: 40
Joined: Sat Nov 26, 2005 9:17 pm
Location: Murcia (Spain)
Contact:
Contact Membris-Khan
Website

  • Quote

Post by Membris-Khan » Fri Aug 18, 2006 6:18 pm

I don't understand how can I apply your patch, you can explain to me in a few words? :oops:
Giingo. No por mucho madrugar verás a las vacas en camisón
Top
stens
n00b
n00b
User avatar
Posts: 43
Joined: Mon Feb 03, 2003 8:09 am
Location: France (originated from Hungary)

  • Quote

Post by stens » Mon Aug 21, 2006 3:48 pm

Membris-Khan:

The easiest way is to create an overlay for the driver:
If you are not familiar with the portage overlays, please read for example this before: http://gentoo-wiki.com/HOWTO_Installing ... ty_Ebuilds

You can get the ebuild, patch, etc from here:
http://www.kotiposti.net/ujfalusi/gento ... ay.tar.bz2

Now create a directory in your overlay: media-video.
Extract the package to this new directory (it will create the spca5xx dir inside).
Now you can re-emerge the spca5xx driver, which - hopefully - will use the ebuild from the overlay.

I'll hope it helped...
Let me know if you need more information.

StenS
Top
sibov
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 147
Joined: Mon Feb 09, 2004 2:33 pm
Location: Germany
Contact:
Contact sibov
Website

  • Quote

Post by sibov » Mon Aug 21, 2006 8:07 pm

:lol: :lol: :lol: Cooool Thanks For the nice overlay :lol: :lol: :lol:

My cam is working again ;-)

Many thanks
Gentoo 2.6.17-gentoo-r5 with dmraid Raid0 Dualboot
AMD64 X2 3800+, 4x512MB DDR PC3200Pro Corsair Geforce EN6600GT silencer @ 256MB
4x250GB SATAII Samsung SP120, Asus A8N Premium, Plextor PX712SA DVDRW
Logitech Dinovo, SB Audigy4
Top
Membris-Khan
n00b
n00b
User avatar
Posts: 40
Joined: Sat Nov 26, 2005 9:17 pm
Location: Murcia (Spain)
Contact:
Contact Membris-Khan
Website

  • Quote

Post by Membris-Khan » Tue Aug 22, 2006 12:10 am

Wow, thank you very much :)
Giingo. No por mucho madrugar verás a las vacas en camisón
Top
stens
n00b
n00b
User avatar
Posts: 43
Joined: Mon Feb 03, 2003 8:09 am
Location: France (originated from Hungary)

  • Quote

Post by stens » Tue Aug 22, 2006 8:01 am

I'm glad that it worked for you as well...

StenS
Top
z0ny
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Sat Mar 19, 2005 8:17 am
Location: Germany

  • Quote

Post by z0ny » Thu Aug 02, 2007 10:00 am

Is there something similar applicable to the current gspcav1 driver? I am having two Logitech QuickCam Communicate STX cameras connected which I wanted to use with ZoneMinder. One camera alone works quite well but as soon as I try to use the second one I get the following error:

Code: Select all

init isoc: usb_submit_urb(0) ret -28
[spca5xx_open:1954]  DEALLOC error on init_Isoc
I already had a look at gspca_core.c but couldn't find anything matching. Thanks in advance.
Old C programmers never die. They're just cast into void.
Top
Post Reply

13 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic