useful?
25th June 2012
KWorld 2800USB capture device;lsusb
Bus 001 Device 006: ID eb1a:2860 eMPIA Technology, Inc.
another green screen
trying
options em28xx card=8
in a file
/etc/modprobe.d/em28xx.conf
After a reboot, the card now comes up as kworld, but doesn't work.
Video resolution looks a bit strange...
THERE IS NO TUNER EITHER!?
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478784
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[1] Thread 1 started
[0] motion-httpd: waiting for data on port TCP 8080
[1] cap.driver: "em28xx"
[1] cap.card: "Kworld USB2800"
[1] cap.bus_info: "usb-bcm2708_usb-1.2.3"
[1] cap.capabilities=0x05010051
[1] - VIDEO_CAPTURE
[1] - VBI_CAPTURE
[1] - TUNER
[1] - READWRITE
[1] - STREAMING
[1] Test palette YUYV (720x576)
[1] Adjusting resolution from 720x576 to 360x576.
[1] Using palette YUYV (360x576) bytesperlines 720 sizeimage 414720 colorspace 00000001
[1] mmap information:
[1] frames=4
[1] 0 length=414720
[1] 1 length=414720
[1] 2 length=414720
[1] 3 length=414720
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[0] httpd - Read from client
[0] httpd - Read from client
[0] httpd - Read from client
[0] httpd - Read from client
[0] Thread 1 - Watchdog timeout, trying to do a graceful restart
21st June 2012
...second time lucky and I have a kernel with em28xx and cx321xx. The latter appears to crash everything horribly. em28xx is given me a /dev/video0 device but motion is stalling during startup.lsusb
Bus 001 Device 006: ID eb1a:2861 eMPIA Technology, Inc.
dmesg
[ 8.953890] em28xx #0: chip ID is em2860
[ 9.169704] em28xx #0: board has no eeprom
[ 9.345597] em28xx #0: found i2c device @ 0x4a [saa7113h]
[ 9.462853] em28xx #0: Your board has no unique USB ID.
[ 9.494434] em28xx #0: A hint were successfully done, based on i2c devicelist hash.
[ 9.609985] em28xx #0: This method is not 100% failproof.
[ 9.617972] em28xx #0: If the board were missdetected, please email this log to:
[ 9.940237] em28xx #0: V4L Mailing List <linux-media@vger.kernel.org>
[ 10.108901] em28xx #0: Board detected as EM2860/SAA711X Reference Design
[ 10.468909] em28xx #0: Identified as EM2860/SAA711X Reference Design (card=19)
[ 10.580113] em28xx #0: Registering snapshot button...
[ 10.588279] input: em28xx snapshot button as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/input/input2
[ 10.824968] em28xx #0: Config register raw data: 0x10
[ 10.929124] em28xx #0: AC97 vendor ID = 0x83847652
[ 10.989135] em28xx #0: AC97 features = 0x6a90
[ 10.996094] em28xx #0: Sigmatel audio processor detected(stac 9752)
[ 11.748736] em28xx #0: v4l2 driver version 0.1.3
[ 13.290930] em28xx #0: V4L2 video device registered as video0
[ 13.299452] em28xx #0: V4L2 VBI device registered as vbi0
[ 13.307861] em28xx audio device (eb1a:2861): interface 1, class 1
[ 13.330587] em28xx audio device (eb1a:2861): interface 2, class 1
[ 13.358893] usbcore: registered new interface driver em28xx
[ 13.366915] em28xx driver loaded
motion startup;
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478784
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[1] Thread 1 started
[0] motion-httpd: waiting for data on port TCP 8080
[1] cap.driver: "em28xx"
[1] cap.card: "EM2860/SAA711X Reference Design"
[1] cap.bus_info: "usb-bcm2708_usb-1.3.3"
[1] cap.capabilities=0x05020051
[1] - VIDEO_CAPTURE
[1] - VBI_CAPTURE
[1] - AUDIO
[1] - READWRITE
[1] - STREAMING
[1] Test palette BA81 (720x576)
[1] Using palette BA81 (720x576) bytesperlines 720 sizeimage 414720 colorspace 00000001
[1] mmap information:
[1] frames=4
[1] 0 length=414720
[1] 1 length=414720
[1] 2 length=414720
[1] 3 length=414720
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
bit of a pause...
[0] Thread 1 - Watchdog timeout, trying to do a graceful restart
[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
Looking at the posts in response to the new wheezy beta, it looks like there might be an issue with ffmpeg?
Compiled ffmpeg sources, make install, no change...
Installed the drivers from; http://git.linuxtv.org/media_build.git
Now I have a green screen with ezcap, and haupauge usb2 freezes (at the point ezcap did before).
'green screen ezcap dc60' seems to turn up a few hits, but it's bedtime now.
19th June 2012
this time typed;cd /lib/modules/3.1.9+/build
make menuconfig
I turned on I2C in the kernel and em28xx and cx231xx are now visible. Put 'M' next to both, saved it, did;
make
and went to bed...
Father's day 2012
Trying to get em28xx and cx231xx drivers working on Raspberry Pi.
Ignore everything below... it doesn't work. Lots of errors that look like;
[url]https://gist.github.com/2902291[/url]
So I think I might be on a hiding to nothing for now.
Although I have found em28xx and cx231xx on the fedora SD card image (that seems to have vanished) I could not get them to work - tried 'modprobe' and 'insmod' and gave up as it was probably a long shot anyway.
This is an experiment to get a working composite video input. It begins with "FATAL: Module em28xx not found"
using 2012_06_10_spindle_wheezy_public_alpha.img disc image.
device I am using is easycap DC60 - em2861 eMPIA Technology, Inc
This is supposedly in the kernel... just not the kernel I have?
did apt-get update && apt-get upgrade
trying to get em28xx into kernel...
get sources (is any of this right?)
apt-get install linux-source
cd /usr/src
tar xjf /usr/src/linux-source-3.2.tar.bz2
tar xjf /usr/src/linux-source-3.2.tar.bz2
zcat /proc/config.gz > .config <-to get the present config
make menuconfig <- expected to find em28xx in here?
Can't see a em28xx anything in the V4L devices. Time for bed.
Lets try to get http://www.hauppauge.com/site/products/data_usblive2.html to work using
http://www.kernellabs.com/blog/?p=1445&cpage=1
Linuxtv says;
http://www.linuxtv.org/wiki/index.php/Hauppauge_USB-Live-2
another popular hit, (hope?)
http://radialmind.blogspot.co.uk/2010/08/hauppauge-usb-live-2-ubuntu.html
Trying make gives File not found: /lib/modules/3.1.9+/build/.config
I think I expected that.
Looks like this might help from; http://www.raspberrypi.org/phpBB3/viewtopic.php?t=6171&p=80833
sudo apt-get install git
git clone –depth 1 https://github.com/raspberrypi/linux.git
sudo mv linux /lib/modules/3.1.9+/build
cd /lib/modules/3.1.9+/build
make mrproper
gzip -dc /proc/config.gz > .config
make modules_prepare
No comments:
Post a Comment