LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-22-2019, 08:53 PM   #1
xhivo
LQ Newbie
 
Registered: Oct 2019
Distribution: Arch
Posts: 3

Rep: Reputation: Disabled
ALSA Does Not Give Me the Option to Choose Direct Hardware Device Without Any Conversions


Hello,

I am using a class compliant USB DAC with a raspberry pi running piCore, and want to run Pianoteq with Direct Hardware output, which I can do no problem on the same hardware with a Debian installation, that's this is posted here rather then the hardware section.

After installing alsa, alsa-util and some other alsa packages available from piCore's package installer, I can access the USB DAC (Scarlett 2i2), but not the Direct Hardware option.

.asoundrc:

Code:
pcm.!default {
        type hw
        card 0
}

ctl.!default {
        type hw           
        card 0
}
But still aplay -L gives me no hw: option but it does list all the other options (surround, defaults and such). The only one missing are direct hw without conversion and direct hw with conversion.

I also checked lsmod and all the modules needed seem to be loaded. I think I don't know how to configure ALSA properly for this setup. Why would it not show on piCore but work perfectly on debian? Unless some libraries or packages that are needed for direct hw access are not installed or configured on my system.

Best,
Xhivo
 
Old 10-23-2019, 07:47 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Take a look at alsactl, if you have not already done so. I'm not sure it will do what you want, but, since you do not mention it, it warrants investigation.

See man alsactl for more.
 
Old 10-26-2019, 04:27 PM   #3
xhivo
LQ Newbie
 
Registered: Oct 2019
Distribution: Arch
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Take a look at alsactl, if you have not already done so. I'm not sure it will do what you want, but, since you do not mention it, it warrants investigation.

See man alsactl for more.
Thank you for the reply frankbell, I agree I need to read the man pages.

My setup seems to work just fine without the hw: plugin, which made me think, since I don't have dmix or any software mixer set up, does that mean I am already talking directly to the driver? I will read the alsa documentation and attempt to really understand it, maybe that will answer all of my questions. I'll post an update if I find out how all of this works.
 
Old 10-26-2019, 07:53 PM   #4
xhivo
LQ Newbie
 
Registered: Oct 2019
Distribution: Arch
Posts: 3

Original Poster
Rep: Reputation: Disabled
According to https://alsa-project.org/wiki/DeviceNames, the front output I am using is accessing the hardware directly. Problem solved, although it never existed, oh well... At least I learned something.

Best,
Xhivo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IDN conversions markus1982 Programming 1 03-11-2004 12:38 PM
Bulk image format conversions with a shell script? infidel Linux - Software 4 11-16-2003 07:20 PM
Need help with conversions in C green_dragon37 Programming 1 06-07-2003 01:03 AM
Graphics conversions that_girl Linux - Newbie 1 04-05-2002 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration