IRC log of #maemo for Tuesday, 2018-08-07

*** niko18 has joined #maemo00:03
*** florian_kc has joined #maemo00:11
*** florian has quit IRC00:12
*** florian_kc is now known as florian00:12
*** eMHa_ has joined #maemo00:35
*** dafox has quit IRC00:57
*** Pali has quit IRC00:59
*** Kilroo has joined #maemo01:21
*** nou has joined #maemo01:25
*** florian has quit IRC02:58
*** infobot has quit IRC03:18
*** infobot has joined #maemo03:20
*** ChanServ sets mode: +v infobot03:20
*** tm has quit IRC03:53
*** tm has joined #maemo03:57
*** auenfx8 has quit IRC04:00
*** raspimate_ has joined #maemo04:01
*** raspimate_ has quit IRC04:01
*** auenf has joined #maemo04:01
*** woddf229 has joined #maemo04:29
*** Maxdamantus has quit IRC04:52
*** Maxdamantus has joined #maemo04:53
*** WhitePhosphorus2 has joined #maemo04:54
*** WhitePhosphorus2 has quit IRC04:55
*** Maxdamantus has quit IRC06:05
*** Maxdamantus has joined #maemo06:07
*** interd0me has joined #maemo06:10
*** interd0me has quit IRC06:16
*** Hobbyboy17 has joined #maemo06:30
*** ruskie has quit IRC06:33
*** Kilroo has quit IRC07:16
*** amospalla has quit IRC07:17
*** spiiroin has quit IRC07:19
*** spiiroin has joined #maemo07:48
*** rwg3 has joined #maemo07:58
*** m4lvin has quit IRC08:23
*** m4lvin has joined #maemo08:24
*** Exaeta29 has joined #maemo09:01
*** Exaeta29 has quit IRC09:02
*** dafox has joined #maemo09:26
*** Hurrian_ has quit IRC09:37
*** Hurrian has joined #maemo09:37
*** Hurrian has quit IRC09:39
*** Hurrian has joined #maemo09:39
*** dafox has quit IRC10:00
*** threeFifths has joined #maemo10:09
*** threeFifths has quit IRC10:15
*** Guest323993 has joined #maemo10:17
*** Kabouik- has quit IRC10:23
*** Kabouik- has joined #maemo10:24
*** drathir has quit IRC10:26
*** warfare has quit IRC10:28
*** florian has joined #maemo10:29
*** geaaru has joined #maemo10:30
*** warfare has joined #maemo10:35
*** drathir has joined #maemo10:38
*** Hurrian has quit IRC10:50
*** Hurrian_ has joined #maemo10:50
*** limbo0 has joined #maemo10:56
*** limbo0 has quit IRC10:56
*** Hurrian_ has quit IRC11:01
*** Hurrian has joined #maemo11:01
*** realitygaps has quit IRC11:24
*** realitygaps has joined #maemo11:24
*** Kabouik_ has joined #maemo11:34
*** jskarvad has joined #maemo11:48
*** xorly has joined #maemo11:52
*** MrElendig2 has joined #maemo11:58
*** MrElendig2 has quit IRC12:00
*** Zooklubba27 has joined #maemo12:00
*** Zooklubba27 has quit IRC12:00
*** yoink12 has joined #maemo12:02
*** yoink12 has quit IRC12:04
*** rolig has joined #maemo12:08
*** Vajb has quit IRC12:18
*** Vajb has joined #maemo12:20
*** eMHa_ has quit IRC12:22
*** Nietzsche1 has joined #maemo12:34
*** Nietzsche1 has quit IRC12:39
*** CcxWrk has quit IRC12:40
*** CcxWrk has joined #maemo12:45
*** Kabouik_ has quit IRC12:46
*** Kabouik_ has joined #maemo12:48
*** CcxWrk has quit IRC12:49
*** jskarvad has quit IRC12:51
*** CcxWrk has joined #maemo12:51
*** jskarvad has joined #maemo12:53
*** justache11 has joined #maemo13:00
*** justache11 has quit IRC13:05
*** Guest89782 has joined #maemo13:58
*** RedW has joined #maemo14:08
*** ashley has quit IRC14:39
*** ashley has joined #maemo14:39
*** Algernop12 has joined #maemo14:43
*** Algernop12 has quit IRC14:45
*** Mugichka has joined #maemo14:56
*** Mugichka has quit IRC15:00
*** Guest47513 has joined #maemo15:14
*** Guest5973 has joined #maemo15:15
*** Guest5973 has quit IRC15:19
*** sobukus has joined #maemo15:22
sobukusAnyone got experience getting USB audio working on a N800 with OS2008?15:22
KotCzarnyyeah, works for some time then craps badly15:23
sobukusI'd like to continue using it as jukebox, got the USB hub and keyboard connected, also snd-usb-audio module loaded.15:23
sobukuscraps?15:23
KotCzarnyafair hardcrashes the kernel15:23
KotCzarnybut it was LONG time ago15:23
sobukusMy issue is that I cannot convince a player to use the device, although /proc/asound/cards suggests there is hw:1,0, that is not accepted.15:24
KotCzarnyuse the player that uses alsa, not oss/esd15:24
sobukusKotCzarny: I'm using my own build of mpg123/15:24
* sobukus is actually mpg123 upstream maintainer15:24
KotCzarnycheck what device it actually opens with strace15:25
sobukusI get snd_pcm_open_noupdate(): Unknown PCM hw:1,0 … after telling mpg123 explicitly to use that (-o alsa -a hw:1,0)15:26
KotCzarnytry 1.0 ?15:27
KotCzarny(wild guess)15:27
sobukusThe /usr/share/alsa/alsa.conf has some trickery to route ALSA to ESD, I presume … that's why the default device plays through the speakers.15:27
sobukusnah15:27
sobukusWhat is also strange, I cannot get a listing of ALSA devices using snd_device_name_hint() because that errors out on the card 0 that only has a control, but no pcm.15:28
sobukusI wonder how "normal" the ALSA setup on OS2008 is.15:29
KotCzarnyi would assume they've hacked alsa hard15:29
KotCzarnytry static compile of mpg123 with libasound15:29
KotCzarnyvanilla one, not the sdk one15:29
*** jskarvad has quit IRC15:30
sobukusHm. So far I just built things on the device itself. You mean I should try to cross-compile a normal libasound …15:30
sobukusOr, hm, I could just try to build a vanilla one (old source tarball) …15:30
KotCzarnysince you are in fiddling mode, yeah15:30
KotCzarnyor check what patches the sdk one has15:31
sobukusTo be sure: 1.0.14sa-2maemo2 is a version hacked by Nokia?15:31
KotCzarnybut i think i was using usbaudio with n800 and some player15:31
KotCzarnydisclaimer: i havent touched n800 sdk for many years15:32
sobukusI'll try to download some alsa-lib and alsa-utils sources to test things.15:32
*** jskarvad has joined #maemo15:32
sobukusOf course I know that it's a bit silly hanging onto the old beast for that.15:34
KotCzarnyn800 is nice15:34
KotCzarnyi've turned mine into audio box with my audio player15:35
sobukusI had a HP Jornada 720 here for a short period … can take large SD cards via CF for music and has built-in keyboard for easy control … but the onboard sound is crappy.15:35
KotCzarnyyup, same with n80015:35
KotCzarnyunfortunatelly15:35
sobukusN800 might be able to use proper DAC via usb … as the audio playback is not that suberb with the onboard ESD-stype thingie.15:35
sobukusThe noise might be OK, but I struggle to have gapless playback … it has the odd interruption from time to time.15:36
*** CrunchyChewie15 has joined #maemo15:44
*** CrunchyChewie15 has quit IRC15:45
*** atk has quit IRC15:45
*** atk has joined #maemo15:47
*** Mek_ has joined #maemo15:49
*** Oksanaa has quit IRC15:50
*** Mek has quit IRC15:51
*** xorly has quit IRC15:51
*** heroux has quit IRC15:51
*** drrty has quit IRC15:51
*** heroux_ is now known as heroux15:51
*** frals has quit IRC15:51
*** heroux_ has joined #maemo15:51
*** Oksanaa has joined #maemo15:51
*** Oksanaa has quit IRC15:52
*** Oksanaa has joined #maemo15:52
sobukusOh, the bloat … libncurses5-dev needs 5M of storage (needed for alsa-utils). But it's really nice that the repos for apt are still present!15:52
*** frals has joined #maemo15:56
*** frals has joined #maemo15:56
*** jskarvad has quit IRC15:57
MaxdamantusYou should be able to uninstall libncurses5-dev after using it to build whatever you need.15:58
sobukusyeah16:00
*** jskarvad has joined #maemo16:00
sobukusI still got whopping 45.5M free on / ;-)16:01
KotCzarnymoving /usr/include to sdcard works ok16:01
KotCzarnyas long you have ext2/3/4 there16:01
KotCzarnypop a symlink and it's ok16:01
KotCzarnysame for /usr/lib/gccsomething16:02
sobukusYes, I got a 32G sd card with ex16:02
sobukust16:02
sobukus(and another one full with music)16:02
sobukusI wonder, though, would the n800 take larger ones?16:02
KotCzarnyyup16:02
KotCzarnyi think there is a thread for that on tmo [tm]16:03
sobukusI'll try my 200G one;-)16:04
*** Contessa has joined #maemo16:05
sobukusalsa-utils 1.0.14 built … aplay -l complains about Invalid CTL hw:0 and Invalid CTL hw:116:06
KotCzarnyupdate your asound.conf to include ctl nodes too16:06
MaxdamantusIn general, SD sizes are not compatibility issues, unless you're using a device with a funny operating system that might have been designed without considering large sizes.16:07
sobukusKotCzarny: the /usr/share/alsa/alsa.conf has ctl.!default … but it is this dsp_ctl thing that redirects to /dev/dsptask16:07
sobukusand ctl.!master{ type hw; card 0 }16:08
sobukusI'd figure that the bare hw: devices should be visible without an alsa config, no?16:08
KotCzarnytry playing only with card 1 (the usb one)16:09
KotCzarnyplaying / fiddling16:09
sobukusDo you mean in the alsa.conf / asoundrc? Because that is what confuses me … I cannot make things use hw:1,016:10
* sobukus trying a vanilla build of alsa-lib16:10
*** eMHa_ has joined #maemo16:10
KotCzarny /etc/asound...16:10
*** florian_kc has joined #maemo16:11
KotCzarny /etc/asound.conf to be exact16:11
sobukusKotCzarny: by default, there is no /etc/asound.conf here16:12
KotCzarnymake one?16:12
sobukusI'm using bare ALSA on my linux desktops … I don't need any asound.conf if I don't want to cofigure some plugins (like 5.1 → 2.0 mixing).16:12
*** florian has quit IRC16:13
sobukusWhat would I write into an asound.conf for "just give me the bare devices"?16:13
KotCzarnyi usually dont touch system's config files, only the one in /etc or ~16:13
*** spiiroin has quit IRC16:13
KotCzarnytry that one: https://pastebin.com/raw/981gYD5a16:14
KotCzarnyit's copied from example when default card is the wrong one16:14
sobukusYeah, I tried something similar before. I'm testing your example in /etc/asound.conf to be sure16:15
sobukusHeh. System freeze. Reboot.16:18
KotCzarny;)16:18
KotCzarnytold'ya16:18
sobukustoo bad16:18
KotCzarnyi think it's power related16:18
sobukusUh? The USB device is externally powered.16:18
KotCzarnybecause it was working sometimes, and crapping sometimes16:18
sobukusI have the n800 hooked up to a powered hub.16:19
KotCzarnysince when n800 takes power from hub?16:19
sobukusThe USB audio takes power from hub.16:19
KotCzarnyahm, k16:19
sobukusAnd the n800, actually, since I got it hooked with a USB power cable I had from a Nokia phone.16:19
KotCzarnywithout serial cable it's hard to debug hard crashes16:20
KotCzarnythat's why i'm only guessing16:20
KotCzarnymaybe you can try connecting usbaudio directly?16:21
sobukusI wonder if the device will come back … since it'll try to use /etc/asound.conf …16:21
sobukusDidn't the n800 not supply power at all?16:21
KotCzarnyi think in my experiments i was using simple usbotg cable16:22
sobukusHm. I guess I should be using a RasPi for stuff like that … or, Lord behold, an actual dedicated music player with Rockbox.16:23
KotCzarnyhmm, if i find my microusbotg cable i might check16:23
KotCzarnynah, never a raspi16:23
sobukushehe16:23
KotCzarnyoverpiced and crippled16:23
KotCzarnyoranges + good dac/amp are good idea tho16:24
KotCzarnyfor casual listening even onboard audio is ok paired with pam based microamp16:24
KotCzarnyhttps://imgur.com/a/jFygV16:25
sobukusI got a monster amp with two bridged TPA3110D2;-)16:25
KotCzarnyi've bought tpa3116 recently16:25
KotCzarnywill use it soon16:25
sobukusBut indeed also a little speaker built with flexible air duct as casing that has a PAM inside, usually powered by solar cells;-)16:26
KotCzarnypity there are still no 325X solutions yet16:26
sobukus3116 is nice, has plenty of power for normal HiFi listening16:26
KotCzarnythose seem better (according to spec sheets)16:26
sobukusAlso I learned that these amps do not care about noisy psus (burst mode) … you only need to take care of the preamp (little linear psu).16:27
KotCzarnybtw. i've added boot menu to my n800, so i can choose what and where it shall boot16:29
sobukusmy desktop amp with the two 3110 uses one noisy psu just with a normal linear regulator (not low drop) for the preamp (lm1036). Noise level is OK-ish with that.16:29
sobukusMy n800 seems to be in a boot loop now.16:29
sobukusHow do I get rid of the /etc/asound.conf now?16:29
KotCzarnyhmm16:30
sobukusI don't blame you … I was careless.16:30
KotCzarnyi need to refresh my diablo memory16:30
sobukusI guess there's a rescue shell in the initrd?16:31
KotCzarnyn900 can boot from usb16:31
KotCzarnyi wonder if n800 has similar capability16:31
sobukusHey, it came back! After pulling the battery, I got a desktop now again.16:32
KotCzarnymake a backup16:32
KotCzarnyand/or add sdcard booting option16:32
KotCzarny:)16:32
sobukusand how'd I restore if it is bricked?16:32
sobukusyeah, booting options16:33
KotCzarnycloning os to sdcard helps16:33
KotCzarnyand generally i've left working os on internal flash and only fiddle with sdcard16:33
KotCzarnyflasher-3.0 --set-root-device mmc16:34
KotCzarnyinterestingly you can also set boot device via flasher16:34
sobukussudo hm, never used that16:35
sobukusI actually only got the n800 used and it always was a jukebox without further fiddling16:35
sobukusit tries to power the audio device, btw, without the hub.16:35
sobukusI just don't have the virtual keyboard anymore then, as it thinks there is a USB hid.16:35
KotCzarnyssh?16:36
sobukusUh … I could … from the phone that does the WLAN hotspot …16:36
sobukusJust tried the playback again … it is consistent: crash, immediate16:37
KotCzarnyalso, try different usbaudio card16:38
sobukushm, the device crashes again when it would want to play a sound16:39
sobukusI need to be careful to delete the asound.conf without causing a beep.16:39
KotCzarnymaybe change !default into some card name16:39
KotCzarnyjust booted my n800, i have the config i've pasted with !default changed into usb16:46
sobukusand?16:47
KotCzarnydont have my miniusbotg cable here16:47
KotCzarnyi will try to remember to check it later this week tho16:48
*** spiiroin has joined #maemo16:49
sobukusOh, no bother … but I'll hang around here for the case you do;-)16:50
KotCzarnyanother thing is i've modified ~/.asoundrc16:52
KotCzarny /root/.asoundrc to be even more exact17:02
sobukushm17:02
sobukusI'm waiting for it to get out of the boot loop this second time17:03
KotCzarnyso my experiments were tied to running commands as root17:03
sobukusme, got rid of /etc/asound.conf, but triggered a reboot now as root with asoundrc17:22
sobukusand now the display faded with an eerie hardware effect17:23
KotCzarnygot another usbaudio dongle?17:23
sobukusnot right now17:23
*** MartijnBraam[m] has quit IRC17:26
*** eMHa_ has quit IRC17:40
*** mickname has quit IRC17:56
*** Pali has joined #maemo18:09
*** eMHa_ has joined #maemo18:34
*** okdas has joined #maemo18:37
*** okdas has quit IRC18:38
*** louisdk has joined #maemo18:43
*** florian_kc has quit IRC18:44
*** florian_kc has joined #maemo18:44
*** L29Ah has joined #maemo18:58
*** florian_kc has quit IRC19:04
*** louisdk has quit IRC19:12
*** louisdk has joined #maemo19:13
*** louisdk has quit IRC19:16
*** louisdk has joined #maemo19:17
*** drrty has joined #maemo19:21
*** louisdk has quit IRC19:23
*** louisdk has joined #maemo19:34
*** ephemer0l_6 has joined #maemo19:46
*** bigpresh9 has joined #maemo19:52
*** louisdk has quit IRC19:57
*** louisdk has joined #maemo19:58
*** Natch has quit IRC20:10
*** rysiekpl has quit IRC20:22
*** rysiek|pl has joined #maemo20:23
*** Gizmokid2005 has quit IRC20:25
*** Alexxxlrus has joined #maemo20:34
*** Natch has joined #maemo20:47
*** FalconSpy has quit IRC20:53
*** FalconSpy has joined #maemo20:53
*** FalconSpy has joined #maemo20:53
*** jskarvad has quit IRC21:11
*** xorly has joined #maemo21:33
*** Alexxxlrus has quit IRC21:38
*** Alexxxlrus has joined #maemo21:38
*** aloril has quit IRC21:41
*** Alexxxlrus has quit IRC21:45
*** Alexxxlrus has joined #maemo21:47
*** aloril has joined #maemo21:48
*** Konsieur has joined #maemo21:50
*** Kabouik_ has quit IRC21:53
*** xorly has quit IRC22:05
*** louisdk has quit IRC22:21
*** AlexZ1 has joined #maemo22:25
*** Alexxxlrus has quit IRC22:31
*** xorly has joined #maemo22:33
*** amospalla has joined #maemo22:34
*** xorly has quit IRC22:37
*** Alexxxlrus has joined #maemo22:40
*** mfa2984 has joined #maemo22:42
*** fibo_mach has joined #maemo22:45
*** Konsieur has quit IRC22:45
*** fibo_mach has quit IRC22:47
*** mfa2984 has quit IRC22:47
*** xorly has joined #maemo23:00
*** L29Ah has left #maemo23:05
*** Alexxxlrus has quit IRC23:10
*** Kabouik- has quit IRC23:18
*** Kabouik- has joined #maemo23:18
*** xorly has quit IRC23:19
*** L29Ah has joined #maemo23:34
*** By has joined #maemo23:39
*** By has quit IRC23:40
*** Alexxxlrus has joined #maemo23:49
*** louisdk has joined #maemo23:50
*** aloril has quit IRC23:54
*** deed023921 has joined #maemo23:56
*** deed023921 has quit IRC23:56

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