Skip to contentSkip to conversation

Unsupported Valley View 'LPE' adapter?

DISCUSSION Adam Williamson 6 participants 14 messages Nov 30, 2013 – Feb 27, 2014

lore
Share & tools
lore
#0 lore raw

Hi, folks. I recently bought a Dell Venue 8 Pro -
a Bay Trail / Valley View-based Intel tablet - to try and get Fedora running on it. Among the many things I'm currently fighting :) , the sound doesn't work. snd-hda-intel is not loaded at all, and there are no audio devices present at any level.

In Windows' Device Manager I see an 'Intel SST Audio Device' with PCI ID 0x86:0f28 . Indeed, the PCI ID database has this listed as "ValleyView LPE Audio Controller" - http://pci-ids.ucw.cz/read/PC/8086/0f28 . But hda-intel does not have 0f28 as a supported device. The commit for 'Bay Trail' audio support added the ID 0f04:

https://lkml.org/lkml/2013/5/16/38

So...what is this 0f28? Is support for it going to be added? Is there any info I can provide to help? (I can boot Linux on the tablet and get info out of it _just barely_, but it's pretty painful - there's no wifi and an install to 'disk' (really a usb stick) doesn't work too well, so I'm stuck working in a live image with no network).

Signature · 4 lines
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
#1 lore raw
Quoted 6 lines · Adam Williamson

In Windows' Device Manager I see an 'Intel SST Audio Device' with PCI ID 0x86:0f28. Indeed, the PCI ID database has this listed as "ValleyView LPE Audio Controller" - http://pci-ids.ucw.cz/read/PC/8086/0f28 . But hda-intel does not have 0f28 as a supported device.

So...what is this 0f28?

It is not an HDA controller. The SST thingy uses I²S codecs.

Quoted 1 line

Is support for it going to be added?

There is something in sound/soc/mid-x86/, but that is only for the Medfield platform. The PCI SST driver that was not merged four years ago used the ID 080a.

Only Intel knows.

Quoted 1 line

Is there any info I can provide to help?

"lspci -vv -d 8086:0f28"?

Regards,
Clemens

#2 lore raw
Quoted 10 lines · Clemens Ladisch
Quoted 6 lines · Adam Williamson

In Windows' Device Manager I see an 'Intel SST Audio Device' with PCI ID 0x86:0f28. Indeed, the PCI ID database has this listed as "ValleyView LPE Audio Controller" - http://pci-ids.ucw.cz/read/PC/8086/0f28 . But hda-intel does not have 0f28 as a supported device.

So...what is this 0f28?

It is not an HDA controller. The SST thingy uses I²S codecs.

Quoted 7 lines
Quoted 1 line

Is support for it going to be added?

There is something in sound/soc/mid-x86/, but that is only for the Medfield platform. The PCI SST driver that was not merged four years ago used the ID 080a.

Only Intel knows.

Ah! I did see that stuff, but it seemed so old it couldn't be relevant...

Quoted 3 lines
Quoted 1 line

Is there any info I can provide to help?

"lspci -vv -d 8086:0f28"?

OK, will get that for you shortly. Thanks for the info.

Signature · 9 lines
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#3 lore raw
Quoted 10 lines · Adam Williamson
Quoted 9 lines · Clemens Ladisch
Quoted 6 lines · Adam Williamson

In Windows' Device Manager I see an 'Intel SST Audio Device' with PCI ID 0x86:0f28. Indeed, the PCI ID database has this listed as "ValleyView LPE Audio Controller" - http://pci-ids.ucw.cz/read/PC/8086/0f28 . But hda-intel does not have 0f28 as a supported device.

So...what is this 0f28?

It is not an HDA controller. The SST thingy uses I²S codecs.

yes it doesnt look like HDA, but the SoC might have one which can be enabled in BIOS...

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines

Is support for it going to be added?

There is something in sound/soc/mid-x86/, but that is only for the Medfield platform. The PCI SST driver that was not merged four years ago used the ID 080a.

Only Intel knows.

I think Liam or Jarkko might have something for you...

--
~Vinod

Quoted 15 lines

Ah! I did see that stuff, but it seemed so old it couldn't be relevant...

Quoted 3 lines
Quoted 1 line

Is there any info I can provide to help?

