Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No space left on device... On a webcam???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Wed Jun 07, 2006 9:36 pm    Post subject: No space left on device... On a webcam??? Reply with quote

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:
#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
Back to top
View user's profile Send private message
Beefrum
Apprentice
Apprentice


Joined: 23 May 2006
Posts: 234

PostPosted: Wed Jun 07, 2006 9:43 pm    Post subject: Reply with quote

Quote:
No space left on device


Sometimes permissions on filesystems can trigger these kind of messages 8)
_________________
:? Give adaptive answers to unknown problems!
Back to top
View user's profile Send private message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Wed Jun 07, 2006 10:52 pm    Post subject: Reply with quote

Beefrum wrote:
Quote:
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:
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
Back to top
View user's profile Send private message
stens
n00b
n00b


Joined: 03 Feb 2003
Posts: 43
Location: France (originated from Hungary)

PostPosted: Thu Jun 08, 2006 7:23 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Fri Jun 09, 2006 7:22 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
erzhong
n00b
n00b


Joined: 23 Mar 2006
Posts: 12

PostPosted: Mon Jun 12, 2006 12:01 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
stens
n00b
n00b


Joined: 03 Feb 2003
Posts: 43
Location: France (originated from Hungary)

PostPosted: Tue Jun 13, 2006 4:35 am    Post subject: Reply with quote

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:

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
Back to top
View user's profile Send private message
Membris-Khan
n00b
n00b


Joined: 26 Nov 2005
Posts: 40
Location: Murcia (Spain)

PostPosted: Fri Aug 18, 2006 6:18 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
stens
n00b
n00b


Joined: 03 Feb 2003
Posts: 43
Location: France (originated from Hungary)

PostPosted: Mon Aug 21, 2006 3:48 pm    Post subject: Reply with quote

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_3rd_Party_Ebuilds

You can get the ebuild, patch, etc from here:
http://www.kotiposti.net/ujfalusi/gentoo/spca5xx-overlay.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
Back to top
View user's profile Send private message
sibov
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2004
Posts: 147
Location: Germany

PostPosted: Mon Aug 21, 2006 8:07 pm    Post subject: Reply with quote

: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
Back to top
View user's profile Send private message
Membris-Khan
n00b
n00b


Joined: 26 Nov 2005
Posts: 40
Location: Murcia (Spain)

PostPosted: Tue Aug 22, 2006 12:10 am    Post subject: Reply with quote

Wow, thank you very much :)
_________________
Giingo. No por mucho madrugar verás a las vacas en camisón
Back to top
View user's profile Send private message
stens
n00b
n00b


Joined: 03 Feb 2003
Posts: 43
Location: France (originated from Hungary)

PostPosted: Tue Aug 22, 2006 8:01 am    Post subject: Reply with quote

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

StenS
Back to top
View user's profile Send private message
z0ny
Tux's lil' helper
Tux's lil' helper


Joined: 19 Mar 2005
Posts: 92
Location: Germany

PostPosted: Thu Aug 02, 2007 10:00 am    Post subject: Reply with quote

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:
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum