TA的每日心情 | 奋斗 2018-8-29 20:40 |
---|
签到天数: 1341 天 连续签到: 1 天 [LV.10]以坛为家III
|
我在我的红版树莓派上遇到了一系列的问题
希望有人能我看看 谢谢!
1 关于分辨率的问题
我试用的是Philips 190E 本来应该是1400*900 可每次都是800*600
即使我修改了
hdmi_group
hdmi_mode
后来从论坛上看到 又接着修改了
加hdmi_ignore_edid=0xa5000080
hdmi_force_hotplug=1
依然无效
2 安装Arduino IDE问题
无论我是按照 先下载tgz的压缩包解压 ,在用 sudo apt-get install 命令安装一系列驱动、java 还是
直接用 sudo apt-get install arduino
都没法试用
使用第一种方法 输入命令
pi@raspberrypi ~ $ cd arduino-1.0/
pi@raspberrypi ~/arduino-1.0 $ ./arduino
提示
Illegal instruction
使用用第二种方法
虽然有在program 下面 多了Arduion IDE 里面的图标
但是点击没有反应
3 安装python和GPIO库问题
在 $ sudo apt-get install python-dev python-pip 时 提示如下问题
dpkg: error processing python2.6-minimal (--configure):
subprocess installed post-installation script returned error exit status 132
dpkg: dependency problems prevent configuration of python2.6:
python2.6 depends on python2.6-minimal (= 2.6.8-1.1); however:
Package python2.6-minimal is not configured yet.
dpkg: error processing python2.6 (--configure):
dependency problems - leaving unconfigured
Setting up python-pkg-resources (0.6.24-1) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 290, in <module>
main()
File "/usr/bin/pycompile", line 263, in main
options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 179, in compile
pipe.send(fn)
File "/usr/bin/pycompile", line 142, in py_compile
stdin.write(filename + '\n')
IOError: [Errno 32] Broken pipe
dpkg: error processing python-pkg-resources (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-setuptools:
python-setuptools depends on python-pkg-resources (= 0.6.24-1); however:
Package python-pkg-resources is not configured yet.
dpkg: error processing python-setuptools (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-pip:
python-pip depends on python2.6; however:
Package python2.6 is not configured yet.
python-pip depends on python-pkg-resources; however:
Package python-pkg-resources is not configured yet.
python-pip depends on python-setuptools (>= 0.6c1); however:
Package python-setuptools is not configured yet.
dpkg: error processing python-pip (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python2.6-minimal
python2.6
python-pkg-resources
python-setuptools
python-pip
E: Sub-process /usr/bin/dpkg returned an error code (1)
虽然之后能继续命令 $ sudo pip install rpi.gpio 安装
但在尝试使用的时候 出现如下提示
pi@raspberrypi ~ $ python
Python 2.7.3 (default, Jan 13 2013, 11:20:46)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import RPi.GPIO
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RPi.GPIO.SetupException: No access to /dev/mem. Try running as root!
而且这之后桌面上的 IDEL 等等也不能用了!
4 系统桌面频繁挂掉
一次是因为直接强制掉电关机造成的 一次是在上面安装python 和 arduino 时候出现桌面图标不能用的情况后 系统重启后出现的
都是无法调用startx 命令
为啥我就碰到这么多问题呢?
大家有没有用红版树莓派遇见类似的呢?
|
|