"lspci -vv -d 8086:0f28"?

OK, will get that for you shortly. Thanks for the info.

Signature · 4 lines
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
#4 lore raw
Quoted 8 lines · Vinod Koul
Quoted 7 lines · Adam Williamson
Quoted 6 lines · Clemens Ladisch
Quoted 5 lines · Adam Williamson

In Windows' Device Manager I see an 'Intel SST Audio Device' with PCI ID 0x86:0f28. Indeed, the PCI ID database has this listed as "ValleyView LPE Audio Controller" - http://pci-ids.ucw.cz/read/PC/8086/0f28 . But hda-intel does not have 0f28 as a supported device.

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

So...what is this 0f28?

It is not an HDA controller. The SST thingy uses I²S codecs.

yes it doesnt look like HDA, but the SoC might have one which can be enabled in BIOS...

I don't think I saw anything like that. The firmware (pleeeeeease, call it 'the firmware', I'm fighting a heroic (quixotic?) but retreating battle against the trend to call a PC's firmware 'the BIOS' even when it's not frickin' BIOS) is pretty barebones, it has 'on/off' switches for various bits of hardware, but nothing more than that, and I'm pretty sure they're all set 'on' OOTB, inc. audio.

Quoted 10 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines

Is support for it going to be added?

There is something in sound/soc/mid-x86/, but that is only for the Medfield platform. The PCI SST driver that was not merged four years ago used the ID 080a.

Only Intel knows.

I think Liam or Jarkko might have something for you...

Hope so! Thanks for the reply and the redirect.

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Is there any info I can provide to help?

"lspci -vv -d 8086:0f28"?

OK, will get that for you shortly. Thanks for the info.

I'm just about to build a new test image which I'm throwing a couple of kernel patches for other bugs into, I'll grab this lspci output while I'm testing that.

Signature · 9 lines
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#5 lore raw
Quoted 8 lines · Adam Williamson
Quoted 3 lines
Quoted 1 line
Quoted 1 line

Only Intel knows.

I think Liam or Jarkko might have something for you...

Hope so! Thanks for the reply and the redirect.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

Is there any info I can provide to help?

Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

"lspci -vv -d 8086:0f28"?

OK, will get that for you shortly. Thanks for the info.

I'm just about to build a new test image which I'm throwing a couple of kernel patches for other bugs into, I'll grab this lspci output while I'm testing that.

So I got time today to poke at this device again, and here's something:
it's not actually a PCI device at all, I missed that. Neither lspci (Linux) nor pcitree (Windows) shows a PCI device with ID 8086:0f28. It must be connected some other way, SDIO or something. So, I don't know how to get more info on it, really.

I'll file a bug on this device with all the details I have attached, for now, I guess.

Signature · 4 lines
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
#6 lore raw
Quoted 18 lines · Adam Williamson
Quoted 8 lines · Adam Williamson
Quoted 3 lines
Quoted 1 line
Quoted 1 line

Only Intel knows.

I think Liam or Jarkko might have something for you...

Hope so! Thanks for the reply and the redirect.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

Is there any info I can provide to help?

Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

"lspci -vv -d 8086:0f28"?

OK, will get that for you shortly. Thanks for the info.

I'm just about to build a new test image which I'm throwing a couple of kernel patches for other bugs into, I'll grab this lspci output while I'm testing that.

Quoted 8 lines

So I got time today to poke at this device again, and here's something:
it's not actually a PCI device at all, I missed that. Neither lspci (Linux) nor pcitree (Windows) shows a PCI device with ID 8086:0f28. It must be connected some other way, SDIO or something. So, I don't know how to get more info on it, really.

I'll file a bug on this device with all the details I have attached, for now, I guess.

...or, since the bug tracker is apparently down, I guess I can't. What's the next step? Just wait and see if I hear from someone with an @intel.com ? :/

I honestly wasn't expecting it to be THIS difficult to get almost anything working on a vlv tablet :(

Signature · 4 lines
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
#7 lore raw

At Sun, 29 Dec 2013 18:23:12 -0800,

Quoted 29 lines · Adam Williamson
Quoted 18 lines · Adam Williamson
Quoted 8 lines · Adam Williamson
Quoted 3 lines
Quoted 1 line
Quoted 1 line

