NEW GUIDE TO USING WEBCAMS IN PUPPY PLUS COMPILED DRIVERS!

Booting, installing, newbie
Message
Author
User avatar
NickBiker
Posts: 155
Joined: Wed 01 Mar 2006, 13:06
Location: Guildford, UK
Contact:

Re: Puppy TV

#21 Post by NickBiker »

Lobster wrote: # modprobe qcam
modprobe: Can't locate module qcam
Hi!
I suspect that qcam was not stored in the right place by puppy. I have now corrected this and suggest you go back to my web page and download the driver again. This will put it in:

/usr/lib/modules/usb/media

This area is saved by Puppy when you re-boot etc.

Once you have down loaded it, you can check it is there by (in Console):

# ls /usr/lib/modules/usb/media

It should be listed as qcam.o

We can now copy it to where Linux needs it:

# cp /usr/lib/modules/usb/media/* //lib/modules/2.4.29/usb/media

You can now do:

# depmod -a
# modprobe videodev
# modprobe qcam
# cat /var/log/messages | grep -A20 spac5

See how you get on!!
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#22 Post by Lobster »

Code: Select all

# ls /usr/lib/modules/usb/media
qcam.o
# cp /usr/lib/modules/usb/media/* //lib/modules/2.4.29/usb/media 
# depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.29/sound/oss/viaudiocombo.o.gz
# modprobe videodev
# modprobe qcam
# cat /var/log/messages | grep -a20 spac5
# 
I hope this makes sense - to me it means things are improving . . . :)
then I ran cat again

Code: Select all

# cat /proc/bus/usb/devices
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=0840 Rev= 1.00
S:  Product=Camera
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=16ms
I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
NickBiker
Posts: 155
Joined: Wed 01 Mar 2006, 13:06
Location: Guildford, UK
Contact:

Re: USB P/C camera

#23 Post by NickBiker »

eccentric wrote:My camera is a Vimicro corp.

Ver=1.10 class=ff(vend)
Vendor=0ac8 prod. ID 301b rev.=1.0
Hi Michael!


Try this driver:

spca5xx compiled for Puppy

Let me know how you get on!

:roll:
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux

User avatar
NickBiker
Posts: 155
Joined: Wed 01 Mar 2006, 13:06
Location: Guildford, UK
Contact:

#24 Post by NickBiker »

Lobster wrote:

Code: Select all

# ls /usr/lib/modules/usb/media
qcam.o
# cp /usr/lib/modules/usb/media/* //lib/modules/2.4.29/usb/media 
# depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.29/sound/oss/viaudiocombo.o.gz
# modprobe videodev
# modprobe qcam
# cat /var/log/messages | grep -a20 spac5
# 
Hi

The last line in wrong, you need to type:

Code: Select all

cat /var/log/messages | grep -A20 qcam 
The 'A' must be uppercase and means show 20 lines. The 'qcam' is the name of the driver you have choosen.

This ought to print out the messages produced by the driver when it loaded. When you get the output can you post it?
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux

User avatar
NickBiker
Posts: 155
Joined: Wed 01 Mar 2006, 13:06
Location: Guildford, UK
Contact:

#25 Post by NickBiker »

tempestuous wrote:Sorry, "redundant" is the wrong word. I was trying to avoid "unusable" or "useless", but these are correct.
Hi

I assume I can re-compile all the modules for the new Kernel and they will work?
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

/var/log/messages

#26 Post by Lobster »

The grep command did not work

so I went in and gabbed the last 20 lines of

/var/log/messages

here it is - hope it is useful
appreciate your efforts - I am sure this will be useful to many people when we get it working :)

Code: Select all

Apr 12 20:21:51 (none) user.info kernel: Linux video capture interface: v1.00
Apr 12 20:21:57 (none) user.info kernel: usb.c: registered new driver quickcam
Apr 12 20:21:57 (none) user.info kernel: quickcam: QuickCam USB camera found (driver version QuickCam USB $Date: 2004/07/29 18:12:39 $)
Apr 12 20:21:57 (none) user.info kernel: quickcam: Kernel:2.4.29 bus:2 class:FF subclass:FF vendor:046D product:0840
Apr 12 20:21:57 (none) user.debug kernel: quickcam [57.112044]: poisoning qc in qc_usb_init
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing HDCS-1000/1100: expecting 08, got 40
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing HDCS-1020: expecting 10, got 40
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing PB-0100/0101: expecting 64, got 00
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing VV6410: expecting 19, got 40
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing VV6450: expecting F0, got 40
Apr 12 20:21:57 (none) user.info kernel: quickcam: unsupported sensor
Apr 12 20:21:57 (none) user.info kernel: quickcam: QuickCam USB camera found (driver version QuickCam USB $Date: 2004/07/29 18:12:39 $)
Apr 12 20:21:57 (none) user.info kernel: quickcam: Kernel:2.4.29 bus:2 class:FF subclass:FF vendor:046D product:0840
Apr 12 20:21:57 (none) user.debug kernel: quickcam [57.123793]: poisoning qc in qc_usb_init
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing HDCS-1000/1100: expecting 08, got 40
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing HDCS-1020: expecting 10, got 40
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing PB-0100/0101: expecting 64, got 00
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing VV6410: expecting 19, got 40
Apr 12 20:21:57 (none) user.info kernel: quickcam: Probing VV6450: expecting F0, got 40
Apr 12 20:21:57 (none) user.info kernel: quickcam: unsupported sensor
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
NickBiker
Posts: 155
Joined: Wed 01 Mar 2006, 13:06
Location: Guildford, UK
Contact:

