Re: [gentoo-user] usb webcam

2008-10-21 Thread Neil Bothwick
On Sat, 18 Oct 2008 12:58:07 -0600 (MDT), RYAN vAN GINNEKEN wrote:

> Anyway on with the webcam problems i have emerged gspcav1 and loaded
> the module 
> 
> # lsmod
> Module  Size  Used by
> gspca 620752  0
> 
> but the cameras are still only detected as usb devices and no drivers
> are being loaded.

Why would they is the module is already loaded? Are /dev/video* devices
created?

> ps i have had these cameras work in ubuntu, mandrake, pclinux (none are
> as cool as Gentoo) so i am guessing that gentoo should work too!

Compare the output of lsmod on those boxes before and after connecting
the camera. Also look at the syslog while plugging in the camera to see
what is recognised and loaded. 


-- 
Neil Bothwick

Shin - Device for finding furniture in the dark


signature.asc
Description: PGP signature


Re: [gentoo-user] usb webcam

2008-10-19 Thread Alan McKinnon
On Saturday 18 October 2008 20:58:07 RYAN vAN GINNEKEN wrote:
> Oct 18 18:43:35 huang usb 3-2: new full speed USB device using uhci_hcd and
> address 7 Oct 18 18:43:35 huang usb 3-2: configuration #1 chosen from 1
> choice Oct 18 18:43:45 huang hub 1-0:1.0: unable to enumerate USB device on
> port 1 Oct 18 18:43:46 huang usb 2-1: new full speed USB device using
> ohci_hcd and address 2 Oct 18 18:43:46 huang usb 2-1: configuration #1
> chosen from 1 choice
>
> ps i have had these cameras work in ubuntu, mandrake, pclinux (none are as
> cool as Gentoo) so i am guessing that gentoo should work too!

I've never heard of the hardware you mention so can't help directly. Is it 
something uncommon?

Some more stuff you could try:

Ask on a user-list for the project this hardware is a part of.
Dig around in the other distro sources, see what patches they apply and what 
the devs did to make it work. Replicate that on gentoo.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] usb webcam

2008-10-18 Thread Dale
RYAN vAN GINNEKEN wrote:
> Ok first let me apologize for my impatiens in bumping my thread in retrospect 
> I guess it was pretty rude.  Also I would like to apologize for not following 
> the intelligent way to ask a question essay.  However i have read it in the 
> past just not recently, have to admit I got lazy and just fired this post up 
> without much thought. Mostly frustrated as it seemed like a fairly simple 
> issue something I assumed that most people with Gentoo experience would have 
> a quick answer for.  Again my apologizes having goggled around all day or 
> two, and finding that most of the helpful hints regarding my topic were dead 
> ie wiki is down, plus working with google cache is troublesome.
>
> Anyway on with the webcam problems i have emerged gspcav1 and loaded the 
> module 
>
> # lsmod
> Module  Size  Used by
> gspca 620752  0
>
> but the cameras are still only detected as usb devices and no drivers are 
> being loaded.
>
> PLEASE can someone help me with this issue are there other kernel modules i 
> can try? other packages to emerge? if so what are they? here is a lsusb of 
> the 2 devices
>
> Bus 003 Device 006: ID 046d:08f5 Logitech, Inc.
> Bus 003 Device 007: ID 04c1:009d U.S. Robotics (3Com) HomeConnect WebCam 
> [vicam]
>
> this is how they show up in /etc/messages
>
> Oct 18 18:43:35 huang usb 3-2: new full speed USB device using uhci_hcd and 
> address 7
> Oct 18 18:43:35 huang usb 3-2: configuration #1 chosen from 1 choice
> Oct 18 18:43:45 huang hub 1-0:1.0: unable to enumerate USB device on port 1
> Oct 18 18:43:46 huang usb 2-1: new full speed USB device using ohci_hcd and 
> address 2
> Oct 18 18:43:46 huang usb 2-1: configuration #1 chosen from 1 choice
>
> ps i have had these cameras work in ubuntu, mandrake, pclinux (none are as 
> cool as Gentoo) so i am guessing that gentoo should work too!
>
>   


