Re: [Alsa-user] Stub for libpulse

2017-03-19 Thread Nicolas George
Le nonidi 29 ventôse, an CCXXV, Ralf Mardorf a écrit :
> Worked for me with Firefox 52.0 when at least making a test with
> YouTube. Does it work for you with YouTube?
> 
> $ pacman -Q apulse-git 
> apulse-git 0.1.7_13_gf445ae7-1
> 
> I can't test ogg at the moment, since I now have Firefox with alsa
> enabled installed.

Thanks for the info. I tested with ogg123 because I did not want to
upgrade Firefox before being sure to have a solution. Strangely enough,
it works with Firefox indeed (tested with "Für Elise" from Wikipedia
rather than youtube, but that should not make any difference). Good
news.

Regards,

-- 
  Nicolas George

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Stub for libpulse

2017-03-19 Thread Nicolas George
Hi.

It seems that the Mozilla people have had the brilliant idea, starting
with Firefox 52, to disable ALSA by default and only support PULSE.
Apparently, they intend to remove the support for raw ALSA completely.

Well, I do not want the PULSE server anywhere near my systems, and I
believe many people here think the same.

Does anyone know of a libpulse stub that provides the basic API but
routes all the calls directly to libasound / ALSA?

I have found this project:
https://github.com/i-rinat/apulse
but it seems unable to get something as simple as ogg123 working.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Enabling sound on Baytrail system

2015-06-28 Thread Nicolas George
Hi.

I am trying to get the audio controller working on a Lenovo Miix 3-1030
system, which is based on the Baytrail SST chipset.

Some people have reported success on a similar (but not identical) setup.
Currently, the further I could get is this:

With the 4.1 kernel, when loading the snd_soc_sst_baytrail_pcm module, I get
the following error messages:

[6.208365] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.212216] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.244200] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.244691] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.268335] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.435501] (NULL device *): ipc: error DSP boot timeout

and nothing more happens except the byt-rt5640 message gets printed a few
more times later.

The list in /proc/asound/cards is empty.

The firmware file, intel/fw_sst_0f28.bin-48kHz_i2s_master, that I use
comes from there:
https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
Its size is exactly 265684 and its SHA-1 is
2ddd16db3f587584d185ab7c0e2094dfb54b3828.

Removing it causes a kernel message, so this file is used.

Following hints on webforums, I also tried renaming the
fw_sst_0f28.bin-i2s_master file from this repository:
https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/
(size 265892, SHA-1 46385c87d5e4d8267007d4353f7627db9715ca3a), with no
changes.

At some point, I managed to have cards detected (present in /proc) but I
have not been able to reproduce the setting, and it did produce errors when
trying to play something. Different kernel config and versions gave slightly
different error messages, but this seems to be the most reliable config for
the most recent kernel.

Sound works with the OEM windows that I keep for just that kind of testing
until mostly everything works.

The entries in /sys/bus/acpi/devices/ (unfortunately, these are much less
verbose than the corresponding lspci output) that seems relevant are:

10EC5640:00/adr:0x
10EC5640:00/hid:10EC5640
10EC5640:00/modalias:acpi:10EC5640:10EC5640:
10EC5640:00/path:\_SB_.I2C2.RTEK
10EC5640:00/power_state:D0
10EC5640:00/status:15
10EC5640:00/uevent:MODALIAS=acpi:10EC5640:10EC5640:
10EC5640:00/uid:1
- corresponding module snd-soc-rt5640 loaded

80860F28:00/adr:0x
80860F28:00/hid:80860F28
80860F28:00/modalias:acpi:80860F28:80860F28:
80860F28:00/path:\_SB_.LPEA
80860F28:00/power_state:D0
80860F28:00/real_power_state:D0
80860F28:00/status:15
80860F28:00/uevent:MODALIAS=acpi:80860F28:80860F28:
80860F28:00/uid:1
- corresponding modules snd-soc-sst-acpi and snd-intel-sst-acpi loaded

