Skip to content

Instantly share code, notes, and snippets.

# An example configuration file for MPD
# See the mpd.conf man page for a more detailed description of each parameter.
# Files and directories #######################################################
#
# This setting controls the top directory which MPD will search to discover the
# available audio files and add them to the daemon's online database. This
# setting defaults to the XDG directory, otherwise the music directory will be
# be disabled and audio files will only be accepted over ipc socket (using
storrgie@enceladus:/proc/asound/N2$ cat stream0
NuForce NuForce µDAC 2 at usb-0000:00:1d.7-6.3, full speed : USB Audio
Playback:
Status: Running
Interface = 3
Altset = 2
URBs = 3 [ 8 8 8 ]
Packet Size = 582
Momentary freq = 96000 Hz (0x60.0000)
storrgie@enceladus:/proc/asound/N2$ cat stream0
NuForce NuForce µDAC 2 at usb-0000:00:1d.7-6.3, full speed : USB Audio
Playback:
Status: Running
Interface = 3
Altset = 2
URBs = 3 [ 8 8 8 ]
Packet Size = 582
Momentary freq = 96000 Hz (0x60.0000)
agd@minerva:/proc/asound/card0$ fgrep -Ri rates /proc/asound/card*
/proc/asound/card1/stream0: Rates: 44100
/proc/asound/card1/stream0: Rates: 22050
/proc/asound/card1/stream0: Rates: 11025
/proc/asound/card1/stream0: Rates: 8000
/proc/asound/card2/codec#2: rates [0x560]: 44100 48000 96000 192000
/proc/asound/card2/codec#2: rates [0x560]: 44100 48000 96000 192000
/proc/asound/card2/codec#2: rates [0x560]: 44100 48000 96000 192000
/proc/asound/card2/codec#2: rates [0x560]: 44100 48000 96000 192000
/proc/asound/card2/codec#2: rates [0x560]: 44100 48000 96000 192000
Mar 4 15:41:36 minerva mpdscribble: new song detected (Andrew Bayer - Distractions (Movement 2)), id: 19, pos: 19
Mar 4 15:41:38 minerva mpdscribble: [last.fm] handshake successful
Mar 4 15:41:38 minerva mpdscribble: [last.fm] sending 'now playing' notification
Mar 4 15:41:38 minerva mpdscribble: [last.fm] OK
storrgie@hephaestus:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889 Digital [ALC889 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:0,0" # optional
format "44100:16:2" # optional
mixer_type "hardware" # optional
mixer_device "default" # optional
mixer_control "PCM" # optional
mixer_index "0" # optional
}
storrgie@hephaestus:~$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfbff8000 irq 52
1 [U0x46d0x8b2 ]: USB-Audio - USB Device 0x46d:0x8b2
USB Device 0x46d:0x8b2 at usb-0000:00:1d.3-2, full speed
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf9ffc000 irq 17
3 [Audio ]: USB-Audio - DigiHug USB Audio
GFEC ASSP DigiHug USB Audio at usb-0000:00:1a.0-1, full speed
@andrewdunndev
andrewdunndev / default
Created January 23, 2011 18:26
passenger.conf
<VirtualHost *:80>
ServerAdmin root@agdunn.net
ServerName projects.agdunn.net
DocumentRoot /var/www/projects/public
ErrorLog /var/log/apache2/redmine_error
CustomLog /var/log/apache2/redmine_access combined
<Directory "/var/www/projects/public">
root@hygieia:/var/lib/gems/1.8/specifications# ls -la
total 224
drwxr-xr-x 2 root root 4096 2011-01-20 12:56 .
drwxr-xr-x 7 root root 4096 2011-01-20 11:58 ..
-rwx--x--x 1 root root 6031 2011-01-20 11:58 actionmailer-2.3.5.gemspec
-rwx--x--x 1 root root 20619 2011-01-20 11:58 actionpack-2.3.5.gemspec
-rwx--x--x 1 root root 14070 2011-01-20 11:58 activerecord-2.3.5.gemspec
-rwx--x--x 1 root root 2095 2011-01-20 11:58 activeresource-2.3.5.gemspec
-rwx--x--x 1 root root 21629 2011-01-20 11:58 activesupport-2.3.5.gemspec
-rwx--x--x 1 root root 1177 2011-01-20 12:56 daemon_controller-0.2.5.gemspec