Re: [Hampshire] insmod problem
testerm...@marvin:/dev$ xawtv This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.18-4-486) can't open /dev/video0: No such file or directory v4l-conf had some trouble, trying to continue anyway v4l2: open /dev/video0: No such file or directory v4l2: open /dev/video0: No such file or directory v4l: open /dev/video0: No such file or directory no video grabber device available testerm...@marvin:/dev$ should I move video0 to /dev. tried to copy it and was unable to. Cheers Mike OK put the TV card back in but the modules for the usb cam are still not loading. So have been trying to re-install qc-usb. I am booting from the 2.6.18-4-48 kernel. The configuration shell script is failing because it can't find the headers or source files. I have installed the headers but have drawn a blank on the etch source files. Do I need the source files really ? (it would seem so) and What is the correct package please? I couldn't seem to find an appropriate one on debian.org and the mirrors in my sources list returned a 404 error. TIA Mike -- 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 --
Re: [Hampshire] insmod problem
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_bit8584 1 bttv btcx_risc 4872 1 bttv tveeprom 13968 1 bttv videodev 21120 2 usbvideo,bttv v4l1_compat12164 1 videodev v4l2_common20480 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 : Bus 006 Device 001: ID : Bus 005 Device 001: ID : Bus 004 Device 022: ID 046d:08f0 Logitech, Inc. QuickCam Messenger Bus 004 Device 001: ID : Bus 003 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter Bus 003 Device 001: ID : Bus 002 Device 001: ID : Bus 001 Device 004: ID 093a:2460 Pixart Imaging, Inc. Bus 001 Device 001: ID : 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_sg14980 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_common18304 2 bttv,videodev v4l1_compat15492 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
Re: [Hampshire] insmod problem
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. Hi and thx for the tips. I think I get most of it. Haven't installed easycam2 yet coz i think the issue is more fundamental. I have taken out the hauppage card hoping that the quickcam wound be assigned to the video0 device. however, xawtv has put the devices in /dev/.static/dev, so tried this: testerm...@marvin:/dev$ xawtv -nodga -device /dev/.static/dev/video0 This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.18-4-486) can't open /dev/.static/dev/video0: No such device v4l-conf had some trouble, trying to continue anyway v4l2: open /dev/.static/dev/video0: Permission denied v4l2: open /dev/.static/dev/video0: Permission denied v4l: open /dev/.static/dev/video0: Permission denied no video grabber device available testerm...@marvin:/dev$ I have chmodded the device to 666 but still get permission denied. In spite of the above xawtv is still looking in /dev: testerm...@marvin:/dev$ xawtv This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.18-4-486) can't open /dev/video0: No such file or directory v4l-conf had some trouble, trying to continue anyway v4l2: open /dev/video0: No such file or directory v4l2: open /dev/video0: No such file or directory v4l: open /dev/video0: No such file or directory no video grabber device available testerm...@marvin:/dev$ should I move video0 to /dev. tried to copy it and was unable to. Cheers Mike -- 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 --
Re: [Hampshire] insmod problem
On Sat, Mar 21, 2009 at 21:31:24 -0500 (-0500), Mike Burrows wrote: Hello folks, Trying to install the quickcam.ko module on a etch system: marvin:/home/testermike# insmod /usr/local/src/qc-usb-0.6.5/quickcam.ko insmod: error inserting '/usr/local/src/qc-usb-0.6.5/quickcam.ko': -1 Invalid module format Try: a) running dmesg after the insmod, IIRC you might see undefined symbols - these will be in modules which you havn't loaded up yet. b) using modprobe rather then insmod (which will load dependencies) normally modules will be in /lib/modules/`uname -r`, and depmod -a is run to build a file with details of the depencies - which modprobe uses... so you might have to do this by hand in your case. Adrian -- Email: adr...@smop.co.uk -*- GPG key available on public key servers Debian GNU/Linux - the maintainable distribution -*- www.debian.org -- 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 --
Re: [Hampshire] insmod problem
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_bit8584 1 bttv btcx_risc 4872 1 bttv tveeprom 13968 1 bttv videodev 21120 2 usbvideo,bttv v4l1_compat12164 1 videodev v4l2_common20480 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. -- 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 --
[Hampshire] insmod problem
Hello folks, Trying to install the quickcam.ko module on a etch system: marvin:/home/testermike# insmod /usr/local/src/qc-usb-0.6.5/quickcam.ko insmod: error inserting '/usr/local/src/qc-usb-0.6.5/quickcam.ko': -1 Invalid module format marvin:/home/testermike# want to use a quick cam express but although the camera is detected on boot: marvin:/home/testermike# lsusb Bus 002 Device 002: ID 046d:0840 Logitech, Inc. QuickCam Express Bus 002 Device 001: ID : Bus 001 Device 002: ID 046d:c00e Logitech, Inc. M-BJ69 Optical Wheel Mouse Bus 001 Device 001: ID : marvin:/home/testermike# the webcam module doesn't load and all the other video type modes are assigned to the tv card thats installed: bttv 157172 1 bt878 video_buf 22532 1 bttv firmware_class 9472 1 bttv ir_common 27780 1 bttv compat_ioctl32 1536 1 bttv i2c_algo_bit8584 1 bttv btcx_risc 4872 1 bttv tveeprom 13968 1 bttv videodev 21120 1 bttv v4l1_compat12164 1 videodev v4l2_common20480 3 tuner,bttv,videodev any ideas how to fix this please? TIA Mike -- 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 --