Re: [gentoo-user] OSS4

2020-04-13 Thread Jorge Almeida
On Tue, Apr 14, 2020 at 12:38 AM Jack  wrote:



> Mainly out of curiosity, have you tried connecting to the mike in
> instead of the line in on your sound card?

Yes, no difference!



Re: [gentoo-user] OSS4

2020-04-13 Thread Jack

On 2020.04.13 18:10, Adam Carter wrote:
On Tue, Apr 14, 2020 at 4:48 AM Jorge Almeida   
wrote:


> On Mon, Apr 13, 2020 at 6:52 PM Michael   
wrote:

> >
>
> > > ## arecord -l
> > >  List of CAPTURE Hardware Devices 
> > > card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic  
Analog]

> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog  
[Generic Alt

> > > Analog] Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> >
> > I can't see your USB mic anywhere ...
>
> Humm... The point is: the interface (Behring) has RCA output, which  
is

> connected to the LineIn of the integrated sound card (not an USB
> card). On the other hand, it also has a USB output, which is used to
> get Phantom Power (whatever that is), which works (when removed from
> the USB entry in the computer, the LEDs go off). However: I think  
the
> device (Behring) also works as a USB sound card (which I don'y want  
to

> use).
>

XLR style mics output to too low for sound card inputs, so let's  
assume the

Behring interface you have is boosting the signal (and since its an
amplifier it gets its power via USB). The question now is whether the
signal on RCA outputs is suitable for a sound card - i'm not sure,  
but IIRC

i've done this before and it worked.

I'd be inclined to try setting up the Behring USB though - if its a  
high

end device it will probably sound better.

Mainly out of curiosity, have you tried connecting to the mike in  
instead of the line in on your sound card?


Re: [gentoo-user] OSS4

2020-04-13 Thread Jorge Almeida
On Mon, Apr 13, 2020 at 11:10 PM Adam Carter  wrote:
>
> On Tue, Apr 14, 2020 at 4:48 AM Jorge Almeida  wrote:
>>
>> On Mon, Apr 13, 2020 at 6:52 PM Michael  wrote:
>> >
>>
>> > > ## arecord -l
>> > >  List of CAPTURE Hardware Devices 
>> > > card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
>> > >   Subdevices: 1/1
>> > >   Subdevice #0: subdevice #0
>> > > card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt
>> > > Analog] Subdevices: 1/1
>> > >   Subdevice #0: subdevice #0
>> >
>> > I can't see your USB mic anywhere ...
>>
>> Humm... The point is: the interface (Behring) has RCA output, which is
>> connected to the LineIn of the integrated sound card (not an USB
>> card). On the other hand, it also has a USB output, which is used to
>> get Phantom Power (whatever that is), which works (when removed from
>> the USB entry in the computer, the LEDs go off). However: I think the
>> device (Behring) also works as a USB sound card (which I don'y want to
>> use).
>
>
> XLR style mics output to too low for sound card inputs, so let's assume the 
> Behring interface you have is boosting the signal (and since its an amplifier 
> it gets its power via USB). The question now is whether the signal on RCA 
> outputs is suitable for a sound card - i'm not sure, but IIRC i've done this 
> before and it worked.
>
> I'd be inclined to try setting up the Behring USB though - if its a high end 
> device it will probably sound better.

The MO is STRIX B250F GAMING. I assumed it would be somewhat better
than a USB card (and the Behring model I have is not that high end)
Anyway, I just build (and modprobe'd) the modules snd-usb-audio and
snd-bcd2000, and still no joy:
arecord -D usbstream:CARD=PCH -fdat -r 48 test.wav
ALSA lib 
/var/tmp/portage/media-plugins/alsa-plugins-1.2.1/work/alsa-plugins-1.2.1/usb_stream/pcm_usb_stream.c:508:(_snd_pcm_usb_stream_open)
Unknown field hint
arecord: main:828: audio open error: Invalid argument

Jorge



Re: [gentoo-user] OSS4

2020-04-13 Thread Adam Carter
On Tue, Apr 14, 2020 at 4:48 AM Jorge Almeida  wrote:

> On Mon, Apr 13, 2020 at 6:52 PM Michael  wrote:
> >
>
> > > ## arecord -l
> > >  List of CAPTURE Hardware Devices 
> > > card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt
> > > Analog] Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> >
> > I can't see your USB mic anywhere ...
>
> Humm... The point is: the interface (Behring) has RCA output, which is
> connected to the LineIn of the integrated sound card (not an USB
> card). On the other hand, it also has a USB output, which is used to
> get Phantom Power (whatever that is), which works (when removed from
> the USB entry in the computer, the LEDs go off). However: I think the
> device (Behring) also works as a USB sound card (which I don'y want to
> use).
>

