SliTaz SliTaz Forum

You are not logged in.

#51 2012-06-19 04:48:55

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: WEBCAM USB

@romano, just download the package mentioned in gibor's post above and install it. That should install the correct drivers. I have tried it and it works for me.

Offline

#52 2012-06-20 01:51:41

romano
Member
Registered: 2011-12-08
Posts: 91

Re: WEBCAM USB

@gdesilva, thank you so much.

finally in slitaz 4 my cams are working smile

Offline

#53 2012-06-22 02:40:58

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: WEBCAM USB

Just an update.

Tried using 'modprobe=v4l1_compat,videdev,pwc' on grub command line and then the pwc loads OK and overcomes the need to remove those modules and reload them. I guess using on grub command line assures the correct order of loading the modules.

@rmoano - your 'thank you' should go to gibor who made these modules available ;-)

Offline

#54 2012-12-04 18:25:45

nht
Member
Registered: 2012-12-04
Posts: 2

Re: WEBCAM USB

Hi,

I'm also having issues trying to set up my webcam.

Computer: eee701. Webcam is internal: lsusb gives 'eMPIA Technology, Inc. EEEPC 701 integrated Webcam'

I eventually managed to install v4l (there seems to be a bad link in one of the packages, it installed all sorts of other bits and pieces but complained of not finding that) and got to the point where opening any camera-related software (Skype or ucview) caused a kernel panic.

I understand that I should (a) recompile the kernel or (b) install the .tazpkg file linked to above, but I've not managed to do either.

When I follow the instructions on http://doc.slitaz.org/en:guides:kernel I get as far as 'make oldconfig', at which point I get the error "No rule to make target 'oldconfig'. Stop."

Trying to install gibor's file with 'tazpkg install linux-2.6.37.tazpkg --forced' gives the error "can't open '/tmp/tazpkg-4824/19640/receipt'"

Can anyone suggest how I should proceed from here please? Repeated searches of the forum posts haven't yielded me anything so far (apart from a few unanswered topics).

I know only a little about Linux - I'm an Xubuntu user who generally just follows others' instructions!

Many thanks

Offline

#55 2012-12-04 23:12:24

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: WEBCAM USB

Just curious, did you install v4l-dvb-development_2.6.37?

With regards to installing gibor's package, are you running the tazpkg command from the directory where the downloaded file exists?

Offline

#56 2012-12-05 10:01:46

nht
Member
Registered: 2012-12-04
Posts: 2

Re: WEBCAM USB

Hi,

I -think- it's the v4l-dvb version you mention :

Installed packages

================================================================================

libv4l                  0.8.5             multimedia.

libv4l-dev              0.8.5             development.

v4l-dvb                 development_2.6.3 multimedia.

xorg-xf86-video-v4l     0.2.0             x-window.

================================================================================

Tazpkg information

================================================================================

Package    : v4l-dvb

Version    : development_2.6.37

Category   : multimedia

Short desc : v4l-dvb development repository

Maintainer : jozee@slitaz.org

Depends    : linux

Build deps : python mercurial coreutils-operations module-init-tools

Web site   : http://linuxtv.org/hg/v4l-dvb/

=======

As far as installing gibor's package, it's in my home directory and I'm trying from there: have tried

root@eee-701:/home/nadine# tazpkg install linux-2.6.37.tazpkg --forced

/usr/bin/tazpkg: .: line 2958: can't open '/tmp/tazpkg-7383/18965/receipt'

and

root@eee-701:/home/nadine# tazpkg install ./linux-2.6.37.tazpkg --forced

/usr/bin/tazpkg: .: line 2958: can't open '/tmp/tazpkg-7312/24224/receipt'

Offline

#57 2012-12-09 01:58:16

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: WEBCAM USB

@nht, it appears that eeepc 701 integrated cam uses the uvcvideo driver. Is this the module you are using? Interesting to see what driver has been loaded - output of lsmod will be useful. If you are using uvcvideo then as suggested by pipein here in this thread, try removing(modprobe -r) uvcvdieo (or whatever is currently loaded), videodev and v4l1_compat and reload (modprobe ) them in the order of v4l1_compat, videodev and uvcvideo.

