embeded/odroid2016. 11. 5. 16:59

vlc로 usb 카메라 연결해서 /dev/video0 열려니 안되고

두개 연결해서 video0 video1 해서 보려니까 video0 이후에 안되고

전원 부족해서 그런가 첫 프레임만 나오고 뻗어버려서 검색을 해보니


전류를 공유해서 쓰니까 문제가 될거 같진 않고

There is a current limiter (load switch) IC on the VBUS.

It is shared by 3 USB host ports.

Total output current is about 1.6A at max.

At the maximum load, the output voltage can be down to 4.6~4.7Volt.


It this worst case, you may need to consider to use 3 Amp power supply because CPU/RAM/GPU can eat about 1 Amp.


Which USB devices are considered ? 

[링크 : http://forum.odroid.com/viewtopic.php?f=83&t=3085]


단지 ARMHF 플랫폼에서 비정상 작동을 한다니 다른걸로 해봐야 겠네..

VLC doesn't run well on the ARMHF platform. As an alternative, use Gxine for a quick-and-easy software decoded video player, or install the optimized hardware-decoded version of XBMC available here: http://oph.mdrjr.net/robroyhall/software/linux/xbmc/. XBMC works best in 720p, and Gxine will drop frames sometimes but still manages to stay smooth and in sync. 

[링크 : http://forum.odroid.com/viewtopic.php?f=82&t=4219]


kernel .config

UVC 자체는 지원하도록 되어 있긴한데.. 흐음...

#

# Webcam devices

#

CONFIG_USB_VIDEO_CLASS=m

CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

CONFIG_USB_GSPCA=m 

[링크 : http://codewalkerster.blogspot.com/2013/06/how-to-use-webcamuvc-for-odroid-xx2.html]

[링크 : http://nlug.ml1.co.uk/2013/02/gentoo-kernel-3-7-9-webcams-v4l-uvc-video-kernel-config/3965]


$ dmesg

[ 2921.542517] usb 1-3.1: new full-speed USB device number 6 using s5p-ehci

[ 2921.649013] usb 1-3.1: New USB device found, idVendor=0ac8, idProduct=301b

[ 2921.649020] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[ 2921.649026] usb 1-3.1: Product: PC Camera

[ 2921.649030] usb 1-3.1: Manufacturer: Vimicro Corp.

[ 2921.669857] gspca_main: v2.14.0 registered

[ 2921.672200] gspca_main: gspca_zc3xx-2.14.0 probing 0ac8:301b

[ 2921.858163] input: gspca_zc3xx as /devices/platform/s5p-ehci/usb1/1-3/1-3.1/input/input4

[ 2921.858912] usbcore: registered new interface driver gspca_zc3xx 


$ ll /dev/video*

crw-rw----+ 1 root video 81, 16 nov  5 19:05 /dev/video0

crw-rw----+ 1 root video 81,  0 nov  5 18:16 /dev/video10

crw-rw----+ 1 root video 81,  1 nov  5 18:16 /dev/video11

crw-rw----+ 1 root video 81,  2 nov  5 18:16 /dev/video12

crw-rw----+ 1 root video 81,  3 nov  5 18:16 /dev/video13

crw-rw----+ 1 root video 81,  4 nov  5 18:16 /dev/video14

crw-rw----+ 1 root video 81,  5 nov  5 18:16 /dev/video15

crw-rw----+ 1 root video 81,  6 nov  5 18:16 /dev/video16

crw-rw----+ 1 root video 81,  7 nov  5 18:16 /dev/video17

crw-rw----+ 1 root video 81, 12 nov  5 18:16 /dev/video20

crw-rw----+ 1 root video 81, 13 nov  5 18:16 /dev/video21

crw-rw----+ 1 root video 81, 14 nov  5 18:16 /dev/video8

crw-rw----+ 1 root video 81, 15 nov  5 18:16 /dev/video9 


[링크 : http://forum.odroid.com/viewtopic.php?f=15&t=1705]

'embeded > odroid' 카테고리의 다른 글

ubuntu 16.04 for odroid u3  (0) 2016.11.11
뜬금포 odroid u3에 대한 나의 결론  (0) 2016.11.10
라즈베리 파이 / odroid 패키지 업데이트 비교  (0) 2016.11.05
odroid fb Driver  (0) 2016.11.03
odroid u3 - mali 400  (0) 2016.11.02
Posted by 구차니