XLR style mics output to too low for sound card inputs, so let's assume the
Behring interface you have is boosting the signal (and since its an
amplifier it gets its power via USB). The question now is whether the
signal on RCA outputs is suitable for a sound card - i'm not sure, but IIRC
i've done this before and it worked.

I'd be inclined to try setting up the Behring USB though - if its a high
end device it will probably sound better.


Re: [gentoo-user] OSS4

2020-04-13 Thread Jorge Almeida
On Mon, Apr 13, 2020 at 6:52 PM Michael  wrote:
>

> > ## arecord -l
> >  List of CAPTURE Hardware Devices 
> > card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt
> > Analog] Subdevices: 1/1
> >   Subdevice #0: subdevice #0
>
> I can't see your USB mic anywhere ...

Humm... The point is: the interface (Behring) has RCA output, which is
connected to the LineIn of the integrated sound card (not an USB
card). On the other hand, it also has a USB output, which is used to
get Phantom Power (whatever that is), which works (when removed from
the USB entry in the computer, the LEDs go off). However: I think the
device (Behring) also works as a USB sound card (which I don'y want to
use).

>
> Both device 0 and device 2 are on the *same* card.  I would think an external
> device as you posted previously would register on the kernel as a separate
> card.
>
> Is dmesg recognising your USB mic when you plug it in?
 usb 1-11: new full-speed USB device number 4 using xhci_hcd
 usb 1-11: New USB device found, idVendor=08bb, idProduct=2902, bcdDevice= 1.00
 usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=0
 usb 1-11: Product: USB Audio CODEC
 usb 1-11: Manufacturer: Burr-Brown from TI
 input: Burr-Brown from TI   USB Audio CODEC  as
/devices/pci:00/:00:14.0/usb1/1-11/1-11:1.3/0003:08BB:2902.0004/input/input20
 hid-generic 0003:08BB:2902.0004: input,hidraw3: USB HID v1.00 Device
[Burr-Brown from TI   USB Audio CODEC ] on
usb-:00:14.0-11/input3

So it seems that it is recognized as a USB sound card...

>
> Do you need some additional driver for it?

NA (I think)
>
> Is there some On/Off button on it you need to turn it on with?

No buttons in the Mic; there is a button in the interface that enables
the Phantom Power, but it has always been on.
>
>
> > ## arecord -L
> > null
> > Discard all samples (playback) or generate zero samples (capture)
> > default:CARD=PCH
> > HDA Intel PCH, Generic Analog
> > Default Audio Device
> > sysdefault:CARD=PCH
> > HDA Intel PCH, Generic Analog
> > Default Audio Device
> > front:CARD=PCH,DEV=0
> > HDA Intel PCH, Generic Analog
> > Front speakers
> > usbstream:CARD=PCH
> > HDA Intel PCH
> > USB Stream Output
>
> Hmm ... I assume "USB Stream Output" is the USB mic, but I'm not sure and the
> Output part confuses me.
>
>


> So, in the first instance I would look at a USB driver, if needed, from the
> output in dmesg.
>
> lsusb -v would also show any
>
> bInterfaceClass 1 Audio
> bInterfaceSubClass  1 Control Device
>
> and any fields showing "Microphone".

In attachement.

Also,
## aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
HDA Intel PCH, Generic Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, Generic Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, Generic Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, Generic Digital
HDMI Audio Output
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output


