Page 1 of 1

/dev/a-files missing

Posted: 7. Apr 2014, 07:52
by Atip
I just found that in my new Salix-14.1 partition most files in /dev/ starting with "a" are missing.

Code: Select all

ls /dev/a*
/dev/agpgart
/dev/autofs
In Salix-14.01 and Slackware

Code: Select all

/mnt/SLX14/dev/admmidi0  /mnt/SLX14/dev/aloadC1   /mnt/SLX14/dev/amixer3
/mnt/SLX14/dev/admmidi1  /mnt/SLX14/dev/aloadC2   /mnt/SLX14/dev/apm_bios
/mnt/SLX14/dev/admmidi2  /mnt/SLX14/dev/aloadC3   /mnt/SLX14/dev/arpd
/mnt/SLX14/dev/admmidi3  /mnt/SLX14/dev/aloadSEQ  /mnt/SLX14/dev/atibm
/mnt/SLX14/dev/adsp	 /mnt/SLX14/dev/amidi	  /mnt/SLX14/dev/atomicps
/mnt/SLX14/dev/adsp0	 /mnt/SLX14/dev/amidi0	  /mnt/SLX14/dev/audio
/mnt/SLX14/dev/adsp1	 /mnt/SLX14/dev/amidi1	  /mnt/SLX14/dev/audio0
/mnt/SLX14/dev/adsp2	 /mnt/SLX14/dev/amidi2	  /mnt/SLX14/dev/audio1
/mnt/SLX14/dev/adsp3	 /mnt/SLX14/dev/amidi3	  /mnt/SLX14/dev/audio2
/mnt/SLX14/dev/agpgart	 /mnt/SLX14/dev/amixer0   /mnt/SLX14/dev/audio3
/mnt/SLX14/dev/aio	 /mnt/SLX14/dev/amixer1   /mnt/SLX14/dev/aztcd
/mnt/SLX14/dev/aloadC0	 /mnt/SLX14/dev/amixer2
How can I get those files into /dev/ especially /dev/audio?

Re: /dev/a-files missing

Posted: 8. Apr 2014, 07:50
by gapan
These files are not actual files. They should be created by the kernel/udev only when they are needed. If they are not there, it means there is no respective hardware and they shouldn't be there. Why do you think you need /dev/audio? This is only used by OSS and OSS is not used in Salix, or was in 14.0...

Re: /dev/a-files missing

Posted: 9. Apr 2014, 01:26
by Atip
Well, I have an old program 'saytime' and it uses /dev/audio to say the time.
I changed it now to use play instead. The sound is not as nice so.

Code: Select all

cat $SAYFILES > /home/user/sound/saytemp
#cat $SAYFILES > /dev/audio
play -t ul -r 8000 /home/user/sound/saytemp

Re: /dev/a-files missing

Posted: 14. Apr 2014, 23:28
by Atip
Found the right soliution.

Made rc.alsa-oss executable. Nice sound is back with /dev/audio. :D