Offline

#58 2012-12-10 08:16:57

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: WEBCAM USB

Hi...

i am also using a eee701. The internal webcam IS using uvcvideo. Gibors package http://www.freefilehosting.net/linux-2637 works well with it, thanks to him!. There was no problem to install the package and modprobe the uvcvideo driver. I can't reproduce nht's problem.

Using uvccapture also guvcview ....

lsmod:

Module                  Size  Used by    Not tainted

cifs                  173609  0

p4_clockmod             2264  0

speedstep_lib           2423  1 p4_clockmod

ipv6                  179536 43

uvcvideo               46378  1

videodev               46726  2 uvcvideo

v4l1_compat            10234  2 uvcvideo,videodev

atl2                   17474  0

ath5k                 111957  0

ath9k                  60058  0

mac80211              145388  2 ath5k,ath9k

ath9k_common            1281  1 ath9k

ath9k_hw              226122  2 ath9k,ath9k_common

ath                     9811  3 ath5k,ath9k,ath9k_hw

cfg80211               99896  4 ath5k,ath9k,mac80211,ath

rfkill                 10682  1 cfg80211

atl1c                  22776  0

snd_hda_codec_realtek   202176  1

snd_hda_intel          15886  2

snd_hda_codec          45027  2 snd_hda_codec_realtek,snd_hda_intel

snd_hwdep               3808  1 snd_hda_codec

snd_pcm                43737  2 snd_hda_intel,snd_hda_codec

snd_timer              12515  1 snd_pcm

snd                    33394 10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

soundcore               3357  1 snd

snd_page_alloc          4853  2 snd_hda_intel,snd_pcm

i915                  254040  2

drm_kms_helper         18798  1 i915

drm                   111992  3 i915,drm_kms_helper

i2c_algo_bit            3479  1 i915

button                  3602  1 i915

i2c_core               12192  5 videodev,i915,drm_kms_helper,drm,i2c_algo_bit

video                   9783  1 i915

output                  1144  1 video

intel_agp               7908  1 i915

intel_gtt               9214  3 i915,intel_agp

agpgart                18221  3 drm,intel_agp,intel_gtt

Offline

#59 2013-02-06 15:06:56

worrieduser
Member
Registered: 2012-10-18
Posts: 8

Re: WEBCAM USB

Hello community and tanks very much for Slitaz

I follow this thread but the output I get from fswebcam and mpalyer

is diferent than the posted by gdesilva at begining of this tread using

a Logitech QuickCam.

I don't know if this better or worst.

And installing the gibor's package I get the the same error as nht:

/usr/bin/tazpkg: .: line 2958: can't open '/tmp/tazpkg-1846/25411/receipt'

My computer is :

Compaq DeskPro EN

P3 733 Mhz, Ram 387 MB.

Video card : nVidia Riva TNT2

Camera : Genius ( from the 90')

root@slitaz:/home/tux# fswebcam /dev/video0

--- Opening /dev/video0...

Trying source module v4l2...

/dev/video0 opened.

No input was specified, using the first.

Unable to find a compatible palette format.

root@slitaz:/home/tux#

root@slitaz:/home/tux# mplayer tv:// -tv driver=v4l2:device=/dev/video0

MPlayer UNKNOWN-4.5.2 (C) 2000-2010 MPlayer Team

MMX supported but disabled

MMX2 supported but disabled

SSE supported but disabled

Playing tv://.

TV file format detected.

Selected driver: v4l2

name: Video 4 Linux 2 input

author: Martin Olschewski <olschewski@zpr.uni-koeln.de>

comment: first try, more to come ;-)

v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.

Selected device: CIF Single Chip

Capabilities:  video capture  read/write  streaming

supported norms:

inputs: 0 = pac207;

Current input: 0

Current format: unknown (0x37303250)

tv.c: norm_from_string(pal): Bogus norm parameter, setting default.

v4l2: ioctl enum norm failed: Invalid argument

Error: Cannot set norm!

Selected input hasn't got a tuner!

v4l2: Cannot get fps

v4l2: ioctl set mute failed: Invalid argument

