Difference between revisions of "Talk:Raspberry Pi"

From ArchWiki
Jump to: navigation, search
(Link to alarm wiki pull request)
 
(57 intermediate revisions by 14 users not shown)
Line 1: Line 1:
19:39:03  +leming | yeah, i just saw that trash a few minutes ago
+
== <s>Differentiating RPi versions</s> ==
  
19:39:13  +leming | feel free to use some superpowers and make that disappear
+
Would it be worth it to either split out version-specific instructions, or perhaps make the instructions more agnostic to version? I just got an RPi 3, for example, and am pretty sure [[Raspberry_Pi#I2C]] is not applicable:
  
19:40:24  +leming | not sure what logic was used in the decision to just duplicate random parts of our site
+
i2c-bcm2708
  
19:42:58  +leming | it would be one thing if it was done extraordinarily well, it's another being done in the most fantastically awful way possible
+
I only load {{ic|i2c-bcm2835}}, for example, and my Sense Hat functions properly. I'm just getting started with the RPi using Arch, so in seeing this page for the first time, it looks like it mixes and matches various drivers, possibly based on who was adding the instructions at the time. In the section on the [[Raspberry_Pi#Raspberry_Pi_camera_module]], a fix is proposed to {{ic|blacklist i2c_bcm2708}}, followed by another fix which is to load {{ic|bcm2835-v4l2}}. I wondered if these are separate fixes for the RPi 2 vs. 3, respectively?
  
19:43:18  +leming | nevermind wholly off-topic for the arch (read: x86) wiki
+
[[User:Jwhendy|Jwhendy]] ([[User talk:Jwhendy|talk]]) 23:10, 24 September 2017 (UTC)
[[User:Danielwallace|gtmanfred]] ([[User talk:Danielwallace|talk]]) 23:44, 22 October 2012 (UTC)
 
  
I am not for duplicating stuff at [http://archlinuxarm.org/ archlinuxarm.org] but it'd be silly not to put a little mention to there..[[User:Jasper1984|Jasper1984]] ([[User talk:Jasper1984|talk]]) 14:43, 5 November 2012 (UTC)
+
:Please discuss this contribution with the ALARM wiki team as described in [https://archlinuxarm.org/wiki/Contributing]. Thank you. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 23:51, 24 September 2017 (UTC)
  
== deletion ==
+
::Will do. I think it would be helpful for posterity's sake to post something like "this entire wiki was not meant to exist." I found it confusing to be directed to that link, as it didn't mention anything about this wiki. Now I assume that this page was like a "fork" that really shouldn't have been here. Out of curiosity, why keep all of the other platform pages? In any case, now that I'm pointed in the right direction, I'll definitely bring these suggestions up. Thanks! [[User:Jwhendy|Jwhendy]] ([[User talk:Jwhendy|talk]]) 14:19, 25 September 2017 (UTC)
why delete this site? does it hurt? archlinuxarm.org is linking to the archlinux wiki in general [[User:Markuman|Markuman]] ([[User talk:Markuman|talk]]) 10:51, 12 January 2013 (UTC)
+
 
 +
::If anyone else stumbles here, this is going to carry on [https://github.com/archlinuxarm/wiki/pull/11 here on github]. [[User:Jwhendy|Jwhendy]] ([[User talk:Jwhendy|talk]]) 14:32, 25 September 2017 (UTC)
 +
 
 +
== <s>Adjustments to I2C section</s> ==
 +
 
 +
I just started fiddling with my RPi 3 and found the I2C setup very frustrating. I can make these edits, but would rather those more familiar with RPi with Arch Arm chime in first. Some observations:
 +
 
 +
- I believe this is only applicable for early RPi's.
 +
# i2cdetect -y 0
 +
 
 +
This [https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c adafruit article] says that {{ic|i2c-0}} is for 256mb Pis and {{ic|i2c-1}} is for 512mb Pis.
 +
 
 +
- This code was unclear to me:
 +
# echo <devicename> <hardware address> >/sys/class/i2c-adapter/i2c-0/new_device
 +
 
 +
If this is necessary for something, it might be best to just give a full example. When I run {{ic|i2cdetect}}, I get 5 addresses; how does one know what's what and what to add?
 +
 
 +
- I ran into errors trying to use my Sense Hat and it turned out it was all due to permissions on {{ic|/dev/i2c-1}}. I ended up adding this:
 +
/etc/udev/rules.d/99-i2c.rules
 +
KERNEL=="i2c-[0-7]",MODE="0666"
 +
 
 +
The errors were quite cryptic ("unable to initialize humidity sensor"), so I thought I hadn't loaded the right module. I've seen various ways to apply a udev rule; maybe this is not desired and one should apply it to the device for security/safety?
 +
 
 +
[[User:Jwhendy|Jwhendy]] ([[User talk:Jwhendy|talk]]) 23:10, 24 September 2017 (UTC)
 +
 
 +
:Please discuss this contribution with the ALARM wiki team as described in [https://archlinuxarm.org/wiki/Contributing]. Thank you. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 23:51, 24 September 2017 (UTC)

Latest revision as of 14:32, 25 September 2017

Differentiating RPi versions

Would it be worth it to either split out version-specific instructions, or perhaps make the instructions more agnostic to version? I just got an RPi 3, for example, and am pretty sure Raspberry_Pi#I2C is not applicable:

i2c-bcm2708

I only load i2c-bcm2835, for example, and my Sense Hat functions properly. I'm just getting started with the RPi using Arch, so in seeing this page for the first time, it looks like it mixes and matches various drivers, possibly based on who was adding the instructions at the time. In the section on the Raspberry_Pi#Raspberry_Pi_camera_module, a fix is proposed to blacklist i2c_bcm2708, followed by another fix which is to load bcm2835-v4l2. I wondered if these are separate fixes for the RPi 2 vs. 3, respectively?

Jwhendy (talk) 23:10, 24 September 2017 (UTC)

Please discuss this contribution with the ALARM wiki team as described in [1]. Thank you. -- Alad (talk) 23:51, 24 September 2017 (UTC)
Will do. I think it would be helpful for posterity's sake to post something like "this entire wiki was not meant to exist." I found it confusing to be directed to that link, as it didn't mention anything about this wiki. Now I assume that this page was like a "fork" that really shouldn't have been here. Out of curiosity, why keep all of the other platform pages? In any case, now that I'm pointed in the right direction, I'll definitely bring these suggestions up. Thanks! Jwhendy (talk) 14:19, 25 September 2017 (UTC)
If anyone else stumbles here, this is going to carry on here on github. Jwhendy (talk) 14:32, 25 September 2017 (UTC)

Adjustments to I2C section

I just started fiddling with my RPi 3 and found the I2C setup very frustrating. I can make these edits, but would rather those more familiar with RPi with Arch Arm chime in first. Some observations:

- I believe this is only applicable for early RPi's.

# i2cdetect -y 0

This adafruit article says that i2c-0 is for 256mb Pis and i2c-1 is for 512mb Pis.

- This code was unclear to me:

# echo <devicename> <hardware address> >/sys/class/i2c-adapter/i2c-0/new_device

If this is necessary for something, it might be best to just give a full example. When I run i2cdetect, I get 5 addresses; how does one know what's what and what to add?

- I ran into errors trying to use my Sense Hat and it turned out it was all due to permissions on /dev/i2c-1. I ended up adding this:

/etc/udev/rules.d/99-i2c.rules
KERNEL=="i2c-[0-7]",MODE="0666"

The errors were quite cryptic ("unable to initialize humidity sensor"), so I thought I hadn't loaded the right module. I've seen various ways to apply a udev rule; maybe this is not desired and one should apply it to the device for security/safety?

Jwhendy (talk) 23:10, 24 September 2017 (UTC)

Please discuss this contribution with the ALARM wiki team as described in [2]. Thank you. -- Alad (talk) 23:51, 24 September 2017 (UTC)