>
> Finally, have a look under 'cat /proc/bus/input/devices' or similar for any
> USB devices, to find out what driver it is using.
I: Bus=0003 Vendor=08bb Product=2902 Version=0100
N: Name="Burr-Brown from TI   USB Audio CODEC "
P: Phys=usb-:00:14.0-11/input3
S: 
Sysfs=/devices/pci:00/:00:14.0/usb1/1-11/1-11:1.3/0003:08BB:2902.0004/input/input20
U: Uniq=
H: Handlers=kbd event17
B: PROP=0
B: EV=13
B: KEY=e 0
B: MSC=10


>
> HTH.

Thanks

Bus 001 Device 004: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass0 
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize0 8
  idVendor   0x08bb Texas Instruments
  idProduct  0x2902 PCM2902 Audio Codec
  bcdDevice1.00
  

Re: [gentoo-user] OSS4

2020-04-13 Thread Michael
On Monday, 13 April 2020 18:09:25 BST Jorge Almeida wrote:
> On Mon, Apr 13, 2020 at 4:29 PM Michael  wrote:
> > Yes, the first step would be to reduce or set to zero the Mic Boost in
> > alsamixer and adjust the Capture volume.  However, noise with arecord is
> > usually a result of incorrect bitrate?
> > 
> > You could try:
> > 
> > arecord -fdat -r 48 test.wav
> 
> OK, I tried "arecord -D hw:0,1 -fdat -r 48 test.wav" and "arecord -D
> hw:0,2 -fdat -r 48 test.wav". aplay produces noise, in both cases. I
> alse tried with -r 44, same result.
> 
> ## arecord -l
>  List of CAPTURE Hardware Devices 
> card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt
> Analog] Subdevices: 1/1
>   Subdevice #0: subdevice #0

I can't see your USB mic anywhere ...

Both device 0 and device 2 are on the *same* card.  I would think an external 
device as you posted previously would register on the kernel as a separate 
card.

Is dmesg recognising your USB mic when you plug it in?

Do you need some additional driver for it?

Is there some On/Off button on it you need to turn it on with?


> ## arecord -L
> null
> Discard all samples (playback) or generate zero samples (capture)
> default:CARD=PCH
> HDA Intel PCH, Generic Analog
> Default Audio Device
> sysdefault:CARD=PCH
> HDA Intel PCH, Generic Analog
> Default Audio Device
> front:CARD=PCH,DEV=0
> HDA Intel PCH, Generic Analog
> Front speakers
> usbstream:CARD=PCH
> HDA Intel PCH
> USB Stream Output

Hmm ... I assume "USB Stream Output" is the USB mic, but I'm not sure and the 
Output part confuses me.


> I assume the two capture devices are LineIn and Mic (mono). Correct?
> (But why the device numbers 0 and 2, and not 1?)
> OTOH,
> ## arecord  -fdat -r 48 test.wav
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.2.1.2/work/alsa-lib-1.2.1.2/src/pcm/
> pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
> arecord: main:828: audio open error: No such file or directory
> 
> I didn't use any flags for aplay, because aplay foo.wav works fine
> when foo.wav is music from a CD (i.e., not from a micro)
> 
> > Also, make sure any hardware buttons have been enabled and the mic is not
> > muted.  Additional options may be required to use the correct input device
> > and driver, which can be specified in /etc/modprobe.d/alsa.conf
> 
> I have /etc/modprobe.d/alsa.conf (not changed) but I have alsa support
> built in the kernel, not as a module (could this be a problem?!)
> 
> Jorge

Years ago I was having problems with alsa.  Audio drivers were not as polished 
as they are today for Linux.  Anyway, I remember contacting some dev who asked 
me to rebuild my kernel with alsa as modules and run 'alsactl init', which 
would only produce a full output this way.  I don't know if this would still 
be a problem today and anyway you are not experiencing the same bugs I was 
troubleshooting 15 years ago.

So, in the first instance I would look at a USB driver, if needed, from the 
output in dmesg.

lsusb -v would also show any 

bInterfaceClass 1 Audio
bInterfaceSubClass  1 Control Device

and any fields showing "Microphone".

Finally, have a look under 'cat /proc/bus/input/devices' or similar for any 
USB devices, to find out what driver it is using.

