Hello! I found this Thread: http://www.ubuntuforums.org/showthread.php?p=1457006#post1457006 This is eactly the Problem which i have! And lots of my friends have this too! But there a fix. So I created an updated spca5xx ebuild! If you set the "usbfix" use flag, the modified source will be used! I pointed the src_uri to my webspace, as the file is on the ubuntu forums.
Created attachment 95826 [details] spca5xx-20060501-r1.ebuild spca5xx-20060501-r1.ebuild
Created attachment 95856 [details] spca5xx-20060501-r1.ebuild spca5xx-20060501-r1.ebuild Just small bugfixes!
Created attachment 95858 [details] spca5xx-20060501-r1.ebuild spca5xx-20060501-r1.ebuild Sry, forget the Header!
you need to provide a patch, not a link to a different source set for me to consider this. Also, as I've been telling users all along, setting CONFIG_USB_BANDWIDTH fixes the problem. I haven't had a report otherwise.
Hi Mike! I can't provide you an patch, as I didn't created this. And in my Case, activating CONFIG_USB_BANDWIDTH does not help! Only this modified source. So is this case, can't we use this modified source? I will ask him for an patch.
Created attachment 96158 [details, diff] spca5xx-20060501-vodunvibe-Nospaceleftondevice.patch Hi Mike! Now we can add spca5xx to portage! Here is the patch!
Created attachment 96160 [details] spca5xx-20060501-r1.ebuild And the new eBuild ;)
Ebuild is working and testet for me :) I added my Webspace to SRC URI, as the patch is only hostet atm in the ubuntu forums!
Created attachment 98142 [details] spca5xx-20060501-r1.ebuild spca5xx-20060501-r1.ebuild Includes Patch to compile with Kernel 2.6.18 from this Bug: http://bugs.gentoo.org/show_bug.cgi?id=148425
Created attachment 98143 [details, diff] spca-20060501-2.6.18.patch spca-20060501-2.6.18.patch Patch for compile with Kernel 2.6.18
(In reply to comment #9) > Includes Patch to compile with Kernel 2.6.18 from this Bug: > http://bugs.gentoo.org/show_bug.cgi?id=148425 Great job! I'll post here some comments just for better user-friendliness. I think your patch name can be more explicative, like: spca5xx-20060501-usb-bandwidth-fix.patch Also, I think must be added a reminder which explains that if you have 'no space left on the device' problem you can try setting CONFIG_USB_BANDWIDTH in the kernel config to solve the problem without using 'usbfix' flag, as stated in comment #4. Cheers.
(In reply to comment #11) > (In reply to comment #9) > > Includes Patch to compile with Kernel 2.6.18 from this Bug: > > http://bugs.gentoo.org/show_bug.cgi?id=148425 > Great job! I'll post here some comments just for better user-friendliness. > I think your patch name can be more explicative, like: > spca5xx-20060501-usb-bandwidth-fix.patch > Also, I think must be added a reminder which explains that if you have 'no > space left on the device' problem you can try setting CONFIG_USB_BANDWIDTH in > the kernel config to solve the problem without using 'usbfix' flag, as stated > in comment #4. > Cheers. Ok, done :)
Created attachment 98191 [details] spca5xx-20060501-r1.ebuild spca5xx-20060501-r1.ebuild
Created attachment 98192 [details] spca-20060501-usb-bandwidth-fix.patch spca-20060501-usb-bandwidth-fix.patch Just renamed ;)
Created attachment 98246 [details, diff] patch for spca5xx-20040501-r1 This patch is to slightly modify your ebuild, for fixing some imperfections in einfo stuff and to anticipate the warning on using the 'usbfix' flag at pkg_setup phase. Thanks a lot.
I got a Problem! I can't use your ebuild anymore? Since the newest Portage Update i get this: Calculating world dependencies ---------------------------- ACCESS VIOLATION SUMMARY ---------- ----------------- LOG FILE = "/var/log/sandbox/sandbox-media-video_-_spca5xx-20060501-r1-13306.log" open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d -------------------------------------------------------------------------------- aux_get(): (0) Error in media-video/spca5xx-20060501-r1 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug)
BlackBox spca5xx # cat /var/log/sandbox/sandbox-media-video_-_spca5xx-20060501-r1-13306.log open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d
The Error is the if clause!! If i removed everything is fine!
(In reply to comment #18) > The Error is the if clause!! If i removed everything is fine! Sorry, but which one of the 'if' clauses?
if kernel_is 2 6 18; then CONFIG_CHECK="${CONFIG_CHECK} VIDEO_V4L1_COMPAT" fi and if kernel_is 2 6 18; then epatch "${FILESDIR}"/spca-${PV}-2.6.18.patch fi i guess this error is due the new portage update?
BlackBox conikost # emerge --info Portage 2.1.2_pre1-r4 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo i586) ================================================================= System uname: 2.6.18-gentoo i586 Geode(TM) Integrated Processor by AMD PCS Gentoo Base System version 1.12.5 Last Sync: Fri, 29 Sep 2006 14:20:01 +0000 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.6-r1, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=k6-2 -Os -mmmx -m3dnow -pipe -fomit-frame-pointer -mfpmath=387" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=k6-2 -Os -mmmx -m3dnow -pipe -fomit-frame-pointer -mfpmath=387 -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 / acpi alsa apache2 berkdb bzip2 caps cdinstall clamav crypt cups dedicated elibc_glibc ftp gd gpm iconv imap input_devices_keyboard input_devices_mouse javascript jpeg jpeg2k kernel_linux ldap linguas_de mbox mmx mp3 mysql mysqli ncurses nls nptl odbc offensive pam pcre php png readline samba sasl session slang snmp spell ssl symlink tcpd threads tiff truetype unicode usb userland_GNU vhosts video_cards_cyrix video_cards_fbdev video_cards_nsc video_cards_v4l video_cards_vesa video_cards_vga vorbis xinetd xml zlib" Unset: CTARGET, INSTALL_MASK
(In reply to comment #20) > if kernel_is 2 6 18; then > CONFIG_CHECK="${CONFIG_CHECK} VIDEO_V4L1_COMPAT" > fi > > and > > if kernel_is 2 6 18; then > epatch "${FILESDIR}"/spca-${PV}-2.6.18.patch > fi > > i guess this error is due the new portage update? I cannot reproduce the error. The difference from my system to yours are many, but portage version is the same. Also, I have re-setted my /etc/make.conf FEATURES, but without success in reproduce the bug. Try deleting spca5xx sources and re-digesting the ebuild. Please, attach the output of this command: md5sum /usr/portage/eclass/linux-info.eclass
It doesn't work with digest this ebuild ... BlackBox spca5xx # ebuild spca5xx-20060501-r1.ebuild digest --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-media-video_-_spca5xx-20060501-r1-6403.log" open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d open_wr: /usr/src/linux-2.6.18-gentoo/scripts/basic/.fixdep.d -------------------------------------------------------------------------------- aux_get(): (0) Error in media-video/spca5xx-20060501-r1 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug)
BlackBox spca5xx # md5sum /usr/portage/eclass/linux-info.eclass 3f43e6157237512c20d4a4310153a532 /usr/portage/eclass/linux-info.eclass
(In reply to comment #23) > It doesn't work with digest this ebuild ... > > BlackBox spca5xx # ebuild spca5xx-20060501-r1.ebuild digest > --------------------------- ACCESS VIOLATION SUMMARY > --------------------------- > LOG FILE = > "/var/log/sandbox/sandbox-media-video_-_spca5xx-20060501-r1-6403.log" > > open_wr: /usr/src/linux-2.6.18-gentoo/fixdep.gcda Please, try to clean the directory of kernel sources (or re-emerge them) and re-digest the ebuild. I will try with gentoo-sources. (In reply to comment #24) > BlackBox spca5xx # md5sum /usr/portage/eclass/linux-info.eclass > 3f43e6157237512c20d4a4310153a532 /usr/portage/eclass/linux-info.eclass Like mine, so no problem with eclasses.
Hi! 1) deleted /usr/src/linux-2.6.18-gentoo and re-emerged gentoo-sources It does not help! Still the same Error with digesting spca5xx ...
(In reply to comment #26) > Hi! > 1) deleted /usr/src/linux-2.6.18-gentoo and re-emerged gentoo-sources No problems at all, digesting or emerging spca5xx-20060501-r1 against gentoo-sources-2.6.18. Please, try re-emerging portage. Check also to have kernel sources with 755 permission.
Hello! Very strange, but now solved ... Re-emerge of portage helped! Thx!
So, as it is working, what about releasing it into portage?
I've added 20060501-r1 to the tree from another bug. please test and reopen if there is still a problem
Hi! Please reopen! I need to include this patch! -> spca-20060501-usb-bandwidth-fix.patch Then it works fine for me here!
I stil need this patch ...
I had exactly the same problem with a creative webcam live, and the usb bandwidth patch works perfectly! Enabling CONFIG_USB_BANDWIDTH didn't help, I still needed the patch. Thnx Conrad!
+1 Enabling CONFIG_USB_BANDWIDTH didn't help, but patch is working!
Enabling CONFIG_USB_BANDWIDTH didn't help, but patch is working!
try media-video/gspca spca5xx is deprecated.