5回答

0收藏

[求助] 红版树莓派上遇到的问题

Raspberry Pi Raspberry Pi 4140 人阅读 | 5 人回复 | 2013-03-17

我在我的红版树莓派上遇到了一系列的问题
希望有人能我看看 谢谢!

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 命令



为啥我就碰到这么多问题呢?
大家有没有用红版树莓派遇见类似的呢?


分享到:
回复

使用道具 举报

回答|共 5 个

倒序浏览

沙发

mcp2013

发表于 2013-3-17 09:42:42 | 只看该作者

看来荭板好多人有问题啊
板凳

ukonline2000

发表于 2013-3-17 23:32:59 | 只看该作者

RPI.GPIO是基于python2.7以上版本的吧,
博客站点:http://ukonline2000.com
网店:http://ukonline2000.taobao.com
地板

w932443004

发表于 2013-3-18 00:02:49 | 只看该作者

ukonline2000 发表于 2013-3-17 23:32
RPI.GPIO是基于python2.7以上版本的吧,

不是很清楚是 我是按着教程来的啊 该怎么解决啊?
5#

cheney_y_chen

发表于 2013-3-21 13:19:04 | 只看该作者

好像这4个问题都跟硬件及品质无关,所以当然无关于红板与绿板(事实是红板与绿板完全一致)
问题1: 有没有试着到 /boot下的CONFIG.TXT中配置及设置overscan的参数?
问题2:
问题3: 你是在安装PYTHON的GPIO库? 错误提示是你安装的是2.6版本的?Raspbian系统内置的PYTHON是2.7版本的。 GPIO的PYTHON库建议使用raspberry-gpio-python 库,0.2.0版本, 可到以下WEB下载:
Google Code websi te at the fol lowing address:  http://code.google.com/p/raspberry-gpio-python/
问题4: 肯定是你的SD卡内的系统的关系

6#

w932443004

发表于 2013-3-21 15:11:57 | 只看该作者

cheney_y_chen 发表于 2013-3-21 13:19
好像这4个问题都跟硬件及品质无关,所以当然无关于红板与绿板(事实是红板与绿板完全一致)
问题1: 有没有 ...

没法越狱 下不了啊 …………
您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条