HTH.


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] OSS4

2020-04-13 Thread Jorge Almeida
On Mon, Apr 13, 2020 at 4:29 PM Michael  wrote:
>

> Yes, the first step would be to reduce or set to zero the Mic Boost in
> alsamixer and adjust the Capture volume.  However, noise with arecord is
> usually a result of incorrect bitrate?
>
> You could try:
>
> arecord -fdat -r 48 test.wav

OK, I tried "arecord -D hw:0,1 -fdat -r 48 test.wav" and "arecord -D
hw:0,2 -fdat -r 48 test.wav". aplay produces noise, in both cases. I
alse tried with -r 44, same result.

## arecord -l
 List of CAPTURE Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

## arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
HDA Intel PCH, Generic Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, Generic Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
Front speakers
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output

I assume the two capture devices are LineIn and Mic (mono). Correct?
(But why the device numbers 0 and 2, and not 1?)
OTOH,
## arecord  -fdat -r 48 test.wav
ALSA lib 
/var/tmp/portage/media-libs/alsa-lib-1.2.1.2/work/alsa-lib-1.2.1.2/src/pcm/pcm_dsnoop.c:641:(snd_pcm_dsnoop_open)
unable to open slave
arecord: main:828: audio open error: No such file or directory

I didn't use any flags for aplay, because aplay foo.wav works fine
when foo.wav is music from a CD (i.e., not from a micro)

>
> Also, make sure any hardware buttons have been enabled and the mic is not
> muted.  Additional options may be required to use the correct input device and
> driver, which can be specified in /etc/modprobe.d/alsa.conf

I have /etc/modprobe.d/alsa.conf (not changed) but I have alsa support
built in the kernel, not as a module (could this be a problem?!)

Jorge



Re: [gentoo-user] OSS4

2020-04-13 Thread Jorge Almeida
On Mon, Apr 13, 2020 at 4:23 PM Alexandru N. Barloiu  wrote:
>


> I am not familiar with those products. Sorry. All I can say about it is
> that there are 2 types of volumes. The ones for playback, and the ones
> for capture. (see F4 in alsa mixer). Also see F6 to select the right
> sound card if you have more than one. If you have more than one input
> (on that card), make sure you select the right one, You can toggle
> "capture" with space. Untoggle all of them, and leave on just the one
> you use for recording. Set the volume and try again. I hope it works.
> If not, maybe people on the forums could be of more help than I was.
>
OK, thanks anyway

Jorge



Re: [gentoo-user] OSS4

2020-04-13 Thread Michael
On Monday, 13 April 2020 16:13:57 BST Jorge Almeida wrote:
> Trying to record with arecord produces a file that yields
> noise or silence with aplay. I tried changing stuff in alsamixer...

Yes, the first step would be to reduce or set to zero the Mic Boost in 
alsamixer and adjust the Capture volume.  However, noise with arecord is 
usually a result of incorrect bitrate?

You could try:

arecord -fdat -r 48 test.wav

Also, make sure any hardware buttons have been enabled and the mic is not 
muted.  Additional options may be required to use the correct input device and 
driver, which can be specified in /etc/modprobe.d/alsa.conf

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] OSS4

2020-04-13 Thread Alexandru N. Barloiu
On Mon, 2020-04-13 at 16:13 +0100, Jorge Almeida wrote:
> 
> I mean I can't record sound (or I can't play it). Probably because I
> don't know what I'm doing (see above, Documentation). I have a micro
> which connects to an interface via  a XLR cable (it works; I can hear
> sound through headphones connected with the direct monitor output in
> the interface); the interface gets power from the computer via USB
> (works); the RCA output of the interface connects to the LineIn entry
> in the card. Trying to record with arecord produces a file that
> yields
> noise or silence with aplay. I tried changing stuff in alsamixer...
> 
> https://www.amazon.de/-/en/dp/B01C05AL4C/ref=sr_1_5dchild=1=mikrofon%2Bxlr=1585927073=8-5=1
> 
> https://www.amazon.de/-/en/gp/product/B00EK1OTZC/ref=ask_ql_qh_dp_hza?th=1
> 
> The reasons I asked about OSS4 and not the details about my problem
> are: (i) I like to understand what I'm doing (big picture & details)
> and (ii) I don't want to be a support vampire
> 
> But maybe OSS4 would be no solution at all. However, it seems that
> even trying is not an option...
> 


