NEW GUIDE TO USING WEBCAMS IN PUPPY PLUS COMPILED DRIVERS!

Booting, installing, newbie
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#16 Post by Lobster »

This is my latest results (back in 108r1) using the same kernel as you have compiled in

Code: Select all

# depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.29/sound/oss/viaudiocombo.o.gz
# modprobe videodev
# modprobe qcam
# 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)
E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=16ms
T:  Bus=01 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=d400
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
For some reason the driver is not being added?
I followed the instructions OK (I think) and installed in the Home directory

Will have another go later . . .
Any suggestions :)

and finally .. .

Many reasons not to move to 2.6 (it is Barry plan to eventualy move to 2.6)
it is to do with smallness, compatibility and reliability (the 2.4 is still being developed) One aim was to allow a choice of 2.4 or 2.6 but I suppose we will move eventually. Also Puppy2 is not yet in Beta (5 Alpha just released)

latest 2.6 kernel for those interested
http://lwn.net/Articles/179437/
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#17 Post by tempestuous »

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

A 2.6 kernel was used in Puppy 1.0.2/1.0.3. You can read Barry's 2005 news page about the reasons for changing back, and this subject is discussed in several forum posts, too.

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

problems with the PDF

#18 Post by Lobster »

Nickbiker - having problems with the PDF - see here:
http://www.murga.org/%7Epuppy/viewtopic ... 5612#45612
We are probably using quite an old viewer so - hey I thought of a solution - I will load it into Abiword

:( Did not load into Abiword - waited 5 mins - should be long enough . . . even for an MS PDF

check out this PDF creator - any good?
http://www.expresspdf.com/

OK I will await any advisement before proceeding in my webcam adventures 8)
Last edited by Lobster on Wed 12 Apr 2006, 12:48, edited 1 time in total.
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:

#19 Post by NickBiker »

Lobster wrote: For some reason the driver is not being added?
I followed the instructions OK (I think) and installed in the Home directory
Hi
Can you run:

Code: Select all

cat /var/log/messages | grep -a20 QUICKCAM
after you have done the modprobe.

This should show you a number of messages generated from the driver, mine shows:

Code: Select all

Apr 12 11:29:26 (none) user.debug kernel: quickcam [26.940566]: ----------LOADING QUICKCAM MODULE------------
Apr 12 11:29:26 (none) user.debug kernel: quickcam [26.940577]: struct quickcam size: 3084
Apr 12 11:29:26 (none) user.info kernel: usb.c: registered new driver quickcam
Apr 12 11:29:26 (none) user.debug kernel: quickcam [26.940596]: qc_usb_probe ifacenum=0
Apr 12 11:29:26 (none) user.info kernel: quickcam: QuickCam USB camera found (driver version QuickCam Messenger/Communicate USB $Date: 2004/12/30 10:00:00 $)
Apr 12 11:29:26 (none) user.info kernel: quickcam: Kernel:2.4.29 bus:2 class:FF subclass:FF vendor:046D product:08F5
Apr 12 11:29:26 (none) user.debug kernel: quickcam [26.940612]: poisoning qc in qc_usb_init
Apr 12 11:29:26 (none) user.debug kernel: quickcam [26.943940]: E00A contains 08F5
Apr 12 11:29:26 (none) user.info kernel: quickcam: Sensor VV6450 detected
Apr 12 11:29:26 (none) user.debug kernel: quickcam [26.944950]: Quickcam snapshot button registered as /dev/input/event0
Apr 12 11:29:26 (none) user.info kernel: quickcam: Registered device: /dev/video0
Apr 12 11:29:26 (none) user.debug kernel: quickcam [26.944967]: qc_usb_probe ifacenum=1
Apr 12 11:29:26 (none) user.debug kernel: quickcam [26.944970]: qc_usb_probe ifacenum=2
Apr 12 11:29:26 (none) user.debug kernel: quickcam [26.944972]: qc_usb_probe ifacenum=2
Yours wil hopefully show us why it is not working - probably an unrecognised sensor!

Let me know - good luck :lol:
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:

Puppy TV

#20 Post by Lobster »

Thanks Nick
have added a .doc to Pdf online creator in my previous post

This is the code

Code: Select all

# depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.29/sound/oss/viaudiocombo.o.gz
# modprobe videodev
# modprobe qcam
modprobe: Can't locate module qcam
# cat /var/log/messages | grep -a20 QUICKCAM
# 
Do I have the qcam wrongly named or in the wrong place (possibly) where should it be?

. . . coming soon . . .
Puppy TV just when you thought it was safe . . .
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: 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

Post Reply