Only Intel knows.

I think Liam or Jarkko might have something for you...

Hope so! Thanks for the reply and the redirect.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

Is there any info I can provide to help?

Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

"lspci -vv -d 8086:0f28"?

OK, will get that for you shortly. Thanks for the info.

I'm just about to build a new test image which I'm throwing a couple of kernel patches for other bugs into, I'll grab this lspci output while I'm testing that.

Quoted 8 lines

So I got time today to poke at this device again, and here's something:
it's not actually a PCI device at all, I missed that. Neither lspci (Linux) nor pcitree (Windows) shows a PCI device with ID 8086:0f28. It must be connected some other way, SDIO or something. So, I don't know how to get more info on it, really.

I'll file a bug on this device with all the details I have attached, for now, I guess.

Quoted 6 lines

...or, since the bug tracker is apparently down, I guess I can't. What's the next step? Just wait and see if I hear from someone with an @intel.com ? :/

I honestly wasn't expecting it to be THIS difficult to get almost anything working on a vlv tablet :(

Ask Intel guys at best. It must be a device controlled by i2c/spi/whatever, not a standard HD-audio. IIRC, the control can be taken from ACPI, but it's not implemented properly yet.

Takashi

#8 lore raw

This is a pci device for which the driver is not yet available. I went through the intel atom processor manual and found that it has 3 I2S ports, has its
own DMA. The Soc is interfaced with LPE audio core via internal PCI bus. Did you guys hear anything from intel about the driver support. Any inputs would be of great help please

#9 lore raw
Quoted 7 lines · bobby

This is a pci device for which the driver is not yet available. I went through the intel atom processor manual and found that it has 3 I2S ports, has its
own DMA. The Soc is interfaced with LPE audio core via internal PCI bus. Did you guys hear anything from intel about the driver support. Any inputs would be of great help please

Jan Michael Brummer at Intel pointed this out to me recently:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/lrg/asoc/+/intel/haswell-audio-dsp%5E

looks like it's being worked on.

Signature · 4 lines
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
#10 lore raw
Quoted 9 lines · Adam Williamson
Quoted 7 lines · bobby

This is a pci device for which the driver is not yet available. I went through the intel atom processor manual and found that it has 3 I2S ports, has its
own DMA. The Soc is interfaced with LPE audio core via internal PCI bus. Did you guys hear anything from intel about the driver support. Any inputs would be of great help please

Quoted 5 lines

Jan Michael Brummer at Intel pointed this out to me recently:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/lrg/asoc/+/intel/haswell-audio-dsp%5E

looks like it's being worked on.

Heh, that's actually just a mirror of the git ASoC branch. All those patches went through this very list last week. I don't know precisely how the upstreaming process goes for this stuff, but I'm guessing it'll wind up in 3.14 or 3.15.

(I may try building the patches into my Fedlet kernel builds and see if that gets anywhere...)

Signature · 4 lines
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
#11 lore raw
Quoted 16 lines · Adam Williamson
Quoted 9 lines · Adam Williamson
Quoted 7 lines · bobby

This is a pci device for which the driver is not yet available. I went through the intel atom processor manual and found that it has 3 I2S ports, has its
own DMA. The Soc is interfaced with LPE audio core via internal PCI bus. Did you guys hear anything from intel about the driver support. Any inputs would be of great help please

Quoted 5 lines

Jan Michael Brummer at Intel pointed this out to me recently:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/lrg/asoc/+/intel/haswell-audio-dsp%5E

looks like it's being worked on.

Quoted 7 lines

Heh, that's actually just a mirror of the git ASoC branch. All those patches went through this very list last week. I don't know precisely how the upstreaming process goes for this stuff, but I'm guessing it'll wind up in 3.14 or 3.15.

(I may try building the patches into my Fedlet kernel builds and see if that gets anywhere...)

FWIW, I tried building a 3.14rc3 kernel with these patches applied and the drivers enabled as modules. On boot on a Dell Venue 8 Pro, all the relevant modules are loaded, but there's no ALSA device, and no obviously useful errors in any logs, or useful output from alsa-info.sh. Is it expected that the driver doesn't actually work yet? Per the recent commits, do I need some kind of firmware? Any debugging that would be useful?

Thanks.

