2014-06-25 00:10 kristianpaul has quit [Quit: leaving] 2014-06-25 00:13 kristianpaul has joined #qi-hardware 2014-06-25 00:13 kristianpaul has quit [Changing host] 2014-06-25 00:13 kristianpaul has joined #qi-hardware 2014-06-25 04:15 wpwrak: where? 2014-06-25 06:04 Codora has quit [Ping timeout: 260 seconds] 2014-06-25 06:25 nicksydney has joined #qi-hardware 2014-06-25 06:43 jaime_lion has joined #qi-hardware 2014-06-25 06:44 anyone in here wana do a devils advocit thing and debate about the future of computer repair? 2014-06-25 07:09 jaime_lion has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 2014-06-25 07:47 dos1 has quit [Ping timeout: 240 seconds] 2014-06-25 07:49 dos1 has joined #qi-hardware 2014-06-25 07:49 xiangfu has joined #qi-hardware 2014-06-25 08:12 kyak: argh. i'm getting old ... here it is: www.infobae.com/2014/06/24/1575461-video-viajo-mas-80-kilometros-un-gato-la-suspension 2014-06-25 08:31 wow 2014-06-25 08:32 i know rats often get under the car's hood 2014-06-25 08:32 poor thing.. it looks exactly like my cat 2014-06-25 08:32 doesn't look like it's a street can either 2014-06-25 08:32 xiangfu has quit [Ping timeout: 272 seconds] 2014-06-25 08:32 s/can/cat 2014-06-25 08:32 kyak meant: "doesn't look like it's a street cat either" 2014-06-25 08:34 it's amazing that it survived that ordeal, apparently unharmed. well, i think there's a place it'll be very careful to avoid in the future :) 2014-06-25 08:36 they speak very intelligently 2014-06-25 08:36 not a swear word! :) 2014-06-25 08:36 wow :) 2014-06-25 08:37 i'm kidding, surely 2014-06-25 08:38 amazing cat 2014-06-25 08:39 i would keep it to myself 2014-06-25 08:39 for all i know, they could have been reciting dostoyevsky ;-) 2014-06-25 08:40 (keep the cat) the way the guy was cradling the cat had a hint of possessiveness to it 2014-06-25 08:40 it's a pity you don't know Russian, their language is very "vivid" 2014-06-25 08:40 and yes, it's a cute one. and you won't find one with a more amazing story easily 2014-06-25 08:41 kyak: ... "their"? 2014-06-25 08:41 oh 2014-06-25 08:41 nevermind 2014-06-25 08:41 whitequark: of those guys, i mean :) 2014-06-25 08:41 "у него морда шире моей" 2014-06-25 08:42 lol 2014-06-25 08:44 i mean, this video can easily be splitted into quotes 2014-06-25 08:46 "his muzzle my wider" 2014-06-25 08:48 "his mug (muzzle, snout?) is wider than mine" 2014-06-25 08:49 hah, so that one was guessable :) 2014-06-25 09:02 pcercuei has joined #qi-hardware 2014-06-25 09:11 nicksydney has quit [Remote host closed the connection] 2014-06-25 09:11 nicksydney has joined #qi-hardware 2014-06-25 09:14 nicksydney has quit [Read error: Connection reset by peer] 2014-06-25 09:14 nicksydney has joined #qi-hardware 2014-06-25 09:42 FDCX has quit [Ping timeout: 240 seconds] 2014-06-25 09:47 astr has quit [Ping timeout: 240 seconds] 2014-06-25 09:52 FDCX has joined #qi-hardware 2014-06-25 09:59 astr has joined #qi-hardware 2014-06-25 10:02 what sort of leds do smartphones camera flash use? 2014-06-25 10:15 I'm trying to find a stereo 3.5mm jack socket that has a switch? so normally with no jack in socket it is connected to speaker amp when jack connected speaker amp disconnected 2014-06-25 10:23 hmm food for thought http://en.qi-hardware.com/wiki/Audio 2014-06-25 11:02 rz2k has joined #qi-hardware 2014-06-25 12:41 btw, is anyone familiar with things like jQuery and the connections between CSS and Javascript ? i'm trying to make "fancy" pop-up things with image maps 2014-06-25 12:42 astr: (jack) jacks with switch should be easy to find. they may not switch the signal directly, but you'd want some processing anyway. e.g., turn the speaker amplifier on or off. 2014-06-25 12:43 wpwrak, yea, I was wonder how to switch the amp on/off when not in use to save power 2014-06-25 12:43 s/wonder/wondering/g 2014-06-25 12:43 astr meant: "wpwrak, yea, I was wondering how to switch the amp on/off when not in use to save power" 2014-06-25 12:44 s/was/have been/g 2014-06-25 12:44 astr meant: "wpwrak, yea, I have been wondering how to switch the amp on/off when not in use to save power" 2014-06-25 12:46 Hi larsc 2014-06-25 12:47 larsc: is it possible to know exactly how full the mmc fifo is before each transfer ? 2014-06-25 12:47 sb0 has joined #qi-hardware 2014-06-25 12:48 I was thinking about setting ".dst_maxburst = fifo_capacity - fifo_actual_usage" 2014-06-25 12:48 nicksydney has quit [Remote host closed the connection] 2014-06-25 12:48 fifo_capacty is 16 words 2014-06-25 12:49 but I don't know if there's a way to know fifo_actual_usage (how full it actually is) 2014-06-25 12:50 according to datasheet, there are only status registers for fifo_full, fifo_empty and fifo_almost_full 2014-06-25 12:52 and dma trigger level is fifo_half_capacity 2014-06-25 12:53 larsc: but I would like to set dst_maxburst so that mmc fifo bandwith usage is alway optimal, ie dst_maxburst = fifo_size - fifo_current_usage 2014-06-25 12:54 (replaced 'capacity' with 'size', and 'actual' for 'current' in the first fomula) 2014-06-25 12:57 astr: the switches usually switch to GND. so add a pull-up and you have a nice digital signal you can use for all the rest. in some designs, you'll also have multiple amplifiers, which you'd switch according to the scenario. 2014-06-25 12:58 wpwrak, thx 2014-06-25 14:07 apelete: typically half the fifo size is a good idea 2014-06-25 14:07 but there might be a configurable threshold 2014-06-25 14:08 apelete: try to find out at which level the mmc controller triggers a dma request 2014-06-25 14:08 probably its when the fifo is almost full 2014-06-25 14:23 "The DMA trigger level is 8 words, that is to say, the DMA read trigger is when data words in 2014-06-25 14:23 MSC_RXFIFO is >= 8 and the DMA write trigger is when data words in MSC_TXFIFO is < 8. 2014-06-25 14:23 larsc: so mmc controller triggers a dma request when the fifo is half full/empty 2014-06-25 14:24 ok, maxburst should be 8 2014-06-25 14:24 because you know there are at least 8 samples in the fifo 2014-06-25 14:24 yes, I was hoping this can be dynamically configurable like I said before 2014-06-25 14:25 but it seems not. I'm going to settle with 8 then (it's a pity) 2014-06-25 14:26 it is probably ok 2014-06-25 14:26 i did some benchmark yesterday with maxburst = 8, didn't notice any improvement 2014-06-25 14:28 the bottleneck might be somewhere else 2014-06-25 14:29 yeah, I'll try to run perf on the code, don't know if it's possible on the ben 2014-06-25 14:30 larsc: at least we're booting 2x faster now with dma, and CPU usage is also slightly lower 2014-06-25 14:30 one thing you can do is process multiple transfers at once 2014-06-25 14:31 that should help speeding things up 2014-06-25 14:31 you mean configure dma to process multiple trasnfers at once ? 2014-06-25 14:33 larsc: is that multiple block read/write vs. single block read/write mode ? 2014-06-25 14:36 what you do right now is while you could do prepare 2 and transfer one in paralell 2014-06-25 14:37 the mmc framework has support for this 2014-06-25 14:41 larsc: nice. I don't remember seeing anything like that in other drivers, will take a look to see how it's done 2014-06-25 14:42 with chained descriptors, you could even program all transfers beforehand 2014-06-25 14:42 you still need to program the transfers 2014-06-25 14:48 larsc: do you know any driver that does mutiple transfers at once ? 2014-06-25 14:58 xiangfu has joined #qi-hardware 2014-06-25 15:00 hmm, seems like mmci.c is doing it, not sure though 2014-06-25 15:00 xiangfu_ has joined #qi-hardware 2014-06-25 15:03 xiangfu has quit [Ping timeout: 245 seconds] 2014-06-25 15:14 any driver implementing the pre_req and post_req callbacks 2014-06-25 15:23 xiangfu_ has quit [Ping timeout: 264 seconds] 2014-06-25 15:24 mth has quit [Ping timeout: 272 seconds] 2014-06-25 15:24 xiangfu has joined #qi-hardware 2014-06-25 15:26 mth has joined #qi-hardware 2014-06-25 15:26 ok, thanks 2014-06-25 16:01 wolfspraul has joined #qi-hardware 2014-06-25 16:28 xiangfu has quit [Ping timeout: 240 seconds] 2014-06-25 16:30 xiangfu has joined #qi-hardware 2014-06-25 16:40 xiangfu has quit [Ping timeout: 264 seconds] 2014-06-25 16:42 xiangfu has joined #qi-hardware 2014-06-25 16:45 xiangfu has quit [Remote host closed the connection] 2014-06-25 16:47 Textmode has joined #qi-hardware 2014-06-25 17:09 pcercuei has quit [Ping timeout: 240 seconds] 2014-06-25 17:55 wolfspraul has quit [Read error: Connection reset by peer] 2014-06-25 18:01 wolfspraul has joined #qi-hardware 2014-06-25 18:06 sb0 has quit [Ping timeout: 240 seconds] 2014-06-25 18:19 sb0 has joined #qi-hardware 2014-06-25 18:22 mth has quit [Ping timeout: 244 seconds] 2014-06-25 18:25 mth has joined #qi-hardware 2014-06-25 18:26 wolfspraul has quit [Ping timeout: 255 seconds] 2014-06-25 18:28 wolfspraul has joined #qi-hardware 2014-06-25 21:23 Luke-Jr has quit [Ping timeout: 245 seconds] 2014-06-25 22:11 sb0 has quit [Quit: Leaving] 2014-06-25 22:15 rz2k has quit [] 2014-06-25 22:15 nicksydney has joined #qi-hardware 2014-06-25 22:17 sb0 has joined #qi-hardware 2014-06-25 22:21 sb0 has quit [Client Quit] 2014-06-25 22:31 Luke-Jr has joined #qi-hardware 2014-06-25 22:43 astr has quit [Ping timeout: 264 seconds] 2014-06-25 22:47 wolfspraul has quit [Quit: leaving] 2014-06-25 22:55 astr has joined #qi-hardware