Re: [DNG] USB mounting
On Fri, 15 Mar 2019 09:55:43 -0400, Hendrik wrote in message <20190315135543.w5zf54dl2rwah...@topoi.pooq.com>: > On Fri, Mar 15, 2019 at 09:15:52AM +0100, Arnt Karlsen wrote: > > On Fri, 15 Mar 2019 01:10:12 -0400, Steve wrote in message > > <20190315011012.14cfc...@mydesk.domain.cxm>: > > > > ...whenever you stick anything into that box in front of you. > > > > ..now, some of us also play with boxes far away over ssh... ;o) > > Now we need to know more about the circumstances. > How are you inserting a USBB stick when the box is far away? > A remote robot in chargeU of e rack of USB sticks? ..me? ;o) Maybe dropping usb key "bombs" into those usb holes from my r/c B-17E... once I have my model Norden sight set up straight... ;oD > Random peope in the mall sticking USB sticks into the kiossk you're > taking to? Or something less far-fetched? ..yeah, like those random people that you're _not_ talking to, because you and they have no idea about each others presence, sticking USB sticks into one of the "pc" like server boxes you're working on... e.g. dmesg -Hw in another ssh session would help if you set up enough system paranoia, and not too much... like when I locked myself out of my isp's bandwidth throttle box... -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] USB mounting
On Fri, Mar 15, 2019 at 09:15:52AM +0100, Arnt Karlsen wrote: > On Fri, 15 Mar 2019 01:10:12 -0400, Steve wrote in message > <20190315011012.14cfc...@mydesk.domain.cxm>: > > ...whenever you stick anything into that box in front of you. > > ..now, some of us also play with boxes far away over ssh... ;o) Now we need to know more about the circumstances. How are you inserting a USBB stick when the box is far away? A remote robot in chargeU of e rack of USB sticks? Random peope in the mall sticking USB sticks into the kiossk you're taking to? Or something less far-fetched? -- hendrik ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Devuan on Raspberry Pi 3B+. Sound card driver installation.
Il giorno giovedì 14/03/2019 23:23:52 +0100 Edward Bartolo ha scritto: > I have a raspberry Pi with a Pi DAC Pro sound for which there is no > driver installed. Searching online takes me to readily prepared > operating system images that I do not want to use as I am using > Devuan. Does anyone know what I should do to be able to use the Pi DAC > Pro sound card under Devuan? I think the 1st thing is the ALSA setup. Configuration files are: ~/.asoundrc /etc/modprobe.d/alsausb.conf I have a barebone computer working as audio server, with an external Audiolab DAC connected via USB: ~~~ $ cat /proc/asound/cards 0 [MDAC ]: USB-Audio - Audiolab M-DAC Lakewest Audio Audiolab M-DAC at usb-:00:1d.0-1.6, full speed 1 [HDMI ]: HDA-Intel - HDA Intel HDMI HDA Intel HDMI at 0xf7d0 irq 43 $ lsusb ... Bus 001 Device 004: ID 0451:adac Texas Instruments, Inc. ... ~~~ As an example of what your setup might be, here is my ~/.asoundrc : ~~~ pcm.!default{ type plug slave { pcm "hw:0,0" channels 2 } } ~~~ and, using a usb connection, my /etc/modprobe.d/alsausb.conf : ~~~ # ALSA portion options snd cards_limit=2 alias snd-card-0 snd-usb-audio alias snd-card-1 snd-hda_intel options snd-usb-audio index=0 options snd-hda_intel index=1 # OSS/Free portion alias sound-slot-0 snd-usb-audio alias sound-slot-1 snd-hda-intel ~~~ There are also a lot of system optimization you can do if you want you machine being a better bit-perfect real-time audio... Anyway, other setup is required if you are using a software audio server. I have mpd running, and here (as na example) is the content of my mpd configuration file /ect/mpd.conf (the DAC setup is in the `audio_output`section) : ~~~ # Files and directories ### ## music directory: local files music_directory "/media/AUDIO/AudioHiFi" ## playlist directory playlist_directory "/home/mmusr/.mpd/playlists" ## other db_file "/home/mmusr/.mpd/database" log_file"/var/log/mpd/mpd.log" sticker_file"/home/mmusr/.mpd/sticker.sql" pid_file"/tmp/mpd.pid" state_file "/tmp/mpd.state" # General music daemon options ## user / group that MPD will run as user"mpdusr" ## Network bind_to_address "localhost" port"6600" ## Other daemon settings log_level "default" restore_paused "yes" auto_update "no" state_file_interval "300" # Symbolic link behavior ## # # following symbolic links outside of the configured music_directory #follow_outside_symlinks"yes" # following symbolic links inside of the configured music_directory #follow_inside_symlinks "yes" # Zeroconf / Avahi Service Discovery ## zeroconf_enabled"no" # Input ### input { plugin "curl" } # Audio Output ## ALSA output audio_output { type"alsa" name"MDAC" device "hw:0,0" mixer_type "none" replay_gain_handler "none" dsd_usb "no" auto_resample "no" auto_channels "no" auto_format "no" } # Character Encoding ## filesystem_charset "UTF-8" id3v1_encoding "UTF-8" # Playlist plugins playlist_plugin { name "cue" enabled "yes" } playlist_plugin { name "embcue" enabled "yes" } playlist_plugin { name "flac" enabled "yes" } playlist_plugin { name "m3u" enabled "yes" } playlist_plugin { name "extm3u" enabled "yes" } playlist_plugin { name "rss" enabled "yes" } ~~~ Obviously, you should refer to *your* specific hardware and software configuration, having a closer look to the ALSA (and MPD if used) documentation. Hope it helps. Regards -- al3xu5 Say NO to copyright, patents, trademarks and any industrial design restrictions. Public GPG/PGP key block ID: 4096 bit RSA key 69C5977BF94CFE23 Fingerprint: 59C6 9DC7 CD4B CF2F A190 E3DE 69C5 977B F94C FE23 pgplaiGIq5dNQ.pgp Description: Firma digitale OpenPGP ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Devuan on Raspberry Pi 3B+. Sound card driver installation.
don't use any sound on rpi, but some searching online, pointed here : http://www.iqaudio.com/downloads/IQaudIO.pdf (check p.31. ) On 3/15/19 12:23 AM, Edward Bartolo via Dng wrote: > I have a raspberry Pi with a Pi DAC Pro sound for which there is no > driver installed. Searching online takes me to readily prepared > operating system images that I do not want to use as I am using > Devuan. Does anyone know what I should do to be able to use the Pi DAC > Pro sound card under Devuan? VolumeIO, a strongly suggested OS, badly > smells of a software lock-in, something I really want to avoid as I > have already experienced it when I used Delphi under MS Windows. > > Thanks. > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng > signature.asc Description: OpenPGP digital signature ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] logging uses of machine-id
On Fri, 15 Mar 2019 01:10:12 -0400, Steve wrote in message <20190315011012.14cfc...@mydesk.domain.cxm>: > On Thu, 14 Mar 2019 10:45:08 +0100 > KatolaZ wrote: > > > On Thu, Mar 14, 2019 at 04:43:44AM -0400, Steve Litt wrote: > > > > [cut] > > > > > > > > By the way, how did you detect insertion? Were you using dmesg > > > --follow ? > > > > > > > Much easier than that: since I am normally the only person who > > inserts a stick in my computer, and I don't have any 100 meters > > long USB cable running through the neighbourhood, I don't need any > > particular method to "detect insertion", apart from being sober and > > using my own short-term memory :) > > :) :) :) :) :) :) :) :) > > I feel like somebody asked me "who's buried in Grant's Tomb" and I > answered "Lincoln". *Of course* you know when a stick has been > inserted. ...whenever you stick anything into that box in front of you. ..now, some of us also play with boxes far away over ssh... ;o) > In my personal case, I'd dedicate and easy right hand keystroke to > running the shellscript, because my left hand will be returning from > the computer's USB port at the time. I'd also add stuff to the > shellscript to detect and mount every partition on the just-inserted > stick. > > SteveT > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng