On Sun, 2009-03-22 at 16:46 -0500, Mike Burrows wrote:
> > 
> > Building modules outside the kernel can be fraught with problems
> > though...
> > 
> > Adrian
> 
> Think the required module went in ok:
> 
> testerm...@marvin:/$ lsmod
> Module                  Size  Used by
> quickcam_messenger     12420  0
> usbvideo               24324  1 quickcam_messenger
> 
> bt878                  10408  0
> 
> bttv                  157172  1 bt878
> video_buf              22532  1 bttv
> firmware_class          9472  1 bttv
> ir_common              27780  1 bttv
> ompat_ioctl32          1536  2 usbvideo,bttv
> i2c_algo_bit            8584  1 bttv
> 
> btcx_risc               4872  1 bttv
> 
> tveeprom               13968  1 bttv
> videodev               21120  2 usbvideo,bttv
> v4l1_compat            12164  1 videodev
> v4l2_common            20480  3 tuner,bttv,videodev
> 
> i2c_core               19472  6 tuner,tvaudio,bttv,i2c_algo_bit,tv
> 
> usbcore               109444
> quickcam_messenger,usbvideo,usbhid           ,ohci_hcd
> 
> But nothing seems to recognise the usb quick cam is there: eg.
> 
> testerm...@marvin:/$ xawtv -hwscan
> This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.18-4-486)
> looking for available devices
> port 60-60                              [ -xvport 60 ]
>     type : Xvideo, video overlay
>     name : video4linux
> 
> port 61-61
>     type : Xvideo, image scaler
>     name : SIS 300/315/330 series Video Overlay
> 
> /dev/video0: OK                         [ -device /dev/video0 ]
>     type : v4l2
>     name : BT878 video (Hauppauge (bt878))
>     flags: overlay capture tuner
> 
> 
> How do I assign video0 to the webcam please?
> 
> TIA
> Mike
> 
> PS I am assuming that quickcam_messenger is the right module of course!
> I am using an older style logitech quickcam.
> 
I had mixed success with USB webcams on Ubuntu 8.10. These were combined
with a BT878 PCI card capture card (two in fact) running with
Zoneminder. It took some playing around (mostly of the illogical poking
kind) but I made a few notes. I was able to get a number of cameras to
work, but others (the Sony Itoy for one) plain refused. Of the
'successes' was a Logitec QuickCam Messenger and, to my surprise, the
Asda own brand £5 offering.

The tools I used to 'help' were 'EasyCam2' (to install) and 'Cheese'.
Video4Linux was also in the mix.

The troubleshooting was basic;
# lsusb
Bus 007 Device 004: ID 1058:0901 Western Digital Technologies, Inc. 
Bus 007 Device 003: ID 0bc2:0503 Seagate RSS LLC 
Bus 007 Device 001: ID 0000:0000  
Bus 006 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 022: ID 046d:08f0 Logitech, Inc. QuickCam Messenger
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 002: ID 1131:1001 Integrated System Solution Corp.
KY-BT100 Bluetooth Adapter
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 004: ID 093a:2460 Pixart Imaging, Inc. 
Bus 001 Device 001: ID 0000:0000  

Both USB Webcams in the list (Asda is Pixart)
(aside: got the video sizes with lsusb -v)

This gave me some hints too;

#lsmod | grep video
videobuf_dma_sg        14980  1 bttv
videobuf_core          18820  2 bttv,videobuf_dma_sg
usbvideo               28676  2 quickcam_messenger
compat_ioctl32          2304  2 bttv,usbvideo
videodev               29440  7 gspca,bttv,qcmessenger,usbvideo
v4l2_common            18304  2 bttv,videodev
v4l1_compat            15492  2 bttv,videodev
usbcore               146412  12
snd_usb_audio,snd_usb_lib,usb_storage,libusual,gspca,qcmessenger,quickcam_messenger,usbvideo,hci_usb,ehci_hcd,uhci_hcd

This was then fired off to see what was what;

xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.24-21-generic)
looking for available devices
port 73-73
    type : Xvideo, image scaler
    name : ATI Radeon Video Overlay

/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l
    name : Qtec Webcam 100
    flags:  capture  

/dev/video1: OK                         [ -device /dev/video1 ]
    type : v4l
    name : QCM USB Camera
    flags:  capture  

/dev/video2: OK                         [ -device /dev/video2 ]
    type : v4l2
    name : BT878 video ( *** UNKNOWN/GENER
    flags: overlay capture tuner 


However, trying to view the output with xawtv gave an error. Googling
turned up this gem;

# xawtv -nodga -device /dev/video0

This may all be total twaddle and useless to you - but it may just help
you piece something together. If you have something already working (the
BT878) then you are *very close* to solving this. I do also recall
having to change some of the module options on load to get things the
way I wanted (BT878 was outputting black and white) - but in a nutshell
it pretty much 'just worked' for me. EasyCam2 certainly did it for me,
and I suspect it did some of the hard work.






-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to