Monday, 2015-11-09

*** bcran <bcran!~bcran@muon.bluestop.org> has quit IRC00:18
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC00:25
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard00:27
*** tjt263 <tjt263!~RAPSCA77I@unaffiliated/tjt263> has joined #minnowboard01:26
*** metastableB_ is now known as metastableb02:29
*** metastableb is now known as metastableB_02:30
*** sjolley1 <sjolley1!sjolley@nat/intel/x-npqsbvphcsztrmxn> has joined #minnowboard03:10
*** sjolley1 <sjolley1!sjolley@nat/intel/x-npqsbvphcsztrmxn> has quit IRC03:11
*** sjolley <sjolley!sjolley@nat/intel/x-fcxzzjrxeagqzvoi> has quit IRC03:13
*** sjolley <sjolley!sjolley@nat/intel/x-vgbhnhkzqnyzyswb> has joined #minnowboard03:14
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC03:34
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard03:40
*** aholler_ <aholler_!~aholler@p4FC36FE8.dip0.t-ipconnect.de> has joined #minnowboard04:22
*** aholler <aholler!~aholler@p4FC36AB6.dip0.t-ipconnect.de> has quit IRC04:25
*** jimt1 <jimt1!~Adium@65-36-116-65.dyn.grandenetworks.net> has quit IRC04:42
*** tjt263 <tjt263!~RAPSCA77I@unaffiliated/tjt263> has quit IRC04:56
*** jimt1 <jimt1!~Adium@208.123.73.28> has joined #minnowboard05:24
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC05:32
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard05:33
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC05:53
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard05:54
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC06:14
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard06:15
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC06:35
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard06:41
*** diana_olhovik_ <diana_olhovik_!~quassel@cn-bgp-nat.portaone.com> has joined #minnowboard07:02
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC07:33
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard07:33
*** bluelightning <bluelightning!~paul@ip5f5ae6b8.dynamic.kabel-deutschland.de> has joined #minnowboard08:01
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard08:01
*** patrik_work <patrik_work!patrik@nat/intel/x-wgjqnttbbfaekecc> has joined #minnowboard08:10
*** leon-anavi <leon-anavi!~leon@5.53.208.64> has joined #minnowboard08:37
*** tjt263 <tjt263!~RAPSCA77I@unaffiliated/tjt263> has joined #minnowboard09:03
*** sjolley <sjolley!sjolley@nat/intel/x-vgbhnhkzqnyzyswb> has quit IRC09:20
*** sjolley <sjolley!~sjolley@134.134.137.73> has joined #minnowboard09:20
zentrumhmm, the realtek NIC drives me crazy...09:49
zentrumwe already have i210 and i350 series nic drivers, but no rtl811109:50
*** tjt263 <tjt263!~RAPSCA77I@unaffiliated/tjt263> has quit IRC10:40
*** tjt263 <tjt263!~RAPSCA77I@unaffiliated/tjt263> has joined #minnowboard10:40
*** __av500__ is now known as av50011:28
*** nicksydney_ <nicksydney_!~quassel@214.236.dsl.syd.iprimus.net.au> has joined #minnowboard11:33
*** nicksydney <nicksydney!~quassel@215.17-27-211.dynamic.dsl.syd.iprimus.net.au> has quit IRC11:35
*** pidge <pidge!~pidge@94.2.218.177> has joined #minnowboard12:27
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC12:30
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard12:31
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC12:52
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard12:54
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC13:13
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard13:15
*** lamego <lamego!~jose@134.134.139.70> has joined #minnowboard13:50
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC13:56
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard14:00
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC14:19
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard14:21
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC14:40
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard14:51
*** cbrake <cbrake!~Thunderbi@cable2-pool191-cs-134.doycomm.com> has quit IRC15:01
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC15:16
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard15:17
*** cbrake <cbrake!~Thunderbi@cable2-pool191-cs-134.doycomm.com> has joined #minnowboard15:41
*** cbrake <cbrake!~Thunderbi@cable2-pool191-cs-134.doycomm.com> has quit IRC15:46
*** meflin <meflin!~meflin@c-50-170-180-175.hsd1.co.comcast.net> has joined #minnowboard15:46
*** cbrake <cbrake!~Thunderbi@cable2-pool191-cs-134.doycomm.com> has joined #minnowboard15:50
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC15:56
*** emeb <emeb!~ericb@ip68-2-68-52.ph.ph.cox.net> has joined #minnowboard16:00
*** prpplague <prpplague!~David@134.134.139.76> has joined #minnowboard16:07
*** cbrake <cbrake!~Thunderbi@cable2-pool191-cs-134.doycomm.com> has quit IRC16:25
*** sjolley <sjolley!~sjolley@134.134.137.73> has quit IRC16:29
*** cbrake <cbrake!~Thunderbi@cable2-pool191-cs-134.doycomm.com> has joined #minnowboard16:31
*** cbrake <cbrake!~Thunderbi@cable2-pool191-cs-134.doycomm.com> has quit IRC16:32
*** diana_olhovik_ <diana_olhovik_!~quassel@cn-bgp-nat.portaone.com> has quit IRC16:33
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard16:37
*** cbrake <cbrake!~Thunderbi@cable2-pool191-cs-134.doycomm.com> has joined #minnowboard16:39
*** sjolley <sjolley!~sjolley@134.134.139.78> has joined #minnowboard17:00
*** leon-anavi <leon-anavi!~leon@5.53.208.64> has quit IRC17:12
*** diana_olhovik <diana_olhovik!~quassel@213.179.252.217> has joined #minnowboard17:19
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC17:20
*** martinroth <martinroth!martinroth@nat/google/x-gebynvgkadnhybef> has joined #minnowboard17:26
*** nicksydney <nicksydney!~quassel@214.236.dsl.syd.iprimus.net.au> has joined #minnowboard17:34
*** nicksydney_ <nicksydney_!~quassel@214.236.dsl.syd.iprimus.net.au> has quit IRC17:35
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard17:38
*** MikeP <MikeP!d0b84d7a@gateway/web/freenode/ip.208.184.77.122> has joined #minnowboard17:48
*** diana_olhovik <diana_olhovik!~quassel@213.179.252.217> has quit IRC17:52
MikePHi I have a MinnowBoard Max (Baytrail SoC, ValleyView CPU), I'm attempting to write a sound driver with ASoC/ALSA to get my sound card to work. The Sounds Card PCM is over I2S. Searching for I2S bus driver, I found this mailing thread https://www.mail-archive.com/elinux-minnowboard@lists.elinux.org/msg01572.html So I understand that I need to somehow communicate through LPE to get the I2S working. However I'm having issues with t17:53
MikePkenel 4.3.0-040300rc.17:54
*** deubeuliou` <deubeuliou`!David@nat/intel/x-urqbwrgarrxsngty> has quit IRC17:54
myselfMikeP: your first line truncated at "issues with t"17:55
MikePYes. Sorry about that. I'm trying to describe the issue, I'm still in the process:)17:56
MikePFirst of my LPE controller doesn't show up when I enable it in the Bios with ACPI. It did show up with lshw only after I enabled it with "enable LPE with PCI" in the bios, which I don't really understand what it means, but at least the LPE is showing up now17:56
MikePLater I was trying to follow the example in the mail-archive I just mentioned, however I'm getting an error when trying to register the snd_soc_card, that says that my baytrail pcm driver is not registered17:57
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC17:58
MikePSo here are more details on what I did, and the results:17:58
MikePI decided to test this combination - platform driver - snd-soc-sst-baytrail-pcm18:00
MikePsnd-so0max98090 codec18:00
MikePand to modify the machine driver :snd-soc-sst-byt-max98090-mach, and by modify I mean simply force it's probe as I don't have this card ( I just want to see if I can at least register the snd_card)18:02
MikePSo I did, and I get the error :18:02
MikePone sec. I want to copy it18:03
MikeP"ASoC: CPU DAI baytrail-pcm-audio not registered"18:05
MikePwhich tells me the baytrail-pcm platform is not probed -> the device is not recognized...18:05
MikePI want to mention that I installed the firmware: fw_sst_0f28.bin-48kHz_i2s_master from https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware/+/refs/heads/master/intel/fw_sst_0f28.bin-48kHz_i2s_master18:06
MikePI would highly appreciate your help, I'm trying to understand if there's anything wrong with the board, with my distribution / configuration/ or I'm missing something obvious. Thank you18:08
myselfwell I've got no clue but that's all fascinating. Can you help me understand why you tried to force a card you don't have?18:11
MikePSure.18:11
MikePThe reason I'm trying to do it, as I started writing the driver for my card, I ran into the error : "ASoC: CPU DAI baytrail-pcm-audio not registered".18:12
MikePSo I figured, maybe I'm missing something. So lets try and run something that is in the mainstream kernel, and if I get different errors, or it's simply not emitting sound. That's fine. But instead I see the same issue, that my platform driver, which is independent from the sound card is not registered18:14
MikePDoes anyone have any experience here with ASoC and can lend me a clue or a direction?18:16
warthog9MikeP: second, let me read back18:18
MikePsure. thx18:20
*** xkonni <xkonni!~konni@5.189.143.46> has joined #minnowboard18:22
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC18:23
warthog9MikeP: so what exactly do you have?  You've snagged the firmware, and you have your codec driver, have you built a machine specific driver I.E. board file?18:25
MikePNo board file, I am using the machine driver example byt-max98090. And as I mentioned I force probe it just to see if I can get past the snd_soc_card_register18:27
MikePWhen I say I force probe it, I just create a fake device driver to emulate as if that sound card is there.18:28
MikePAnd as I mentioned I'm doing it because when I started writing my machine driver I couldn't register the card because of this error "ASoC: CPU DAI baytrail-pcm-audio not registered"18:29
MikePplz let me know if it doesn't make sense to you what I'm doing18:29
warthog9MikeP: it doesn't exactly18:33
warthog9so the machine driver defines a bunch of things18:34
warthog9specifically like where the bus is, what drivers should be involved, etc18:34
warthog9I'd stop trying to load a driver that you don't have hardware for18:35
warthog9that's just going to lead to a lot of work and confusion18:35
MikePYou are talking about the board file I'm guessing (I'm not very familiar with them but I kind of know what they are) what I have when I talk about machine driver as this http://lxr.free-electrons.com/source/sound/soc/intel/byt-max98090.c?v=3.1618:36
MikePYes I agree with you18:36
MikePSo let me start from scratch then. So I have to get the pcm through I2S. I described the HW I do have. From reading I understand that I don't have an I2S bus driver like SPI, but I have to talk to the I2S through LPE.18:37
warthog9correct18:38
MikePSo from this point I don't really know where to go, and so I assumed after reading this https://www.mail-archive.com/elinux-minnowboard@lists.elinux.org/msg01572.html that the first thing I need to get to work is the platform driver which will somehow talk to the LPE and be my "I2S gate" so to speak18:38
MikePMy understand of how LPE works is zero to be honest. I don't really understand if I need a driver for it, what that firmware actually does and when is it loaded etc..18:40
warthog9second18:40
warthog9let me see if I can find another codec on a baytrail to crib from18:40
warthog9since that might be the easiest at this point18:41
*** xkonni <xkonni!~konni@5.189.143.46> has quit IRC18:43
MikePthank you warthog18:43
warthog9don't thank me yet, I'm not any better at this than you ;-)18:44
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has joined #minnowboard18:44
MikePlol. I still appreciate you helping me18:44
warthog9poking around trying to figure out how the sound stuff gets used right now18:50
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard18:50
MikePsure.18:51
*** xkonni <xkonni!~konni@vmi49062.contabo.host> has quit IRC18:56
warthog9MikeP: take a look at SND_SOC_INTEL_BYT_RT5640_MACH18:57
warthog9that looks like a complete chain for an audio driver that uses Baytrail + I2S18:58
warthog9or the SND_SOC_INTEL_BY_MAX98090_MACH18:58
warthog9(those are the config directives you may need to chase those down a little in mainline to find the code)19:00
MikePsound/soc/intel/boards/byt-max98090 ?19:00
warthog9looks like it19:00
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC19:00
MikePif you're talking about that one then that's exactly what I mentioned in the beginning19:00
MikePthat's the machine driver I was trying to modify19:01
warthog9yeah, that's basically a board file19:01
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard19:01
warthog9so what that does is it glues the information about your codec driver, and it's pieces within the kernel19:01
MikePit calls snd_soc_card_register and fails because it cannot find the baytrail-pcm-audio19:02
warthog9kinda like this (only this is the spidev one https://github.com/MinnowBoard/minnow-max-extras/blob/master/modules/low-speed-spidev/low-speed-spidev.c)19:02
warthog9did you compile your kernel with the baytrail audio stuff turned on?19:03
MikePI'm familiar with this one as well, though I am not sure how it's related.19:03
warthog9(the spidev driver is related in that it's a similar concept, nothing more)19:03
MikePok, yeah. I went in the Bios and enabled the Audio. The only thing in the Audio there is the LPE controller, and I did enable it, I mentioned it in the beginning as well19:04
warthog9MikeP: kernel != bios19:04
MikePTrue19:05
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC19:05
MikePI don't rememer however I am confident it is compiled with audio as I have my monitor connected to the Dev board, and it has audio. ( it goes through HDMI however)19:06
MikeP*remember19:06
warthog9HDMI audio is a slightly different beast19:06
*** bluelightning <bluelightning!~paul@ip5f5ae6b8.dynamic.kabel-deutschland.de> has joined #minnowboard19:06
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard19:06
warthog9if you've got your kernel config handy can you grep for SND_SOC_INTEL_BAYTRAIL19:06
MikePI built it on a different machine, should it be only there or also exist on my dev board OS file system >19:09
MikeP?19:09
MikePif it's not I can try and grep it on the build machine19:10
warthog9MikeP: what distro are you using?19:11
MikePkenrel 4.3.0-040300rc ubuntu 14.04 LTS19:14
MikePand I just greped the confi19:14
MikePIt shows up as CONFIG_SND_SOC_INTEL_BAYTRAIL=m19:15
warthog9MikeP: did you find that set?19:15
warthog9that's a good start19:15
MikePyeah, so it means it's a module right?19:17
warthog9correct19:17
warthog9or should be19:17
MikePwhich we already know:)19:17
warthog9zentrum: btw the rt8111 is in the Linux kernel, though I'm guessing you aren't talking about that one not having the driver?19:17
warthog9MikeP: trying to read back - are you getting the not found error on compile or load?19:17
MikePno.19:18
MikePI can't register a sound card with ASoC19:19
MikePLet me summarize :19:19
MikePHi I have a MinnowBoard Max (Baytrail SoC, ValleyView CPU), I'm attempting to write a sound driver with ASoC/ALSA to get my sound card to work. The Sounds Card PCM is over I2S. Searching for I2S bus driver, I found this mailing thread https://www.mail-archive.com/elinux-minnowboard@lists.elinux.org/msg01572.html So I understand that I need to somehow communicate through LPE to get the I2S working. However I'm having issues with t19:20
MikePFirst of my LPE controller doesn't show up when I enable it in the Bios with ACPI. It did show up with lshw only after I enabled it with "enable LPE with PCI" in the bios, which I don't really understand what it means, but at least the LPE is showing up now [09:57] <MikeP> Later I was trying to follow the example in the mail-archive I just mentioned, however I'm getting an error when trying to register the snd_soc_card, that says19:20
MikePThis is the error I'm getting "ASoC: CPU DAI baytrail-pcm-audio not registered"19:20
warthog9yes I read all of that19:20
MikePSo if you look at sst-baytrail-pcm.19:21
warthog9so you are getting the "ASoC: CPU DAI baytrail-pcm-audio not registered" when you load your driver?19:21
MikePI load this module19:21
MikePbut it doesn't get to the probe19:22
MikePyes19:22
MikePlets forget about my driver even. I'm trying to figure out how to work with the LPE i2S19:22
MikePAnd from my understanding takes care of it19:23
MikePhowever this driver is not probed19:23
warthog9can you post your version of byt-max98090.c or byt-rt5640.c that you were cribbing from for your driver?19:23
*** glfernando <glfernando!fernando@nat/intel/x-pabszuyqjwirnjwj> has joined #minnowboard19:24
MikePyes one sec19:25
MikePhttp://collabedit.com/gfrtm19:28
warthog9MikeP: brb meeting and then I need to grab some lunch.  I'll try and read that when I've got a chance19:32
MikePcool, thank you warthog!19:33
warthog9MikeP: just to confirm, that's been modified for your codec, correct?19:33
MikePnot for my codec19:35
MikePfor the same max98090 codec19:35
zentrumwarthog9: no, its not linux, also it looks like the baytrail serials are not longer 16550 compatible?19:35
MikePmy only modification is that instead of waiting for this machine driver to be probed, I force the probe19:35
MikePthat's all19:36
MikePso it actuall goes ahead to byt_max98090_probe function and attempts to register the card, you'll see in the code19:36
*** interrobangd <interrobangd!~interroba@2a02:8109:9640:18d8:3584:ddc6:8d9e:a5ef> has joined #minnowboard21:10
faux123Hi, I have a question regarding the I2S on the minnow board max wondering if someone here could point/steer me to the right direction…21:21
faux123We have an external codec using Analog devices DSP and we would like to interface with with I2S from the Minnow Board Max..  What are some of the initial steps we need to be aware of to start this integration?  Thanks in advance!21:23
*** metastableB_ is now known as metastableb21:23
MikePhey Faux123, I just asked the same question actually, and I would be happy if anyone would be able to help with it21:23
*** metastableb is now known as metastableB_21:24
jimt1http://imgur.com/gallery/hnvhp/new21:41
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC21:43
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard21:43
*** interrobangd <interrobangd!~interroba@2a02:8109:9640:18d8:3584:ddc6:8d9e:a5ef> has quit IRC21:55
warthog9jimt1: my box just showed up too22:07
jimt1woot22:10
jimt1\o/22:10
warthog9yeah22:10
warthog9I'm going to share your photo as soon as I get done checking in the box into my magical spreadsheet of vague tracking-ness22:10
jimt1currently holding at about 7 views/min22:11
*** martinroth <martinroth!martinroth@nat/google/x-gebynvgkadnhybef> has quit IRC22:18
*** diana_olhovik <diana_olhovik!~quassel@213.179.252.217> has joined #minnowboard22:22
*** diana_olhovik <diana_olhovik!~quassel@213.179.252.217> has quit IRC22:28
*** martinroth <martinroth!martinroth@nat/google/x-qhrvfupaftiqkbbw> has joined #minnowboard22:28
*** pidge <pidge!~pidge@94.2.218.177> has quit IRC22:55
MikePIs anyone  familiar with sound over I2S on MinnowBoard Max?23:00
*** lamego <lamego!~jose@134.134.139.70> has quit IRC23:06
*** holycow <holycow!~rtaylor@pdpc/supporter/bronze/holycow> has joined #minnowboard23:16
holycowhi all23:19
holycowanyone know of a minnowboard based kit that includes a LiOn style batter + lcd display?  Just curious if even the most crude looking tablet design is possible with this great little board?23:20
prpplagueholycow: you certainly could do a tablet implementation with the minnowboard max or turbot, but the real question is "why?"23:36
prpplagueholycow: since you can easily purchase a wide range of tablets with baytrail already23:36
holycowreally? i didn't know that.  i thought they were mostly arm and high end intel based laptops taht pretended to be tablets23:38
holycowlet me look23:38
prpplagueholycow: http://www.frys.com/product/8627600?source=google&gclid=CjwKEAiApYGyBRC-g_jIstuduV8SJABCEzhZblDW4_QvRx1EyC5pF9haruM4nGOHL1dAtFBDwv4LxxoCv3Tw_wcB23:39
holycowoh.  well, i guess i am an idiot23:39
prpplaguehehe no worries23:39
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC23:54

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!