Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-06-2013, 05:58 AM   #1
LQ Newbie
Registered: Jul 2012
Posts: 4

Rep: Reputation: Disabled
Creation of device node for sound

Hi Friends,
How I can I create a device node in /dev/snd for sound card?(ALSA Specific). In case of an operating system it will automatically create the device file when the system boots up(I think so). I am looking for a code, may be a configuration file or a sample c program, that can create a dev file in /dev/snd. If I run MAKEDEV, it will create a lot of device file and using the sound specific file I can play a song. But Unfortunately I was not able to find any program to create sound dev file.

Old 09-06-2013, 12:29 PM   #2
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
mknod is the program that creates devices but you need to know what numbers to give it. Assuming you remember the output of "ls -l" on your device you can write a mknod command to recreate that one device.
Old 09-06-2013, 01:35 PM   #3
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,281

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
this is old but it mentions how to create /dev/dsp node:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to specfiy the some device node name to physical device(CF memory) poplinux Linux - General 2 11-13-2012 02:14 AM
Device node creation greplinux Linux - Newbie 4 08-23-2010 03:19 AM
Creation of device node after USB insertion paldebojyoti Linux - Distributions 6 08-20-2009 07:01 AM
Creating A New Device Node/Not A Valid Block Device indienick Debian 4 07-13-2007 03:07 PM
creation of dynamic device node entry in /dev balalin Linux - Kernel 0 04-10-2007 05:29 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration