Skip to contentSkip to conversation

pci128 line-in help

DISCUSSION [email protected] 4 participants 4 messages Oct 27, 1999 – Oct 28, 1999 Sound

lore
Share & tools
lore
#0 lore raw

I can't seem to get my pci128 line-in to work. This is using the (es1370) OSS driver distributed with the 2.2.7 kernel. I've tried all the obvious mixer settings as well as all the private ioctl()s the driver has, checked my hardware, etc. Can anyone think of anything I might be missing?

Thanks,

Eric

#1 lore raw

I have a pci 128, and the mic input is the default, so you'll have to make sure to select the line input using a mixer. If you've already done that, try looking at /dev/dsp, or /dev/dsp1. If you are trying to listen to something and record at the same time (full-duplex) the OSS driver that comes with the kernel doesn't support it. So, if the line out is open, it won't record anything. Sometimes, some sound apps don't close /dev/dsp correctly.Try ALSA or the commercial OSS driver from 4front.

Quoted 9 lines · On Tue, 26 Oct 1999, [email protected] wrote:

I can't seem to get my pci128 line-in to work. This is using the (es1370) OSS driver distributed with the 2.2.7 kernel. I've tried all the obvious mixer settings as well as all the private ioctl()s the driver has, checked my hardware, etc. Can anyone think of anything I might be missing?

Thanks,

Eric

Signature · 5 lines
"When the doors of perception are cleansed everything appears as it truly is - infinite."   - William Blake 

llornkcor rocknroll 
SpiritShip MultiMedia Recording Studio
http://www.llornkcor.com
#2 lore raw
In reply to [email protected]
Quoted 5 lines · On Wed, 27 Oct 1999, [email protected] wrote:

I can't seem to get my pci128 line-in to work. This is using the (es1370) OSS driver distributed with the 2.2.7 kernel. I've tried all the obvious mixer settings as well as all the private ioctl()s the driver has, checked my hardware, etc. Can anyone think of anything I might be missing?

What version of the card do you have?

There seems to be two versions, as far as the connectors are concerned; one that looks like in "Getting started" (that you get with OEM cards, at least), and one with a much smarter design.

The older (?) ones have Aux In and Rear Out in the same jack, and the "lineout=1" option swithes it from Line In to Rear Out.

On the new (?) one (that I have), the "Speaker Out" has turned into "Front Out", and can be changed between line/speaker with two jumpers on the card. There is a Line In where the Speaker Out jack used to be, and yes, it works in full duplex with the two Line Outs. :-) On this card, "lineout=1" only enables the output from the jack that is now ony Rear Out. AFAIK, the new Rear Out jack has no other function.

If your card is of the latter kind, your problem might be that the Line In is actually where the "manual" says Speaker Out is; that is, the 4'th (last) jack counting from the one closest to the joystick/MIDI port. Check the card.

If it's the "old" card, make sure you do *not* use "lineout=1". Also experiment some with the mixer. Mine seems a bit dodgy with the kernel driver... (Works great with ALSA, though.)

//David

·A·U·D·I·A·L·I·T·Y· P r o f e s s i o n a l L i n u x A u d i o
- - ------------------------------------------------------------- - -

    ·Rock Solid                                      David Olofson:
    ·Low Latency    www.angelfire.com/or/audiality   ·Audio Hacker
    ·Plug-Ins            [email protected]        ·Linux Advocate
    ·Open Source                                     ·Singer/Composer
#3 lore raw
In reply to [email protected]

[why all of a sudden are so many of the messages here also going to a linux audio list in canada?]

Quoted 5 lines · On Tue Oct 26 1999 at 17:19, [email protected] wrote:

I can't seem to get my pci128 line-in to work. This is using the (es1370) OSS driver distributed with the 2.2.7 kernel. I've tried all the obvious mixer settings as well as all the private ioctl()s the driver has, checked my hardware, etc. Can anyone think of anything I might be missing?

You need to configure the sound driver module when you load it.

% /sbin/modinfo -p es1370
joystick int array (min = 1, max = 5), description "if 1 enables joystick interface (still need separate driver)" lineout int array (min = 1, max = 5), description "if 1 the LINE input is converted to LINE out" micbias int array (min = 1, max = 5), description "sets the +5V bias for an electret microphone"

(btw, default 2.2.12-20 kernel/modules from redhat6.1)

Either pass the relevant parameters on the insmod/modprobe command line if you (re)load it manually, or put them into /etc/conf.modules

Check the /usr/src/linux/Documentation/sound/ directory for more information about the parameters... there is a file there specifically for the es1370 chip.

Cheers
Tony