Page 1 of 1

Trying to get webcam going, need uhci, usb-uhci, usb-ohci ?

Posted: Thu 08 Nov 2007, 21:17
by friedsonjm
Where do I get these from?
jf

Posted: Thu 08 Nov 2007, 22:30
by MU
type in a consolewindow:

modprobe modulename

To see what is loaded:
lsmod

I think the one you listed are for Kernel 2.4, but since Puppy 2 the kernel 2.6 is used.
Here the usb-modules are called different.

Some I have loaded here:
ehci_hcd,usblp,usbhid,usb_storage,uhci_hcd

Mark

Posted: Thu 08 Nov 2007, 23:13
by friedsonjm
The webcamwizard gets as far as /dev/video is loaded but has unusual major number.. this may cause problems.
Webcam info:
Vendor ID = 046D
Product ID = 08f5
Manufacturer = [blank]
It downloads puppy2-quickcam_messenger-1.3.tar.gz
but gets an error on installation and module fails to load

Posted: Fri 09 Nov 2007, 01:16
by muggins
which puppyversion are you using? maybe we can compile the module for you.

Posted: Fri 09 Nov 2007, 01:25
by friedsonjm
Version 3
thanks
jf

Posted: Fri 09 Nov 2007, 01:52
by edoc
You may want to check out this thread:
http://www.murga-linux.com/puppy/viewtopic.php?t=20268

Posted: Fri 09 Nov 2007, 03:29
by friedsonjm
Checked out that thread, tried the .pet etc. Running camwizard, I still can't get beyond the
"USB host driver appears not to be loaded.' If your computer is typical PC with modularized UHCI or OHCI, you probably should issue the following commands:
modprobe uhci
modprobe usb-uhci
modprobe usb-ohci
as root and retry.
I tried to install those using qc-usb-0.6.5.tar.gz but was not successful.
Thoughts?
jf

Posted: Fri 09 Nov 2007, 03:56
by friedsonjm
qc-usb-0.6.5.tar.gz bombs out with a ton of errors on make all.
jf

Posted: Fri 09 Nov 2007, 04:16
by muggins
have you also got the pup3.0 kernel sources? if not, it's available on ibiblio as another 60M+ .sfs download.

I just rebooted into pup3.0, intending to compile this, but I forgot I don't have the kernel sources!

Posted: Fri 09 Nov 2007, 13:36
by friedsonjm
That is getting beyond my capability to deal with!

Posted: Sun 11 Nov 2007, 02:02
by tempestuous
Drivers for Logitech Quickcam webcams here -
http://www.murga-linux.com/puppy/viewtopic.php?t=23456

Posted: Wed 28 Nov 2007, 07:58
by rajeshh
I compiled the quickcam driver from the link pasted above, and tried running xawtv and mplayer, but am not succeeding. I have the Quickcam messenger (0x046D, 0x08F0)

With xawtv, I get a black screen. One thing I noticed is that it tried to use a higher resolution ( 1024 X 768) . Heres the command I ran:

# xawtv -device /dev/video0
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.
/dev/video0 [v4l]: no overlay support
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOC_QUERYCAP(driver="";card="";bus_info="";version=0.0.0;capabilities=0x0 []): Unknown error 515
Warning: Cannot convert string "7x13bold" to type FontStruct
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
Xlib: extension "GLX" missing on display ":0.0".
ioctl: VIDIOCSYNC(int=0): No space left on device
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=15): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=9): Invalid argument
ioctl: VIDIOCSYNC(int=0): No space left on device
ioctl: VIDIOCSYNC(int=0): No space left on device
ioctl: VIDIOCSYNC(int=0): No space left on device
ioctl: VIDIOCSYNC(int=0): No space left on device


Then I tried with mplayer, and keep getting a green screen, and see the error continuously:
ioctl mcapture failed: Invalid argument

I googled and got a match on the above error which said switch to xine or something like that. Can anyone help?


# mplayer tv:// -tv driver=v4l:width=324:height=248:device=/dev/video0
MPlayer 1.0rc1-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Model: 7, Step ping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
Cache fill: 0.00% (0 bytes)
TV file format detected.
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi
comment: under development
Selected device: Logitech QuickCam USB
Capabilites: capture
Device type: 1
Supported sizes: 160x120 => 324x248
Inputs: 1
0: Camera: (tuner:0, norm:pal)
Using input 'Camera'
Selected input hasn't got a tuner!
ioctl set picture failed: Invalid argument
ioctl get picture failed: Invalid argument
ioctl get picture failed: Invalid argument
ioctl get picture failed: Invalid argument
ioctl get picture failed: Invalid argument
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 324 x 248 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 324x248 => 324x248 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument

Posted: Wed 05 Dec 2007, 05:47
by rajeshh
Can anyone help?

Tried with Logitech Chat webcam

Posted: Thu 06 Dec 2007, 00:50
by rajeshh
This one has a product id 092e, and needed the gspca driver. So I installed that, and xawtv still didnt work. I then installed Camstream, and then the webcam works.

I would still like to make this all work with a IM application like yahoo or something.

Posted: Thu 06 Dec 2007, 00:51
by rajeshh
I found this link:
http://ubuntuforums.org/showpost.php?p= ... ostcount=1

about the no space on device error message. I do have another USB device ( a USB based KVM switch). I will try disconnecting that and retrying.

Posted: Thu 06 Dec 2007, 05:59
by rajeshh
So removing my USB KVM switch and only having the USB webcam does fix the issue. I am able to see my webcam through xawtv.

I still need to get this working with a instant messaging client like gyachi

Posted: Thu 06 Dec 2007, 08:11
by muggins
rajeshh,

I'm probably in the same boat! I have webcam that xawtv can't see, but which works intermittently with mercury(java), amsn(tcl), etc. It's definitely a dark art!