SOLVED CS-FPD-CAM-IMX327摄像头树莓派驱动模式连接不成功
-
-
@veye_xumm lingchuang@raspberrypi:~ $ tail /boot/config.txt
Run as fast as firmware / board allows
arm_boost=1
[all]
gpu_mem=128
dtparam=i2c_vc=on
arm_64bit=0
dtoverlay=ds90ub954
gpu_mem=256
#dtoverlay=veyecam2m
lingchuang@raspberrypi:~ $ cat /etc//rc.local
#!/bin/sh -erc.local
This script is executed at the end of each multiuser runlevel.
Make sure that the script will "exit 0" on success or any other
value on error.
In order to enable or disable this script just change the execution
bits.
By default this script does nothing.
Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
sleep 1;sudo dtcoverlay veyecam2m
exit 0
lingchuang@raspberrypi:~ $ dmesg |grep veye
lingchuang@raspberrypi:~ $ dmesg |grep 954
[ 5.895480] systemd[1]: Listening on udev Control Socket.
[ 11.120745] ds90ub954: loading out-of-tree module taints kernel.
[ 11.122072] i2c-ds90ub954 10-0030: ds90ub954_probe: start
[ 11.122091] i2c-ds90ub954 10-0030: ds90ub954_parse_dt: deserializer:
[ 11.122116] i2c-ds90ub954 10-0030: pass-gpio not found, ignoring
[ 11.122244] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: parsing serializers device tree:
[ 11.122267] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio0-output-enable property not found
[ 11.122279] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio0-output-enable to default val: 0
[ 11.122291] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio1-output-enable property not found
[ 11.122303] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio1-output-enable to default val: 0
[ 11.122315] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio2-output-enable property not found
[ 11.122327] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio2-output-enable to default val: 0
[ 11.122339] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio3-output-enable property not found
[ 11.122351] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio3-output-enable to default val: 0
[ 11.122363] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio0-control property not found
[ 11.122374] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio0-control to default val: 0b1000
[ 11.122386] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio1-control property not found
[ 11.122397] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio1-control to default val: 0b1000
[ 11.122409] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio2-control property not found
[ 11.122420] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio2-control to default val: 0b1000
[ 11.122433] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio3-control property not found
[ 11.122443] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio3-control to default val: 0b1000
[ 11.122456] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - hs-clk-div property not found
[ 11.122467] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - hs-clk-div set to default val: 0x2 (div by 4)
[ 11.122480] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - div-m-val property not found
[ 11.122491] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - div-m-val set to default val: 1
[ 11.122503] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - div-n-val property not found
[ 11.122514] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - div-n-val set to default val: 0x28
[ 11.122653] i2c-ds90ub954 10-0030: ds90ub953_i2c_client init client done
[ 11.122726] i2c-ds90ub954 10-0030: ds90ub953_regmap_init init regmap done
[ 11.122805] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - virtual-channel-map property not found
[ 11.122817] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - virtual-channel-map set to default val: 0xE4
[ 11.122828] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: serializer 0 successfully parsed
[ 11.122843] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: done
[ 11.122854] i2c-ds90ub954 10-0030: ds90ub954_init starting
[ 11.127312] i2c-ds90ub954 10-0030: ds90ub954_init: device ID: 0x60, code:_UB954, revision: 0x20
[ 11.644062] i2c-ds90ub954 10-0030: ds90ub954_init: start init of serializer rx_port 0
[ 12.614231] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=0 x 10ms
[ 12.644197] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=1 x 10ms
[ 12.674230] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=2 x 10ms
[ 12.704210] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=3 x 10ms
[ 12.734180] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=4 x 10ms
[ 12.764177] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=5 x 10ms
[ 12.794178] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=6 x 10ms
[ 12.824204] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=7 x 10ms
[ 12.864201] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=8 x 10ms
[ 12.894663] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=9 x 10ms
[ 12.924179] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=10 x 10ms
[ 12.955602] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=11 x 10ms
[ 12.994205] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=12 x 10ms
[ 13.024258] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=13 x 10ms
[ 13.054206] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=14 x 10ms
[ 13.084297] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=15 x 10ms
[ 13.114304] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=16 x 10ms
[ 13.144178] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=17 x 10ms
[ 13.174184] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=18 x 10ms
[ 13.204235] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=19 x 10ms
[ 13.234262] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=20 x 10ms
[ 13.264236] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=21 x 10ms
[ 13.294175] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=22 x 10ms
[ 13.324189] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=23 x 10ms
[ 13.354255] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=24 x 10ms
[ 13.384248] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=25 x 10ms
[ 13.414222] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=26 x 10ms
[ 13.444192] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=27 x 10ms
[ 13.474281] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=28 x 10ms
[ 13.504223] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=29 x 10ms
[ 13.534201] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=30 x 10ms
[ 13.564190] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=31 x 10ms
[ 13.599568] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=32 x 10ms
[ 13.624208] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=33 x 10ms
[ 13.664255] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=34 x 10ms
[ 13.694247] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=35 x 10ms
[ 13.724242] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=36 x 10ms
[ 13.754211] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=37 x 10ms
[ 13.784222] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=38 x 10ms
[ 13.814211] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=39 x 10ms
[ 13.844213] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=40 x 10ms
[ 13.874203] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=41 x 10ms
[ 13.904183] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=42 x 10ms
[ 13.934173] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=43 x 10ms
[ 13.964321] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=44 x 10ms
[ 13.994200] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=45 x 10ms
[ 14.024269] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=46 x 10ms
[ 14.054195] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=47 x 10ms
[ 14.084233] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=48 x 10ms
[ 14.114172] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=49 x 10ms
[ 14.114194] i2c-ds90ub954 10-0030: ds90ub954_init: Backchannel setup failed!
[ 14.114205] i2c-ds90ub954 10-0030: ds90ub954_init: init deserializer rx_port 0 failed
[ 14.114216] i2c-ds90ub954 10-0030: ds90ub954_init: deserializer rx_port 0 is deactivated
[ 14.116756] i2c-ds90ub954 10-0030: ds90ub954_probe: init ds90ub954_done -
@刚子
有两个问题。/etc//rc.local
中增加的这行,关键字是dtoverlay,你多写了一个c。
所以现在表现的是veyecam2m驱动并没有加载上,dmesg | grep veye
指令没有任何打印信息。- 系统初始化probe fpdlink的接收模块的时候,提示报错。应该是硬件连接的问题。
请检查:
2.1 是否供电正确?
2.2 FFC 排线是否方向正确?
-
@veye_xumm 使用你们自带的异侧线,供电12V 直流,应该没问题,之前的方式已经连接成功。
-
@veye_xumm
错误1 /etc//rc.local中增加的这行,关键字是dtoverlay,你多写了一个c。 已经修改
显示如下
lingchuang@raspberrypi:~ $ dmesg |grep veye
[ 14.024096] veyecam2m 10-003b: probe failed
lingchuang@raspberrypi:~ $ -
@veye_xumm
连接方式
-
This post is deleted! -
@刚子
这个地方不要接。
同轴线插到J3。另外,12V的电给到fpdlink的板子了吗?
不要带电插拔fpc线。 -
@veye_xumm 非常感谢,已经成功连接了,在树梅派上用VLC显示,感觉有1s的延时
-
@刚子 不客气。 vlc本身的缓存比较大。你可以试试gstreamer,或者降低一下vlc的缓存。