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

Using applications, configuring, problems
Post Reply
Message
Author
friedsonjm
Posts: 208
Joined: Sat 10 Mar 2007, 14:49

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

#1 Post by friedsonjm »

Where do I get these from?
jf
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post 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
friedsonjm
Posts: 208
Joined: Sat 10 Mar 2007, 14:49

#3 Post 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
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#4 Post by muggins »

which puppyversion are you using? maybe we can compile the module for you.
friedsonjm
Posts: 208
Joined: Sat 10 Mar 2007, 14:49

#5 Post by friedsonjm »

Version 3
thanks
jf
User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#6 Post by edoc »

You may want to check out this thread:
http://www.murga-linux.com/puppy/viewtopic.php?t=20268
[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
friedsonjm
Posts: 208
Joined: Sat 10 Mar 2007, 14:49

#7 Post 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
friedsonjm
Posts: 208
Joined: Sat 10 Mar 2007, 14:49

#8 Post by friedsonjm »

qc-usb-0.6.5.tar.gz bombs out with a ton of errors on make all.
jf
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#9 Post 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!
friedsonjm
Posts: 208
Joined: Sat 10 Mar 2007, 14:49

#10 Post by friedsonjm »

That is getting beyond my capability to deal with!
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#11 Post by tempestuous »

Drivers for Logitech Quickcam webcams here -
http://www.murga-linux.com/puppy/viewtopic.php?t=23456
rajeshh
Posts: 32
Joined: Sun 01 Jul 2007, 22:14

#12 Post 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
rajeshh
Posts: 32
Joined: Sun 01 Jul 2007, 22:14

#13 Post by rajeshh »

Can anyone help?
rajeshh
Posts: 32
Joined: Sun 01 Jul 2007, 22:14

Tried with Logitech Chat webcam

#14 Post 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.
rajeshh
Posts: 32
Joined: Sun 01 Jul 2007, 22:14

#15 Post 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.
rajeshh
Posts: 32
Joined: Sun 01 Jul 2007, 22:14

#16 Post 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
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#17 Post 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!
Post Reply