Just a shot in the dark, is your user in the proper group to have access
to this camera?  Does it work as root?  If it works as root but not
user, check permissions.  If it doesn't work as root, then at least we
will know it is not a permissions problem.

Dale

:-)  :-) 



Re: [gentoo-user] usb webcam

2008-10-18 Thread RYAN vAN GINNEKEN
Ok first let me apologize for my impatiens in bumping my thread in retrospect I 
guess it was pretty rude.  Also I would like to apologize for not following the 
intelligent way to ask a question essay.  However i have read it in the past 
just not recently, have to admit I got lazy and just fired this post up without 
much thought. Mostly frustrated as it seemed like a fairly simple issue 
something I assumed that most people with Gentoo experience would have a quick 
answer for.  Again my apologizes having goggled around all day or two, and 
finding that most of the helpful hints regarding my topic were dead ie wiki is 
down, plus working with google cache is troublesome.

Anyway on with the webcam problems i have emerged gspcav1 and loaded the module 

# lsmod
Module  Size  Used by
gspca 620752  0

but the cameras are still only detected as usb devices and no drivers are being 
loaded.

PLEASE can someone help me with this issue are there other kernel modules i can 
try? other packages to emerge? if so what are they? here is a lsusb of the 2 
devices

Bus 003 Device 006: ID 046d:08f5 Logitech, Inc.
Bus 003 Device 007: ID 04c1:009d U.S. Robotics (3Com) HomeConnect WebCam [vicam]

this is how they show up in /etc/messages

Oct 18 18:43:35 huang usb 3-2: new full speed USB device using uhci_hcd and 
address 7
Oct 18 18:43:35 huang usb 3-2: configuration #1 chosen from 1 choice
Oct 18 18:43:45 huang hub 1-0:1.0: unable to enumerate USB device on port 1
Oct 18 18:43:46 huang usb 2-1: new full speed USB device using ohci_hcd and 
address 2
Oct 18 18:43:46 huang usb 2-1: configuration #1 chosen from 1 choice

ps i have had these cameras work in ubuntu, mandrake, pclinux (none are as cool 
as Gentoo) so i am guessing that gentoo should work too!



Computer King & CaN Mail  -  Sales Service Hosting Backup

http://www.computerking.ca http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages

- "Dirk Heinrichs" <[EMAIL PROTECTED]> wrote:

> Am Freitag, 17. Oktober 2008 22:52:12 schrieb RYAN vAN GINNEKEN:
> > bump
> 
> ???
> 
> Bye...
> 
>   Dirk



Shouting (was Re: [gentoo-user] usb webcam)

2008-10-18 Thread Dirk Heinrichs
Am Samstag, 18. Oktober 2008 01:43:58 schrieb RYAN vAN GINNEKEN:
> ANYWHO SHOULD I EVEN BE USING THESE

Could you please stop SHOUTING, we can hear you.

Bye...

Dirk



Re: [gentoo-user] usb webcam

2008-10-18 Thread Dirk Heinrichs
Am Freitag, 17. Oktober 2008 22:52:12 schrieb RYAN vAN GINNEKEN:
> bump

???

Bye...

Dirk



Re: [gentoo-user] usb webcam

2008-10-18 Thread Stroller


On 17 Oct 2008, at 21:52, RYAN vAN GINNEKEN wrote:

bump



Please don't do that here.

Stroller.



Re: [gentoo-user] usb webcam

2008-10-18 Thread Alan McKinnon
On Saturday 18 October 2008 01:43:58 RYAN vAN GINNEKEN wrote:
> As stated in my first post of this thread i have added these the the
> /etc/portage/package.umask
>
> ooops there it is named the file umask instead of unmask hehehe typo now
> things are trying to build but i get this error
>
> ANYWHO SHOULD I EVEN BE USING THESE dangerous looking packages ?? are there
> some usb camera drivers that are stable that i could try please help!!!

