Différences entre versions de « RASP-RDIOWIFI-PI-FAQ »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 1 : Ligne 1 :
 
{{RASP-RDIOWIFI-PI-NAV}}
 
{{RASP-RDIOWIFI-PI-NAV}}
 
{{traduction}}
 
  
 
= FAQ (Foire aux questions) =
 
= FAQ (Foire aux questions) =

Version du 25 avril 2016 à 15:31


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

FAQ (Foire aux questions)

When I run the PiPhi script or any of the LCD examples, I get an “'lcd' is not defined” error message. The PiPhi script must be run as root in order to access the LCD and keypad hardware:

sudo python PiPhi.py

If that doesn’t fix it, check for any solder bridges or cold joints on the LCD plate, and make sure the headers between the plate and Raspberry Pi are aligned.

Or the code may be having difficulty accessing the I2C bus. We can override this manually if the need arises. Edit PiPhi.py, looking for this line:

lcd = Adafruit_CharLCDPlate()

Et ajouter simplement ce paramètre:

lcd = Adafruit_CharLCDPlate(busnum=1)

Run the code again and see if that helps. The Raspberry Pi does not boot when the LCD/Keypad Pi Plate is attached. Check for any solder bridges or cold joints on the LCD plate, and make sure the headers between the plate and Raspberry Pi are aligned. A keyboard attached to the Raspberry Pi is not responding. Some keyboards require more power than the Raspberry Pi USB port can provide. Add a powered USB hub, or try a different keyboard if you have a spare. The system never connects to the wireless network. Most likely a typo during the wireless setup procedure. Go through each step on the “Initial System Configuration” page and check spelling carefully, including your wireless network name (SSID) and password.

“Hidden” WiFi networks are particularly fussy, and even with the extra directions provided might not connect. We very strongly recommend using a broadcast network name. If using a hidden network…when creating the file wpa_supplicant.conf, did you remember to change the SSID and password to the values used by your network?

It might also be an incompatible USB wireless adapter. The one in the Adafruit shop is known to work with the Raspberry Pi. The PiPhi script just hangs at “Receiving station list…” The pianobar application is most likely failing to connect to the Pandora server…probably due to an incorrect email address and/or password. Check the settings in the configuration file and make sure these match your Pandora credentials, not the account on your Raspberry Pi.

If in doubt, run pianobar directly from the command line first. Once that’s working, then move on to the PiPhi script. pianobar (or the PiPhi script) is running, but no sound is coming from the headphone jack. Make sure audio is routed to the headphone jack rather than the HDMI port. From the command line:

sudo amixer cset numid=3 1 When pianobar tries to connect, I get a “TLS handshake error” message. Enter the following command (as a single line — copy and paste verbatim, if possible):

fingerprint=`openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2` && echo tls_fingerprint = $fingerprint >> ~/.config/pianobar/config

Essayer à nouveau.

(depuis le tutoriel de Jacob Roeland's “pidora”)


Source: Raspberry Pi WiFi Radio créé par Phillip Burgess pour www.adafruit.com

Traduit , corrigé et augmenté par Antoine Wrotny (PYRANOID) pour MCHobby SPRL Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com