DocScrutinizer05 changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
kristianpaul has quit [Quit: leaving]
kristianpaul has joined #qi-hardware
kristianpaul has quit [Changing host]
kristianpaul has joined #qi-hardware
<kyak> wpwrak: where?
Codora has quit [Ping timeout: 260 seconds]
nicksydney has joined #qi-hardware
jaime_lion has joined #qi-hardware
<jaime_lion> anyone in here wana do a devils advocit thing and debate about the future of computer repair?
jaime_lion has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
dos1 has quit [Ping timeout: 240 seconds]
dos1 has joined #qi-hardware
xiangfu has joined #qi-hardware
<kyak> wow
<kyak> i know rats often get under the car's hood
<kyak> poor thing.. it looks exactly like my cat
<kyak> doesn't look like it's a street can either
xiangfu has quit [Ping timeout: 272 seconds]
<kyak> s/can/cat
<qi-bot> kyak meant: "doesn't look like it's a street cat either"
<wpwrak> 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 :)
<kyak> they speak very intelligently
<kyak> not a swear word! :)
<wpwrak> wow :)
<kyak> i'm kidding, surely
<kyak> amazing cat
<kyak> i would keep it to myself
<wpwrak> for all i know, they could have been reciting dostoyevsky ;-)
<wpwrak> (keep the cat) the way the guy was cradling the cat had a hint of possessiveness to it
<kyak> it's a pity you don't know Russian, their language is very "vivid"
<wpwrak> and yes, it's a cute one. and you won't find one with a more amazing story easily
<whitequark> kyak: ... "their"?
<whitequark> oh
<whitequark> nevermind
<kyak> whitequark: of those guys, i mean :)
<kyak> "у него морда шире моей"
<whitequark> lol
<kyak> i mean, this video can easily be splitted into quotes
<wpwrak> "his muzzle my wider"
<kyak> "his mug (muzzle, snout?) is wider than mine"
<wpwrak> hah, so that one was guessable :)
pcercuei has joined #qi-hardware
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #qi-hardware
nicksydney has quit [Read error: Connection reset by peer]
nicksydney has joined #qi-hardware
FDCX has quit [Ping timeout: 240 seconds]
astr has quit [Ping timeout: 240 seconds]
FDCX has joined #qi-hardware
astr has joined #qi-hardware
<astr> what sort of leds do smartphones camera flash use?
<astr> 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
<astr> hmm food for thought http://en.qi-hardware.com/wiki/Audio
rz2k has joined #qi-hardware
<wpwrak> 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
<wpwrak> 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.
<astr> wpwrak, yea, I was wonder how to switch the amp on/off when not in use to save power
<astr> s/wonder/wondering/g
<qi-bot> astr meant: "wpwrak, yea, I was wondering how to switch the amp on/off when not in use to save power"
<astr> s/was/have been/g
<qi-bot> astr meant: "wpwrak, yea, I have been wondering how to switch the amp on/off when not in use to save power"
<apelete> Hi larsc
<apelete> larsc: is it possible to know exactly how full the mmc fifo is before each transfer ?
sb0 has joined #qi-hardware
<apelete> I was thinking about setting ".dst_maxburst = fifo_capacity - fifo_actual_usage"
nicksydney has quit [Remote host closed the connection]
<apelete> fifo_capacty is 16 words
<apelete> but I don't know if there's a way to know fifo_actual_usage (how full it actually is)
<apelete> according to datasheet, there are only status registers for fifo_full, fifo_empty and fifo_almost_full
<apelete> and dma trigger level is fifo_half_capacity
<apelete> 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
<apelete> (replaced 'capacity' with 'size', and 'actual' for 'current' in the first fomula)
<wpwrak> 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.
<astr> wpwrak, thx
<larsc> apelete: typically half the fifo size is a good idea
<larsc> but there might be a configurable threshold
<larsc> apelete: try to find out at which level the mmc controller triggers a dma request
<larsc> probably its when the fifo is almost full
<apelete> "The DMA trigger level is 8 words, that is to say, the DMA read trigger is when data words in
<apelete> MSC_RXFIFO is >= 8 and the DMA write trigger is when data words in MSC_TXFIFO is < 8.
<apelete> larsc: so mmc controller triggers a dma request when the fifo is half full/empty
<larsc> ok, maxburst should be 8
<larsc> because you know there are at least 8 samples in the fifo
<apelete> yes, I was hoping this can be dynamically configurable like I said before
<apelete> but it seems not. I'm going to settle with 8 then (it's a pity)
<larsc> it is probably ok
<apelete> i did some benchmark yesterday with maxburst = 8, didn't notice any improvement
<larsc> the bottleneck might be somewhere else
<apelete> yeah, I'll try to run perf on the code, don't know if it's possible on the ben
<apelete> larsc: at least we're booting 2x faster now with dma, and CPU usage is also slightly lower
<larsc> one thing you can do is process multiple transfers at once
<larsc> that should help speeding things up
<apelete> you mean configure dma to process multiple trasnfers at once ?
<apelete> larsc: is that multiple block read/write vs. single block read/write mode ?
<larsc> what you do right now is <prepare 1><transfer 1><prepare 2><transfer 2<
<larsc> while you could do prepare 2 and transfer one in paralell
<larsc> the mmc framework has support for this
<apelete> larsc: nice. I don't remember seeing anything like that in other drivers, will take a look to see how it's done
<pcercuei> with chained descriptors, you could even program all transfers beforehand
<larsc> you still need to program the transfers
<apelete> larsc: do you know any driver that does mutiple transfers at once ?
xiangfu has joined #qi-hardware
<apelete> hmm, seems like mmci.c is doing it, not sure though
xiangfu_ has joined #qi-hardware
xiangfu has quit [Ping timeout: 245 seconds]
<larsc> any driver implementing the pre_req and post_req callbacks
xiangfu_ has quit [Ping timeout: 264 seconds]
mth has quit [Ping timeout: 272 seconds]
xiangfu has joined #qi-hardware
mth has joined #qi-hardware
<apelete> ok, thanks
wolfspraul has joined #qi-hardware
xiangfu has quit [Ping timeout: 240 seconds]
xiangfu has joined #qi-hardware
xiangfu has quit [Ping timeout: 264 seconds]
xiangfu has joined #qi-hardware
xiangfu has quit [Remote host closed the connection]
Textmode has joined #qi-hardware
pcercuei has quit [Ping timeout: 240 seconds]
wolfspraul has quit [Read error: Connection reset by peer]
wolfspraul has joined #qi-hardware
sb0 has quit [Ping timeout: 240 seconds]
sb0 has joined #qi-hardware
mth has quit [Ping timeout: 244 seconds]
mth has joined #qi-hardware
wolfspraul has quit [Ping timeout: 255 seconds]
wolfspraul has joined #qi-hardware
Luke-Jr has quit [Ping timeout: 245 seconds]
sb0 has quit [Quit: Leaving]
rz2k has quit []
nicksydney has joined #qi-hardware
sb0 has joined #qi-hardware
sb0 has quit [Client Quit]
Luke-Jr has joined #qi-hardware
astr has quit [Ping timeout: 264 seconds]
wolfspraul has quit [Quit: leaving]
astr has joined #qi-hardware