Re: /var/log/messages

#27 Post by NickBiker »

Lobster wrote:...

Code: Select all

Apr 12 20:21:57 (none) user.info kernel: quickcam: unsupported sensor
It seems that the driver loaded fine but that the sensor was not recognised.

Can you confirm:

1. you used the qcam.o driver?
2. any details / markings on your camera that might help us track down things?

Things never easy!! :?
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#28 Post by Lobster »

yes gcam.0
28AWG AND 2C/24AWG SPACE SHUTTLE
is on the cable

hope we are getting closer
Last edited by Lobster on Thu 13 Apr 2006, 04:01, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#29 Post by MU »

I have no webcam, but just want to quickly give some compliments to that very detailed and good to read (Pictures!) documentation :)

Well done :!:
Mark

User avatar
NickBiker
Posts: 155
Joined: Wed 01 Mar 2006, 13:06
Location: Guildford, UK
Contact:

#30 Post by NickBiker »

Lobster wrote:28AWG AND 2C/24AWG SPACE SHUTTLE
Hi

28AWG and 2c/24AWG are the type of connector cable - so no joy with that!!

:idea: "SPACE SHUTTLE" - what an odd model name. I need to try to find out what sensor this has. It may take me some time to search it out!
Lobster wrote:hope we are getting closer
So do I, driving me crazy!! :shock:
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#31 Post by Lobster »

So do I, driving me crazy!!
It is where I start from . . . ;)

Anyone able to report some success - come on guys - this is good stuff - got a camera - got it working?
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

eccentric
Posts: 186
Joined: Thu 05 Jan 2006, 11:44
Location: Khon Kaen Thailand.....NOW back in the UK
Contact:

#32 Post by eccentric »

Nick you are much to quick for me,
At the moment i am running 2.03, when i have the C/D to IDE working i will down load
1.08 and test the camera, and post the result.

Onece again many thanks, Michael an eccentric.

User avatar
NickBiker
Posts: 155
Joined: Wed 01 Mar 2006, 13:06
Location: Guildford, UK
Contact:

#33 Post by NickBiker »

eccentric wrote:Nick you are much to quick for me
:o
Oh

Well you could "try" the driver in the new Puppy. This uses Kernel 2.4.31, and I have nit re-compiled the modules so they may just refuse to work - I am not sure!

You will need to download the right one and then:

cp /usr/lib/modules/usb/media/* /lib/modules/2.4.31/usb/media

and follow the guide!

Good luck!
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux

Torymon
Posts: 96
Joined: Tue 22 Aug 2006, 21:35
Location: The Great State of Mississippi,USA

#34 Post by Torymon »

Hey Lobster!
Does your camera have a "base" that "pops" off?
Somewhere on the web, while also trying to get my
Ezonics EasyCam II to work, I had to "pop off" the base to
find a different model number.
The sticker on the base bottom says one thing but the
number written on the bottom of the cam "inside" the base
makes a BIG difference in choosing drivers and such.
Good luck!
Back to hacking on mine.

Nick, fixing to try your v2.05 Camwizard and see it it will help!

Ezonics EasyCam II Vendor ID: 05A9 Product ID: A511

Woof!
Tory

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#35 Post by Lobster »

Thanks Tory

yes it does :)

I got the camera working (with a lot of help) in Puppy 1 series
Not yet in Puppy2 :(
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Shingo-kun
Posts: 4
Joined: Mon 01 Oct 2007, 01:29

#36 Post by Shingo-kun »

Running Puppy 3.01 Shard.
Since I can't seem to find a way to install the camwizard.pup, I can't follow the instructions on the page. (I'm guessing there's no ROX on shard?)

And the http://www.moyo.me.uk/pupplinux/select.htm doesn't seem to work. So I manually did things but couldn't get it to work.
I guess I'll try it on my other copy of puppy at home.


Anybody with the same camera as me?

Vendor ID: 2770
Product ID: 905c

Post Reply