*** shentey has quit IRC | 00:05 | |
*** xes_ has quit IRC | 00:06 | |
*** florian has quit IRC | 00:11 | |
*** rm_work is now known as rm_work|away | 00:14 | |
*** rm_work|away is now known as rm_work | 00:20 | |
*** dhbiker has quit IRC | 00:20 | |
kerio | in moscow | 00:22 |
---|---|---|
endso | ah..well have one clean pup...domestic issue no.12 of the day done... | 00:25 |
KotCzarny | it's useless, it will get dirty in no time | 00:25 |
KotCzarny | it's either home pup or stinky pup | 00:26 |
KotCzarny | also, skype worked on n8x0, so maybe it's the esd wrapper failing | 00:26 |
DocScrutinizer05 | esd wrapper? | 00:27 |
KotCzarny | esddsp | 00:27 |
DocScrutinizer05 | o.O | 00:27 |
DocScrutinizer05 | didn't know skype using esd | 00:27 |
KotCzarny | n8x0 has esound | 00:28 |
*** louisdk has joined #maemo | 00:28 | |
KotCzarny | so unless it killed the daemon, it was using it | 00:28 |
KotCzarny | hmm, which gives me an idea, he he | 00:28 |
DocScrutinizer05 | well, they never got audio right, that's why I stopped betatesting their crap. Then I kicked it off all my devices when it started sucking on security and draining my N900 battery | 00:28 |
endso | Hahaha thankfully he doesn't roll in the dirt or flop down in mud puddles .....So Kot ...no hope for gtkgep on the n8x0 then...odd I'd swear diablo turbo for sure already had esd ..I know it's in the ASUI | 00:28 |
KotCzarny | endso, i didn't say my final word on that | 00:29 |
endso | well there is a relief | 00:29 |
KotCzarny | gonna kill the esd and open /dev/dsp directly | 00:30 |
endso | It has to be some process kicking the crap out of it... | 00:30 |
endso | uh-oh...time for a Michael Bay 'splosion... | 00:32 |
L29Ah | https://www.youtube.com/watch?v=itXjAuUTs2U | 00:33 |
KotCzarny | ah, right, the marvelous /dev/dsptask* circus | 00:34 |
endso | https://www.youtube.com/watch?v=v7ssUivM-eM | 00:34 |
*** louisdk has quit IRC | 00:34 | |
*** Haudegen has quit IRC | 00:36 | |
*** florian has joined #maemo | 00:42 | |
*** Haudegen has joined #maemo | 00:45 | |
*** rm_work is now known as rm_work|away | 00:50 | |
*** Pali has quit IRC | 00:50 | |
*** rm_work|away is now known as rm_work | 00:52 | |
*** louisdk has joined #maemo | 00:54 | |
KotCzarny | wow, catting noise into /dev/dsptask/pcm1 closed ssh connection | 00:55 |
KotCzarny | funky | 00:55 |
*** basiaf has quit IRC | 00:56 | |
*** basiaf has joined #maemo | 00:57 | |
KotCzarny | and dmesg is full of happy omapdsp | 00:58 |
KotCzarny | and wtf is multimediad | 00:59 |
*** louisdk has quit IRC | 01:00 | |
*** louisdk has joined #maemo | 01:06 | |
*** florian has quit IRC | 01:09 | |
endso | multimediad(aemon) perhaps? | 01:19 |
KotCzarny | don't believe the names | 01:19 |
*** louisdk has quit IRC | 01:22 | |
*** louisdk has joined #maemo | 01:23 | |
*** KotCzarny has quit IRC | 01:25 | |
*** KotCzarny has joined #maemo | 01:26 | |
*** dreamer has quit IRC | 01:28 | |
endso | hm....I do believe it is very much so the Multimedia Daemon...refer to ASUI for more deets on it. If it is giving you probs...hm... | 01:31 |
KotCzarny | nah, just grumbling | 01:31 |
endso | https://garage.maemo.org/plugins/scmsvn/viewcvs.php/advanced-systemui/settings/services.c?root=asui&view=markup | 01:31 |
*** louisdk has quit IRC | 01:32 | |
*** andril has joined #maemo | 01:37 | |
*** obsed has joined #maemo | 01:38 | |
*** louisdk has joined #maemo | 01:39 | |
*** strohalm has quit IRC | 01:54 | |
*** strohalm has joined #maemo | 01:55 | |
*** strohalm has joined #maemo | 01:55 | |
KotCzarny | that audio system on n8x0 is.. fsckedup | 02:01 |
*** arossdotme has joined #maemo | 02:01 | |
*** arossdotme-nolog has joined #maemo | 02:04 | |
*** lobito has joined #maemo | 02:06 | |
*** lobito1 has quit IRC | 02:07 | |
endso | beauty ain't she? | 02:08 |
KotCzarny | playing works, untill i try to record | 02:09 |
KotCzarny | hrm, alsa output still works | 02:12 |
endso | hold it a sec..just to know here's you at :D ...forget recording for a mo...so running gtkgep works on the n800? | 02:16 |
KotCzarny | sure, no problem at all | 02:17 |
KotCzarny | i'm hacking at the audio system though | 02:17 |
KotCzarny | so far tried oss/esd combinations and all failed | 02:17 |
*** louisdk has quit IRC | 02:17 | |
KotCzarny | possible ways are gstreamer and alsa | 02:17 |
KotCzarny | trying alsa now | 02:17 |
endso | So you are attempting to get the device to record then...hm...alsa ..there is a good chance that will work better than esd...it is known to be a bit flaky on the n8x0 | 02:18 |
*** louisdk has joined #maemo | 02:18 | |
endso | esd that is | 02:19 |
endso | being flaky | 02:19 |
KotCzarny | pity they left the oss emulation layer out of the kernel modules | 02:19 |
*** dreamer has joined #maemo | 02:20 | |
*** vakkov has quit IRC | 02:22 | |
DocScrutinizer05 | use ALSA | 02:26 |
KotCzarny | doc, it's n8x0 | 02:26 |
DocScrutinizer05 | so? | 02:26 |
KotCzarny | so things are hairy there | 02:26 |
KotCzarny | pity libao doesnt support recording | 02:27 |
DocScrutinizer05 | dunno how they are hairy. I didn't check in depth | 02:27 |
DocScrutinizer05 | anyway I'd consider PolypAudio more hairy than any ALSA | 02:27 |
DocScrutinizer05 | and I'm relatively sure diablo came with ALSA like fremantle does | 02:29 |
*** xes has joined #maemo | 02:30 | |
KotCzarny | sure, but esd grabs it all for itself | 02:30 |
DocScrutinizer05 | check if there's aplay/arecord (same binary) | 02:30 |
KotCzarny | right now i'm writing c code to init alsa device | 02:30 |
DocScrutinizer05 | yeah sure, all sound servers are crap, esd just like PA and phonon and ... | 02:31 |
KotCzarny | wouldnt mind esd if it actually worked | 02:31 |
DocScrutinizer05 | get aplay c code, it is the reference implementation | 02:31 |
*** pentanol has joined #maemo | 02:32 | |
DocScrutinizer05 | when there's a aplay/arecord binary on diablo, you're better off copying stuff from there rather than writing your own | 02:33 |
KotCzarny | sure, but i have to hack it into other app | 02:33 |
DocScrutinizer05 | that's ok | 02:33 |
KotCzarny | which isn't always 1:1 | 02:33 |
DocScrutinizer05 | well, for large parts it is | 02:33 |
KotCzarny | devil is in details | 02:33 |
DocScrutinizer05 | I know about such devilish details, I serviced the ALSA part of twinklephone | 02:34 |
KotCzarny | do you know if i can open single stream for record and playback? | 02:35 |
DocScrutinizer05 | sure | 02:35 |
DocScrutinizer05 | you mean one for both? aka duplex? | 02:35 |
KotCzarny | yes | 02:35 |
DocScrutinizer05 | nah, afaik not | 02:35 |
KotCzarny | fun. | 02:36 |
KotCzarny | double initialization again | 02:36 |
DocScrutinizer05 | you might reuse initialization, but you need to open one down stream and one up stream | 02:36 |
DocScrutinizer05 | afaik | 02:36 |
*** vakkov has joined #maemo | 02:37 | |
DocScrutinizer05 | it's not like you could use same buffer concurrently for sending and receiving samples | 02:37 |
KotCzarny | hmm, but i found this piece of code: snd_pcm_hw_params_set_access (aR, hw_params, SND_PCM_ACCESS_RW_INTERLEAVED); | 02:37 |
KotCzarny | does it mean it can be used both ways? | 02:38 |
DocScrutinizer05 | sorry, I don't know the ALSA interface specs by heart | 02:38 |
DocScrutinizer05 | prolly yes, yet you can open it *either* for read *or* for write | 02:38 |
DocScrutinizer05 | not for readwrite | 02:39 |
DocScrutinizer05 | http://www.alsa-project.org/alsa-doc/alsa-lib/index.html | 02:40 |
DocScrutinizer05 | http://www.alsa-project.org/alsa-doc/alsa-lib/globals.html etc | 02:41 |
KotCzarny | snd_pcm_open (&aP, argv[1], SND_PCM_STREAM_PLAYBACK, 0); | 02:42 |
KotCzarny | second parameter is something in the way of "hw:0,0" ? | 02:42 |
DocScrutinizer05 | sounds good | 02:43 |
KotCzarny | not that much, can't guess names on n8x0 | 02:43 |
DocScrutinizer05 | razher use e.g plughw:0,0 | 02:43 |
DocScrutinizer05 | aplay -l, aplay -L | 02:44 |
KotCzarny | no such commands | 02:44 |
KotCzarny | diablo was castrated in the usual nokia's way | 02:44 |
DocScrutinizer05 | that's a pity when there's no aplay | 02:44 |
KotCzarny | gonna check diablo wheezy armel repo | 02:44 |
DocScrutinizer05 | anyway there's only a few possibilities for soundcards: hw:0,0 hw:0,1 hw:1,0 hw:1,1 | 02:46 |
DocScrutinizer05 | maybe 2 as well | 02:46 |
KotCzarny | sure, unless it's nokia's os | 02:46 |
KotCzarny | and there will be bazillion of different names | 02:46 |
DocScrutinizer05 | the rest are PCM plugins which can be found in usr/*/*/alsa/* | 02:46 |
KotCzarny | [root@Nokia-N800-43-7:~]# /aplay -l | 02:46 |
KotCzarny | **** List of PLAYBACK Hardware Devices **** | 02:46 |
KotCzarny | ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL hw:0 | 02:46 |
KotCzarny | aplay: device_list:261: control open (0): No such file or directory | 02:46 |
KotCzarny | [fun | 02:47 |
KotCzarny | told you, nokia | 02:47 |
DocScrutinizer05 | http://privatepaste.com/862908f551 | 02:48 |
KotCzarny | luckily strace hinted /usr/share/alsa/alsa.conf | 02:48 |
KotCzarny | pcm.!default { | 02:49 |
KotCzarny | type alsa_dsp | 02:49 |
KotCzarny | playback_device_file ["/dev/dsptask/pcm3"] | 02:49 |
KotCzarny | recording_device_file ["/dev/dsptask/pcm_rec1"] | 02:49 |
KotCzarny | } | 02:49 |
KotCzarny | how do i use it? | 02:49 |
KotCzarny | pcm.!default is the name i have to use in both cases? | 02:49 |
*** RzR is now known as rZr | 02:50 | |
DocScrutinizer05 | default is used when you don't give any device | 02:52 |
DocScrutinizer05 | but yes, you also could use default explicitly, I guess | 02:53 |
DocScrutinizer05 | don't ask me about the ! I never understood what's the exact meaning | 02:53 |
DocScrutinizer05 | anyway you'll find somewhere a pcm definition for e.g. pcm.stereo or whatever and it has sth like {rate=8000; slave default} | 02:56 |
KotCzarny | nope | 02:56 |
DocScrutinizer05 | and you probbaly will find a pcm.hw somewhere | 02:56 |
KotCzarny | that's the only sane entry | 02:56 |
DocScrutinizer05 | sorry, no working diablo system here. See above pastebin for fremantle | 02:57 |
KotCzarny | http://pastebin.com/raw.php?i=gBS8x9F1 | 02:58 |
DocScrutinizer05 | http://privatepaste.com/bffa27d2e3 | 02:58 |
KotCzarny | i'm curious about the last line, how do i get oss node? | 02:58 |
*** dreamer has quit IRC | 02:59 | |
DocScrutinizer05 | http://www.alsa-project.org/~jfulmer/alsa-faq.html | 02:59 |
KotCzarny | i meant, can i get that node working without oss emulation module | 03:00 |
KotCzarny | ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM pcm.!default | 03:03 |
KotCzarny | fun. | 03:03 |
DocScrutinizer05 | the ! is illegal char I'd guess | 03:04 |
DocScrutinizer05 | it's a special meaning char not part of name | 03:04 |
KotCzarny | umkay, something is working | 03:05 |
KotCzarny | i even get some feedback when tapping on the mic | 03:05 |
DocScrutinizer05 | honestly, an empty device string is same like "default" | 03:05 |
DocScrutinizer05 | afaik | 03:05 |
*** rm_work is now known as rm_work|away | 03:07 | |
DocScrutinizer05 | afk, cya | 03:07 |
KotCzarny | thx, and gn | 03:07 |
KotCzarny | fun. device is still opened after program closed (and i did close both streams) | 03:10 |
*** andril has quit IRC | 03:13 | |
DocScrutinizer05 | you need to free them too iirc | 03:14 |
DocScrutinizer05 | just closing isn't enough | 03:14 |
KotCzarny | sure, but now that app closed, how do i free them? | 03:15 |
DocScrutinizer05 | or rather, closing might actually fail when you didn't free them beforehand | 03:15 |
DocScrutinizer05 | good question, prolly reload the als kernel module | 03:15 |
DocScrutinizer05 | dunno | 03:15 |
KotCzarny | hehe | 03:15 |
KotCzarny | reboot then | 03:15 |
DocScrutinizer05 | what makes you think they are still open? | 03:16 |
KotCzarny | [ 3808.617187] EAC mode: play enabled, rec enabled | 03:16 |
KotCzarny | and no 'disabled' line in dmesg later on | 03:17 |
KotCzarny | also, can't run app second time | 03:17 |
DocScrutinizer05 | hmm | 03:17 |
DocScrutinizer05 | no idea. actually that type alsa_dsp is new to me | 03:18 |
KotCzarny | told you, it's hairy | 03:18 |
DocScrutinizer05 | must be the kernel interface to ... dsp ;-) | 03:18 |
KotCzarny | pity they couldn't write proper kernel device | 03:19 |
KotCzarny | that would keep to standards and failsafe from user hackings | 03:19 |
KotCzarny | yeah, it fails at snd_pcm_open | 03:20 |
KotCzarny | so i can't even reset it without the reboot | 03:20 |
DocScrutinizer05 | OpenMAX IL | 03:21 |
KotCzarny | yeah, 'open' 'max' | 03:21 |
KotCzarny | both lies | 03:21 |
DocScrutinizer05 | http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Architecture/Multimedia_Domain | 03:21 |
DocScrutinizer05 | it's prolly a TI thing | 03:21 |
DocScrutinizer05 | DSP-bridge | 03:21 |
KotCzarny | but you are reading n900's docs | 03:22 |
DocScrutinizer05 | yes, but the OMAP2 isn't that much different in that regard | 03:22 |
KotCzarny | it is, driver is worse | 03:22 |
DocScrutinizer05 | afaik it also has a DSP | 03:22 |
DocScrutinizer05 | and I guess alsa_dsp is ALSA's interface to OpenMAX IL or whatever the thing is called on OMAP2 | 03:24 |
KotCzarny | ok, so how do i close the bastard properly? | 03:24 |
KotCzarny | snd_pcm_drop ? | 03:24 |
KotCzarny | then snd_pcm_close? | 03:24 |
DocScrutinizer05 | unload the kernel module omap-dsp or whatever it's called | 03:25 |
KotCzarny | nope | 03:25 |
KotCzarny | builtin | 03:25 |
DocScrutinizer05 | aah | 03:25 |
DocScrutinizer05 | check source for aplay | 03:25 |
DocScrutinizer05 | it's the reference inplementation | 03:25 |
*** xorly has quit IRC | 03:27 | |
KotCzarny | i think it just uses snd_pcm_close | 03:28 |
KotCzarny | unless there is something to error handling | 03:29 |
DocScrutinizer05 | as mentioned you need to free stuff before close will succeed | 03:30 |
KotCzarny | ok, got disabled msg | 03:31 |
KotCzarny | oh, fun, it stays opened when closing app via ctrl-c | 03:31 |
DocScrutinizer05 | http://privatepaste.com/99b5d4da1f | 03:33 |
DocScrutinizer05 | from /home/jr/Desktop/twinkle-1.1/src/audio/audio_device.cpp | 03:35 |
*** beford has joined #maemo | 03:36 | |
KotCzarny | nah, it's just that author of the app didnt add snd stop func at all close cases | 03:36 |
DocScrutinizer05 | sorry, can't help any further. That's the end of my alsa 'expertise' | 03:38 |
KotCzarny | no worries, it almost works | 03:38 |
KotCzarny | still have to hack at buffers (clicking etc) | 03:38 |
DocScrutinizer05 | twinkle-1.1/src/audio/audio_device.cpp is about as much as I know about ALSA | 03:38 |
DocScrutinizer05 | nice code | 03:39 |
DocScrutinizer05 | I found the // Without the snd_pcm_hw_free, snd_pcm_close sometimes fails. | 03:39 |
KotCzarny | i free hw just after init | 03:40 |
DocScrutinizer05 | since nobody but me bothers to check error return code of a close() | 03:40 |
KotCzarny | or not | 03:40 |
*** dreamer has joined #maemo | 03:40 | |
DocScrutinizer05 | and yes, ALSA docs suck in that they don't exlain when and how to use snd_pcm_hw_free() and *close() etc | 03:42 |
*** louisdk has quit IRC | 03:46 | |
DocScrutinizer05 | get twinkle-1.*/src/audio/audio_device.cpp it's probably pretty instructive particularly when you like OSS | 03:47 |
KotCzarny | i'm tired a bit | 03:48 |
KotCzarny | so for now i just install signal handler | 03:48 |
DocScrutinizer05 | http://privatepaste.com/ece01709c6 | 03:49 |
KotCzarny | i wouldnt call it simple interface | 03:49 |
KotCzarny | but in my case it was the missing signal handler | 03:50 |
KotCzarny | i'm amazed that kernel doesnt close the device on it's own... | 03:50 |
KotCzarny | i guess that's the reason of n8x0's audio being flaky (sometimes works, sometimes not) | 03:50 |
KotCzarny | can i catch -KILL ? | 03:53 |
ZetaR | KotCzarny: SIGKILL cannot be caught. | 04:10 |
KotCzarny | yeah. pity | 04:10 |
ZetaR | Well, it does give you a way to kill a program that is hanging and refusing to respond to other signals. | 04:11 |
KotCzarny | yeah, still, if i will ever have to kill this app via -KILL, audio device will be blocked | 04:12 |
ZetaR | That... sounds like really poor design. | 04:14 |
KotCzarny | on the nokia/ti, yes | 04:14 |
ZetaR | You should immediately free resources when the blocking program gets killed. | 04:14 |
*** Humpelst1lzchen has quit IRC | 04:16 | |
*** Humpelstilzchen has joined #maemo | 04:17 | |
ZetaR | Unfortunately, I don't really know much about OMAP and ALSA, so I can't really help you out. | 04:18 |
KotCzarny | nah, as i've said, it was a missing signal handler, it's fixed now (to a point) | 04:19 |
KotCzarny | do you know c? | 04:19 |
ZetaR | Yeah, but not real experienced. | 04:20 |
KotCzarny | process_buffer[i]>>=1; | 04:20 |
KotCzarny | what does it do? | 04:20 |
ZetaR | Hm, let me check K&R. Not sure what the >> is for. | 04:22 |
KotCzarny | >> is bit shift | 04:22 |
KotCzarny | but is >>= special? | 04:22 |
ZetaR | Oh, well that sounds like you have an array and you are bit shifting and assigning a 1. | 04:23 |
KotCzarny | o.o | 04:23 |
KotCzarny | i wonder what the author meant by it.. | 04:23 |
KotCzarny | but for shift you need param | 04:23 |
KotCzarny | as in var>>2 etc | 04:23 |
ZetaR | Hmm, maybe it is some other thing then. | 04:25 |
ZetaR | According to K&R, most of the binary operators have a corresponding assignment operator, which is what >>= is. So that line should be equivalent to "process_buffer[i] = process_buffer[i] >> 1;" | 04:30 |
KotCzarny | uhum | 04:30 |
ZetaR | "expr1 op = expr2" is equivalent to "expr1 = (expr1) op (expr2)" | 04:31 |
KotCzarny | i still don't know what app author wanted to achieve, because it only shifts by 1 bit then overwrites it next | 04:31 |
ZetaR | Unfortunately, K&R does not contain the necessary rituals for divining the intentions of other programmers. | 04:32 |
KotCzarny | http://pastebin.com/raw.php?i=miq1Ty4j | 04:33 |
KotCzarny | this is the part of the code | 04:33 |
KotCzarny | ignore <---> | 04:33 |
KotCzarny | process_buffer is audio data, 2ch, 16bit samples | 04:34 |
ZetaR | That doesn't overwrite it. | 04:34 |
KotCzarny | if i read it correctly, it overwrites one channel with the other shifted by one bit | 04:34 |
ZetaR | Oh, I thought you meant it overwrites it uselessly. | 04:35 |
KotCzarny | process_buffer data type is short | 04:36 |
ZetaR | So it shifts the samples in the array by one, and bitshifts the samples by one? | 04:37 |
KotCzarny | it's late, i might be wrong/blind | 04:37 |
ZetaR | Sorry, I need to go AFK for ~30min. | 04:37 |
KotCzarny | no worries | 04:37 |
*** LauRoman|Alt has joined #maemo | 04:43 | |
*** pcfe has quit IRC | 04:44 | |
*** pcfe has joined #maemo | 04:49 | |
*** pcfe has quit IRC | 04:49 | |
*** pcfe has joined #maemo | 04:49 | |
DocScrutinizer05 | hey, that divides by two (>>1) and copies left into right chan | 05:01 |
KotCzarny | yeah, that's why i don't understand it | 05:01 |
DocScrutinizer05 | which makes sense since stereo->mono later on adds both channels and thus compensates for the divide by 2 aka rightshift | 05:02 |
KotCzarny | huh? | 05:02 |
KotCzarny | so it's primitive stereo->mono code? | 05:02 |
DocScrutinizer05 | it's prolly mono isgnal in left chan of a stereo stream | 05:02 |
DocScrutinizer05 | this code copies left chan into right chan so it's balanced stereo, and compensates for the volume increase that causes | 05:03 |
KotCzarny | what do you mean by 'balanced stereo' | 05:04 |
DocScrutinizer05 | it's rather mono->stereo | 05:04 |
DocScrutinizer05 | input is L?L?L?, output is (L/2)(L/2)(L/2)(L/2)(L/2)(L/2) | 05:05 |
DocScrutinizer05 | ? is probably 0 | 05:05 |
DocScrutinizer05 | or bogus data | 05:05 |
KotCzarny | i could understand that it overwrites right chan with quited left chan | 05:06 |
DocScrutinizer05 | a correct stereo input would be LRLRLR | 05:06 |
DocScrutinizer05 | looks like what I'd do to a headset mic input | 05:07 |
KotCzarny | unless your mic input is really stereo | 05:07 |
DocScrutinizer05 | which per definition is on left channel when input is stereo | 05:07 |
KotCzarny | or if input is line-in | 05:07 |
DocScrutinizer05 | never seen a headset with stereo mic :-) | 05:08 |
KotCzarny | this app comes from desktop | 05:08 |
KotCzarny | but ok, thanks for helping me understand the author | 05:08 |
DocScrutinizer05 | it copies left into right channel and attenuates both by 50% | 05:09 |
KotCzarny | yeah | 05:09 |
KotCzarny | now i have to tidy up the block sizes he uses | 05:09 |
ZetaR | It seems that DocScrutinizer05 knows the correct divining rituals we were missing. :) | 05:14 |
KotCzarny | or just had his powernap | 05:14 |
KotCzarny | ;) | 05:14 |
*** dreamer has quit IRC | 05:15 | |
ZetaR | I think it is something like 4am where he is. | 05:15 |
KotCzarny | on another note, im so gonna steal many of gtkgep effects and add them into oscp | 05:18 |
KotCzarny | MUAHAHAHAHA | 05:18 |
*** LauRoman|Alt has quit IRC | 05:19 | |
ZetaR | Someone just turned into Mr. Hyde. | 05:21 |
KotCzarny | anyway, thanks, and cya, time for my powernap | 05:22 |
ZetaR | Cya. | 05:22 |
*** RedW has quit IRC | 05:28 | |
*** RedW has joined #maemo | 05:30 | |
*** lxp has joined #maemo | 06:01 | |
*** lxp1 has quit IRC | 06:03 | |
*** FlameReaper has joined #maemo | 06:19 | |
*** phlixi_ has joined #maemo | 06:21 | |
*** phlixi has quit IRC | 06:21 | |
*** timeless has quit IRC | 06:45 | |
*** XDS2010 has quit IRC | 06:46 | |
*** beford has quit IRC | 06:50 | |
*** rm_work|away has quit IRC | 06:52 | |
*** timeless has joined #maemo | 06:58 | |
*** FlameReaper has quit IRC | 07:09 | |
*** FlameReaper has joined #maemo | 07:10 | |
*** darkschneider2 has quit IRC | 07:13 | |
*** darkschneider2 has joined #maemo | 07:14 | |
*** FlameReaper has quit IRC | 07:22 | |
*** FlameReaper has joined #maemo | 07:23 | |
*** infobot has quit IRC | 07:32 | |
*** infobot has joined #maemo | 07:33 | |
*** rm_work has joined #maemo | 07:40 | |
*** eMHa__ has quit IRC | 07:42 | |
*** XDS2010 has joined #maemo | 07:46 | |
*** endso has quit IRC | 07:53 | |
*** rm_work is now known as rm_work|away | 08:23 | |
*** rm_work|away is now known as rm_work | 08:56 | |
*** rm_work is now known as rm_work|away | 08:58 | |
*** Haudegen has quit IRC | 09:44 | |
*** silviof has quit IRC | 09:46 | |
*** FlameReaper has quit IRC | 09:48 | |
*** Haudegen has joined #maemo | 09:53 | |
*** Humpelst1lzchen has joined #maemo | 09:58 | |
*** Humpelstilzchen has quit IRC | 10:00 | |
*** Humpelst1lzchen has quit IRC | 10:03 | |
*** Humpelstilzchen has joined #maemo | 10:09 | |
*** aloril_ has quit IRC | 10:35 | |
*** pentanol has quit IRC | 10:41 | |
*** L29Ah has left #maemo | 10:55 | |
*** bugzy has quit IRC | 11:08 | |
*** bugzy has joined #maemo | 11:09 | |
*** obsed has quit IRC | 11:18 | |
*** L29Ah has joined #maemo | 11:23 | |
*** LjL has quit IRC | 11:24 | |
*** LjL has joined #maemo | 11:25 | |
*** L29Ah has left #maemo | 11:33 | |
*** louisdk has joined #maemo | 11:35 | |
*** phlixi_ has quit IRC | 11:36 | |
*** L29Ah has joined #maemo | 11:40 | |
*** phlixi has joined #maemo | 11:41 | |
*** phlixi has joined #maemo | 11:42 | |
*** bugzy has quit IRC | 11:45 | |
*** L29Ah has left #maemo | 11:50 | |
KotCzarny | stupid alsa | 11:52 |
*** BCMM has joined #maemo | 11:53 | |
*** dreamer has joined #maemo | 11:54 | |
*** xorly has joined #maemo | 12:01 | |
*** dreamer has quit IRC | 12:16 | |
*** silviof has joined #maemo | 12:23 | |
*** BCMM has quit IRC | 12:25 | |
*** L29Ah has joined #maemo | 12:32 | |
*** zGrr has joined #maemo | 12:37 | |
zGrr | moin :) | 12:37 |
*** sparetire_ has quit IRC | 12:40 | |
*** dreamer has joined #maemo | 12:40 | |
*** vakkov has quit IRC | 12:47 | |
*** aloril has joined #maemo | 13:01 | |
*** vakkov has joined #maemo | 13:03 | |
*** infobot has quit IRC | 13:04 | |
*** infobot has joined #maemo | 13:05 | |
*** dreamer has quit IRC | 13:08 | |
*** dreamer has joined #maemo | 13:08 | |
*** louisdk has quit IRC | 13:09 | |
*** louisdk has joined #maemo | 13:14 | |
*** obsed has joined #maemo | 13:25 | |
*** louisdk has quit IRC | 13:25 | |
*** louisdk has joined #maemo | 13:34 | |
*** dreamer has quit IRC | 13:39 | |
*** dreamer has joined #maemo | 13:40 | |
*** louisdk has quit IRC | 13:53 | |
*** ecloud is now known as ecloud_wfh | 13:54 | |
*** vakkov has quit IRC | 13:55 | |
*** Haudegen has quit IRC | 14:01 | |
*** ashneo76 has quit IRC | 14:05 | |
*** Haudegen has joined #maemo | 14:10 | |
*** louisdk has joined #maemo | 14:10 | |
*** erlehmann has joined #maemo | 14:12 | |
*** vakkov has joined #maemo | 14:13 | |
KotCzarny | hehehe, fun | 14:18 |
KotCzarny | alsa lib example tool latency.c also leaves device enabled (ie. blocked) | 14:18 |
*** louisdk has quit IRC | 14:26 | |
*** dhbiker has joined #maemo | 14:29 | |
*** louisdk has joined #maemo | 15:20 | |
*** BCMM has joined #maemo | 15:25 | |
*** louisdk has quit IRC | 15:38 | |
*** L29Ah has left #maemo | 15:48 | |
*** LauRoman|Alt has joined #maemo | 15:54 | |
*** louisdk has joined #maemo | 15:57 | |
*** FlameReaper has joined #maemo | 16:06 | |
*** louisdk has quit IRC | 16:12 | |
*** BCMM has quit IRC | 16:28 | |
*** L29Ah has joined #maemo | 16:33 | |
*** darkschneider2 has quit IRC | 16:35 | |
*** dreamer has quit IRC | 16:44 | |
*** dreamer has joined #maemo | 16:44 | |
*** erlehmann has quit IRC | 16:48 | |
KotCzarny | ugh, n8x0's mic/recording is limited to 8kHz | 16:51 |
KotCzarny | and diablo is missing gst-plugins-'bad' | 16:52 |
KotCzarny | castrated all the way | 16:52 |
*** freemangordon_ has quit IRC | 17:00 | |
kerio | i reckon i'll switch to android soon | 17:10 |
kerio | :( | 17:10 |
KotCzarny | got a new toy/ | 17:10 |
DocScrutinizer05 | KotCzarny: prolly N810 indeed is pretty fsckdup re audio | 17:12 |
KotCzarny | yeah | 17:12 |
*** Ras_Older has quit IRC | 17:12 | |
KotCzarny | playing works, mostly | 17:12 |
KotCzarny | recording.. well | 17:12 |
KotCzarny | with the alsa code i made it working, but i run into underruns or some mismatched buffers problems | 17:13 |
kerio | might get to use a samsung galaxy grand prime | 17:13 |
KotCzarny | do you have a moment to help me with the code? | 17:13 |
kerio | specs are kinda crap anyway | 17:13 |
kerio | i dunno | 17:13 |
KotCzarny | that was to the doc | 17:14 |
kerio | i would've liked to buy a neo900 but it costs eleventy billion euros | 17:14 |
*** Ras_Older has joined #maemo | 17:15 | |
*** bugzy has joined #maemo | 17:19 | |
*** L29Ah has left #maemo | 17:38 | |
*** dreamer has quit IRC | 17:43 | |
*** dreamer has joined #maemo | 17:44 | |
*** zGrr has quit IRC | 17:45 | |
*** dreamer has quit IRC | 18:01 | |
*** dreamer has joined #maemo | 18:02 | |
*** FlameReaper has quit IRC | 18:20 | |
*** kerio has quit IRC | 18:21 | |
*** kerio has joined #maemo | 18:22 | |
*** obsed has quit IRC | 18:29 | |
KotCzarny | lol, n800 was codenamed gagarin | 18:30 |
KotCzarny | 770 was codenamed sputnik and n900 rover | 18:31 |
KotCzarny | n9 'lankku' and n-gage 'starship' | 18:33 |
*** Pali has joined #maemo | 18:33 | |
bencoh | :) | 18:34 |
bencoh | "rover" is pretty much accurate for n900 | 18:35 |
KotCzarny | rove, rove, rove your boat? | 18:35 |
KotCzarny | is there usb-audio kernel module for n8x0 ? | 18:36 |
*** endso has joined #maemo | 19:06 | |
*** teotwaki has quit IRC | 19:21 | |
*** teotwaki has joined #maemo | 19:24 | |
*** Haudegen has quit IRC | 19:29 | |
*** bugzy has quit IRC | 19:30 | |
*** N-Mi has quit IRC | 19:36 | |
*** Haudegen has joined #maemo | 19:38 | |
KotCzarny | [16610.820312] usbcore: registered new interface driver snd-usb-audio | 19:58 |
KotCzarny | :) | 19:58 |
KotCzarny | pity alsa oss emulation doesnt register the card | 20:00 |
KotCzarny | so, anyone with n8x0, usb gender bender cable, usb audio card and wanting to test usb audio? | 20:01 |
bencoh | dont you have a DAC on n8x0 ? | 20:04 |
KotCzarny | more like CAC | 20:04 |
KotCzarny | crap audio converter | 20:05 |
KotCzarny | bencoh, unless you point me to some code that can record good quality audio for n8x0 | 20:05 |
bencoh | record ? I thought you wanted to play | 20:07 |
KotCzarny | record, apply effect, then play | 20:07 |
KotCzarny | playing part works fine | 20:08 |
*** Pali has quit IRC | 20:10 | |
KotCzarny | nice, nfs module | 20:12 |
*** rm_work|away is now known as rm_work | 20:13 | |
*** L29Ah has joined #maemo | 20:14 | |
*** Pali has joined #maemo | 20:14 | |
endso | I unfortunately don't have the right equip. to test external audio w/ n8x0 | 20:19 |
endso | at least not at this time... | 20:19 |
endso | usb audio card eh? | 20:20 |
KotCzarny | yeah, and 100mA max, or with external power hub | 20:21 |
endso | hm...I'll look | 20:23 |
APic | B-) | 20:25 |
*** aloril has quit IRC | 20:29 | |
*** aloril has joined #maemo | 20:30 | |
*** florian has joined #maemo | 20:34 | |
vectis | I've got a set of usb speakers if thats any help? usb sound, but no mic input obviously | 20:37 |
endso | dug through a couple of boxes of adapters, cables, plugs and interfaces I have for audio for comp and devices....no I don't have a usb audio card handy.. | 20:37 |
KotCzarny | vectis, if your usb speakers have minijack too, then they use usb only for power | 20:38 |
vectis | no, it's all on the usb cable. | 20:38 |
KotCzarny | and do you have n8x0 ? | 20:39 |
vectis | yep :) | 20:39 |
vectis | n810 | 20:39 |
KotCzarny | and usb adapter to connect them to n810? | 20:39 |
vectis | yer, got the cables. Just looking for a powered hub | 20:40 |
vectis | Just looking for the last piece of the puzzle.......... the power supply | 20:43 |
*** BCMM has joined #maemo | 20:46 | |
*** troulouliou_div2 has joined #maemo | 20:48 | |
vectis | [78860.308593] usb 1-1.4: Product: USB Audio [78860.308593] usb 1-1.4: Manufacturer: C-Media INC. [78860.308593] usb 1-1.4: device v0d8c p0001 is not supported | 20:50 |
KotCzarny | lsmod |grep usb-audio | 20:50 |
KotCzarny | or lsmod|grep usb_audio | 20:50 |
*** florian has quit IRC | 20:51 | |
vectis | nothing | 20:51 |
KotCzarny | https://transfer.sh/19OFqz/n810-extra.tar.gz | 20:51 |
KotCzarny | here are modules | 20:51 |
KotCzarny | built for n800, but n810's kernel is almost identical | 20:51 |
vectis | hmm, insmod: can't open 'snd_#####.ko': No such file or directory thats for all of them | 20:57 |
KotCzarny | dmesg? | 20:57 |
*** DerHat has joined #maemo | 20:57 | |
DerHat | Hi | 20:57 |
KotCzarny | also, are you in the directory with .ko files? | 20:57 |
*** troulouliou_div2 has quit IRC | 20:59 | |
*** futpib has joined #maemo | 20:59 | |
DerHat | i soldered my n900 usb port again. looks like my battery is dead, no matter because i got more of them! | 20:59 |
KotCzarny | also, i've made a script that will load modules in correct order | 20:59 |
DerHat | but is there any known way to fix with lower capacity or something? | 21:00 |
*** shentey has joined #maemo | 21:00 | |
freemangordon | DerHat: the only known fix for a battery with lowered capacity is a *new* battery :) | 21:03 |
DerHat | ok, i got 2 dead batteries :/ | 21:05 |
KotCzarny | :) | 21:05 |
DerHat | n900 needs so much time! | 21:05 |
DerHat | my hobby: maemo n900 | 21:05 |
DerHat | :D | 21:05 |
KotCzarny | just buy some chinese one for a quick-fix, then hunt for brand new original one | 21:06 |
freemangordon | not original, but powercell ;) | 21:06 |
freemangordon | ~powercell | 21:06 |
freemangordon | hmm | 21:07 |
KotCzarny | original powercell | 21:07 |
freemangordon | yeah | 21:07 |
*** troulouliou_div2 has joined #maemo | 21:08 | |
DerHat | maybe one of my batteries is getting a zombie if i overvoltage or just wait some hrs | 21:08 |
*** troulouliou_div2 has quit IRC | 21:09 | |
vectis | nothing doing. I extracted the tar.gz and cd to the folder. ran the script and I get the same "No such file or directory" 8 times (run as su) | 21:10 |
KotCzarny | hmm | 21:10 |
freemangordon | hmm, google knows nothing about "powercell bl5j" | 21:10 |
*** troulouliou_div2 has joined #maemo | 21:11 | |
KotCzarny | vectis: weird | 21:11 |
KotCzarny | aaah. ok script fails because i've used lsmod output, silly me | 21:12 |
KotCzarny | do ls, then copypaste the name | 21:12 |
vectis | grep usb-audio now waits at the promt, returned nothing before | 21:12 |
KotCzarny | vectis: try: insmod snd-rawmidi.ko | 21:13 |
vectis | that worked | 21:14 |
KotCzarny | k, then change all _ into - in the script and just run | 21:14 |
KotCzarny | or load by hand, whichever is faster | 21:15 |
*** xorly has quit IRC | 21:15 | |
vectis | ha ha, just spotted that! gimme five....... | 21:16 |
*** sparetire_ has joined #maemo | 21:16 | |
*** shentey has quit IRC | 21:16 | |
*** troulouliou_div2 has quit IRC | 21:17 | |
freemangordon | DerHat: http://www.ebay.co.uk/itm/PolarCell-Battery-Nokia-X6-00-5230-5800-N900-C3-00-Bl-5j-Xpress-Music-Xm-/331336409344?pt=LH_DefaultDomain_3&hash=item4d25306100 | 21:17 |
freemangordon | that one (1500 mAh) | 21:17 |
KotCzarny | freemangordon.. thats polarcell, not powercell | 21:18 |
KotCzarny | ~polarcell | 21:18 |
infobot | i heard polarcell is http://www.ebay.co.uk/itm/390402445382 BL-5J Replacement | 21:18 |
freemangordon | oh, stupid, blind me :D | 21:18 |
KotCzarny | typo day or what? | 21:18 |
freemangordon | yeah, typo day | 21:18 |
*** shentey has joined #maemo | 21:19 | |
bencoh | :) | 21:19 |
freemangordon | I even disassembled my second device to read how *exactly* it is written | 21:19 |
DerHat | 5,55 W/h | 21:19 |
bencoh | polarcell <3 | 21:19 |
freemangordon | yeah, but still I googled for powercell :D | 21:20 |
bencoh | even though the "last charge" slowly decreases over time | 21:20 |
KotCzarny | pity | 21:20 |
freemangordon | well, that's normal afaik | 21:20 |
bencoh | 1492 when I bought it, 1475 as of now | 21:20 |
KotCzarny | yeah, li-ion fun | 21:20 |
bencoh | (6 months later iirc) | 21:20 |
freemangordon | not that bad | 21:20 |
vectis | ok, the lights are on. usbcore: registered new interface driver snd-usb-audio | 21:21 |
bencoh | yeah, not that bad | 21:21 |
KotCzarny | vectis: woo-hoo, now, i wonder what's the alsa id of this card | 21:21 |
bencoh | daily use, charge every two days (roughly) from ~50% to 100% | 21:21 |
vectis | just tell me what buttons to press :D | 21:22 |
L29Ah | > W/h | 21:22 |
KotCzarny | you can try: mplayer -ao alsa=hw:1,0 | 21:22 |
KotCzarny | you can try: mplayer -ao alsa=hw:1,0 some.mp3 | 21:22 |
KotCzarny | or: mplayer -ao alsa:device=hw:1,0 some.mp3 | 21:22 |
freemangordon | bencoh: how do you manage to go through more than one day with a single charge? I guess your n900 is not your only device. | 21:22 |
*** shentey has quit IRC | 21:23 | |
*** arossdotme-nolog has quit IRC | 21:23 | |
*** arossdotme has quit IRC | 21:23 | |
vectis | hmmm, i'll have to install mplayer. I'll get back to you asap. I need coffee......... | 21:24 |
DerHat | yes, you | 21:24 |
KotCzarny | i've just checked, proper syntax is: mplayer -ao alsa:device=hw=1.0 some.mp3 | 21:24 |
vectis | oakies | 21:25 |
KotCzarny | you may try different hw combinations | 21:25 |
KotCzarny | don't know which id it got assigned | 21:25 |
bencoh | freemangordon: laptop at work and at home, 3G only when needed (web or tethering) | 21:26 |
freemangordon | do you have IM and/or email accounts? | 21:26 |
bencoh | ssh/irssi over gprs | 21:26 |
KotCzarny | vectis: you may check /proc/asound/cards | 21:27 |
bencoh | (and mutt over ssh for mails :) | 21:27 |
bencoh | and I dont need to send tcp keepalives so it doesnt need to wake the cpu too often | 21:28 |
bencoh | (basically when I use it or when I receive data to display on screen/terminal) | 21:28 |
freemangordon | bencoh: weird, could be the cells quality, but I can't make more than a day with gtalk and fb chat and gmail/exchange accounts over 2G | 21:29 |
bencoh | or they keep waking it up | 21:29 |
bencoh | keepalives at tcp or application level | 21:30 |
KotCzarny | if you set them to 120s it's not that bad | 21:30 |
bencoh | how does fb chat work btw ? http/json api ? | 21:30 |
dhbiker | hi... where can i get images for OS reflash | 21:30 |
KotCzarny | but if server doesnt' disconnect you for idling, no need to | 21:30 |
KotCzarny | ~flashing | 21:30 |
infobot | it has been said that maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh | 21:30 |
freemangordon | bencoh: xmpp? | 21:30 |
bencoh | freemangordon: oh, didnt know it still worked with fb | 21:31 |
KotCzarny | ~combined | 21:31 |
infobot | methinks combined is the rootfs fiasco image of maemo. For N900 latest (PR1.3.1) see http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2011/9/--FID--A0A22MVWFVFAM/--LID--FiRe1317015685654/RX-51_2009SE_21.2011.38-1_PR_COMBINED_MR0_ARM.bin, or http://galif.eu/nokia/ | 21:31 |
bencoh | I thought they closed that a long time ago | 21:31 |
dhbiker | sweet ty KotCzarny | 21:31 |
KotCzarny | ~fiasco | 21:31 |
infobot | L4-compatible real-time microkernel capable of running Linux in usermode. URL: http://os.inf.tu-dresden.de/fiasco/ | 21:31 |
KotCzarny | :) | 21:31 |
KotCzarny | hehe | 21:31 |
freemangordon | bencoh: suprisingly, it still works, albeit st is officially closed :) | 21:31 |
freemangordon | s/st/it | 21:32 |
*** arcean has joined #maemo | 21:33 | |
bencoh | oh :) | 21:33 |
bencoh | freemangordon: http://tools.ietf.org/html/rfc6120#section-4.6 (xmpp keepalive) | 21:34 |
*** arossdotme-nolog has joined #maemo | 21:36 | |
freemangordon | bencoh: so you think both fb and gtalk send keepalives? | 21:38 |
bencoh | either the server or the client, yes | 21:38 |
bencoh | most likely the client | 21:38 |
freemangordon | hmm, that might explain the "no more than a day" case | 21:38 |
bencoh | I think they cut the session if they dont receive it | 21:39 |
KotCzarny | http://stackoverflow.com/questions/7967585/how-does-facebook-chat-tcp-connection-keep-alive | 21:39 |
bencoh | (hmm I usually dont let ssh run all day long btw) | 21:40 |
freemangordon | well, but on the other hand - I don;t believe such keepalives are send that often | 21:40 |
bencoh | I'd say one every minute | 21:40 |
freemangordon | which is not that much | 21:40 |
bencoh | hm yeah, not that much | 21:40 |
KotCzarny | freemangordon, let it idle for 1h, and compare /proc/*/net/* counters | 21:40 |
bencoh | but I enabled it for ssh once (shitty internet uplink with tcp timeout) and battery decreased more quickly | 21:41 |
freemangordon | or rather run tcpdump for 10 minutes :) | 21:41 |
bencoh | yeah :) | 21:41 |
KotCzarny | that would work too | 21:41 |
freemangordon | bencoh: define "more quickly" | 21:42 |
bencoh | unfortunately I didnt keep track of the numbers | 21:42 |
freemangordon | well, subjectively | 21:42 |
KotCzarny | or: freemangordon, don't use facebook for one day | 21:43 |
KotCzarny | ;) | 21:43 |
bencoh | but it was like "oh hey, 20% just disappeared in 2h" or something like that | 21:43 |
freemangordon | oh | 21:43 |
bencoh | (ssh from my computer to the n900) | 21:43 |
bencoh | (wireless) | 21:44 |
freemangordon | KotCzarny: i will have to disable both fb and gtalk | 21:44 |
KotCzarny | freemangordon: do it | 21:44 |
KotCzarny | :) | 21:44 |
freemangordon | though, I am going to WOA in 10 days, I guess I can use the time I'll be there to disconnect from the social networks and chats :) | 21:45 |
bencoh | freemangordon: irssi+bitlbee (or the other xmpp/irc gateway .. forgot the name) over ssh ? 0:) | 21:45 |
*** rm_work is now known as rm_work|away | 21:45 | |
bencoh | oh you're actually dropping fb/gtalk for real forever ? | 21:45 |
freemangordon | no | 21:45 |
freemangordon | just 4 days while I'll be in Germany :) | 21:46 |
bencoh | :) | 21:46 |
freemangordon | ~woa | 21:46 |
bencoh | ~google woa | 21:46 |
bencoh | ~search woa | 21:47 |
bencoh | meh :) | 21:47 |
freemangordon | ~WOA is Wacken Open Air | 21:47 |
infobot | freemangordon: okay | 21:47 |
bencoh | haha | 21:47 |
freemangordon | anyway, with ~80000 people on a couple of cells, I doubt there will be much of a connectivity :D | 21:48 |
bencoh | haha | 21:49 |
KotCzarny | microwavefest | 21:49 |
bencoh | yeah, best to just switch to offline mode | 21:49 |
bencoh | KotCzarny: ear damages werent enough 0:) | 21:49 |
freemangordon | well, not offline, but disconnected from internet | 21:50 |
*** _rd has joined #maemo | 21:50 | |
freemangordon | I guess there'll be no need to charge | 21:50 |
bencoh | yeah, it should last 5 days with no connectivity | 21:51 |
bencoh | hmm, maybe not, that's if you keep it in your pocket and dont really use it | 21:51 |
freemangordon | will see | 21:51 |
bencoh | and .... shit ... I forgot mtr running since yesterday ... again. :D | 21:52 |
bencoh | that's the one battery killer I always forget about | 21:52 |
vectis | ~/MyDocs/.sounds $ mplayer -ao alsa:device=hw=1.0 Moby-In_My_Heart.mp3 ->> alsa-lib: pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw:1,0 | 21:52 |
freemangordon | mtr is? | 21:52 |
bencoh | https://en.wikipedia.org/wiki/MTR_(software) (traceroute) | 21:53 |
freemangordon | oh | 21:53 |
KotCzarny | vectis: can you show /proc/asound/cards | 21:53 |
bencoh | much better than traceroute, really handy | 21:53 |
KotCzarny | yeah | 21:53 |
KotCzarny | bencoh, but they return different results sometimes | 21:54 |
bencoh | KotCzarny: indeed | 21:54 |
bencoh | and ... with slow/lossy networks and strange uplinks/backbones it can make it easier to get a tcp/ssh session open ... dont ask me why | 21:54 |
KotCzarny | because it keeps celltower awaken | 21:55 |
KotCzarny | ie. not freeing timeslot | 21:55 |
vectis | 1 [Audio ]: USB-Audio - USB Audio C-Media INC. USB Audio at usb-musb_hdrc-1.4, full speed | 21:55 |
bencoh | maybe | 21:55 |
KotCzarny | similar efect with ping -s8 8.8.8.8 | 21:55 |
freemangordon | KotCzarny: on 2G? I doubt | 21:55 |
freemangordon | there are no dedicated slots for data on 2G iirc | 21:56 |
bencoh | I suspect it involves some terrible routing table management | 21:56 |
KotCzarny | freemangordon: tested and tried, ping every 1s and it's much better for ssh | 21:56 |
freemangordon | KotCzarny: again, on 2G or 3G? | 21:56 |
bencoh | s/routing table/FIB (forwarding information base/table) on some routers/l3-switches | 21:56 |
freemangordon | KotCzarny: also, remember there is iphbd running on n900 ;) | 21:56 |
bencoh | iphbd ? | 21:57 |
freemangordon | ~iphb | 21:57 |
freemangordon | ~iphbd | 21:57 |
KotCzarny | freemangordon: no matter, when i need interactivity i just run ping in the background (-s8 to keep is small datawise) | 21:57 |
KotCzarny | vectis: /proc/asound/devices ? | 21:57 |
freemangordon | bencoh: IP heartbeat daemon or somesuch | 21:58 |
bencoh | wow, I never noticed it running | 21:58 |
vectis | 0: [ 0] : control 32: [ 1] : control 33: : timer 48: [ 1- 0]: digital audio playback | 21:58 |
KotCzarny | hmm, it should work as 1.0 then | 21:59 |
freemangordon | afaik it delays data transmission until a timeout has expired or there is enough data to be send, thus preventiong radios from waking up too often | 21:59 |
freemangordon | bencoh: ^^^ | 21:59 |
bencoh | hmm | 22:00 |
bencoh | it might be just that then | 22:00 |
bencoh | sounds a bit silly but ... | 22:00 |
bencoh | I guess a poor single tcp syn just wouldnt have any chance alone | 22:00 |
bencoh | is it opensource ? | 22:01 |
freemangordon | no :D | 22:01 |
bencoh | shit :D | 22:01 |
freemangordon | but there is dbus iface | 22:01 |
bencoh | haha | 22:01 |
freemangordon | http://wiki.maemo.org/N900_dbus#com.nokia.iphbd | 22:01 |
bencoh | thx | 22:01 |
freemangordon | look at the header | 22:01 |
bencoh | http://www.cncmods.net/files/dbus/libiphb.h woooh | 22:01 |
bencoh | hmm | 22:02 |
freemangordon | there is also a kernel module (FOSS) iirc | 22:02 |
bencoh | looks like you explicitly need to use it | 22:02 |
bencoh | oh | 22:02 |
freemangordon | https://github.com/nemomobile/libiphb/tree/master/src | 22:03 |
freemangordon | seems it has been open-sourced after all | 22:04 |
bencoh | neat | 22:04 |
bencoh | wonder if telepathy/rtcom-messaging makes use of it | 22:05 |
freemangordon | I'd bet on that | 22:06 |
KotCzarny | vectis, btw. is there /dev/dsp file? (ignore /dev/dsptask*) | 22:06 |
freemangordon | bencoh: seem nemomobile iphbd has some differences compared to maemo, but I wonder if I should arm IDA and RE it, should be pretty much easy task with all those headers and source code around | 22:07 |
*** Ras_Older has quit IRC | 22:07 | |
KotCzarny | freemangordon: do it | 22:08 |
vectis | yer, dsp1 | 22:09 |
KotCzarny | vectis: http://pastebin.com/raw.php?i=ikt2FUUq | 22:09 |
KotCzarny | put contents into ~/.asoundrc | 22:09 |
KotCzarny | then try mplayer -ao alsa some.mp3 | 22:09 |
freemangordon | KotCzarny: on the other hand - why noone else want to do RE work? It is not *that* hard! | 22:12 |
freemangordon | *wants | 22:12 |
bencoh | freemangordon: it doesnt look like a critical part of maemo, but well if you have some time :) | 22:12 |
KotCzarny | freemangordon: it is for someone who doesn't have tools/knowledge/experience | 22:13 |
* freemangordon looks for volunteers to do RE job, with my help :) | 22:13 | |
KotCzarny | freemangordon: make a wiki thread | 22:13 |
KotCzarny | i mean tmo thread | 22:13 |
freemangordon | KotCzarny: hmm, might work | 22:13 |
*** eMHa__ has joined #maemo | 22:14 | |
KotCzarny | on another note, my usb audio card claims to suck 500mA, yet, usb meter only shows ~30mA | 22:14 |
KotCzarny | now i need some gender bender for my n800 | 22:14 |
freemangordon | KotCzarny: connect headphones to it and raise the volume up | 22:14 |
freemangordon | low-resistance ones | 22:15 |
KotCzarny | i've connected it to stereo box | 22:15 |
KotCzarny | but i know that it can eat more | 22:15 |
freemangordon | that is why only 30 mA | 22:15 |
KotCzarny | still, nice to know i can connect it to n800 and use as a grabber card | 22:15 |
KotCzarny | without external power | 22:16 |
freemangordon | doesn't it require CPU resources? | 22:16 |
KotCzarny | dont know, what for? | 22:16 |
KotCzarny | i mean, apart from data moving | 22:17 |
*** SpeedEvil has quit IRC | 22:17 | |
vectis | hmm, do I need to reboot? | 22:18 |
KotCzarny | vectis, nope | 22:18 |
freemangordon | no idea, I am under impression USB is not the most effective when it comes to low CPU usage | 22:18 |
vectis | still no go........... | 22:18 |
KotCzarny | vectis, same error msg? | 22:19 |
vectis | yer | 22:19 |
bencoh | freemangordon: I'm writing assembly on a DSP at $NEWJOB (2 weeks) so I might be of some help with RE-ing stuff and asm after some time :) | 22:19 |
KotCzarny | freemangordon: yeah, and it's usb1, still, working solution is better than non working low power solution | 22:19 |
*** BCMM has quit IRC | 22:19 | |
KotCzarny | bencoh: can we has dsp based equalizer on n8x0/n900? | 22:20 |
KotCzarny | :) | 22:20 |
freemangordon | bencoh: C64+? O.o | 22:20 |
bencoh | freemangordon: hm no | 22:20 |
freemangordon | wait, wait, why assembly? | 22:20 |
bencoh | because ... there is no C compiler for our target :D | 22:21 |
freemangordon | omg :D | 22:21 |
bencoh | (small/specific embedded) | 22:21 |
freemangordon | what an exotic piece of silicon is that? | 22:21 |
freemangordon | if not under NDA ofc :) | 22:22 |
KotCzarny | vectis: don't forget to remove that .asoundrc file, it can interfere with the system | 22:22 |
bencoh | I'm afraid it is (full specs arent public and it's not in our product description either) :( | 22:22 |
*** SpeedEvil has joined #maemo | 22:23 | |
bencoh | but that's one for sound processing | 22:23 |
KotCzarny | vectis: mplayer -ao oss:/dev/dsp1 some.mp3 ? | 22:25 |
vectis | KotCzarny: :( nope | 22:27 |
*** _rd has quit IRC | 22:27 | |
KotCzarny | same msg? | 22:27 |
vectis | doesn't mention alsa this time but much the same | 22:28 |
KotCzarny | mplayer -ao oss:/dev/dsp1 some.mp3 >debug.txt 2>&1 | 22:28 |
KotCzarny | then can you share the file somehow? | 22:29 |
*** sq-one has joined #maemo | 22:31 | |
bencoh | http://pastebin.notk.org/pastebin.php?show=d4663d931 | 22:32 |
bencoh | funny maemo-laucher depends on it | 22:32 |
KotCzarny | calls home? | 22:32 |
KotCzarny | vectis: cat /proc/asound/pcm ? | 22:34 |
bencoh | hmm there is a kernel module indeed | 22:36 |
Luke-Jr | wow, Maemo is pre-NPTL :o | 22:36 |
vectis | http://pastebin.com/4shP0bVA | 22:36 |
vectis | 01-00: USB Audio : USB Audio : playback 1 | 22:36 |
*** chem|st has quit IRC | 22:37 | |
*** chem|st has joined #maemo | 22:38 | |
*** arossdotme-nolog has quit IRC | 22:38 | |
KotCzarny | hrm, found my usb micro to usb cable. pity n800 uses usb mini o.o | 22:45 |
freemangordon | Luke-Jr: hmm? 2.6.28 | 22:45 |
*** Natch has quit IRC | 22:56 | |
*** _rd has joined #maemo | 23:00 | |
KotCzarny | unrelated but nice: http://alsa.opensrc.org/TwoCardsAsOne | 23:01 |
*** BitEvil has joined #maemo | 23:07 | |
*** SpeedEvil is now known as Guest53868 | 23:07 | |
*** rm_work|away is now known as rm_work | 23:07 | |
*** dhbiker has quit IRC | 23:08 | |
Luke-Jr | freemangordon: yeah, NPTL appears to need 2.6.32 :x | 23:13 |
bencoh | :] | 23:15 |
freemangordon | hmm, I thought that all 2.6.x kernels have NPTL | 23:16 |
freemangordon | man pthreads says the same | 23:19 |
freemangordon | Luke-Jr: ^^^ | 23:19 |
Luke-Jr | freemangordon: well, glibc 2.20 apparently begs to differ and won't work with <2.6.32 :/ | 23:20 |
*** KotCzarny has quit IRC | 23:20 | |
freemangordon | afaik it is bacause the kernel misses other things that glibc needs | 23:21 |
freemangordon | *because | 23:21 |
*** KotCzarny has joined #maemo | 23:22 | |
L29Ah | i removed the check and it crashes :3 | 23:22 |
L29Ah | the previous version works afair | 23:23 |
Luke-Jr | 2.19 crashes for me :/ | 23:23 |
freemangordon | but why did you decide it is NPTL that is the problem? | 23:23 |
Luke-Jr | "You need a kernel of at least 2.6.32 for NPTL support!" | 23:26 |
freemangordon | well, that sounds like 2.20 requires some features in 2.6.32 to enable NPTL, but doesn't sound like there is no NPTL support in 2.6.28 | 23:28 |
*** florian has joined #maemo | 23:29 | |
*** _rd has quit IRC | 23:32 | |
*** shentey has joined #maemo | 23:35 | |
*** florian has quit IRC | 23:39 | |
Luke-Jr | well, the main problem is that 2.20 won't work with 2.6.28 | 23:40 |
*** florian has joined #maemo | 23:41 | |
bencoh | I thought there were some patches out there for 2.19 ? | 23:45 |
*** _rd has joined #maemo | 23:51 | |
*** sq-one has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!