Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 21:07
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
NEW GUIDE TO USING WEBCAMS IN PUPPY PLUS COMPILED DRIVERS!
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 12 Apr 2006, 04:19    Post_subject:  

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

Code:
# 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 Smile

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 WIKI
Back to top
View user's profile Send_private_message Visit_website 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Wed 12 Apr 2006, 05:13    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 12 Apr 2006, 07:08    Post_subject: problems with the PDF  

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

Sad 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 Cool

_________________
Puppy WIKI

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
NickBiker


Joined: 01 Mar 2006
Posts: 155
Location: Guildford, UK

PostPosted: Wed 12 Apr 2006, 08:06    Post_subject:  

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:
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:

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 Laughing
Code:

_________________
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 12 Apr 2006, 08:55    Post_subject: Puppy TV  

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

This is the code

Code:
# 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 WIKI
Back to top
View user's profile Send_private_message Visit_website 
NickBiker


Joined: 01 Mar 2006
Posts: 155
Location: Guildford, UK

PostPosted: Wed 12 Apr 2006, 09:59    Post_subject: Re: Puppy TV  

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
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 12 Apr 2006, 10:59    Post_subject:  

Code:
# 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 . . . Smile
then I ran cat again


Code:
# 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 WIKI
Back to top
View user's profile Send_private_message Visit_website 
NickBiker


Joined: 01 Mar 2006
Posts: 155
Location: Guildford, UK

PostPosted: Wed 12 Apr 2006, 11:12    Post_subject: Re: USB P/C camera  

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!

Rolling Eyes

_________________
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux
Back to top
View user's profile Send_private_message Visit_website 
NickBiker


Joined: 01 Mar 2006
Posts: 155
Location: Guildford, UK

PostPosted: Wed 12 Apr 2006, 16:05    Post_subject:  

Lobster wrote:
Code:
# 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:
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
Back to top
View user's profile Send_private_message Visit_website 
NickBiker


Joined: 01 Mar 2006
Posts: 155
Location: Guildford, UK

PostPosted: Wed 12 Apr 2006, 16:06    Post_subject:  

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
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 12 Apr 2006, 17:05    Post_subject: /var/log/messages  

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 Smile

Code:
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 WIKI
Back to top
View user's profile Send_private_message Visit_website 
NickBiker


Joined: 01 Mar 2006
Posts: 155
Location: Guildford, UK

PostPosted: Wed 12 Apr 2006, 17:25    Post_subject: Re: /var/log/messages  

Lobster wrote:
...
Code:

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!! Confused

_________________
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 12 Apr 2006, 18:28    Post_subject:  

yes gcam.0

Quote:
28AWG AND 2C/24AWG SPACE SHUTTLE

is on the cable

hope we are getting closer

_________________
Puppy WIKI

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 12 Apr 2006, 18:53    Post_subject:  

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

Well done Exclamation
Mark
Back to top
View user's profile Send_private_message Visit_website 
NickBiker


Joined: 01 Mar 2006
Posts: 155
Location: Guildford, UK

PostPosted: Thu 13 Apr 2006, 03:29    Post_subject:  

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!! Shocked

_________________
Nick

See my Puppy webcam Guide at:
www.moyo.me.uk/pupplinux
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1121s ][ Queries: 11 (0.0083s) ][ GZIP on ]