**** BEGIN LOGGING AT Thu Oct 06 02:59:56 2005 Oct 06 14:31:48 hey Oct 06 17:57:47 where is the end user channel? Oct 06 17:58:27 for openslug, or unslung? Oct 06 17:58:34 openslug, here,unslung #nslu2-general Oct 06 17:58:35 openslug.. Oct 06 17:58:53 topic says not end-user discussion here -_- Oct 06 17:59:04 well, ignore the topic for now :P Oct 06 17:59:34 okay :) have any pointers where i can begin to get a usb audio adapter working? the wikipedia doesn't go into much depth Oct 06 17:59:48 and ipkg doesn't seem to have madplay binaries Oct 06 18:00:02 do you have the adapter working? Oct 06 18:01:01 ie, modules and stuff Oct 06 18:01:05 i uh, don't know. i was going to find out by installing the drivers and pressing play ;) Oct 06 18:01:10 hehehe, ok Oct 06 18:01:16 what kind of usb device is it? Oct 06 18:02:14 it's a turtle beach 'audio advantage'. apparantly people have had success with it and alsa, although not with nslus in specific Oct 06 18:02:42 Do you know which modules it uses? I doubt the modules are in the feed... Oct 06 18:02:48 (that can be fixed though) Oct 06 18:04:26 it uses the cm-102 chip Oct 06 18:04:38 i've never used usb audio with nix before... Oct 06 18:08:10 well Oct 06 18:08:23 try installing usb-audio and see if it recognizes it Oct 06 18:09:42 is that an ipkg? Oct 06 18:10:35 should be Oct 06 18:10:50 do you mean kernel-module-audio? Oct 06 18:11:13 hmm Oct 06 18:11:18 which openslug-version btw=? Oct 06 18:12:09 kernel-module-snd-usb-audio Oct 06 18:12:24 the latest ^_^ 2.7 Oct 06 18:13:04 ipkg install kernel-module-snd-usb-audio Oct 06 18:13:11 got it Oct 06 18:13:36 oh, by the way, what's the easiest way to get my locate db updated? Oct 06 18:14:07 updatedb? Oct 06 18:14:52 updatedb looks like a script which is written incorrectly. first line of output is "sort: invalid option -- f" Oct 06 18:14:59 oh Oct 06 18:14:59 or there is some extra syntax it's assuming which i don't know about Oct 06 18:15:13 you'll need to install something to fix that... two sec Oct 06 18:15:29 coreutils Oct 06 18:15:40 the busybox sort just doesn't cut it ;) Oct 06 18:16:10 once i get the kernel module ipkg in, what's the name of the module? Oct 06 18:17:15 i was kind of hoping these steps would be in a faq somewhere... Oct 06 18:19:02 aha Oct 06 18:21:55 if you don't mind, i have one last question... is there an ipkg for madplay? Oct 06 18:22:13 ipkg list|grep madplay Oct 06 18:22:58 all it shows is a library Oct 06 18:23:11 hmm Oct 06 18:23:18 libmad0 Oct 06 18:23:49 http://www.nslu2-linux.org/wiki/HowTo/SlugAsAudioPlayer <-- read that? Oct 06 18:24:09 aye Oct 06 18:26:15 hmm Oct 06 18:26:36 I might be a tad slow in responding at times, I'm just doing 20+ things at the same time ;) Oct 06 18:26:57 anything interesting? Oct 06 18:27:11 try ipkg list|more and see if there's anything that looks like an audio player. there's supposed to be something there ;) Oct 06 18:27:29 trying to get a kernel to work on a somewhat similar device ;) Oct 06 18:28:42 mpd might work.. not sure how it works though Oct 06 18:32:14 yeah neither do i. looks like overkill Oct 06 18:33:47 oh :) how do i get manpages installed? Oct 06 18:33:59 uh, that's a bit of a hack ;) Oct 06 18:34:04 oh :( Oct 06 18:34:11 Working on fixing it though Oct 06 18:35:14 I can try getting madplay into the feed, as well as do the manpage stuff later Oct 06 18:35:21 but right now I'm a bit busy ;) Oct 06 18:35:29 i'll make do :P Oct 06 18:35:51 (also, it's 03:35) Oct 06 18:36:46 a european! Oct 06 18:36:59 there's quite a few of us here ;) **** BEGIN LOGGING AT Thu Oct 06 18:45:03 2005 Oct 06 18:48:12 i think that my audio device is indeed not working :( aumix says it can't find my mixer, dmesg shows nothing about audio on a restart Oct 06 18:48:29 oh and i managed to loose my modprobe command too Oct 06 18:49:19 loose your modprobe command? Oct 06 18:51:27 not sure... bash: modprobe: command not found Oct 06 18:51:55 never mind, it seems su doesn't update the path variable Oct 06 18:52:24 but i'm still at a loss at how to diagnose what usb devices are connected and configured Oct 06 18:52:50 well, unplug and replug... what does dmesg say? Oct 06 18:55:03 something happy, loads the drivers. yet aumix can't find my mixer :/ Oct 06 18:55:22 odd that those lines don't show up in a dmesg after a fresh boot Oct 06 18:55:42 well, paste those lines on http://pastebin.ca Oct 06 18:55:59 it's three lines Oct 06 18:56:13 http://pastebin.ca/24789 Oct 06 18:57:15 hmm Oct 06 18:57:23 ipkg install usbutils && lsusb Oct 06 18:59:06 Bus 003 Device 003: ID 0d8c:0001 C-Media Electronics, Inc. Oct 06 18:59:47 ... Oct 06 18:59:53 lsmod Oct 06 19:00:41 http://pastebin.ca/24790 Oct 06 19:01:36 [g2]: morning Oct 06 19:01:48 <[g2]> hey NAiL Oct 06 19:02:01 <[g2]> how goes Oct 06 19:02:02 goetter: ls /dev ;) Oct 06 19:02:11 [g2]: working on the kernel ;) Oct 06 19:02:18 <[g2]> neat! Oct 06 19:02:32 <[g2]> NAiL uber hacker Oct 06 19:03:16 http://pastebin.ca/24792 Oct 06 19:03:36 well, I'm not progressing very fast ;) Oct 06 19:03:46 i'm making sure of that Oct 06 19:03:59 goetter: do you have speakers connected? Oct 06 19:04:03 hmm.. no Oct 06 19:04:10 shouldn't make a difference Oct 06 19:04:19 yeah, they pop when the thing gets plugged in Oct 06 19:05:50 I can't say I've tried audio on linux for ages Oct 06 19:07:36 is there some module which should be loading but isn't? Oct 06 19:09:15 <[g2]> cheers guys Oct 06 19:09:24 goetter: quite possibly Oct 06 19:09:29 but I can't think of which Oct 06 19:17:30 what is the purpose of the alsa packages? Oct 06 19:18:27 libraries and utils Oct 06 19:35:28 goetter: wait 15 mins, "ipkg update && ipkg install madplay" Oct 06 19:37:03 i think my problem is more basic than that :/ Oct 06 19:37:16 yeah Oct 06 19:37:29 cat /dev/random > /dev/dsp doesn't work Oct 06 19:38:00 hmm Oct 06 19:38:06 ipkg install udev && reboot Oct 06 19:38:25 then give me ls /dev afterwards Oct 06 19:38:38 i hear whispers that alsa needs to get some action Oct 06 19:38:54 yeah Oct 06 19:39:18 the packages fail with 404 by the way, but i'm just downloading them one at a time Oct 06 19:39:26 i'm still unsure that they are installing correctly Oct 06 19:39:33 huh? Which packages? Oct 06 19:39:43 alsa-utils Oct 06 19:39:52 that's odd Oct 06 19:40:31 oh Oct 06 19:40:36 ipkg update first ;) Oct 06 19:40:49 before install udev? Oct 06 19:40:57 I just updated the feed, so it's looking for -r3, but the alsa stuff in the feed is now -r4 ;) Oct 06 19:41:04 i updated about an hour ago Oct 06 19:41:05 okay Oct 06 19:41:35 http://pastebin.ca/24795 Oct 06 19:42:40 hmm Oct 06 19:42:59 try loading all the modules you can find under /lib/modules that have something to do with sound ;) Oct 06 19:43:06 then see ls /dev again Oct 06 19:43:30 okay. install alsa-utils fails because it's unable to find alsa-lib, which doesn't exist Oct 06 19:44:20 hrrm Oct 06 19:44:33 oh my lsmod is much shorter than before (no audio items) Oct 06 19:45:29 but you knew that Oct 06 19:46:52 http://pastebin.ca/24796 Oct 06 19:47:24 no more modules that look like they can be insmodded? Oct 06 19:48:04 those are every module listed under kernel/sound Oct 06 19:48:22 as well as kernel/drivers/usb/class/audio.ko Oct 06 19:48:39 want me to just load everything -_- Oct 06 19:49:23 yeah ;) Oct 06 19:49:32 does insmod have an -R Oct 06 19:51:46 don't think so Oct 06 19:52:09 find /lib/modules -name "*.ko" |xargs insmod :P Oct 06 19:52:10 http://pastebin.ca/24797 Oct 06 19:52:37 hmm Oct 06 19:52:46 sadly that script halts as soon as it hits a module which is already loaded Oct 06 19:52:53 I'll have to look at this tomorrow Oct 06 19:53:02 Getting a bit late now Oct 06 19:53:05 good night :) Oct 06 19:53:23 nite **** ENDING LOGGING AT Fri Oct 07 02:59:56 2005