I am not familiar with those products. Sorry. All I can say about it is
that there are 2 types of volumes. The ones for playback, and the ones
for capture. (see F4 in alsa mixer). Also see F6 to select the right
sound card if you have more than one. If you have more than one input
(on that card), make sure you select the right one, You can toggle
"capture" with space. Untoggle all of them, and leave on just the one
you use for recording. Set the volume and try again. I hope it works.
If not, maybe people on the forums could be of more help than I was. 


axl




Re: [gentoo-user] OSS4

2020-04-13 Thread Jorge Almeida
On Mon, Apr 13, 2020 at 3:22 PM Alexandru N. Barloiu  wrote:
>

> > 3)? Wrong?
>
> It was gpl. Then they moved it to proprietary. Then they become
> insignificant and changed it back. For me, that's sign enough that I
> don't want anything to do with it.
>

OK, I understand...
>
> > > why would you?
> >
> > desperation?  ALSA is 22 years old, and they couldn't find the time
> > to
> > write documentation. It will not happen. When it works, it works. It

> It might have been invented 22 years ago, but that doesn't mean that it
> didn't change/improve over that time.

I agree, but I was talking about the documentation, not about the
quality of the software.
Check the main documentation site https://alsa-project.org/wiki/Documentation
The first section contains 4 items, the second of which is just a
title (no link) and the 3rd is a dead link... ( actually, not dead,
but leading to nothing; and it says "Linux Audio Users Guide", a name
suggesting its contents are relevant)
>
>
> What do you mean "no joy with micro"? Maybe it could be easier to fix
> this than use OSS.
>
I mean I can't record sound (or I can't play it). Probably because I
don't know what I'm doing (see above, Documentation). I have a micro
which connects to an interface via  a XLR cable (it works; I can hear
sound through headphones connected with the direct monitor output in
the interface); the interface gets power from the computer via USB
(works); the RCA output of the interface connects to the LineIn entry
in the card. Trying to record with arecord produces a file that yields
noise or silence with aplay. I tried changing stuff in alsamixer...

https://www.amazon.de/-/en/dp/B01C05AL4C/ref=sr_1_5dchild=1=mikrofon%2Bxlr=1585927073=8-5=1

https://www.amazon.de/-/en/gp/product/B00EK1OTZC/ref=ask_ql_qh_dp_hza?th=1

The reasons I asked about OSS4 and not the details about my problem
are: (i) I like to understand what I'm doing (big picture & details)
and (ii) I don't want to be a support vampire

But maybe OSS4 would be no solution at all. However, it seems that
even trying is not an option...

Thanks

Jorge



Re: [gentoo-user] OSS4

2020-04-13 Thread Alexandru N. Barloiu
On Mon, 2020-04-13 at 15:18 +0100, Jorge Almeida wrote:
> On Mon, Apr 13, 2020 at 3:07 PM Alexandru N. Barloiu 
> wrote:
> > OSS4 is a set of proprietary patches. You would need support in
> > kernel,
> 
> That's the problem...
> 
> > and support at an application level to use it. Not sure if USE=oss
> > will
> > work with OSS4, but one thing I know for sure is that you would
> > need to
> > get the patches from 4front technologies. And given that they keep
> > moving the license...
> I was under the impression that it is open source (contrary to
> version
> 3)? Wrong?

It was gpl. Then they moved it to proprietary. Then they become
insignificant and changed it back. For me, that's sign enough that I
don't want anything to do with it.


> > why would you?
> 
> desperation?  ALSA is 22 years old, and they couldn't find the time
> to
> write documentation. It will not happen. When it works, it works. It
> works for me re hearing sound, but no joy with my recently bought
> micro. Maybe it's something as trivial as a faulty cable, but the
> current plague doesn't make it easier to get a replacement to try...
> 
> Jorge


It might have been invented 22 years ago, but that doesn't mean that it
didn't change/improve over that time. 


