Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Roberto A. Foglietta on April 06, 2009, 03:59:17 PM

Title: alsa.tczl + modules does not create /dev/snd/*
Post by: Roberto A. Foglietta on April 06, 2009, 03:59:17 PM
I have initiated and configured the alsa sound system but /dev/snd still missing.
I think the excutable snddevices is missing and I think it shoulb be added:

Code: [Select]
wget http://www.linuxplusvalue.be/download/snddevices
sed -e "s/ln -svf /ln -sf /" snddevices >/usr/local/sbin/snddevices
chmod a+x /usr/local/sbin/snddevices
snddevices
[code]

This script need to be modified in order to work with ln from busybox.
[/code]
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: Jason W on April 07, 2009, 05:27:11 PM
Upon loading alsa.tczl and it's deps and using the command "/usr/local/etc/init.d/alsasound start" I have the /dev/snd directory:

Code: [Select]
tc@box:~$ ls /dev/snd
controlC0  pcmC0D0c   pcmC0D0p   pcmC0D1c   pcmC0D1p   timer
tc@box:~$

Is anyone else having issue with the /dev/snd not being created?
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: earlytv on April 14, 2009, 04:20:57 PM
I have /dev/snd.
I did all it says under alsa so I dont have to keep doing

sudo alsaconf

but I still do.
Make any difference I use tcz alsa?
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: Jason W on April 14, 2009, 04:42:12 PM
The tcz alsa works fine with me to start the sound automatically on boot.
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: Jason W on April 14, 2009, 09:25:13 PM
Oh, and make sure you have recently downloaded the alsa extensions as there have been changes to them recently, most recent a bug fix in the startup file.
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: earlytv on April 14, 2009, 09:31:37 PM
I have the old one installed I think, how do you get rid of something installed to update?
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: Jason W on April 14, 2009, 09:34:31 PM
If it is tcz, then the tcz-uninstall.tce extension will do it.
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: earlytv on April 14, 2009, 10:14:04 PM
Still have to do sudo alsaconf?
I have to click on 3 items during sudo alsaconf to get sound to work.
One is something about changing a file someplace?
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: Jason W on April 15, 2009, 07:32:34 AM
Does the startup script "/usr/local/etc/init.d/alsasound start" not work?
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: earlytv on April 15, 2009, 02:12:17 PM
Does the startup script "/usr/local/etc/init.d/alsasound start" not work?

No it still dont work? When I run sudo alsaconf this happens, maybe more then other systems?

(building card database
searching cards
I pick cs5535audio hit ok
configuring snd cs5535audio
modify /ect/modprobe.conf   I pick yes
preparing card for playing
run script alsasound  I pick yes)


So many things on these systems seem different?
On the 32 and 64meg solid state flash ide drives this works

root (hd0,0)
kernal /boot/bzImage  (xxxxxxxxxxxxxxxxxxx other items)

but on the 512meg solid state flash ide drives I could not get anything to boot untill I added this?

root (hd0,0)
kernal /boot/bzImage  root=/dev/hda1

the boot keeps saying cant find bzImage without it?
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: Jason W on April 15, 2009, 05:54:31 PM
It seems there are other issues involved outside of alsa that I wish I could help with but I do not have the hardware such as flash ide drives..
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: nickispeaki on April 20, 2009, 08:25:53 AM
i had issue with the /dev/snd not being created?
;-(
i haven't sound.

but some times ago i can see (with bugs) video in mplayer-nodep.... magic things!
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: nickispeaki on April 20, 2009, 08:35:34 AM
Code: [Select]
>/usr/local/etc/init.d/alsasound
Failed to execute child process "/usr/local/etc/init.d/alsasound" (No such file or directory).
>ls  (8419)
alsasound
>ls (8419) returned '0'

>alsasound start
Failed to execute child process "alsasound" (No such file or directory).
>alsasound
Failed to execute child process "alsasound" (No such file or directory).

magic day!
alsasound is here, but emelfm and aterm doesn't run it!!
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: Juanito on April 20, 2009, 08:36:51 AM
From the error below, it looks like you need to load the bash extension?
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: nickispeaki on April 20, 2009, 08:51:12 AM
From the error below, it looks like you need to load the bash extension?

Code: [Select]
>bash
Failed to execute child process "bash" (No such file or directory).
;D  ;D  ;D  ;D

great thanks, Juanito! ;)
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: nickispeaki on April 20, 2009, 09:06:41 AM
Does the startup script "/usr/local/etc/init.d/alsasound start" not work?

Code: [Select]
>/usr/local/etc/init.d/alsasound start  (7023)
/usr/local/sbin/alsactl: save_state:1528: Cannot open /etc/asound.state for writing: Permission denied
ERROR: Removing 'snd_hda_intel': Operation not permitted
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd is in use by snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
ALSA driver is already running.
>/usr/local/etc/init.d/alsasound start (7023) returned '0'
and i haven't sound still! My girl is so angry when don't hear a music from notebook!  :'(
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: Juanito on April 20, 2009, 09:18:45 AM
You need:
Code: [Select]
$ sudo /etc/init.d/alsasound start..or issue the command from a root terminal
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: nickispeaki on April 20, 2009, 09:53:24 AM
You need:
Code: [Select]
$ sudo /etc/init.d/alsasound start..or issue the command from a root terminal

OOOOO! Man!

It works! ;-))))))))))))))))))))))))))))))))))))))))
Great!
Thanks a lot!
Thanks, Juanito!  :-*
Title: Re: alsa.tczl + modules does not create /dev/snd/*
Post by: nickispeaki on April 20, 2009, 09:58:14 AM
so...
it can be to try without /local/!

 :o