ADMA0F28:00/adr:0x
ADMA0F28:00/hid:ADMA0F28
ADMA0F28:00/modalias:acpi:ADMA0F28:ADMA0F28:
ADMA0F28:00/path:\_SB_.LPEA.ADMA
ADMA0F28:00/status:0
ADMA0F28:00/uevent:MODALIAS=acpi:ADMA0F28:ADMA0F28:
ADMA0F28:00/uid:1
- Intel Audio DMA, no module found for this

AMCR0F28:00/adr:0x
AMCR0F28:00/hid:AMCR0F28
AMCR0F28:00/modalias:acpi:AMCR0F28:AMCR0F28:
AMCR0F28:00/path:\_SB_.AMCR
AMCR0F28:00/status:0
AMCR0F28:00/uevent:MODALIAS=acpi:AMCR0F28:AMCR0F28:
AMCR0F28:00/uid:1
- Intel Audio Machine Driver, no module found for this

SSPX:00/adr:0x
SSPX:00/hid:SSPX
SSPX:00/modalias:acpi:SSPX:SSPX:
SSPX:00/path:\_SB_.LPEA.SSP1
SSPX:00/status:0
SSPX:00/uevent:MODALIAS=acpi:SSPX:SSPX:
SSPX:00/uid:1
- Intel SSP Device, no module found for this

Any help for that would be appreciated.

For reference, my current efforts for configuring that hardware are
summarized here:
http://nsup.org/~george/comp/linux_lenovo_miix3/

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Enabling sound on Baytrail system

2015-06-28 Thread Nicolas George
Hi.

I am trying to get the audio controller working on a Lenovo Miix 3-1030
system, which is based on the Baytrail SST chipset.

Some people have reported success on a similar (but not identical) setup.
Currently, the further I could get is this:

With the 4.1 kernel, when loading the snd_soc_sst_baytrail_pcm module, I get
the following error messages:

[6.208365] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.212216] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.244200] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.244691] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.268335] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not 
registered
[6.435501] (NULL device *): ipc: error DSP boot timeout

and nothing more happens except the byt-rt5640 message gets printed a few
more times later.

The list in /proc/asound/cards is empty.

The firmware file, intel/fw_sst_0f28.bin-48kHz_i2s_master, that I use
comes from there:
https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
Its size is exactly 265684 and its SHA-1 is
2ddd16db3f587584d185ab7c0e2094dfb54b3828.

Removing it causes a kernel message, so this file is used.

Following hints on webforums, I also tried renaming the
fw_sst_0f28.bin-i2s_master file from this repository:
https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/
(size 265892, SHA-1 46385c87d5e4d8267007d4353f7627db9715ca3a), with no
changes.

At some point, I managed to have cards detected (present in /proc) but I
have not been able to reproduce the setting, and it did produce errors when
trying to play something. Different kernel config and versions gave slightly
different error messages, but this seems to be the most reliable config for
the most recent kernel.

Sound works with the OEM windows that I keep for just that kind of testing
until mostly everything works.

The entries in /sys/bus/acpi/devices/ (unfortunately, these are much less
verbose than the corresponding lspci output) that seems relevant are:

10EC5640:00/adr:0x
10EC5640:00/hid:10EC5640
10EC5640:00/modalias:acpi:10EC5640:10EC5640:
10EC5640:00/path:\_SB_.I2C2.RTEK
10EC5640:00/power_state:D0
10EC5640:00/status:15
10EC5640:00/uevent:MODALIAS=acpi:10EC5640:10EC5640:
10EC5640:00/uid:1
- corresponding module snd-soc-rt5640 loaded

80860F28:00/adr:0x
80860F28:00/hid:80860F28
80860F28:00/modalias:acpi:80860F28:80860F28:
80860F28:00/path:\_SB_.LPEA
80860F28:00/power_state:D0
80860F28:00/real_power_state:D0
80860F28:00/status:15
80860F28:00/uevent:MODALIAS=acpi:80860F28:80860F28:
80860F28:00/uid:1
- corresponding modules snd-soc-sst-acpi and snd-intel-sst-acpi loaded