Signature · 4 lines
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
#12 lore raw
Quoted 25 lines · Adam Williamson
Quoted 16 lines · Adam Williamson
Quoted 9 lines · Adam Williamson
Quoted 7 lines · bobby

This is a pci device for which the driver is not yet available. I went through the intel atom processor manual and found that it has 3 I2S ports, has its
own DMA. The Soc is interfaced with LPE audio core via internal PCI bus. Did you guys hear anything from intel about the driver support. Any inputs would be of great help please

Quoted 5 lines

Jan Michael Brummer at Intel pointed this out to me recently:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/lrg/asoc/+/intel/haswell-audio-dsp%5E

looks like it's being worked on.

Quoted 7 lines

Heh, that's actually just a mirror of the git ASoC branch. All those patches went through this very list last week. I don't know precisely how the upstreaming process goes for this stuff, but I'm guessing it'll wind up in 3.14 or 3.15.

(I may try building the patches into my Fedlet kernel builds and see if that gets anywhere...)

Quoted 7 lines

FWIW, I tried building a 3.14rc3 kernel with these patches applied and the drivers enabled as modules. On boot on a Dell Venue 8 Pro, all the relevant modules are loaded, but there's no ALSA device, and no obviously useful errors in any logs, or useful output from alsa-info.sh. Is it expected that the driver doesn't actually work yet? Per the recent commits, do I need some kind of firmware? Any debugging that would be useful?

Sorry, we're not finished with the upstreaming yet. The current patches upstream are for the low level parts of the Intel DSP drivers. Jarkko and I still have to upstream the upper layers of the drivers (probably today) and you will also need firmware.

Once upstream the drivers will support Valley View, Baytrail, Haswell and Broadwell. The firmware for Baytrail and Valleyview will be available shortly too.

Liam

#13 lore raw
Quoted 8 lines · Liam Girdwood <liam.r.girdwood <at> linux.intel.com> writes:
Quoted 6 lines · Adam Williamson
Quoted 5 lines · Adam Williamson
Quoted 4 lines · Adam Williamson
Quoted 3 lines · bobby

This is a pci device for which the driver is not yet available. I went through the intel atom processor manual and found that it

has 3 I2S

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

ports, has its
own DMA. The Soc is interfaced with LPE audio core via internal

PCI bus.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Did you guys hear anything from intel about the driver support.

Any inputs

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

would be of great help please

Jan Michael Brummer at Intel pointed this out to me recently:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/lrg/asoc/+/intel/h
aswell-audio-dsp%5E

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

looks like it's being worked on.

Heh, that's actually just a mirror of the git ASoC branch. All those patches went through this very list last week. I don't know precisely how the upstreaming process goes for this stuff, but I'm guessing

it'll

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

wind up in 3.14 or 3.15.

(I may try building the patches into my Fedlet kernel builds and see

if

Quoted 6 lines
Quoted 6 lines
Quoted 1 line

that gets anywhere...)

FWIW, I tried building a 3.14rc3 kernel with these patches applied and the drivers enabled as modules. On boot on a Dell Venue 8 Pro, all the relevant modules are loaded, but there's no ALSA device, and no obviously useful errors in any logs, or useful output from alsa-

info.sh.

Quoted 1 line
Quoted 1 line

Is it expected that the driver doesn't actually work yet? Per the

recent

Quoted 8 lines
Quoted 2 lines

commits, do I need some kind of firmware? Any debugging that would be useful?

Sorry, we're not finished with the upstreaming yet. The current patches upstream are for the low level parts of the Intel DSP drivers. Jarkko and I still have to upstream the upper layers of the drivers (probably today) and you will also need firmware.

Quoted 7 lines

Once upstream the drivers will support Valley View, Baytrail, Haswell and Broadwell. The firmware for Baytrail and Valleyview will be available shortly too.

Liam

Thanks Liam and Jarkko saw your patches related to the Intel SST Audio Platform drivers, I hope the upstreaming process is complete for this module. Please let us know when the firmware is available.

I have few question here, the i2s mode should be enabled in the platform drivers right.

In the Bayley Bay bios I saw that the LPE audio could be enumerated via PCI or ACPI, the patches I saw mostly cover the ACPI mode. Will the PCI mode be covered in the patches.

Thanks in Advance
Bobby