Arch (3.8) detects Easycap (em28xx) device just fine, here's dmesg log.
[    6.579974] em28xx 1-1:1.0: usb_probe_interface
[    6.580003] em28xx 1-1:1.0: usb_probe_interface - got id
[    6.580042] em28xx: New device   @ 480 Mbps (eb1a:2861, interface 0, 
class 0)
[    6.580050] em28xx: Video interface 0 found
[    6.580058] em28xx: DVB interface 0 found
[    6.580394] em28xx #0: chip ID is em2860
[    6.658088] em28xx #0: board has no eeprom
[    6.722586] em28xx #0: found i2c device @ 0x4a [saa7113h]
[    6.767965] em28xx #0: Your board has no unique USB ID.
[    6.773544] em28xx #0: A hint were successfully done, based on i2c 
devicelist hash.
[    6.781657] em28xx #0: This method is not 100% failproof.
[    6.787338] em28xx #0: If the board were missdetected, please email this 
log to:
[    6.795103] em28xx #0: V4L Mailing List  <[email protected]>
[    6.802048] em28xx #0: Board detected as EM2860/SAA711X Reference Design
[    6.899552] em28xx #0: Identified as EM2860/SAA711X Reference Design 
(card=19)
[    7.181008] saa7115 2-0025: saa7113 found (1f7113d0e100000) @ 0x4a 
(em28xx #0)
[    7.680875] em28xx #0: Config register raw data: 0x10
[    7.696329] em28xx #0: AC97 vendor ID = 0x56494161
[    7.704188] em28xx #0: AC97 features = 0x6d50
[    7.704200] em28xx #0: Unknown AC97 audio processor detected!
[    8.007230] em28xx #0: v4l2 driver version 0.1.3
[    8.678220] em28xx #0: V4L2 video device registered as video0
[    8.678242] em28xx #0: V4L2 VBI device registered as vbi0
[    8.692654] em28xx 1-1:1.1: usb_probe_interface
[    8.692676] em28xx 1-1:1.1: usb_probe_interface - got id
[    8.692699] em28xx audio device (eb1a:2861): interface 1, class 1
[    8.702346] em28xx 1-1:1.2: usb_probe_interface
[    8.702375] em28xx 1-1:1.2: usb_probe_interface - got id
[    8.702398] em28xx audio device (eb1a:2861): interface 2, class 1
[    8.713020] usbcore: registered new interface driver em28xx



But when I try to use it by motion (3.2.12) program, the green incicator 
led of the device turns on, but motion can't capture image from it:
motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Unknown config option "sql_log_image"
[0] Unknown config option "sql_log_snapshot"
[0] Unknown config option "sql_log_mpeg"
[0] Unknown config option "sql_log_timelapse"
[0] Unknown config option "sql_query"
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3489124 LIBAVFORMAT_BUILD 3481700
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[1] cap.driver: "em28xx"
[1] cap.card: "EM2860/SAA711X Reference Design"
[1] cap.bus_info: "usb-musb-hdrc.1.auto-1"
[1] cap.capabilities=0x05020051
[1] - VIDEO_CAPTURE
[1] - VBI_CAPTURE
[1] - AUDIO
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (16 bpp YUY2, 4:2:2, packed)
[1] 1: RGBP (16 bpp RGB 565, LE)
[1] 2: BA81 (8 bpp Bayer BGBG..GRGR)
[1] 3: GRBG (8 bpp Bayer GRGR..BGBG)
[1] 4: GBRG (8 bpp Bayer GBGB..RGRG)
[1] 5: 411P (12 bpp YUV411)
[1] Selected palette YUYV
[1] Test palette YUYV (720x576)
[1] Using palette YUYV (720x576) bytesperlines 1440 sizeimage 829440 
colorspace 00000001
[1] found control 0x00980900, "Brightness", range 0,255 
[1] "Brightness", default 128, current 128
[1] found control 0x00980901, "Contrast", range 0,127 
[1] "Contrast", default 64, current 64
[1] found control 0x00980902, "Saturation", range 0,127 
[1] "Saturation", default 64, current 64
[1] found control 0x00980903, "Hue", range -128,127 
[1] "Hue", default 0, current 0
[1] mmap information:
[1] frames=4
[1] 0 length=829440
[1] 1 length=829440
[1] 2 length=829440
[1] 3 length=829440
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[1] Resizing pre_capture buffer to 100 items
[0] Thread 1 - Watchdog timeout, trying to do a graceful restart
[0] Thread 1 - Watchdog timeout, did NOT restart graceful,killing it!
[0] Calling vid_close() from motion_cleanup
[0] Closing video device /dev/video0
[0] Motion thread 1 restart
[1] Thread 1 started
...


 
The device is working in my laptop Linux, so the problem must be with BBB.
Does anybody know what to do?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to