ADMA0F28:00/adr:0x
ADMA0F28:00/hid:ADMA0F28
ADMA0F28:00/modalias:acpi:ADMA0F28:ADMA0F28:
ADMA0F28:00/path:\_SB_.LPEA.ADMA
ADMA0F28:00/status:0
ADMA0F28:00/uevent:MODALIAS=acpi:ADMA0F28:ADMA0F28:
ADMA0F28:00/uid:1
- Intel Audio DMA, no module found for this

AMCR0F28:00/adr:0x
AMCR0F28:00/hid:AMCR0F28
AMCR0F28:00/modalias:acpi:AMCR0F28:AMCR0F28:
AMCR0F28:00/path:\_SB_.AMCR
AMCR0F28:00/status:0
AMCR0F28:00/uevent:MODALIAS=acpi:AMCR0F28:AMCR0F28:
AMCR0F28:00/uid:1
- Intel Audio Machine Driver, no module found for this

SSPX:00/adr:0x
SSPX:00/hid:SSPX
SSPX:00/modalias:acpi:SSPX:SSPX:
SSPX:00/path:\_SB_.LPEA.SSP1
SSPX:00/status:0
SSPX:00/uevent:MODALIAS=acpi:SSPX:SSPX:
SSPX:00/uid:1
- Intel SSP Device, no module found for this

Any help for that would be appreciated.

For reference, my current efforts for configuring that hardware are
summarized here:
http://nsup.org/~george/comp/linux_lenovo_miix3/

Regards,

-- 
  Nicolas George

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Different PCM depending on the number of channels

2007-05-02 Thread Nicolas George
Hi.

Is it possible to make a PCM a that is a proxy (plug, whatever) for
different PCM a1 and a2 depending on the number of channels is requested?

In other words, I would like:

aplay -c 6 -D pcm-a

to be equivalent to:

aplay -C 6 -D pcm-a1

while:

aplay -c 2 -D pcm-a

leads to:

aplay -C 2 -D pcm-a2

Is there a way?


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] multi over dmix: no sound

2006-12-19 Thread Nicolas George
Le septidi 27 frimaire, an CCXV, Ingo Müller a écrit :
 I'm very much interested in that issue, too. I had the same problem,
 having PCM not usable errors on some setups I tried. I finally gave up
 thinking that it just can't be done. Hoping that it will be possible one
 day, I filed a feature request. Maybe you could add a comment to show,
 that I'm not the only one desiring such a feature. If you should find a
 way how to do it with the current versions, please tell me how! Thanks
 in advance.

Hi.

I am glad I am not the only one with the problem. I did not manage to find
your feature request. But I believe that if you did nothing wrong, nor I,
the problem should be in a bug tracker and not a feature wish list. If it is
not possible to use multi to bind two dmix, it should at least be written in
the documentation.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] multi over dmix: no sound

2006-12-17 Thread Nicolas George
Hi.

Consider the following .asoundrc:

pcm.mixer {
  type dmix
  ipc_key 1024
  slave {
pcm {
  type hw
  card 0
}
period_time 0
period_size 1024
buffer_size 32768
rate 48000
  }
  bindings {
0 0
1 1
  }
}

pcm.multi {
  type multi
  slaves {
a {
  pcm mixer
  channels 2
}
  }
  bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
  }
}

Obviously the multi plugin is useless here, but it is a minimal test case
for a problem I had with a real situation.

If I play something through the mixer PCM, I get sound all right. But if I
send it through the multi PCM, I only get silence. Changing mixer to
hw:0 gets the sound back, but loses the mixer.

It is true with libasound 1.0.12 and .13 from Debian on two different
systems.

Does anyone see what I am doing wrong?


Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user