網絡攝像機

在開發板上運行boa時出現錯誤:“[boa.c:194 - unable to bind: Address already in use ”

原因:boa的端口號被佔用,需要把相應的pidkill掉:

# pgrep boa                                                   
365                                                                            
# pkill boa                                                   
[01/Jan/1970:00:10:36 +0000] caught SIGTERM, starting shutdown                 
[01/Jan/1970:00:10:36 +0000] exiting Boa normally (uptime 626 seconds)         
# pgrep boa                                                   
# boa                                                         
[01/Jan/1970:00:10:52 +0000] boa: server version Boa/0.94.13                   
[01/Jan/1970:00:10:52 +0000] boa: server built Sep 26 2010 at 10:03:56.        
[01/Jan/1970:00:10:52 +0000] boa: starting server pid=392, port 80 

出現上面的三行表示boa成功打開

 

//==================================================================

執行cmera_test時出現錯誤: /dev/fb/0: No such file or directory

解決方法:

在/etc/init.d.rcS中添加: 
mkdir /dev/fb /dev/v4l
ln -s /dev/fb0 /dev/fb/0
ln -s /dev/video0 /dev/v4l/video0

 

//==================================================================

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章