Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
raspberry:pi_ogg_player [2016/10/18 22:28]
admin [IP and Network configuration]
raspberry:pi_ogg_player [2017/03/28 18:02]
admin [Upgrade]
Line 7: Line 7:
 [[http://www.nerdparadise.com/tech/python/pygame/basics/]]\\ [[http://www.nerdparadise.com/tech/python/pygame/basics/]]\\
 [[https://www.raspberrypi.org/magpi/issues/essentials-games-vol1/]]\\ [[https://www.raspberrypi.org/magpi/issues/essentials-games-vol1/]]\\
 +
 +IP Address: 192.168.0.123\\
 +PW:st0lenm0ments
 +----
 +==== Sound Card ====
 +[[http://elinux.org/RPi_VerifiedPeripherals#USB_Sound_Cards]]
  
 ---- ----
Line 15: Line 21:
   $ sudo apt-get install zip, htop   $ sudo apt-get install zip, htop
   $ sudo apt-get install python3, python3-pygame, python3-pyqt5, python3-pip, idle   $ sudo apt-get install python3, python3-pygame, python3-pyqt5, python3-pip, idle
 +
 ---- ----
 ==== Rotate the Display ==== ==== Rotate the Display ====
Line 66: Line 73:
 ---- ----
 ==== USB Sound ==== ==== USB Sound ====
-  $ lsusb + 
-   +  $ alsamixer 
-  $ amixer + 
-   +find the soundcard number:\\ 
-in+  aplay -l
- sudo nano /etc/asound.conf+
      
 +in:\\
 +<del>  $ sudo nano /etc/asound.conf</del>
 +  $ sudo nano ~/.asoundrc
 +write (with your card number):\\
   pcm.!default {   pcm.!default {
-  type hw card 1+    type hw 
 +    card 1
   }   }
   ctl.!default {   ctl.!default {
-  type hw card 1+    type hw 
 +    card 1
   }   }
  
 +and in:\\
 +  $ sudo nano /usr/share/alsa/alsa.conf
 +change:\\ 
 +  defaults.ctl.card 0
 +  defaults.pcm.card 0
 +to (depends on your number):\\
 +  defaults.ctl.card 1
 +  defaults.pcm.card 1
  
 ---- ----