You have a problem with Salix? Post here and we'll do what we can to help.
Atip
Posts: 539 Joined: 5. Jun 2011, 04:27
Post
by Atip » 7. Apr 2014, 07:52
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?
gapan
Salix Wizard
Posts: 6362 Joined: 6. Jun 2009, 17:40
Post
by gapan » 8. Apr 2014, 07:50
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...
Atip
Posts: 539 Joined: 5. Jun 2011, 04:27
Post
by Atip » 9. Apr 2014, 01:26
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
Atip
Posts: 539 Joined: 5. Jun 2011, 04:27
Post
by Atip » 14. Apr 2014, 23:28
Found the right soliution.
Made rc.alsa-oss executable. Nice sound is back with /dev/audio.