kalittle wrote: 
> Still chasing the rabbit - thanks to both Greg and Roland0 for their
> assistance.  
> 
> Greg - good advice - will dig into the PiCore documentation to
> understand persistance, and how to get a change to survive a reboot.

BTW: The backup command on the web GUI will save /etc/asound.conf . On
the command line $ pcp bu also does a backup.

> Roland0 - question around your comment at the start of your code -
> (note: adjust card/device to match your setup)
> 
> What does this mean?  where is this "card/device" you mention?  I made
> your suggested changes to the /etc/asound.conf file, but the player
> would not restart until I reset the file to it's original content (or
> rebooted to reset everything)!  I think if I could understand this
> "card/device" change you mention this might work.  I would then research
> how to make the change permanent.ken

hi Ken,

>From [Main Page] in [Beta] mode > [Diagnostics] > [Sound]. Scroll down
to "[ INFO ] PLAYBACK Hardware Devices" and you will see the cards and
devices for your hardware. This list is generated by the Linux command $
aplay -l

Should look like this!


Code:
--------------------
    **** List of PLAYBACK Hardware Devices ****
  card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
  card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
  
--------------------


card 0 is the RPi sound card (stupid card name ALSA, it is really
confusing starting out)
card 1 is one of those little generic USB DAC (very generic card name -
Device)

regards
Greg


------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=106885

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to