/srv/irclogs.ubuntu.com/2010/10/05/#ubuntu-arm.txt

=== dyfet` is now known as dyfet
=== freeflyi1g is now known as freeflying
=== dyfet` is now known as dyfet
IIIhas anyone used/tried displaylink on 10.10?07:26
=== hrw|gone is now known as hrw
hrwmorning08:38
sebjanlag: panda OTG port: yes it does work, but not as OTG, it is configured as device in the kernel config08:50
lagsebjan: So what do you make of bug 64542008:52
ubot2Launchpad bug 645420 in linux-ti-omap4 (Ubuntu) "OTG port not enabled for OMAP4 (affects: 2) (heat: 324)" [Low,Confirmed] https://launchpad.net/bugs/64542008:52
sebjanlag: well, I already commented on this bug: our driver is not OTG capable at the moment, this is why it is statically configured as device. It is working fine as device.08:54
sebjanlag: this will not change for 10.10. I think we shall have the driver fixed to support OTG in 11.04.08:54
lagsebjan: So you did09:00
=== amitk is now known as amitk-afk
=== amitk-afk is now known as amitk
=== rgreening_ is now known as rgreening
lagsebjan: I've just read your comment on the audio bug13:48
cooloneylag: me214:01
cooloneyheh14:01
cooloneysebjan: ogra_ac and i think the default.pa is the same as ogra_ac posted in the launchpad.14:01
davidmcooloney, how did things go yesterday?14:02
ogra_acwell, at least the one you pasted before14:02
ogra_acdavidm, well, network is still super slow14:02
davidmdid uboot and xloader get changed?14:03
ogra_acrsalveti has a package ready i think14:03
ogra_acuboot doesnt need changes14:03
ogra_acand i think i worked out a proper solution of the mixer settings14:03
sebjancooloney, ogra_ac: ok, I did not check that, I retrieved the default.pa delivered from our dev team, and saw it was different from the one installed by default in the daily images, so updated it14:03
ogra_ac(which at least solves 50% of the audio prob)14:03
rsalvetiyup14:04
rsalvetilet's test soon :-)14:04
ogra_acsebjan, we cant change default.pa14:04
lagI'm still unsure what progress has been made on the audio since I worked on it14:04
ogra_acusing that file would break audio for everyone but panda users14:04
lagALSA has always worked with only the amixer settings14:04
ogra_acsebjan, but i have an idea for the mixer which i'll test today14:04
sebjanogra_ac: yep, this was just to check the drivers are able to generate some sound. This is not the final solution.14:05
lagPulse has never worked14:05
lagThe card is only reported when the other config file is used14:05
ogra_aclag, alsa has never worked without modifying the default volumes14:05
lagWhat's new? What's different?14:05
lagCorrect14:05
lagSo what's new?14:05
cooloneysebjan: yeah, we think sound driver works, but maybe the route setting has some issue14:05
ogra_acthast what the mixer settings are for :P14:05
ogra_aclag, that we needed a proper way to set them14:05
lagI've heard lots of people talk about it being better and there are patches and improvements have been made, but I see no difference to 2 weeks ago14:06
sebjancooloney: yes, that shall be the purpose of SDP4430.conf file to setup the proper routings14:06
ogra_acwhich i think i found (need to test later today, its early here)14:06
lagogra_ac: What are the proper way?14:06
ogra_acsebjan, why cant we fix the routings in the driver14:06
lagI can probably do it in the kernel14:06
lag(which is what I'v been looking at)14:06
ogra_aclag, i doubt that since it needs to be modifyable per device14:07
lagogra_ac: How do you mean?14:07
ogra_aclag, /usr/share/alsa/init/hda is a good example14:07
ogra_aclag, blaze and panda need different volume adjustments (and later devices probably too)14:07
lagogra_ac: Okay14:08
ogra_aclag, the more important part is the routing14:08
sebjanogra_ac: don't know, I did not follow up on this topic, I repeat what I understood from berco :)14:08
ogra_acwhioch is wrong in kernel14:08
ogra_accooloney worked on a fix for that14:08
ogra_acbut we havent tested14:08
ogra_ac(in the driver)14:08
lagWhat's the fix?14:08
ogra_acswitching the routing of device 014:08
lagTHIS is why I needed to speak to cooloney yesterday!14:09
rsalvetiif we had a proper network :-)14:09
cooloneywe can play sound over device 7 via speaker-test after some alsamixer setting14:09
ogra_acbtw, ES2.1 boots fine14:09
cooloneybut pluseaudio will open device 0, which will fail14:09
lagogra_ac managed - rsalveti managed14:09
cooloneyand PA never runs14:09
ogra_aclag, managed ?14:09
lagI even saw cooloney log on, only to log off again 15 mins later14:09
lagTo get online14:09
ogra_aclag, well, FSVO online14:10
lagcomradekingu: What's device 7 currently?14:10
ogra_acthe network at TI is really bad14:10
lagFSVO?14:10
ogra_acfor some value of14:10
lagHow do they manage?14:10
ogra_ac(you know, you use these abbreviations to not have to type so much :P)14:10
ogra_aclag, i was on through 3G14:10
lagYMTUY14:11
rsalvetishared 3g, the only one that worked14:11
lagThat sucks!14:11
cooloneylag: oh, from the my post in the launchpad, it is here http://pastebin.ubuntu.com/503799/14:11
cooloneylag: sorry, it should be device 914:11
lagWe've been able to play sound via HDMI from the beginning14:12
cooloneyand sebjan i believe your alsamixer.sh can setup the right value of all the mixer14:12
cooloneythen we can play our sound over device 914:12
ogra_acright, we just need to translate it into an alsa init file14:12
sebjanright, I think so14:13
cooloneybut device 0, there is no-codec-associated14:13
cooloneypa try to open this default device 0, but failed14:13
ogra_acso re-mapping the codec in the driver should fix that14:13
cooloneyogra_ac: yeah, we need to talk with audio expert from TI, this sdp4430.c ASoC driver is from their14:14
ogra_acright14:15
cooloneysebjan: for your testing with modification of default.pa, you got sound from hdmi or headset?14:48
sebjancooloney: I only tested headset14:48
cooloneysebjan: ok, got it. i will test it soon. we try to find a fix today.14:50
cooloneysebjan: i am going to push out the audio fixing patches today, since we are closed to 10.10 release14:51
cooloneysebjan: is there any other audio new fixings?14:51
davidmogra_ac, if we only need xloader changes I'd like to see the patch diff between ES2.0 and ES2.1 silicon so I can get a feel of what is being done14:52
sebjancooloney: ok. I received a 1 line patch update for audio that is supposed to help for the audio record. I'll send it to you right now. However I have not been able to make audio record even with it - we are still missing something here (maybe also a routing issue?)14:52
cooloneysebjan: oh, we never try recording i think, before we fix the playback.14:53
ogra_acdavidm, robclark is doing last tests14:53
cooloneysebjan: ok, please post me the audio patch14:53
=== chrisccoulson is now known as nosluoccsirhc
ogra_acdavidm, if we get his ok (which i expect durign the day) we are good to go14:54
ogra_acdavidm, and we're all actively working on the sound issues14:54
ogra_acdavidm, for which we need a libalsa0 upload14:54
ogra_acand possibly a kernel14:55
ogra_acthats the three packages we'll need today14:55
davidmogra_ac, I want to understand the "amount" of change between ES2.0 and ES2.1 so I can get a feel for the level of risk with releasing on 10.1014:56
ogra_acdavidm, about 30-40 lines in x-loader to handle the different ram speed14:56
sebjancooloney: I just sent the audio patch14:56
cooloneysebjan: cool, thx14:57
=== nosluoccsirhc is now known as chrisccoulson
rsalvetidavidm: ogra_ac: yep, just different timmings to support ddr@400mhz15:01
rsalvetiso it should work without breaking other stuff15:01
rsalvetibut rob is giving some more tests15:01
mpoiriercooloney: moving the elements in the list of DAIs could fix the missing codec on the default device.15:04
kornel`hey15:04
mpoirierTI sound people would have to be consulted.15:04
kornel`does anyone know a board that has an arm processor and an ethernet interface? nothing else is needed, though its not a problem, but i need this to be as small as possible.15:05
kornel`and of course has the capability to run ubuntu oni t15:05
GrueMasterkornel`: Try beagleXM or Gumstix.15:13
cooloneympoirier: cool. could you post me a patch?15:13
mpoiriercooloney: I don't have a patch for that...15:13
cooloneympoirier: we are leaving from hotel to TI office15:13
mpoiriercooloney: ok hookup with me when you get on again15:13
mopdenackerogra_ac:  Hi! We need to modify the pre-installed images to have custom boot.scr scripts for our internal releases. How would you do this, please?15:22
ogra_acby a script15:23
ogra_acmopdenacker, we need to head over to the office, lets talk in a few mins15:23
mopdenackerogra_ac: we could also modify the script that creates the boot.scr file for the second boot... This way users wouldn't have to make any manual change...15:24
mopdenackerogra_ac: no problemo. Thanks for your answer!15:25
kornel`thnx15:26
=== amitk is now known as amitk-afk
=== bjf[afk] is now known as bjf
sebjanogra_ac, cooloney: though the kernel was changed to allow 1GB usage without crash issues, the boot.scr cmd lines still restricts to 460 + 256M15:53
cooloneysebjan, yeah, good point,15:53
ogra_acsebjan, yeah, i'll change that today15:54
cooloneyogra_ac, cool15:54
mopdenackerogra_ac: back to my question... Our need is to modify the script that generates boot.scr after expanding the SD card partition. What file should we modify? That's only for our internal releases.16:08
lagogra_ac: Can I close my half of bug 628029?16:26
ubot2Launchpad bug 628029 in linux-ti-omap4 (Ubuntu Maverick) (and 2 other projects) "[maverick] panda omap4 does not suspend (affects: 1) (heat: 8)" [High,Confirmed] https://launchpad.net/bugs/62802916:26
lagmopdenacker: If I'm not mistaken, I think you're looking for: /usr/share/initramfs-tools/scripts/local-bottom/jasper_setup16:37
mopdenackerlag: thanks a lot! I will take a look.16:50
lagmopdenacker: Any time :)16:50
lagsakoman: Good morning16:52
sakomangm lag16:52
lagsakoman: Have you managed to find the time to push this upstream yet?16:54
lagsakoman: http://www.sakoman.com/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=9f40ee61034576e8abdb8201c9526204680e70d516:54
sakomanlag, no not yet16:54
lagsakoman: Any view to?16:55
sakomanlag: I'll be working on a patch series over the next couple of weeks.  I'll try to add it as part of that16:57
lagsakoman: Sounds good - thanks :)16:57
kornel`bye17:02
=== kmargar is now known as markos_
=== hrw is now known as hrw|gone
sbambroughhttps://wiki.canonical.com/UbuntuPlatform/ARM/LinaroCoordinationCallMinutes17:24
berco1is there a mean to install a specific version of a package? Using one omap4 cdimage, I have alsa-utils=1.0.23-2ubuntu1 and in a more recent img I have alsa-utils=1.0.23-2ubuntu3...17:40
berco1I want to be able to revert as I suspect an issue with latest version17:40
berco1apt-get install cannot find the alsa-utils-1.0.23-2ubuntu1 version...17:41
berco1are the old packages removed from cannonical archive?17:41
cooloneyberco1, ogra_ac might can help to answer that.18:08
cooloneyberco1, i am working on the audio issue in kernel side18:08
berco1cooloney: I think I found out myself  :)18:09
berco1cooloney: I found one on Launchpad https://launchpad.net/ubuntu/+source/alsa-utils/1.0.23-2ubuntu1/+build/1879590/+files/alsa-utils_1.0.23-2ubuntu1_armel.deb18:09
cooloneyberco1, cool18:09
berco1cooloney: I have one image that has audio working with that famous SDP4430.conf file18:09
berco1cooloney: however, taking today's cdimage and putting the SDP4430.conf in it doesn't enable sound18:10
cooloneyberco1, from the code in sound/soc/omap/sdp4430.c, the frondend dai-links are no codec associated, right?18:10
berco1cooloney: I found that alsa-utils, alsa-base and pulseaudio have been upgraded18:10
cooloneyberco1, so from my side, the PulseAudio will fail due to failing to open the pcm0 device which is MultiMedia of SDP443018:11
berco1cooloney: I need to check with audio dev team for your question18:11
berco1is that holding you?18:11
cooloneyberco1, do you need to modify the default.pa to make the sound work?18:12
berco1cooloney: have you tried running the amixer.sh file?18:12
berco1cooloney: in my working setup, no default.pa change, I just use the default file18:12
cooloneyberco1, yeah, i tried that. amixer.sh will set the right value18:12
cooloneyberco1, cool. since modification of default.pa is not acceptable, that might make other omap4 based board sound broken18:13
cooloneyberco1, sorry, need to have luch18:14
berco1cooloney: yes. Nevertheless, I still need to understand if it is one of the s/w upgrade that breaks my setup18:14
cooloneylunch, siya18:14
berco1see ya18:14
mpoiriercooloney: get in touch with me when you get back - we'll talk about your pmc0 device.18:28
=== zyga is now known as zyga-afk
=== xfaf is now known as zul
cooloneympoirier, hey, man. I am back from lunch19:02
mpoirierok good.19:02
mpoirieryou are correct, the default front end in the list doesn't have a codec.19:03
mpoirieractually it is set to the null-codec.19:03
cooloneympoirier, right, that's why pulseaudio will fail to open the device.19:04
mpoirierif you were to put DAI entry pertaining to the headset at the very top of DAI list, I think that devices would become your default device.19:04
mpoirierthat is, in theory, great...19:04
mpoirierbut that DAI still wouldn't have any backend associated to it, resulting in a failure to open pcm0.19:05
mpoirierthat's what lies at the heart of the problem.19:05
cooloneympoirier, right. we are thinking in the same way19:06
mpoirierthis is a config that is left to userspace, on purpose.19:06
cooloneympoirier, i just fixed the first frontend dai-link19:06
cooloneybuilt the kernel and will test soon19:07
mpoirieryou prept it up in the list ?19:07
ogra_acyay19:28
ogra_acmixer defaults solved19:28
cooloneympoirier, i found we need to debug the alsa and asoc code for a while19:42
cooloneymaybe it is right that pcm0 doesn't have the codec driver associated19:43
cooloneyit will be connected to a backend when we open it for operation at runtime19:43
cooloneybut we failed to find one.19:43
cooloneyso i am looking at this19:43
=== zyga-afk is now known as zyga
rsalvetiGrueMaster: http://people.canonical.com/~rsalveti/maverick/boot/es21/MLO20:08
mpoiriercooloney: I'm back from lunch.20:26
mpoirierI have done a lot of tracing in the soc area...20:27
mpoirierhold on a sec...20:28
mpoirierdid you see the latest addition from ogra ?20:30
mpoiriercooloney: did you see the latest finding from ogra ?20:32
mpoiriercooloney: about /usr/share/alsa/init/00main ?20:32
cooloneympoirier, yeah, but that's for alsamixer. pulseaudio need to open it in the right way20:34
mpoiriercooloney: indeed, there are multiple part of the puzzle.20:35
mpoiriercooloney: take a look at this: http://omappedia.org/images/c/c9/OMAP4_Audio_Phoenix.jpg20:35
mpoiriercooloney: on the right hand side you have the famous DAIs.20:36
mpoiriercooloney: on the left side, second square, are the "interface".20:36
mpoiriercooloney: the famous PDMs. UL0, UL1, DL0...DL420:37
mpoirierrunning the script omap4_amixer_config.sh will link the DAIs to the PDMs.20:39
mpoiriercooloney: it is only when that relashion is established that opening pcm0 can succeed.20:40
mpoiriercooloney: I spent a lot of time in there.20:40
mpoirierTo the best of my knowledge, SDP4030.conf under /usr/share/alsa/cards/ is supposed to do that20:42
mpoiriersorry, SDP4430.conf.20:42
mpoirierTI guys are all very fluent with those concepts.20:42
sguiriecmpoirier:cooloney: I can support on this if you have trouble. Berco is still working on the finalization of SDP4430.conf file20:42
mpoiriersguiriec: the above is a recollection of 2 weeks of soul searching in the soc subsystem.20:43
mpoirierfeel free to rectify anything that would not be accurate.20:44
mpoiriersguiriec: am I correct when saying that PDMs and DAIs are linked in file SDP4430.conf ?20:46
sguiriecmpoirier:You statement is ok. Final solution will be with SDP4430.conf file. With this file we should get ride of omap4_amixer_config.sh.20:46
mpoiriercooloney: hence no changes should be required to the kernel.20:47
mpoiriercooloney: at least that's the conclusion I came up with.20:47
mpoiriercooloney: all the ingredient in the kernel are there and working.  The scheme was meant to be generic.20:48
sguiriecmpoirier: Inside OMAP4 McPDM port include part of Sigma delta. This is why code is a little bit different form standard CODEC interface20:48
mpoiriersguiriec: the famous McPDMs... I'm still having a lot of fun with those.20:49
cooloneysguiriec, and mpoirier let me to report my findings here20:49
mpoiriercooloney: everybody should be on the same page on your side....20:49
cooloneyspeaker-test -D plughw:0,3 -t sine -c 220:50
cooloneywill generate sound20:50
mpoirierWe've all talked about it in great lenght20:50
sguiriecmpoirier: Liam has work to get correct board name in order to have ALSA utils to be able to load SDP4430.conf file. Now we are finalizing the content of this file in order to set correctly the audio path after board boot.20:50
cooloneyalso 0,720:50
cooloneythe dynamically run time binding, looks right20:51
cooloneybut device 0,0 doesn't generate any sound20:51
sguiriecmpoirier:cooloney: 020:51
cooloneyi can open it, the dmesg from driver tells me it binds to the right codec and backend20:52
rsalvetiogra: https://code.edge.launchpad.net/~rsalveti/ubuntu/maverick/x-loader-omap4/es21/20:52
mpoiriercooloney:  yes indeed, but your path to the PDM probably doesn't exist.20:52
cooloneympoirier, so we need to check the bug in this binding thing20:53
sguiriecmpoirier:cooleney: can you check amixer controls for DL1 Media Playback Volume?20:53
mpoiriersguiriec: I'll have to fire up my board - what are you after ?20:55
sguiriecmpoirier:Inside ABE you have SW volume. Just want to check that volume is well set.20:56
cooloneysguiriec, let me check this.20:56
mpoiriercooloney: please, I don't have the very latest patch.20:56
cooloneysguiriec, my bad, i need to run the amixer.sh from sebjan and becor,20:57
cooloneysguiriec, i got sound from device 0,020:58
mpoiriersguiriec: what state do you want the system to be in ?20:59
mpoiriersguiriec: just after booting ?20:59
cooloneysguiriec, i will try ogra's latest alsa config method to get alsamixer works firstly21:00
cooloneysguiriec, but we need to make the pulseaudio also working21:00
sguiriecmpoirier: cooloney:Until we finalise the SDP4430.conf file it is beter to run amixer.sh file (or omap4_amixer_setup). amixer.sh -a should reconfigure the audio path. Until it is not fix you will have no sound after boot21:00
mpoiriersguiriec: that is well understood on my side.21:01
mpoiriersguiriec: do you still want us to check DL1 Media playback ?21:01
ograthats nothng we can do in the image21:01
* ogra can only repeat that every time this comes up21:01
ograuploas deadline for maverick is in a few hours21:01
sguiriecmpoirier: Yes if you have no audio on plughw:0,0 and audio on plughw:0,3 it should be linked to this control.21:02
mpoiriersguiriec: I'm here to provide you data - my board is powered up.21:02
mpoirierI haven't done anything to it so far, aka defautl value.21:03
mpoirierdo yo want the value of DL1 now or after running amixer.sh ?21:03
sguiriecmpoirier: In case you have no audio it will be good to have it now and the to set up in the middle of the play21:04
mpoiriersguiriec: I definitely don't have audio right now.21:04
sguiriecmpoirier: Normally audio should come back if you run amixer.sh -a21:05
mpoiriersguiriec: indeed.21:05
mpoiriersguiriec: I'll run the script, hang on.21:05
cooloneysguiriec, amixer.sh is not a final solution for our release, i think ogra has make all the setting in his alsa init file.21:05
ograwhich isnt proper either21:06
ograSDP4430.conf is actually the right way to go21:06
sguiriecmpoirier:cooloney:Inline with this statement. berco is working on it. Seem to have trouble with Pulse and alsa versions.21:08
mpoiriersguiriec: indeed, berco was asking about older versions earlier today.  Is the newer stuff broken ?21:09
sguiriecmpoirier:cooloney: generation of asound.state file was not always inline with SDP4430.conf file. Newer stuff has broken it. This is why berco is asking older version21:09
sguiriecmpoirier:cooloney: I was just with him before coming back to home. Now need to understand what is borken and to see if it is inside pulse or alsa.21:11
mpoirierspeaker-test -D plughw:0,3 -t sine -c 221:13
mpoirierspeaker-test -D plughw:0,7 -t sine -c 221:13
mpoiriersorry, wrong console, please ignore21:14
mpoiriersguiriec: numid=3,iface=MIXER,name='DL1 Voice Playback Volume'21:15
mpoirier  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=021:15
mpoirier  : values=11021:15
mpoirier  | dBscale-min=-120.00dB,step=1.00dB,mute=121:15
mpoiriersguiriec: that is after running amixer.sh21:15
mpoiriersguiriec: speaker-test -D plughw:0,3 -t sine -c 2 works properly.21:16
sguiriecmpoirier: this control is for voice so plughw:0,2. DL1 Media Playback Volume should be numid=121:17
sguiriecmpoirier: this control is for Voice port (plughw:0,2). For multimedia it should be numid=1 name='DL1 Media Playback Volume'21:18
mpoiriersguiriec: ok, one sec.21:19
mpoiriernumid=1,iface=MIXER,name='DL1 Media Playback Volume'21:20
mpoirier  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=021:20
mpoirier  : values=11021:20
mpoirier  | dBscale-min=-120.00dB,step=1.00dB,mute=121:20
mpoiriersguiriec: ^^^^^^^^21:20
sguiriecmpoirier: Ok 110 looks ok. it means -10 dB. Can you check also numid=18? Should be the next gain in the ABE chain before headset. I will recommend to set it to 120 (0 dB).21:22
mpoiriersguiriec: numid=18,iface=MIXER,name='SDT DL Volume'21:23
mpoirier  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=021:23
mpoirier  : values=12021:23
mpoirier  | dBscale-min=-120.00dB,step=1.00dB,mute=121:23
mpoirierit is indeed set to 120.21:23
sguiriecmpoirier: And still not sound on headset21:24
mpoiriersguiriec: speaker-test -D plughw:0,3 -t sine -c 2 did work21:24
mpoiriersguiriec: so does speaker-test -D plughw:0,2 -t sine -c 221:25
sguiriecmpoirier:depend on the controls.21:25
mpoiriersguiriec: we may be out of sync here...21:26
cooloneysguiriec and mpoirier, let me sync with you guys21:27
cooloneykernel driver looks ok, it uses the front end and back end for dynamically run time binding21:28
cooloneyfor alsamixer, we need SDP4430.conf and the script file to set it in right volumn21:28
cooloneymoreover, we need to modify the default.pa of pulseaudio to make the sound works finally21:29
sguiriecmpoirier:cooloney: Yes you need to have a valid root between FE and BE. SPD4430.conf should do it after the boot21:29
mpoiriersguiriec: would you like me to run other tests ?21:30
sguiriecmpoirrier:cooloney: for pulse I am not the good guy to comment. May be in the comming weeks.21:30
cooloneybut unfortunately, ogra said, we cannot modify the default.pa, since that will break other boards with different audio configuration21:30
=== zyga is now known as zyga-gone
cooloneyanyway, guys, i am going to send out the audio patches21:31
mpoiriercooloney: I did not investigate the pulse front.21:31
sguiriecmpoirier: Just try on plughw:0,0. Normally you should have some sound21:31
mpoiriercooloney: too busy getting grey hair with PDMs and DAIs.21:31
mpoiriersguiriec: ok, one sec.21:31
ndecogra: mpoirier: cooloney: hi!21:32
ndecso it looks better on the audio front...21:32
sguiriecmpoirier:cooloney: Just thinking that for pulse a patch has been already pull in 10.10 in order to set custom configuration on top of default.pa file.21:32
ndecsguiriec: no this was not pulled on time for 10.1021:33
ndecmpoirier: cooloney: ogra: so what do we need exactly on top of the current image to get audio out of the box? are you using SDP4430.conf file or not?21:33
mpoirierSDP4430.conf is not ready yet.21:34
mpoirierberco is working on it.21:34
sguiriecndec: thanks nico for the info21:34
ndecmpoirier: i saw ogra comments on the bug, with the omap4 config file. what is this file? where is it supposed to come from, e.g. which package?21:34
cooloneyndec, firstly, we need merge those audio patches21:35
mpoirierndec: I saw the comment to but havent' had time to try.21:35
ndeccooloney: agreed, on this. stability and sound quality is much better with those patches.21:35
ndecmpoirier: ok.. i thought you guys were talking about this in fact.21:36
mpoirierndec: no, I'm doing test for sguiriec - he's helping us.21:36
ndecso we need ogra to explain why/how he did this change.21:36
ndecmpoirier: ok. which tests?21:36
cooloneyndec, for the SDP4430.conf or alsamixer configs, ogra will update that21:36
ograndec, that file apparently only works if you call alsactl init and requires a one line change to libasound021:37
ogra(the omap4 file)21:37
mpoirierndec: sguiriec needed information, I'm providing it.21:38
mpoiriersguiriec: plughw:0,0 also works.21:38
sguiriecndec: With berco we have some trouble with latest Asla/Pulse release compare to his previous FS.21:38
sguiriecmpoirier: Good to see that port is working after good setting.21:39
mpoiriersguiriec: educate me here a little...21:40
mpoirierwhen doing aplay -l,21:40
sguiriecsguiriec: Just here for help21:41
mpoirierdevice 9, 11, 13, and 14 are associated with twl6040 codec.21:41
mpoirierhow did you do the mapping with plughw:0,0 , plughw:0,3 and plughw:0,4 ?21:42
mpoiriersguiriec: 'cause those devices are not associtated with twl6040...21:43
sguiriecmpoirirer: These devices are here for BE ports or to bypass ABE. Diirect access to McPDM.21:44
sguiriecmpoirier: Here I think we need to update the wiki. plughw:0,0 is Multimedia port (FE port). This port can be sent on different BE ports (Headset/Handsfree)21:45
mpoiriersguiriec: here's another way of asking the same question: is the output of aplay -l related to plughw:0,x ?21:46
sguiriecmpoirier: mixer controls setting will enable the different paths.21:46
sguiriecmpoirier: Normaly when we are using ABE we should use plughw;0.x with x up to 8.21:48
mpoiriersguiriec: the ABE are accessed directly with the plughw:0,x ?21:49
sguiriecmpoirier: After we should used amixer controls in order to set the path between FE to BE ports.21:49
mpoiriersguiriec: let me summarise what I just learned...21:50
sguiriecmpoirirer: ALSA is accessed to ABE directly with a sDMA channel to ABE.21:50
mpoirierABEs are access directly via plughw:0,x . But for this to work the path between FE and BE must be set.  Correct ?21:51
sguiriecmporirier: Yes otherwise ALSA will return an error21:52
mpoiriersguiriec: here's another question then:21:53
mpoiriersguiriec: is the path between ABEs and BEs always the same ?21:54
sguiriecmpoirier: No it can be changed accoridng to the use case.21:54
mpoiriersguiriec: the following has become my bedside reading: http://omappedia.org/images/c/c9/OMAP4_Audio_Phoenix.jpg21:55
mpoiriersguiriec: in this case, plughw:0,0 is related to which PDM ? (UL0...DL4)21:56
mpoiriersguiriec: if that question makes sense at all...21:57
sguiriecmpoirier: Here you are missing the ABE part. McPDM port is a kind of TDM port manages by ABE.21:57
sguiriecmpoirier: Until you do not have ABE picture your questions are normal.21:57
mpoiriersguiriec: the only time I saw a ABE was in the omap4 technical reference manual.21:58
mpoiriersguiriec: unless you have a better picture...21:59
sguiriecmpoirier: ABE graph is making the link beetween FE port and BE port. Typicaly McPDM is a BE port. McBSP is also a other BE port used for BT or MODEM call.21:59
mpoiriersguiriec: ya, I read about the McBSP but aren't much of interest in this case - correct ?22:01
sguiriecmpoirier: will check if I can provide you better picture tomorrow. Normally should be ok22:01
sguiriecmpoirier: For standard audio with Phoenix Audio McBSP is no interest for our use case22:02
mpoiriersguiriec: ok that is the conclusion I came up with.22:02
mpoiriersguiriec: i've known from the start i was missing information - anything you can get will  help.22:03
sguiriecmpoirier:of course. Will sync with ndec in order to help you on the topic. Quite new compare to OMAP3.22:04
mpoiriersguiriec: thanks.  your time and insight are well appreciated.22:06
sguiriecmpoirier: I hope we will reach to good SDP4430.conf file with berco. Will try to provide ABE/Phoenix audio picture for audio system understanting22:09
mpoirierok22:10
* ogra_ac still doesnt get why device 0,0 cant just properly connect to the working default codec in the driver 22:10
ogra_acthat would solve all our issues22:10
mpoirierogra_ac: even if it would, the FE - BE path would not be established.22:11
rsalvetivincent-laptop: robclark: http://paste.ubuntu.com/506797/ an oops while restarting X1122:14
sguiriecorga_ac: SDP4430.conf should solve our problem by setting up the graph between FE and BE ports after the boot.22:15
rsalvetiGrueMaster: http://people.canonical.com/~rsalveti/maverick/boot/es21/MLO-sdp22:17
ogra_acsguiriec, yeah22:17
* ogra_ac just commented on the bug22:17
sguiriecogra_ac: Do you have any glue on potential recent update on ALSA or pulse that can explain different behavior in the reading of .conf audio file?22:23
ogra_acno, sorry, i dont, do you know between which versions it changed ?22:23
sguiriecorga_ac: Can check tomorrow with berco? Do not have it from home.22:24
* ogra_ac goes to check changelogs on launchpad22:24
ogra_acsguiriec, but you are use it was a version in maverick ?22:25
ogra_acs/use/sure/22:25
sguiriecorga_ac:thanks, I will check the chanelogs. berco has two FS. One is working and the one is not. There are based on maverick but version are not exactly the same. changelogs should help us22:27
ogra_acyep, i'm just looking22:29
ogra_acone prob is though that there camein a completely new upstream version at some point22:29
rsalvetirobclark: http://gitorious.org/~rsalveti/pandaboard/rsalveti-x-loader/commits/omap4_panda_es2.122:31
=== ian_brasil___ is now known as ian_brasil
rsalvetivincent-laptop: robclark http://people.canonical.com/~rsalveti/maverick/boot/es21/MLO-lowvoltage23:45
rsalvetiwith                 *(volatile int*)(0x4A307BA0) = 0x3A5512;23:45
devilhornsgrrr, really wish xvidcap would work so I could show you guys the unity-efl stuff23:57

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