Changes

Jump to: navigation, search

Raspberry Pi

774 bytes added, 00:19, 1 November 2015
C-Media USB sound device
=Maintenance=
==Backup your System Image==
===backup with rpi-clone===
*uses dd and rsync:
https://github.com/billw2/rpi-clone
 
 
===backup with tar.gz===
http://sysmatt.blogspot.com/2014/08/backup-restore-customize-and-clone-your.html
 
https://github.com/billw2/rpi-clone
===backup with dd===
=Configuration=
==create local wifi hotspot==
*http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/
*https://forums.adafruit.com/viewtopic.php?f=19&t=47716
 
==create .local domain name for raspberry pi==
*http://www.howtogeek.com/167190/how-and-why-to-assign-the-.local-domain-to-your-raspberry-pi/
=Software=
==pocketsphinx / usb mic==
https://wolfpaulus.com/journal/embedded/raspberrypi2-sr/
==google speech scripts==
<s>*install pyaudio:
On Raspberry Pi:
*wolfson script to select audio output:
<syntaxhighlight lang="bash">Playback_to_Lineout.sh</syntaxhighlight> or the direct amixer commands
<syntaxhighlight lang="bash">
amixer -Dhw:0 cset name='HPOUT2 Digital Switch' on
*start jackd:
<syntaxhighlight lang="bash">jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100 -i2 -o2 &</syntaxhighlight>
*start netone pointed to slaveIP:
<syntaxhighlight lang="bash">jack_netsource -H 192.168.0.104 &</syntaxhighlight>
*setting up with alsamixer, etc - http://asliceofraspberrypi.blogspot.com/2013/02/adding-audio-input-device.html
*setup C-media usb sound device - http://www.cpmspectre.pwp.blueyonder.co.uk/raspberry_pi/MoinMoinExport/DaffodilUSBSoundAdapter.html
==U9 MiniMic==
<syntaxhighlight lang="bash">arecord -f dat | aplay -f dat &</syntaxhighlight>
==C920==
**<code>lpstat -p -d</code>
*lp help http://www.cups.org/documentation.php/options.html
==Wireless Adapters==
*Adafruit adapter: https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software
*LB-Link with mt7601: https://www.raspberrypi.org/forums/viewtopic.php?t=49864
**for kernel 3.18.7-v7: https://dl.dropboxusercontent.com/u/80256631/mt7601-3.18.7-v7-755.tar.gz
=GPIO=

Navigation menu