The usual answer is "try them and see what happens"

Devs usually hard-mask packages for the following reasons (sort of in order of 
decreasing frequency)

- the package will not build (stupid code)
- the package depends on something else that is not in portage
- the package is horribly buggy but seems to work sometimes
- the package wreaks half of the other packages on your machine
- the package is a developer testing version and you're not supposed to use it
- the package breaks your hardware

the last one is extremely rare. So try those packages by all means, and note 
what happens at each step. If they really are unusable and you know your way 
around, it's not that hard to remove them. Irritating and time-consuming yes, 
but hard and dangerous no



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] usb webcam

2008-10-17 Thread Neil Bothwick
On Fri, 17 Oct 2008 23:40:51 +0200, Alan McKinnon wrote:

> nazgul ~ # grep spca /var/portage/profiles/package.mask
> # Sorting out media-video/{spca5xx,gspca{,v1}} bug 159176
> media-video/spca5xx
> media-video/gspca
> 
> You can fiddle with package.keywords for the next century, it won't
> make a difference. You need to unmask these packages with entries 
> in /etc/portage/package.unmask

Or use the correct package, which is not hard masked - media-video/gspcav1


-- 
Neil Bothwick

(A)bort, (R)etry, (P)retend this never happened...


signature.asc
Description: PGP signature


Re: [gentoo-user] usb webcam

2008-10-17 Thread RYAN vAN GINNEKEN
As stated in my first post of this thread i have added these the the 
/etc/portage/package.umask 

ooops there it is named the file umask instead of unmask hehehe typo now things 
are trying to build but i get this error

ANYWHO SHOULD I EVEN BE USING THESE dangerous looking packages ?? are there 
some usb camera drivers that are stable that i could try please help!!! 



Emerging (1 of 1) media-video/spca5xx-20060501-r1 to /
>>> Downloading 
>>> 'ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles/spca5xx-20060501.tar.gz'
--17:31:22--  
ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles/spca5xx-20060501.tar.gz
   => `/usr/portage/distfiles/spca5xx-20060501.tar.gz'
Resolving gentoo.arcticnetwork.ca... 206.75.218.53
Connecting to gentoo.arcticnetwork.ca|206.75.218.53|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/gentoo/distfiles ... done.
==> PASV ... done.==> RETR spca5xx-20060501.tar.gz ... done.
Length: 192,817 (188K) (unauthoritative)

100%[>] 192,817  565.78K/s

17:31:22 (564.45 KB/s) - `/usr/portage/distfiles/spca5xx-20060501.tar.gz' saved 
[192817]

 * checking ebuild checksums ;-) ...  [ ok ]
 * checking auxfile checksums ;-) ... [ ok ]
 * checking miscfile checksums ;-) ...[ ok ]
 * checking spca5xx-20060501.tar.gz ;-) ...   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found kernel object directory:
 * /lib/modules/2.6.25-gentoo-r8/build
 * Found sources for kernel version:
 * 2.6.25-gentoo-r8
 * Checking for suitable kernel configuration options...  [ ok ]
>>> Unpacking source...
>>> Unpacking spca5xx-20060501.tar.gz to 
>>> /var/tmp/portage/media-video/spca5xx-20060501-r1/work
tar: spca5xx-20060501/drivers: implausibly old time stamp 1969-12-31 17:00:00
 * Converting spca5xx-20060501/Makefile to use M= instead of SUBDIRS= ..  [ ok ]
 * Applying spca-20060501-defines.patch ...   [ ok ]
 * Applying spca-20060501-2.6.18.patch ...[ ok ]
>>> Source unpacked.
>>> Compiling source in 
>>> /var/tmp/portage/media-video/spca5xx-20060501-r1/work/spca5xx-20060501 ...
 * Preparing spca5xx module
   Building SPCA5XX driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
make -C /usr/src/linux 
M=/var/tmp/portage/media-video/spca5xx-20060501-r1/work/spca5xx-20060501 
CC=i686-pc-linux-gnu-gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r8'
scripts/Makefile.build:46: *** CFLAGS was changed in 
"/var/tmp/portage/media-video/spca5xx-20060501-r1/work/spca5xx-20060501/Makefile".
 Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** 
