irclog2html for #openslug on 20051228

00:03.34*** join/#openslug fx3|chilla (n=chilla@p54AC413F.dip.t-dialin.net)
00:43.42*** part/#openslug n7ipb (n=n7ipb@95.sub-70-218-84.myvzw.com)
00:56.27*** part/#openslug phatmonkey^iBook (n=phatmonk@65.98.2.81.in-addr.arpa)
02:54.55*** join/#openslug Tiersten (n=tman@nslu2-linux/Tiersten)
02:54.58*** join/#openslug Tiersten_ (n=tman@nslu2-linux/Tiersten)
03:35.12*** join/#openslug agbert (n=agbert@adsl-71-143-20-172.dsl.scrm01.pacbell.net)
04:46.18*** join/#openslug eno (n=eno@adsl-63-201-39-57.dsl.snfc21.pacbell.net)
05:26.45*** join/#openslug eno (n=eno@adsl-63-201-39-57.dsl.snfc21.pacbell.net)
05:46.19*** join/#openslug n7ipb (n=n7ipb@51.sub-70-213-131.myvzw.com)
07:30.41*** join/#openslug kolla (n=kolla@158.38.58.40)
08:39.03eFfeM-loghi, have a problem, I've added the cdstatus package in openslug-packages.conf; but after doing that bb cdstatus still complains "nothing provides cdstatus"
08:39.15eFfeM-logstill it exists in my packages dir and also in tmp/cache:
08:39.17eFfeM-logOpenSlugHead/openslug/tmp/cache/_home_slug_OpenSlugHead_openslug_openembedded_packages_cdstatus_cdstatus-0.96.05.bb
08:39.34eFfeM-logwhat can be going on here
08:43.40eFfeM-loghmmm bb file has - i.s.o _
08:45.18eFfeM-logchanging that fixes things, will correct
10:49.06*** join/#openslug kami22 (n=kami@p54897B92.dip.t-dialin.net)
11:18.07*** join/#openslug phatmonkey^iBook (n=phatmonk@65.98.2.81.in-addr.arpa)
11:24.56*** join/#openslug rammy (n=chilla@p54AC413F.dip.t-dialin.net)
12:48.08*** join/#openslug ByronT_ (i=byron-po@nslu2-linux/ByronT)
12:57.31*** part/#openslug n7ipb (n=n7ipb@51.sub-70-213-131.myvzw.com)
13:30.46*** join/#openslug phatmonkey^iBook (n=phatmonk@65.98.2.81.in-addr.arpa)
13:49.21*** join/#openslug matthias_ (n=matthias@ppp-62-245-208-225.mnet-online.de)
14:50.11*** part/#openslug phatmonkey^iBook (n=phatmonk@65.98.2.81.in-addr.arpa)
17:10.10*** join/#openslug koen|770 (n=Koen@dominion.kabel.utwente.nl)
18:00.32*** join/#openslug agbert (n=agbert@adsl-71-143-20-172.dsl.scrm01.pacbell.net)
18:35.32*** join/#openslug [cc]smart (n=smart@gw.ptr-62-65-149-158.customer.ch.netstream.com)
18:42.00*** join/#openslug phatmonkey^iBook (n=phatmonk@65.98.2.81.in-addr.arpa)
18:51.42*** join/#openslug agbert (n=agbert@adsl-71-143-20-172.dsl.scrm01.pacbell.net)
19:03.04*** join/#openslug caplink811-log (n=caplink8@dslb-084-059-109-047.pools.arcor-ip.net)
19:36.21*** join/#openslug [g2] (n=Tom@nslu2-linux/g2)
21:06.06MadkissWhere do I find installation instructions for UnSlung?
21:06.22eFfeMon the wiki !
21:06.57Madkissok
21:07.46eFfeMMadkiss, this is a developer channel, for installation questions please revert to #nslu2-general
21:08.02eFfeM(or any usage related questions)
21:08.20Madkissoh, cool, thanks
21:14.42matthias_eFfeM: can you give me a "grep ^ao_ /etc/mpd.conf" of your usb-audio-slug?
21:18.15matthias_eFfeM: i saw, that you are using mpd in your profile :-) mpd didn't work for me with oss_mixer, i had to compile libao with alsa09 support.
21:19.52matthias_eFfeM: but then, the sound spluttered. i had to change *_time..
21:22.57eFfeMmatthias_, one sec
21:23.07eFfeM(was away for a moment)
21:24.50eFfeMmatthias_, i have no lines starting with ao
21:25.20eFfeMthen again i've installed mpd, but my audio adapter stopped working
21:25.22matthias_eFfeM: do you use oss or alsa as mpd output?
21:25.24eFfeMno idea what is going on here
21:25.44eFfeMi'm still struggling getting any output
21:26.00eFfeMthis worked for a moment last week, then I upgraded to the head agan and it stopped working
21:26.11eFfeMprobably not due to the head, but more to an init problem.
21:26.47eFfeMsometimes when I connect the card, I can toggle the mute/demute light on the card, and sometimes not
21:27.16matthias_eFfeM: did you use ipks from the feed or own?
21:27.25eFfeMhaven't found the cause yet, want to add some tracing (perhaps sound-usb-audio helped)
21:29.12matthias_eFfeM: did you change libao to support alsa and recompile? (standard libao doesn't support alsa directly)
21:29.16eFfeMmatthias_, i've build my own mpd and audio libs, i think I got alsa from the feed
21:29.20eFfeMno
21:29.38eFfeMi don't recall having tweaked with any of the files
21:30.25matthias_eFfeM: ok. for me, mpd wasn't able to control the mixer_oss (alsa-oss-emulation mixer)
21:31.20matthias_eFfeM: the libao from the repository gets configured with --disable-alsa --disable-alsa09 => without change, you use oss
21:31.39eFfeMi did not get to the point where I got audio playback
21:32.29matthias_eFfeM: does "aplay test.wav" work?
21:34.41matthias_eFfeM: for me, "aplay test.wav" worked, but only after i turned up the volume with amixer or alsamixer => mpd wasn't able to do that via oss.
21:35.45matthias_eFfeM: no i compiled libao with alsa support (--enable-alsa --enable-alsa09 --enable-alsa09-mmap) and i have in /etc/mpd.conf:
21:36.22matthias_mixer_type              "alsa"  
21:36.22matthias_mixer_device            "default"
21:36.22matthias_mixer_control           "Speaker"
21:36.22matthias_ao_driver               "alsa09"
21:36.22matthias_ao_driver_options       "dev=default;buf_time=500000;period_time=500;use_mmap=1"
21:37.05*** join/#openslug eno (n=eno@adsl-63-201-39-57.dsl.snfc21.pacbell.net)
21:37.27eFfeMmatthias_, aplay does not work, actually sometimes demuting works in alsamixer, but is not honured by the device
21:37.57matthias_without "period_time=500" it stutters. the times are given in usec (libao docu seem to be wrony after a look at alsa-lib)
21:38.11matthias_eFfeM: maybe amixer does it?
21:38.26eFfeMnope tried that as well
21:39.42Madkissusb-audio-slug? what's that? ;)
21:40.15matthias_effem: "amixer" alone tells you what controls you have.
21:40.31eFfeMmatthias_, yeah I know
21:40.41matthias_effem: "amixer sset 'Speaker' 60" doesn't do it?
21:41.51matthias_effem: 'Speaker' or whatever your output is called..
21:42.28eFfeMwill try in a few minutes (actualy I just opened the device to see what chip is in)
21:42.59eFfeMMadkiss, some usb audio cards work on the slug and allow to use it for audio playback
21:44.12matthias_eFfeM: i'm quite happy now that it works here :-) (with libao "--enable-alsa09" and the 5 magic lines above :-)
21:44.53eFfeMok, i'll keep that in mind
21:44.59eFfeMplease add them to the wiki
21:47.29matthias_eFfeM: hmm... wouldn't it be better to patch the .bb for the slug and write a default /etc/mpd.conf for mpd?
21:48.19MadkisseFfeM: great god, how can that snaily cpu do such things?
21:48.30matthias_eFfeM: i also read, you succeeded in cross-compiling cdrecord? :)
21:50.35matthias_Madkiss: :-) but it has 266 mhz - think about old 486er pcs (with i recently threw away..)
21:51.17eFfeMmatthias_, good idea
21:52.26Madkissmatthias_: sure, but these had soundchips onboard, or on the soundcard
21:52.29eFfeMMadkiss, I started programming in the z80 era. The first computer I owned was an atari st (8 mhz 68000, 1 MB ram), and yes, it ran a unix flavour (minix)
21:52.35eFfeMgoogle if you want more info on that
21:52.45eFfeM266mhz and 32 mb is kidn of a heaven
21:53.03eFfeMfor audio pb you need integer libs though (no fpp hw on the slug
21:53.11MadkissOkay, I will install Linux on it
21:53.13eFfeMMadkiss, the sound chips are on an usb soundcard
21:53.17Madkissor, rather ...
21:53.18Madkisswindows.
21:53.28MadkissI plan on getting a USB-soundcard anyway
21:53.31MadkissM-Audio Sonica
21:53.53eFfeMmatthias_, not sure if I crosscompiled cdrecord. I definitely have it running, but maybe I compiled natively
21:54.05eFfeMMadkiss, see if it is supported by linux
21:54.11matthias_eFfeM: do you compile on your slug?
21:54.17eFfeMyes
21:55.47Madkisswell, hmkay.
21:56.16eFfeMmatthias_, a few months ago I started with development, and I was not very good in bb files, cross compiling etc, so at that point I did my compiles on the slug.
21:56.32eFfeMand now if I
21:56.54eFfeMand now if I'm breaking new grounds and there is no package I typically start on the slug first
21:57.09eFfeMMadkiss, it depends on your unix experience and what you want to do
21:57.37eFfeMif you are a unix die-hard that wants to experiment you may go for openslug
21:57.52eFfeMif you only want to run the available packages unslung is probably a better choice
21:58.00matthias_eFfeM: i see. a cdrtools_2.01.bb would be nice :-)
21:58.06MadkisseFfeM: I think I will focus on my interests.
21:58.22MadkisseFfeM: Running a print-server, maybe a webserver on it. I guess Unslung will do it.
21:59.17eFfeMMadkiss, for webserver definitely, and I assume also for print-server (now that is a thing I never did)
21:59.38Madkisscups packages for unslung exist
21:59.46matthias_eFfeM: cdrtools crosscompilation is a hell because of the "Schily makefile system.".. :-(
21:59.51Madkissand my fs1020d will do nicely, i think
22:00.01BOfHmatthias_: Schily makefile system?
22:00.24eFfeMactually there are still a few usb devices in the house that have not been connected to the slug but not many (the only things I can think of is my mp3 player, my adsl modem and the kids dell printer/scanner)
22:00.52matthias_effem: did you write any new files for the slug? e.g. RULES-files for armv5teb?
22:01.17eFfeMmatthias_, I think I tried this at some point, but had some issues with it, I seem to recall I even had to install something before, don't recall details)
22:01.22eFfeMmatthias_, nope
22:01.50matthias_effem: but at the end, it worked?
22:01.53eFfeMcross, I just use the master makefile and friends, did not touch the dev env
22:02.23eFfeMmatthias_, natively I got gcc and friends from a pkg if I recall correctly; and yes, cdrecord worked
22:02.49BOfHDo we need the armv5teb toolchain or can we just use arm-generic-linux ?
22:03.12matthias_BOfH: http://cdrecord.berlios.de/old/private/smake.html ..
22:03.22eFfeMwhen I installed there was only one toolchain for openslug. there was no le yet
22:03.45eFfeMand as hw for cdrecord I used a Philips JackRabbit (which is an external usb dvd writer)
22:03.57eFfeMdid only make cd's with it, but dvds should not be a problem
22:04.30matthias_BOfH: .. he says: "it's better than make". but it's only more compilicated and has no standard ./configure :-((
22:05.00matthias_BOfH: i'd like to do a bitbake and have an ipkg
22:06.09matthias_eFfeM: for dvds, you can use growisofs. i made a .bb for it but data gets corrupted - not sure, maybe it's the dvd+rw medium
22:06.59eFfeMyeah recall having to install smake natively
22:07.14eFfeMMadkiss, i know about growisofs, didn't get to it yet
22:15.31eFfeMmatthias_, connected the sound card again. I can mute/unmute it and change the volume (there is visual feedback on the device)
22:15.34eFfeMno sound though
22:15.40eFfeMand your amixer command gives:
22:15.40eFfeMroot@NSLU2:~# amixer sset 'Speaker' 60
22:15.41eFfeMamixer: Unable to find simple control 'Speaker',0
22:17.07eFfeMamixer
22:17.11matthias_what does "amixer" without parameters give?
22:17.22eFfeMone sec, wrong window
22:17.45eFfeMhere you go
22:17.47eFfeMroot@NSLU2:~# amixer
22:17.47eFfeMSimple mixer control 'PCM',0
22:17.47eFfeM<PROTECTED>
22:17.47eFfeM<PROTECTED>
22:17.47eFfeM<PROTECTED>
22:17.49eFfeM<PROTECTED>
22:17.52eFfeM<PROTECTED>
22:17.54eFfeM<PROTECTED>
22:17.56eFfeM<PROTECTED>
22:17.58eFfeM<PROTECTED>
22:18.00eFfeM<PROTECTED>
22:18.04eFfeM<PROTECTED>
22:18.19eFfeMdisabling capture didn't help either
22:18.33eFfeMactually I connected just a pair of regular speakers
22:18.47eFfeMcan't disable the spdif output
22:18.53eFfeMmatthias_, great!!!!
22:19.20eFfeMmatthias_, were you the one with the conrad device?
22:20.02eFfeMmatthias_, what client do you use?
22:20.55*** part/#openslug phatmonkey^iBook (n=phatmonk@65.98.2.81.in-addr.arpa)
22:21.56matthias_eFfeM: yes, the 12.95 Euro one.
22:22.44eFfeMok, might try to chase one of these down (but just got this 40 euro philips thing; looks quite nice, led volume and mute indicator, volume knob etc)
22:24.20eFfeMmatthias_, do you have a hint on how to configure mpd or the client, i get connection refused with phpmp and phpmp2
22:25.02matthias_eFfeM: so you can control your device with "amixer sset 'PCM' 80" or so. but you already have 100% volume :(
22:25.59eFfeMmatthias_, i know, but no output.... I had this working last week....
22:26.49eFfeMboth aplay and madplay think they play, but give no output
22:27.27matthias_eFfeM: config.php: "mpd_host" => "nslu2.domain", "mpd_port" => 6600
22:28.14matthias_nslu:/etc/mpd.conf: ... port "6600" .... no "bind_to_address"
22:28.45eFfeMwhat client did you use?
22:28.48matthias_nslu:/etc/mpd.conf: ... port "6600" .... no "bind_to_address" -line .... no password and permission settings.
22:29.26BOfHHow does one create ipkg's?
22:29.59rwhitbyBOfH: wiki/Development/MasterMakefile
22:30.04matthias_eFfeM: for mpd? i use mpc, phpMp2-0.11.0.tar.bz2 and ncmpc. i set "export MPD_HOST=nslu2"
22:30.12eFfeMmatthias_, found it, I changed the port nr in the config file
22:30.36eFfeMphpMp2 now does show its thing
22:30.46matthias_rwhitby: got my photos for the 10-pin-connector and LIRC?
22:30.59rwhitbymatthias_: yep, thx.  just about to upload that now
22:32.00eFfeMmatthias_, actually it tells me now it is playing, but still no sound....
22:32.07eFfeMlooks quite good though
22:32.53matthias_eFfeM: :-) i see. it "looks" good, but doesn't "sound" good ;-)
22:33.14eFfeMlol, yes
22:34.29matthias_eFfeM: in your amixer-output, i see 3 stereo-channels. how many plugs does your device have?
22:34.37rwhitbymatthias_: images are there now - just use Attach:file.jpg using your new filenames
22:35.10rwhitbymatthias_: do you want to become an openslug developer (i.e. with write access to monotone?)
22:36.08eFfeMmatthias_, front, rear, center, and also a headphone output, I connected a set of speakers to the headphone output
22:36.26eFfeMtried front as well, both headphone and front worked in the past
22:36.50matthias_rwhitby: yes, if there are "rules" what and when to do..
22:37.31matthias_rwhitby: so far, i opened oe-tickets and appended my patches. but if it's easier this way, ok.
22:37.59matthias_eFfeM: aehm... did you try the other outputs?
22:38.07eFfeMmatthias_, actually there is some light noise on the speakers
22:38.15eFfeMwill try just to be sure
22:38.20rwhitbymatthias_: create a matthias@openembedded.org monotone key, and send it to koen.  He will decide if your patches are worthy of giving you monotone access :-)
22:38.24*** join/#openslug senneth (i=senneth@irssi/staff/senneth) [NETSPLIT VICTIM]
22:38.33rwhitbyI'm happy enough with your patches from an nslu2-linux point of view.
22:38.55matthias_rwhitby: thanks :-)d
22:39.16matthias_rwhitby: how's the connection between oe and openslug?
22:39.53rwhitbyopenslug is built from OpenEmbedded.  We piggy-back on the OE repository and build system and metadata repository.
22:39.53eFfeMmatthias_, tried the other connectors, just to be safe (apart from the digital out, for some reason I have plenty devices with digital out, but none with digital in....)
22:39.54matthias_rwhitby: WHO does propagate changes and WHEN?
22:40.41rwhitbymatthias_: you would sync with monotone.nslu2-linux.org - koen handles the server syncing betwen that and the OE servers.
22:40.41eFfeMmatthias_, the odd thing is that this works like a charm on my desktop system with fedora
22:41.01matthias_rwhitby: when i push changes into oe-repo, when will they be in openslug-repo?
22:41.44rwhitbymatthias_: you would do it the other way if you are an nslu2-linux developer.  sync with monotone.nslu2-linux.org.
22:42.03rwhitbyWe have a build machine which checks for new stuff every half hour and builds it and puts the new package in the feeds.
22:42.07eFfeMbtw matthias_ do you happen to know what this line from axmier means: Capabilities: pvolume cvolume pswitch pswitch-joined cswitch cswitch-joined
22:42.40eFfeMis this pswitch thing something I can control ???
22:42.59matthias_eFfeM: so your analogue speakers get no signal on either output.. maybe you can have a look on also again. it's very complicated :-(
22:44.02matthias_eFfeM: no. never used. but you could google it:)
22:44.21eFfeMyeah, it might be that I am mssing something, I've upgraded to the latest head last week (after I had it working)
22:45.04eFfeMdon't know if it was working on accident as I sometimes have to tweak the device to get even amixer to work (there are leds showing whether it is muted or not)
22:45.33matthias_rwhitby: are there thoughts to merge it? i'm also syncing the oe-repo for my zaurus.
22:46.03rwhitbymatthias_: it's the same repo on multiple servers.
22:46.03matthias_eFfeM: you could compare the amixer output between slug and your desktop.
22:46.12eFfeMmatthias_, there are no other things I should have, apart from the modules, should they
22:46.15rwhitbythe syncing between the multiple servers is done by koen frequently
22:46.20eFfeMthe mixer output seems the same
22:46.21koen|770rwhitby: not at the moment
22:46.51koen|770nslu2 is still in quarantine
22:48.05koen|770but jbowler is working on resolving the issue
22:48.09matthias_i see. so it's best to start with nslu2 :-)
22:48.34eFfeMmatthias_, actually i would like to capture diffs in usb traffic, but there is no usb monitor and usb debug in the kernel did not help, still need to look into the debug capabilities of snd-usb-audio
22:48.39rwhitbykoen|770: ok, cool.
22:48.52eFfeMback in 10 mins
22:49.26matthias_koen|770: how to i get a @openembedded.org - address?
22:50.08rwhitbymatthias_: http://www.nslu2-linux.org/wiki/HowTo/CreateAndUseMonotoneKeys
22:50.38rwhitbymatthias_: then send the key to me
22:54.11*** join/#openslug phatmonkey^iBook (n=phatmonk@65.98.2.81.in-addr.arpa)
22:56.57matthias_eFfeM: ..log usb traffic..: that's *very* hard :-(
23:05.11eFfeMmatthias_, i fered it would be, there is usbsnoop under windows, but I could not find somethign similar on linux'
23:06.11eFfeMgood plan koen|sleep i think I'll follow your example
23:06.53eFfeMmatthias_, would love to discuss this audio further with you tomorrow or so
23:07.29Madkissharr, maybe I will install Debian on the thing
23:07.43eFfeMcould not find anything in google on pswitch, will also ask in #alsa (and probably instrument the kernel a little bitt to at least get some debug output)
23:08.41matthias_eFfeM: ok. if you find a good alsa docu, tell me. i hate it, that i didn't understand alsa so far :-((
23:09.13eFfeMthere is a lot on alsaproject if I recall the name correctly
23:10.10matthias_eFfeM: yes, but nothing that explains the userinterface and options.
23:10.25matthias_eFfeM: i ended up looking into the source :-(
23:11.02eFfeMactually that was just what I was doing right now.
23:11.16eFfeMhowever, I'm going to sleep now, work ahead tomorrow.
23:11.20eFfeMcatch you later ....
23:11.27eFfeMand thanks for your advice
23:11.43matthias_eFfeM: good nite
23:13.02eFfeMcu
23:22.31*** join/#openslug gerdi_ (n=gerdi@dslb-084-058-145-056.pools.arcor-ip.net)
23:28.57*** join/#openslug n7ipb (n=n7ipb@200.sub-70-218-64.myvzw.com)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.