v4l2: ioctl query control failed: Invalid argument

v4l2: ioctl query control failed: Invalid argument

v4l2: ioctl query control failed: Invalid argument

==========================================================================

Cannot find codec matching selected -vo and video format 0x37303250.

==========================================================================

v4l2: ioctl set mute failed: Invalid argument

v4l2: 2 frames successfully processed, 1 frames dropped.

Exiting... (End of file)

root@slitaz:/home/tux#

Offline

#60 2013-02-07 17:53:57

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: WEBCAM USB

Hi after seeing the problem that happens to some of you, I created a new package with the uvc and pwc driver.

http://www.freefilehosting.net/v4l-dvb

double click install or tazpkg install v4l-dvb.tazpkg

for testing then on terminal

tazhw box

choice webcam

at end of process ask if you test webcam>yes

and appears webcam live on window

thats it all.

Offline

#61 2013-02-07 21:35:18

worrieduser
Member
Registered: 2012-10-18
Posts: 8

Re: WEBCAM USB

Tanks gibor that was fast !

Package installed, but I still having one error.

I know this is not a problem from the package.

root@slitaz:/home/tux# fswebcam /dev/video0

--- Opening /dev/video0...

Trying source module v4l2...

/dev/video0 opened.

No input was specified, using the first.

Unable to find a compatible palette format.

root@slitaz:/home/tux#

root@slitaz:/home/tux# mplayer tv:// -tv driver=v4l2:device=/dev/video0

...

v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.

Selected device: CIF Single Chip

Capabilities:  video capture  read/write  streaming

supported norms:

inputs: 0 = pac207;

Current input: 0

Current format: unknown (0x37303250)

tv.c: norm_from_string(pal): Bogus norm parameter, setting default.

v4l2: ioctl enum norm failed: Invalid argument

Error: Cannot set norm!

Selected input hasn't got a tuner!

v4l2: Cannot get fps

v4l2: ioctl set mute failed: Invalid argument

v4l2: ioctl query control failed: Invalid argument

v4l2: ioctl query control failed: Invalid argument

v4l2: ioctl query control failed: Invalid argument

==========================================================================

Cannot find codec matching selected -vo and video format 0x37303250.

==========================================================================

v4l2: ioctl set mute failed: Invalid argument

v4l2: 2 frames successfully processed, 1 frames dropped.

...

Offline

#62 2013-02-08 07:10:19

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: WEBCAM USB

seems problems of format output, on to command line

-vo <drv>        select video output driver ('-vo help' for a list)

try this line

mplayer tv:// -vo x11 driver=v4l2:device=/dev/video0

Offline

#63 2013-02-08 16:31:47

worrieduser
Member
Registered: 2012-10-18
Posts: 8

Re: WEBCAM USB

Tank you again

I' am back at the begining

root@slitaz:/home/tux# mplayer tv:// -vo x11 driver=v4l2:device=/dev/video0

...

v4l2: unable to open '/dev/video0': No such device or address

...

And the camera led is on al the time like before install v4l-dvb-development_2.6.37

in my first try.

No idea why this is hapening.

I forgot to mention that  I recompile the kernel following the instructions of TOn1 and

motivated_tea from the gentoo forum but it was before I get this new (old) error.

I maybe need to understand better what I am doing all this is pretty new for me.

I have to study ...

¿ Why its so complicated when it comes to drivers ?

¿ Its because of the manufacters , the electronics of this devices that it's so

hard to makes a driver for them ?

Sorry for the question out of topic.

Offline

#64 2013-02-09 16:19:25

worrieduser
Member
Registered: 2012-10-18
Posts: 8

Re: WEBCAM USB

I found a simple solution for skype

in this ubuntu forum from may 2009

http://ubuntuforums.org/archive/index.php/t-1172887.html

from a guy SLA_leandrin

root@slitaz:/home/tux# LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

¡ And it works !

It's in spanish , he said that this has work whit two diferents PC' s and

many cameras one of them a creative .

Ah! I have to re-install the v4l-dvb-development_2.6.37 package.

I don't know yet if could work for others programs besides skype.

Hope this be useful to somebody. Bye.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]