[_module_/var/tmp/portage/media-video/spca5xx-20060501-r1/work/spca5xx-20060501]
 Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r8'
make: *** [default] Error 2
 *
 * ERROR: media-video/spca5xx-20060501-r1 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 3125:  Called linux-mod_src_compile
 * environment, line 2398:  Called die
 * The specific snippet of code:
 *   eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"  
CC=\"$(get-KERNEL_CC)\"  
LDFLAGS=\"$(get_abi_LDFLAGS)\"  
${BUILD_FIXES} ${BUILD_PARAMS}  
${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" 
CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} 
${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc 
LDFLAGS=  KERNELDIR=/usr/src/linux default
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located at 
'/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/media-video/spca5xx-20060501-r1/temp/environment'.
 *

 * Messages for package media-video/spca5xx-20060501-r1:

 *
 * ERROR: media-video/spca5xx-20060501-r1 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 3125:  Called linux-mod_src_compile
 * environment, line 2398:  Called die
 * The specific snippet of code:
 *   eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"  
CC=\"$(get-KERNEL_CC)\"  
LDFLAGS=\"$(get_abi_LDFLAGS)\"  
${BUILD_FIXES} ${BUILD_PARAMS}  
${BUILD_TARGET

Re: [gentoo-user] usb webcam

2008-10-17 Thread Alan McKinnon
On Friday 17 October 2008 20:02:58 RYAN vAN GINNEKEN wrote:
> - "KH" <[EMAIL PROTECTED]> wrote:

> I have tried the additional combos below, but still cannot build the
> spca5xx port.  The first one gives me invalid atom error the rest just give
> the package mask error mentioned in my first email.
>
> =media-video/spca5xx

This won't work. An atom with a version prefix must have a version number. 

> =media-video/spca5xx-20060501-r1 ~x86
> <=media-video/spca5xx-20060501-r1 ~x86
>
> >=media-video/spca5xx-20060501-r1 ~x86
>
> funny thing is i got the masked zoneminder port to build using these in
> /etc/portage/package.keywords

You are looking in the wrong place. I would suggest that you first read all 
the portage man pages:

man emerge
man 5 make.conf
man 5 portage
man 5 ebuild

It's a lot of stuff but it's all necessary.

Now look at your original error and see what is there instead of what you 
think might be there. It clearly says that the package is hard masked, and 
that it is package.mask that is doing it. If you look in that file, you see:

nazgul ~ # grep spca /var/portage/profiles/package.mask
# Sorting out media-video/{spca5xx,gspca{,v1}} bug 159176
media-video/spca5xx
media-video/gspca

You can fiddle with package.keywords for the next century, it won't make a 
difference. You need to unmask these packages with entries 
in /etc/portage/package.unmask


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] usb webcam

2008-10-17 Thread RYAN vAN GINNEKEN

bump

- "KH" <[EMAIL PROTECTED]> wrote:

> RYAN vAN GINNEKEN schrieb:
> > Hello all i have a fairly fresh install of Gentoo 2008 and am trying
> to get my old usb webcam to work. Have tried to install spca5xx and
> gspca with emerge but always get the following errors for both. This
> is worry some as i would like the system to be as stable as possible
> but need my webcam to work.
> >
> > [snip]
> >
> > So i read the in handbook googled around a bit and added these to
> the /etc/portage/package.keywords however this did not work.
> >
> > media-video/gspca
> > media-video/spca5xx
> >
> > [snip]
> For me the keywords always look like that:
> 
> =www-client/mozilla-firefox-3.0.3 ~amd64
> =dev-libs/nss-3.12 ~amd64
> 
> 
> 
> You also can use > or >= (I think) but you need a version number.
> Choose
> ~ for you system like ~x86 (You don't need to specify I think)
> 
> kh



Re: [gentoo-user] usb webcam

2008-10-17 Thread RYAN vAN GINNEKEN
- "KH" <[EMAIL PROTECTED]> wrote:

> RYAN vAN GINNEKEN schrieb:
> > Hello all i have a fairly fresh install of Gentoo 2008 and am trying
> to get my old usb webcam to work. Have tried to install spca5xx and
> gspca with emerge but always get the following errors for both. This
> is worry some as i would like the system to be as stable as possible
> but need my webcam to work.
> >
> > [snip]
> >
> > So i read the in handbook googled around a bit and added these to
> the /etc/portage/package.keywords however this did not work.
> >
> > media-video/gspca
> > media-video/spca5xx
> >
> > [snip]
> For me the keywords always look like that:
> 
> =www-client/mozilla-firefox-3.0.3 ~amd64
> =dev-libs/nss-3.12 ~amd64
> 
h keywords are placed in the /etc/portage/package.keywords file right?

I have tried the additional combos below, but still cannot build the spca5xx 
port.  The first one gives me invalid atom error the rest just give the package 
mask error mentioned in my first email.

=media-video/spca5xx
=media-video/spca5xx-20060501-r1 ~x86
<=media-video/spca5xx-20060501-r1 ~x86
>=media-video/spca5xx-20060501-r1 ~x86

funny thing is i got the masked zoneminder port to build using these in 
/etc/portage/package.keywords

www-misc/zoneminder
dev-perl/PHP-Serialization


ps i am using ccache could that have an effect?



> 
> 
> You also can use > or >= (I think) but you need a version number.
> Choose
> ~ for you system like ~x86 (You don't need to specify I think)
> 
> kh



Re: [gentoo-user] usb webcam

2008-10-17 Thread KH
RYAN vAN GINNEKEN schrieb:
> Hello all i have a fairly fresh install of Gentoo 2008 and am trying to get 
> my old usb webcam to work. Have tried to install spca5xx and gspca with 
> emerge but always get the following errors for both. This is worry some as i 
> would like the system to be as stable as possible but need my webcam to work.
>
> [snip]
>
> So i read the in handbook googled around a bit and added these to the 
> /etc/portage/package.keywords however this did not work.
>
> media-video/gspca
> media-video/spca5xx
>
> [snip]
For me the keywords always look like that:

=www-client/mozilla-firefox-3.0.3 ~amd64
=dev-libs/nss-3.12 ~amd64



You also can use > or >= (I think) but you need a version number. Choose
~ for you system like ~x86 (You don't need to specify I think)

kh



[gentoo-user] usb webcam

2008-10-17 Thread RYAN vAN GINNEKEN
Hello all i have a fairly fresh install of Gentoo 2008 and am trying to get my 
old usb webcam to work. Have tried to install spca5xx and gspca with emerge but 
always get the following errors for both. This is worry some as i would like 
the system to be as stable as possible but need my webcam to work.

Calculating dependencies /
!!! All ebuilds that could satisfy "media-video/spca5xx" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-video/spca5xx-20060501-r2 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Mike Doty <[EMAIL PROTECTED]> (24 Mar 2007)
# Sorting out media-video/{spca5xx,gspca{,v1}} bug 159176

- media-video/spca5xx-20060501-r1 (masked by: package.mask)
- media-video/spca5xx-20060501 (masked by: package.mask)
- media-video/spca5xx-20060402 (masked by: package.mask)
- media-video/spca5xx-20060301 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

So i read the in handbook googled around a bit and added these to the 
/etc/portage/package.keywords however this did not work.

media-video/gspca
media-video/spca5xx

Also i added these to the /etc/portage/package.unmask

media-video/gspca
media-video/spca5xx

Still a no go what am i doing wrong or SHOULD I BE USING DIFFERENT DRIVERS FOR 
MY WEBCAM ALL TOGETHER it is a USB 3com home connect viacam

ps the gentoo wiki is broken as there seems to be some relevant information 
there about getting a webcam to work but i cannot access it.


Computer King & CaN Mail  -  Sales Service Hosting Backup

http://www.computerking.ca http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages