**** BEGIN LOGGING AT Wed Dec 28 02:59:58 2005 Dec 28 14:05:37 Where do I find installation instructions for UnSlung? Dec 28 14:05:54 on the wiki ! Dec 28 14:06:28 ok Dec 28 14:07:17 Madkiss, this is a developer channel, for installation questions please revert to #nslu2-general Dec 28 14:07:33 (or any usage related questions) Dec 28 14:07:51 oh, cool, thanks Dec 28 14:14:13 eFfeM: can you give me a "grep ^ao_ /etc/mpd.conf" of your usb-audio-slug? Dec 28 14:17:47 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. Dec 28 14:19:24 eFfeM: but then, the sound spluttered. i had to change *_time.. Dec 28 14:22:29 matthias_, one sec Dec 28 14:22:39 (was away for a moment) Dec 28 14:24:22 matthias_, i have no lines starting with ao Dec 28 14:24:52 then again i've installed mpd, but my audio adapter stopped working Dec 28 14:24:54 eFfeM: do you use oss or alsa as mpd output? Dec 28 14:24:56 no idea what is going on here Dec 28 14:25:16 i'm still struggling getting any output Dec 28 14:25:32 this worked for a moment last week, then I upgraded to the head agan and it stopped working Dec 28 14:25:42 probably not due to the head, but more to an init problem. Dec 28 14:26:19 sometimes when I connect the card, I can toggle the mute/demute light on the card, and sometimes not Dec 28 14:26:47 eFfeM: did you use ipks from the feed or own? Dec 28 14:26:57 haven't found the cause yet, want to add some tracing (perhaps sound-usb-audio helped) Dec 28 14:28:44 eFfeM: did you change libao to support alsa and recompile? (standard libao doesn't support alsa directly) Dec 28 14:28:48 matthias_, i've build my own mpd and audio libs, i think I got alsa from the feed Dec 28 14:28:52 no Dec 28 14:29:10 i don't recall having tweaked with any of the files Dec 28 14:29:57 eFfeM: ok. for me, mpd wasn't able to control the mixer_oss (alsa-oss-emulation mixer) Dec 28 14:30:52 eFfeM: the libao from the repository gets configured with --disable-alsa --disable-alsa09 => without change, you use oss Dec 28 14:31:11 i did not get to the point where I got audio playback Dec 28 14:32:01 eFfeM: does "aplay test.wav" work? Dec 28 14:34:13 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. Dec 28 14:35:16 eFfeM: no i compiled libao with alsa support (--enable-alsa --enable-alsa09 --enable-alsa09-mmap) and i have in /etc/mpd.conf: Dec 28 14:35:54 mixer_type "alsa" Dec 28 14:35:54 mixer_device "default" Dec 28 14:35:54 mixer_control "Speaker" Dec 28 14:35:54 ao_driver "alsa09" Dec 28 14:35:54 ao_driver_options "dev=default;buf_time=500000;period_time=500;use_mmap=1" Dec 28 14:36:59 matthias_, aplay does not work, actually sometimes demuting works in alsamixer, but is not honured by the device Dec 28 14:37:29 without "period_time=500" it stutters. the times are given in usec (libao docu seem to be wrony after a look at alsa-lib) Dec 28 14:37:43 eFfeM: maybe amixer does it? Dec 28 14:37:58 nope tried that as well Dec 28 14:39:13 usb-audio-slug? what's that? ;) Dec 28 14:39:47 effem: "amixer" alone tells you what controls you have. Dec 28 14:40:03 matthias_, yeah I know Dec 28 14:40:13 effem: "amixer sset 'Speaker' 60" doesn't do it? Dec 28 14:41:23 effem: 'Speaker' or whatever your output is called.. Dec 28 14:42:00 will try in a few minutes (actualy I just opened the device to see what chip is in) Dec 28 14:42:31 Madkiss, some usb audio cards work on the slug and allow to use it for audio playback Dec 28 14:43:44 eFfeM: i'm quite happy now that it works here :-) (with libao "--enable-alsa09" and the 5 magic lines above :-) Dec 28 14:44:25 ok, i'll keep that in mind Dec 28 14:44:31 please add them to the wiki Dec 28 14:47:01 eFfeM: hmm... wouldn't it be better to patch the .bb for the slug and write a default /etc/mpd.conf for mpd? Dec 28 14:47:51 eFfeM: great god, how can that snaily cpu do such things? Dec 28 14:48:02 eFfeM: i also read, you succeeded in cross-compiling cdrecord? :) Dec 28 14:50:07 Madkiss: :-) but it has 266 mhz - think about old 486er pcs (with i recently threw away..) Dec 28 14:50:49 matthias_, good idea Dec 28 14:51:58 matthias_: sure, but these had soundchips onboard, or on the soundcard Dec 28 14:52:01 Madkiss, 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) Dec 28 14:52:07 google if you want more info on that Dec 28 14:52:17 266mhz and 32 mb is kidn of a heaven Dec 28 14:52:35 for audio pb you need integer libs though (no fpp hw on the slug Dec 28 14:52:43 Okay, I will install Linux on it Dec 28 14:52:45 Madkiss, the sound chips are on an usb soundcard Dec 28 14:52:49 or, rather ... Dec 28 14:52:50 windows. Dec 28 14:52:59 I plan on getting a USB-soundcard anyway Dec 28 14:53:03 M-Audio Sonica Dec 28 14:53:25 matthias_, not sure if I crosscompiled cdrecord. I definitely have it running, but maybe I compiled natively Dec 28 14:53:37 Madkiss, see if it is supported by linux Dec 28 14:53:43 eFfeM: do you compile on your slug? Dec 28 14:53:49 yes Dec 28 14:55:09 * Madkiss still faces the question on whether to use OpenSlug or Unslung Dec 28 14:55:18 well, hmkay. Dec 28 14:55:48 matthias_, 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. Dec 28 14:56:04 and now if I Dec 28 14:56:25 and now if I'm breaking new grounds and there is no package I typically start on the slug first Dec 28 14:56:40 Madkiss, it depends on your unix experience and what you want to do Dec 28 14:57:09 if you are a unix die-hard that wants to experiment you may go for openslug Dec 28 14:57:24 if you only want to run the available packages unslung is probably a better choice Dec 28 14:57:32 eFfeM: i see. a cdrtools_2.01.bb would be nice :-) Dec 28 14:57:37 eFfeM: I think I will focus on my interests. Dec 28 14:57:53 eFfeM: Running a print-server, maybe a webserver on it. I guess Unslung will do it. Dec 28 14:58:49 Madkiss, for webserver definitely, and I assume also for print-server (now that is a thing I never did) Dec 28 14:59:10 cups packages for unslung exist Dec 28 14:59:18 eFfeM: cdrtools crosscompilation is a hell because of the "Schily makefile system.".. :-( Dec 28 14:59:23 and my fs1020d will do nicely, i think Dec 28 14:59:33 matthias_: Schily makefile system? Dec 28 14:59:47 actually 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) Dec 28 15:00:24 effem: did you write any new files for the slug? e.g. RULES-files for armv5teb? Dec 28 15:00:49 matthias_, 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) Dec 28 15:00:54 matthias_, nope Dec 28 15:01:22 effem: but at the end, it worked? Dec 28 15:01:25 cross, I just use the master makefile and friends, did not touch the dev env Dec 28 15:01:55 matthias_, natively I got gcc and friends from a pkg if I recall correctly; and yes, cdrecord worked Dec 28 15:02:21 Do we need the armv5teb toolchain or can we just use arm-generic-linux ? Dec 28 15:02:44 BOfH: http://cdrecord.berlios.de/old/private/smake.html .. Dec 28 15:02:54 when I installed there was only one toolchain for openslug. there was no le yet Dec 28 15:03:17 and as hw for cdrecord I used a Philips JackRabbit (which is an external usb dvd writer) Dec 28 15:03:29 did only make cd's with it, but dvds should not be a problem Dec 28 15:04:01 BOfH: .. he says: "it's better than make". but it's only more compilicated and has no standard ./configure :-(( Dec 28 15:04:32 BOfH: i'd like to do a bitbake and have an ipkg Dec 28 15:05:41 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 Dec 28 15:06:31 yeah recall having to install smake natively Dec 28 15:06:46 Madkiss, i know about growisofs, didn't get to it yet Dec 28 15:15:03 matthias_, connected the sound card again. I can mute/unmute it and change the volume (there is visual feedback on the device) Dec 28 15:15:06 no sound though Dec 28 15:15:12 and your amixer command gives: Dec 28 15:15:12 root@NSLU2:~# amixer sset 'Speaker' 60 Dec 28 15:15:13 amixer: Unable to find simple control 'Speaker',0 Dec 28 15:16:39 amixer Dec 28 15:16:43 what does "amixer" without parameters give? Dec 28 15:16:54 one sec, wrong window Dec 28 15:17:18 here you go Dec 28 15:17:19 root@NSLU2:~# amixer Dec 28 15:17:19 Simple mixer control 'PCM',0 Dec 28 15:17:19 Capabilities: pvolume cvolume pswitch pswitch-joined cswitch cswitch-joined Dec 28 15:17:19 Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer Dec 28 15:17:19 Capture channels: Front Left - Front Right Dec 28 15:17:21 Limits: Playback 0 - 256 Capture 0 - 8 Dec 28 15:17:24 Front Left: Playback 256 [100%] [on] Capture 0 [0%] [on] Dec 28 15:17:26 Front Right: Playback 256 [100%] [on] Capture 0 [0%] [on] Dec 28 15:17:28 Rear Left: Playback 0 [0%] [on] Dec 28 15:17:30 Rear Right: Playback 0 [0%] [on] Dec 28 15:17:32 Front Center: Playback 0 [0%] [on] Dec 28 15:17:36 Woofer: Playback 0 [0%] [on] Dec 28 15:17:51 disabling capture didn't help either Dec 28 15:18:05 actually I connected just a pair of regular speakers Dec 28 15:18:15 * matthias_ is listening to sound via mpd+slug :-)) Dec 28 15:18:19 can't disable the spdif output Dec 28 15:18:25 matthias_, great!!!! Dec 28 15:18:33 * eFfeM is a little bit jealous Dec 28 15:18:52 matthias_, were you the one with the conrad device? Dec 28 15:19:34 matthias_, what client do you use? Dec 28 15:21:28 eFfeM: yes, the 12.95 Euro one. Dec 28 15:22:16 ok, 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) Dec 28 15:23:52 matthias_, do you have a hint on how to configure mpd or the client, i get connection refused with phpmp and phpmp2 Dec 28 15:24:34 eFfeM: so you can control your device with "amixer sset 'PCM' 80" or so. but you already have 100% volume :( Dec 28 15:25:31 matthias_, i know, but no output.... I had this working last week.... Dec 28 15:26:20 both aplay and madplay think they play, but give no output Dec 28 15:26:59 eFfeM: config.php: "mpd_host" => "nslu2.domain", "mpd_port" => 6600 Dec 28 15:27:46 nslu:/etc/mpd.conf: ... port "6600" .... no "bind_to_address" Dec 28 15:28:17 what client did you use? Dec 28 15:28:20 nslu:/etc/mpd.conf: ... port "6600" .... no "bind_to_address" -line .... no password and permission settings. Dec 28 15:28:57 How does one create ipkg's? Dec 28 15:29:31 BOfH: wiki/Development/MasterMakefile Dec 28 15:29:36 eFfeM: for mpd? i use mpc, phpMp2-0.11.0.tar.bz2 and ncmpc. i set "export MPD_HOST=nslu2" Dec 28 15:29:44 matthias_, found it, I changed the port nr in the config file Dec 28 15:30:08 phpMp2 now does show its thing Dec 28 15:30:18 rwhitby: got my photos for the 10-pin-connector and LIRC? Dec 28 15:30:31 matthias_: yep, thx. just about to upload that now Dec 28 15:31:31 matthias_, actually it tells me now it is playing, but still no sound.... Dec 28 15:31:39 looks quite good though Dec 28 15:32:25 eFfeM: :-) i see. it "looks" good, but doesn't "sound" good ;-) Dec 28 15:32:45 lol, yes Dec 28 15:34:01 eFfeM: in your amixer-output, i see 3 stereo-channels. how many plugs does your device have? Dec 28 15:34:08 matthias_: images are there now - just use Attach:file.jpg using your new filenames Dec 28 15:34:41 matthias_: do you want to become an openslug developer (i.e. with write access to monotone?) Dec 28 15:35:40 matthias_, front, rear, center, and also a headphone output, I connected a set of speakers to the headphone output Dec 28 15:35:58 tried front as well, both headphone and front worked in the past Dec 28 15:36:22 rwhitby: yes, if there are "rules" what and when to do.. Dec 28 15:37:03 rwhitby: so far, i opened oe-tickets and appended my patches. but if it's easier this way, ok. Dec 28 15:37:31 eFfeM: aehm... did you try the other outputs? Dec 28 15:37:40 matthias_, actually there is some light noise on the speakers Dec 28 15:37:47 will try just to be sure Dec 28 15:37:51 matthias_: 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 :-) Dec 28 15:38:04 I'm happy enough with your patches from an nslu2-linux point of view. Dec 28 15:38:27 rwhitby: thanks :-)d Dec 28 15:38:48 rwhitby: how's the connection between oe and openslug? Dec 28 15:39:25 openslug is built from OpenEmbedded. We piggy-back on the OE repository and build system and metadata repository. Dec 28 15:39:25 matthias_, 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....) Dec 28 15:39:26 rwhitby: WHO does propagate changes and WHEN? Dec 28 15:40:12 matthias_: you would sync with monotone.nslu2-linux.org - koen handles the server syncing betwen that and the OE servers. Dec 28 15:40:13 matthias_, the odd thing is that this works like a charm on my desktop system with fedora Dec 28 15:40:33 rwhitby: when i push changes into oe-repo, when will they be in openslug-repo? Dec 28 15:41:15 matthias_: you would do it the other way if you are an nslu2-linux developer. sync with monotone.nslu2-linux.org. Dec 28 15:41:35 We have a build machine which checks for new stuff every half hour and builds it and puts the new package in the feeds. Dec 28 15:41:39 btw matthias_ do you happen to know what this line from axmier means: Capabilities: pvolume cvolume pswitch pswitch-joined cswitch cswitch-joined Dec 28 15:42:12 is this pswitch thing something I can control ??? Dec 28 15:42:31 eFfeM: so your analogue speakers get no signal on either output.. maybe you can have a look on also again. it's very complicated :-( Dec 28 15:43:34 eFfeM: no. never used. but you could google it:) Dec 28 15:43:53 yeah, it might be that I am mssing something, I've upgraded to the latest head last week (after I had it working) Dec 28 15:44:36 don'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) Dec 28 15:45:04 rwhitby: are there thoughts to merge it? i'm also syncing the oe-repo for my zaurus. Dec 28 15:45:34 matthias_: it's the same repo on multiple servers. Dec 28 15:45:35 eFfeM: you could compare the amixer output between slug and your desktop. Dec 28 15:45:44 matthias_, there are no other things I should have, apart from the modules, should they Dec 28 15:45:46 the syncing between the multiple servers is done by koen frequently Dec 28 15:45:52 the mixer output seems the same Dec 28 15:45:53 rwhitby: not at the moment Dec 28 15:46:23 nslu2 is still in quarantine Dec 28 15:47:37 but jbowler is working on resolving the issue Dec 28 15:47:41 i see. so it's best to start with nslu2 :-) Dec 28 15:48:05 matthias_, 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 Dec 28 15:48:10 koen|770: ok, cool. Dec 28 15:48:24 back in 10 mins Dec 28 15:48:59 koen|770: how to i get a @openembedded.org - address? Dec 28 15:49:40 matthias_: http://www.nslu2-linux.org/wiki/HowTo/CreateAndUseMonotoneKeys Dec 28 15:50:09 matthias_: then send the key to me Dec 28 15:50:43 * rwhitby goes to work Dec 28 15:56:29 eFfeM: ..log usb traffic..: that's *very* hard :-( Dec 28 16:04:43 matthias_, i fered it would be, there is usbsnoop under windows, but I could not find somethign similar on linux' Dec 28 16:05:43 good plan koen|sleep i think I'll follow your example Dec 28 16:06:25 matthias_, would love to discuss this audio further with you tomorrow or so Dec 28 16:07:00 harr, maybe I will install Debian on the thing Dec 28 16:07:14 could 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) Dec 28 16:08:13 eFfeM: ok. if you find a good alsa docu, tell me. i hate it, that i didn't understand alsa so far :-(( Dec 28 16:08:45 there is a lot on alsaproject if I recall the name correctly Dec 28 16:09:42 eFfeM: yes, but nothing that explains the userinterface and options. Dec 28 16:09:57 eFfeM: i ended up looking into the source :-( Dec 28 16:10:34 actually that was just what I was doing right now. Dec 28 16:10:48 however, I'm going to sleep now, work ahead tomorrow. Dec 28 16:10:52 catch you later .... Dec 28 16:10:59 and thanks for your advice Dec 28 16:11:15 eFfeM: good nite Dec 28 16:12:34 cu Dec 28 16:13:34 * matthias_ finished his first wiki page at http://www.nslu2-linux.org/wiki/HowTo/AddAnInfraredReceiverAndTransmitterWithLIRC :-))) Dec 28 16:39:31 * matthias_ finished his second page at http://www.nslu2-linux.org/wiki/HowTo/AddASimpleTenPinConnector :-))) Dec 28 17:15:05 matthias_: nice pages! Dec 28 17:16:25 and the slug is now mentioned on http://www.lirc.org/ :-) Dec 28 17:19:32 rwhitby-web: the slugification of the world is progressing :-)) And i'm very delighted that Joey Hess got a slug :-) Dec 28 17:20:43 rwhitby-web: www.lirc.org: yes :-)) i'll send christophe (the lirc maintainer) the link to our page Dec 29 01:19:04 good morning, everybody. I hope you don't mind me listening to the #openslug chat. Please bear with me, I am a newbie on IRC. Dec 29 01:20:03 velinp: welcome Dec 29 01:22:44 thanks, rwhitby. I am compiling the monotone head as of today. what's the idea of the leslug? Dec 29 01:23:24 leslug is an little-endian version of OpenSlug Dec 29 01:24:20 has it something to do with debian-arm (le) Dec 29 01:34:16 velinp: yes, it's a kernel and rootfs which is compatible with debootstrapping debian-arm (el) sid Dec 29 01:34:34 I am using it to build a debian arm(el) kernel package Dec 29 01:38:43 rwhitby: natively? Dec 29 01:39:10 velinp: yes Dec 29 01:40:08 rwhitby: can i help (by compiling/testing?) Dec 29 01:46:25 velinp: not really - the kernel itself is fine (LeSlug runs just as well as OpenSlug does). Unless you are familiar with how Debian kernel packages are built (or are a Debian Developer yourself), then there's not much you can do to help on that particular task. Dec 29 01:50:24 rwhitby: no, I am not a debian developer. I know about kernel-package; have built kernels 'the debian way' and otherwise. Can I do anything else? Dec 29 01:50:56 I need to work out how to create a new bootloader in kernel-package ... Dec 29 01:52:56 (i.e. modifying kernel-package itself to support a new type of kernel, rather than running kernel-package to build an existing kernel) Dec 29 01:55:54 rwhitby: have you contacted Manoj Srivastava (debian maint of k-p), or Lennert, or wouter@debian.org? Dec 29 01:56:12 velinp: yes, I'm in contact with all three of those people. Dec 29 02:05:42 rwhitby: ok, they should know best. I have contacted wouter about buildd on the slug, then I withdraw; recently i solved my problems by using openwrt, so the slug is free to play with. anybody interested? **** BEGIN LOGGING AT Thu Dec 29 02:46:44 2005 **** ENDING LOGGING AT Thu Dec 29 02:59:58 2005