What do you mean "no joy with micro"? Maybe it could be easier to fix
this than use OSS.







Re: [gentoo-user] OSS4

2020-04-13 Thread Jorge Almeida
On Mon, Apr 13, 2020 at 3:07 PM Alexandru N. Barloiu  wrote:
>
> OSS4 is a set of proprietary patches. You would need support in kernel,

That's the problem...

> and support at an application level to use it. Not sure if USE=oss will
> work with OSS4, but one thing I know for sure is that you would need to
> get the patches from 4front technologies. And given that they keep
> moving the license...
I was under the impression that it is open source (contrary to version
3)? Wrong?

>why would you?

desperation?  ALSA is 22 years old, and they couldn't find the time to
write documentation. It will not happen. When it works, it works. It
works for me re hearing sound, but no joy with my recently bought
micro. Maybe it's something as trivial as a faulty cable, but the
current plague doesn't make it easier to get a replacement to try...

Jorge
>



Re: [gentoo-user] OSS4

2020-04-13 Thread Alexandru N. Barloiu
OSS4 is a set of proprietary patches. You would need support in kernel,
and support at an application level to use it. Not sure if USE=oss will
work with OSS4, but one thing I know for sure is that you would need to
get the patches from 4front technologies. And given that they keep
moving the license... why would you?


On Sun, 2020-04-12 at 21:46 +0100, Jorge Almeida wrote:
> Is it possible to install it?
> Every random page I could find that was gentoo+oss4 related seemed
> old. I know the kernel does not support oss4 at all, any more than
> portage does, but I don't know whether that means it is impossible to
> install.
> Anyone using it?
> 
> Thanks
> 
> Jorge Almeida
> 




Re: [gentoo-user] OSS4

2020-04-13 Thread Jorge Almeida
On Mon, Apr 13, 2020 at 2:47 PM  wrote:
>

>
>
> There is this link:
>
>https://wiki.gentoo.org/wiki/OSS
>
> That seems to say you can still install the real OSS.
>
> The first step is to build a kernel with it included:
>
>Device Drivers  --->
> Sound card support  --->
> --- Sound card support
> < >   Advanced Linux Sound Architecture --->
> < >   Open Sound System (DEPRECATED)  --->

I'm using kernel 5.6.0 (off portage). It doesn't offer the OSS
possibility, deprecated or not: just Advanced Linux Sound Architecture
or nothing.

>
> Of course, since it is marked DEPRECATED, you don't know how well the driver 
> will work.

My card is on-board Intel HD ("product: 200 Series PCH HD Audio"
according to lshw), so I assume it is pretty common...

Thanks

Jorge

>
> Tom Naujokas



Re: [gentoo-user] OSS4

2020-04-13 Thread elu6-u259

    On Sun, Apr 12, 2020 at 10:16 PM Dale  wrote:


    I wasn't sure about it either. I was hoping it would provide
    kernel
    modules that could be used or something like that. Might be worth
    installing and then doing a equery f alsa-oss and see just
    what it does
    include. If it won't help, uninstall and hope for another option.


    Sure, why not. It installs a wrapper, a headings file and a library.


    Surely there is a way to do this, somewhere. :/


    Maybe, unless it is really blocked by the kernel.
    

    Jorge



There is this link:

https://wiki.gentoo.org/wiki/OSS

That seems to say you can still install the real OSS.

The first step is to build a kernel with it included:

   Device Drivers  --->
    Sound card support  --->
    --- Sound card support
    < >   Advanced Linux Sound Architecture --->
    < >   Open Sound System (DEPRECATED) --->

Of course, since it is marked DEPRECATED, you don't know how well the 
driver will work.


Tom Naujokas


Re: [gentoo-user] OSS4

2020-04-12 Thread Jorge Almeida
On Sun, Apr 12, 2020 at 10:16 PM Dale  wrote:
>

> I wasn't sure about it either.  I was hoping it would provide kernel
> modules that could be used or something like that.  Might be worth
> installing and then doing a equery f alsa-oss and see just what it does
> include.  If it won't help, uninstall and hope for another option.

