How to compile Webcam Drivers gspca for Puppy 2.17?
This site lists two ViMicro Web cams as supported in Linux:sh-3.00# uname -r
2.6.18.1
http://www.linuxtv.org/v4lwiki/index.php/Webcams
Quote:
spca5xx * Supports webcams based on Sunplus Sonix Transvision Z-star/Vimicro chips
# zc0301 -- included in the kerne * Supports Z-Start/Vimicro ZC0301-based USB cameras
I am not certain if either is the same chipset as mine.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
Tried that, nada.
Interestingly, xawtv was already installed in TEENpup but I did not know that so I
installed it a second time. Both desktop icons, the original TEENpup default labeled
simply "TV" and the one I installed "xawtv", are unresponsive.
Interestingly, xawtv was already installed in TEENpup but I did not know that so I
installed it a second time. Both desktop icons, the original TEENpup default labeled
simply "TV" and the one I installed "xawtv", are unresponsive.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
I, unfortunately, observed no change to USBview. My USB webcam hardware data is
read and displayed but the device is still highlighted in red. I saw nothing related to the
driver.
read and displayed but the device is still highlighted in red. I saw nothing related to the
driver.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
Let's clarify some of this information.
vabene06's gspca module packages earlier in this thread support ONLY Puppy 2.17 with the 2.6.21.5 kernel.
vabene06, you should indicate the kernel version in the name of the package when you provide these.
I now attach the gspca driver compatible with Puppy 3.x and 4.0 (kernel 2.6.21.7).
This package installs the module in the correct location: /lib/modules/2.6.21.7/kernel/drivers/usb/media/
and a post-install script runs "depmod" so the new module can be located.
I also modified the gspca source code so the driver will recognise the device ID: 0ac8 0323, as identified by edoc, which regardless of any rebranding, is actually a Vimicro product.
EDIT Nov 7 2007
gspca driver now attached for Puppy versions 2.12-2.16 (kernel 2.6.18.1)
My xawtv-3.95.pet package from here -
http://www.murga-linux.com/puppy/viewto ... 804#129804
provides the script which will create these device nodes.
By the way, these are exactly the same device nodes required by analogue (but not digital) TV tuner cards.
The webcam drivers for Logitech Quickcam devices are here
http://www.murga-linux.com/puppy/viewtopic.php?t=23456
vabene06's gspca module packages earlier in this thread support ONLY Puppy 2.17 with the 2.6.21.5 kernel.
vabene06, you should indicate the kernel version in the name of the package when you provide these.
That would be a Puppy version between 2.12 and 2.16. vabene06's drivers won't work there.edoc wrote:sh-3.00# uname -r
2.6.18.1
I now attach the gspca driver compatible with Puppy 3.x and 4.0 (kernel 2.6.21.7).
This package installs the module in the correct location: /lib/modules/2.6.21.7/kernel/drivers/usb/media/
and a post-install script runs "depmod" so the new module can be located.
I also modified the gspca source code so the driver will recognise the device ID: 0ac8 0323, as identified by edoc, which regardless of any rebranding, is actually a Vimicro product.
EDIT Nov 7 2007
gspca driver now attached for Puppy versions 2.12-2.16 (kernel 2.6.18.1)
This error is because Puppy does not contain the necessary /dev/videoxxx device nodes.edoc wrote:sh-3.00# xawtv -noxv
...
can't open /dev/video0: No such device
My xawtv-3.95.pet package from here -
http://www.murga-linux.com/puppy/viewto ... 804#129804
provides the script which will create these device nodes.
By the way, these are exactly the same device nodes required by analogue (but not digital) TV tuner cards.
The webcam drivers for Logitech Quickcam devices are here
http://www.murga-linux.com/puppy/viewtopic.php?t=23456
Last edited by tempestuous on Wed 16 Jul 2008, 01:34, edited 5 times in total.
OK, so if I understood correctly then I did the right thing ...
Note: I am doing this on my TEENpup 2.14 machine.
I downloaded and ran this version of xawtv:
xawtv (I think I have three of them, hope they don't conflict with one another, not
to mention two versions of gspcav).
Will report back if I didn't break everything too badly!
Note: I am doing this on my TEENpup 2.14 machine.
I downloaded and ran this version of xawtv:
Then I downloaded and ran this:This error is because Puppy does not contain the necessary /dev/videoxxx device nodes.
My xawtv-3.95.pet package from here -
http://www.murga-linux.com/puppy/viewto ... 804#129804
provides the script which will create these device nodes.
So now I need to close everything and restart X so I can see the new version ofgspcav1-20070508-k2.6.21.7.pet
xawtv (I think I have three of them, hope they don't conflict with one another, not
to mention two versions of gspcav).
Will report back if I didn't break everything too badly!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
Ran both apps, xawtv and gspcav, no joy on the 3.01 machine either.
USBviewer again reads the hardware data but highlights the webcam in red.
xawtv does show up in Multimedia but nothing happens when it is selected.
USBviewer again reads the hardware data but highlights the webcam in red.
xawtv does show up in Multimedia but nothing happens when it is selected.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
No. Neither vabene06's nor my driver packages support this Puppy version.edoc wrote:I am doing this on my TEENpup 2.14 machine.
In Puppy 3.00 or 3.01 install gspcav1-20070508-k2.6.21.7.pet and my xawtv-3.95.pet
Forget about the menu and USBviewer. Use the commandline.
As the xawtv README explains, first create the device nodes
Code: Select all
MAKEDEV-V4L.sh
Code: Select all
modprobe gspca
xawtv
The first command worked fine, but the second failed:tempestuous wrote:Now plug in your webcam and do thisCode: Select all
MAKEDEV-V4L.sh
Code: Select all
modprobe gspca xawtv
# modprobe gspca
FATAL: Error inserting gspca (/lib/modules/2.6.21.7/kernel/drivers/usb/media/gspca.ko): Unknown symbol in module, or unknown parameter (see dmesg)
#
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
OK, in spite of my efforts, it appears the gspca module does not load successfully with your webcam.
But now that you have the correct device nodes set up, maybe go back a step and try the zc0301 module again -
But now that you have the correct device nodes set up, maybe go back a step and try the zc0301 module again -
Code: Select all
modprobe zc0301
xawtv
# modprobe zc0301
# xawtv
This is xawtv-3.95, running on Linux/i686 (2.6.21.7)
xinerama 0: 1024x768+0+0
WARNING: Your X-Server has no DGA support.
can't open /dev/video0: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such device
v4l2: open /dev/video0: No such device
v4l: open /dev/video0: No such device
no video grabber device available
#
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
I was assuming that you would be trying on the same Puppy 3.x installation that you were using earlier, so the /dev/videoxx device nodes would still exist.
But if you're trying on a different system, or you're booting a CD with no pupsave file, then obviously those device nodes must be created first.
If all requirements are satisfied, it's possible to have xawtv query available devices with this command
But if you're trying on a different system, or you're booting a CD with no pupsave file, then obviously those device nodes must be created first.
If all requirements are satisfied, it's possible to have xawtv query available devices with this command
Code: Select all
xawtv -hwscan
I am afraid that you are talking over my head.
I have by now loaded multiple apps and multiple commands and did not understand
most of what each of them did.
Do you have a paint-by-numbers, step-by-step as to what you'd like to see me do on
my 3.01 machine - from the start - please?
I am booting 3.01 from CD and have a Frugal install.
Also, would you like me to use the existing pup_save file or create a new one?
I did most of the prior testing on my TEENpup 2.14 machine and only switched to the
3.01 machine at the end of things.
What is "obvious" to someone with your expertise draws a blank stare from me!obviously those device nodes must be created first.
I have by now loaded multiple apps and multiple commands and did not understand
most of what each of them did.
Do you have a paint-by-numbers, step-by-step as to what you'd like to see me do on
my 3.01 machine - from the start - please?
I am booting 3.01 from CD and have a Frugal install.
Also, would you like me to use the existing pup_save file or create a new one?
I did most of the prior testing on my TEENpup 2.14 machine and only switched to the
3.01 machine at the end of things.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
Code: Select all
MAKEDEV-V4L.sh
modprobe zc0301
xawtv
Code: Select all
xawtv -hwscan
# MAKEDEV-V4L.sh
*** new device names ***
/dev/video0: char 81 0
/dev/video1: char 81 1
/dev/video2: char 81 2
/dev/video3: char 81 3
/dev/radio0: char 81 64
/dev/radio1: char 81 65
/dev/radio2: char 81 66
/dev/radio3: char 81 67
/dev/vtx0: char 81 192
/dev/vtx1: char 81 193
/dev/vtx2: char 81 194
/dev/vtx3: char 81 195
/dev/vbi0: char 81 224
/dev/vbi1: char 81 225
/dev/vbi2: char 81 226
/dev/vbi3: char 81 227
# modprobe zc0301
# xawtv
This is xawtv-3.95, running on Linux/i686 (2.6.21.7)
xinerama 0: 1024x768+0+0
WARNING: Your X-Server has no DGA support.
can't open /dev/video0: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such device
v4l2: open /dev/video0: No such device
v4l: open /dev/video0: No such device
no video grabber device available
# xawtv -hwscan
This is xawtv-3.95, running on Linux/i686 (2.6.21.7)
looking for available devices
port 57-57
type : Xvideo, image scaler
name : Intel(R) Video Overlay
#
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
There's a chance that the gspca module failed to load the videodev module it depends on, so the whole process would be -
For each installation with a pupsave file, that command is needed once only. Then -
Code: Select all
MAKEDEV-V4L.sh
Code: Select all
modprobe videodev
modprobe gspca
xawtv