Re: snd_hda: how to configure line-in passthrough to line-out?

2011-10-06 Thread Brandon Kuczenski

On Wed, 5 Oct 2011, Polytropon wrote:


On Tue, 4 Oct 2011 20:58:14 -0700 (PDT), Brandon Kuczenski wrote:

I'm working on the sound on my system running 8.2-RELEASE.  Currently I
have sound input and output working using snd_hda (i.e. I can record on
line in, and play it back on line out).

What I would like to do is take the audio coming in on line-in and send it
back out the line-out "live" without recording it.

Is this easy to do?  I'd appreciate any hints.


I think it is easy to do. If I remember terminology
correctly, the thing you're searching for is MONITOR.
Instead of setting rec source to mic, set it to line,
and increase monitor level.


Thanks for your assistance.. unfortunately, setting the mixer
levels has not been enough to get a passthrough.  Here is my mixer output:

Mixer vol  is currently set to   1:1
Mixer pcm  is currently set to  45:45
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to  75:75
Mixer igainis currently set to 100:100
Mixer ogainis currently set to  50:50
Mixer monitor  is currently set to 100:100
Recording source: line

I'm using wavplay(1) from the ports collection to record on line-in, and 
then I can play it back.  On playback I can hear it just fine-- it mixes 
with other outputs on the PCM channel as I would expect.  but when the 
line is "live" it is not being mixed into the output.





The line level should be possible to set independently
of the rec channel setting, so you should be able to
pass through line anyway - at least, that has been the
default ability of sound cards when they became available
for PC. But well... this has been 10... 20... years ago,
and nobody expects simple things to work as simple today
as they did in the past. :-)


Indeed, I wonder if it is a hardware capability problem, but I don't know 
how to try to answer that question.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


snd_hda: how to configure line-in passthrough to line-out?

2011-10-04 Thread Brandon Kuczenski
I'm working on the sound on my system running 8.2-RELEASE.  Currently I 
have sound input and output working using snd_hda (i.e. I can record on 
line in, and play it back on line out).


What I would like to do is take the audio coming in on line-in and send it 
back out the line-out "live" without recording it.


Is this easy to do?  I'd appreciate any hints.

Thanks,
Brandon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Using ports and packages together (or, how do I get mod_php5 ? )

2011-09-19 Thread Brandon Kuczenski

Hi,

I'm running RELENG_8_2 and I've been using packages instead of ports for 
most things, because they're so much quicker.  But certain packages aren't 
compiled the way I need them to be-- postfix had no TLS or SASL support, 
for example, so I built it from the port.


However, that is beginning to lead to some dependency issues.  When 
attempting to build php5 in order to obtain the apache module (see: 
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/195199.html 
)  Portinstall informs that libtool-2.2.10 (from the release package) is 
too old, that I need to upgrade to libtool 2.4 (which is available from 
the port).


I'm concerned that, if I have some packages built from ports and some 
installed from the release, that the system will become unstable if things 
get too out of sync.


Am I incorrect? i.e. should I just go ahead and install libtool 2.4 from 
the port?  I don't see this discussed explicitly in the handbook.


Thanks in advance,
Brandon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Tape Drive -- broken?

2005-02-20 Thread Brandon Kuczenski
I recently acquired an old IDE QIC/Travan tape drive (for free) and I'm 
trying to get it to work on FreeBSD 4.10-RELEASE.  I don't know for sure 
whether the unit is any good, but I would like to rule out operator error 
before I throw it away.

Here's what happens: at boot time, the tape drive is detected as device 
ast0:

/kernel: ast0: TAPE  at ata1-slave PIO4
When I insert a brand-new 4/8GB tape and run 'mt -f /dev/ast0 status' as 
root I get the following output:

Mode  Density  Blocksize  bpi  Compression
Current:  0x01:X3.22-1983  512 bytes  800  none
-available modes-
0:default  variable   0none
1:default  variable   0none
2:default  variable   0none
3:default  variable   0none
-
File Number: 0  Record Number: 0Residual Count 0
but I get the following message in /var/log/messages:
/kernel: ast0: TEST_UNIT_READY - HARDWARE ERROR asc=0xf0 ascq=0x36 
error=0x00

Similarly, if I run 'mt -f /dev/ast0 rewind', I get no output to the 
terminal but the following in the logs:

/kernel: ast0: TEST_UNIT_READY - HARDWARE ERROR asc=0xf0 ascq=0x36 
error=0x00 
/kernel: ast0: REZERO - HARDWARE ERROR asc=0xf0 ascq=0x36 error=0x00

After either of these commands, if I run 'mt -f /dev/ast0 errstat' the 
terminal displays:

mt: /dev/ast0: Inappropriate ioctl for device
So, does this suggest the drive is fried, or am I doing something wrong? 
Google search shows that 'inappropriate' message popping up occasionally 
for all manner of devices on both Linux and BSD, but usually the hits are 
in the form of mailing list posts with few, if any, responses, and nothing 
that seems relevant to my situation.  Any ideas?

Thanks in advance,
-Brandon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"