Sure, why not. It installs a wrapper, a headings file and a library.
>
> Surely there is a way to do this, somewhere.  :/

Maybe, unless it is really blocked by the kernel.


Jorge



Re: [gentoo-user] OSS4

2020-04-12 Thread Dale
Jorge Almeida wrote:
> On Sun, Apr 12, 2020 at 9:57 PM Dale  wrote:
>> Jorge Almeida wrote:
>>> Is it possible to install it?
>>> Every random page I could find that was gentoo+oss4 related seemed
>>> old. I know the kernel does not support oss4 at all, any more than
>>> portage does, but I don't know whether that means it is impossible to
>>> install.
>>> Anyone using it?
>>>
>>> Thanks
>>>
>>> Jorge Almeida
>>>
>>>
>>
>> Would this help??
>>
>>
>> root@fireball / # eix alsa-oss
>> * media-libs/alsa-oss
>>  Available versions:  1.1.8 {static-libs ABI_MIPS="n32 n64 o32"
>> ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
>>  Homepage:https://alsa-project.org/
>>  Description: Advanced Linux Sound Architecture OSS
>> compatibility layer
>>
> Nope. That's just Alsa imitating OSS, maybe to accommodate software
> that expects OSS (I may be completely wrong, of course)
>
> Thanks
>
> Jorge
>
>

I wasn't sure about it either.  I was hoping it would provide kernel
modules that could be used or something like that.  Might be worth
installing and then doing a equery f alsa-oss and see just what it does
include.  If it won't help, uninstall and hope for another option. 

Surely there is a way to do this, somewhere.  :/

Dale

:-)  :-) 



Re: [gentoo-user] OSS4

2020-04-12 Thread Jorge Almeida
On Sun, Apr 12, 2020 at 9:57 PM Dale  wrote:
>
> Jorge Almeida wrote:
> > Is it possible to install it?
> > Every random page I could find that was gentoo+oss4 related seemed
> > old. I know the kernel does not support oss4 at all, any more than
> > portage does, but I don't know whether that means it is impossible to
> > install.
> > Anyone using it?
> >
> > Thanks
> >
> > Jorge Almeida
> >
> >
>
>
> Would this help??
>
>
> root@fireball / # eix alsa-oss
> * media-libs/alsa-oss
>  Available versions:  1.1.8 {static-libs ABI_MIPS="n32 n64 o32"
> ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
>  Homepage:https://alsa-project.org/
>  Description: Advanced Linux Sound Architecture OSS
> compatibility layer
>
Nope. That's just Alsa imitating OSS, maybe to accommodate software
that expects OSS (I may be completely wrong, of course)

Thanks

Jorge



Re: [gentoo-user] OSS4

2020-04-12 Thread Dale
Jorge Almeida wrote:
> Is it possible to install it?
> Every random page I could find that was gentoo+oss4 related seemed
> old. I know the kernel does not support oss4 at all, any more than
> portage does, but I don't know whether that means it is impossible to
> install.
> Anyone using it?
>
> Thanks
>
> Jorge Almeida
>
>


Would this help??


root@fireball / # eix alsa-oss
* media-libs/alsa-oss
 Available versions:  1.1.8 {static-libs ABI_MIPS="n32 n64 o32"
ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
 Homepage:    https://alsa-project.org/
 Description: Advanced Linux Sound Architecture OSS
compatibility layer

root@fireball / #


Dale

:-)  :-) 



[gentoo-user] OSS4

2020-04-12 Thread Jorge Almeida
Is it possible to install it?
Every random page I could find that was gentoo+oss4 related seemed
old. I know the kernel does not support oss4 at all, any more than
portage does, but I don't know whether that means it is impossible to
install.
Anyone using it?

Thanks

Jorge Almeida



[gentoo-user] OSS4: no sound with 4GB RAM

2008-11-26 Thread Nikos Chantziaras
I'm on AMD64.  I'm using OSS4 and sound doesn't work with 4GB RAM 
(silence or noise).  Works fine with 2GB.  Anyone encountered something 
like this before?


OSS 4.1_rc2. Kernel 2.6.27.7 (2.6.27-gentoo-r4).