DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th August 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Default playing songs in text mode

I don't have X11 installed, but I'm using VESA. Just wanted to know can I play songs or get my sound card working without installing X11. I'm asking this because I remember I tried loading kernel module for my sound card without installing X11 some time back, and it failed. But I haven't tried compiling kernel with sound card support.

Any suggestions .
Reply With Quote
  #2   (View Single Post)  
Old 27th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,088
Thanked 198 Times in 156 Posts
Default

You don't need X11 or sound card support, sound cards are 100% handeled by the OS (FreeBSD) and X11 has nothing to do with it.

Try running this script:
http://daemonforums.org/showpost.php?p=48&postcount=2

As for audio player, there are many console audio players, a few from teh top of my head:
multimedia/mplayer
audio/mpg123
audio/mp3blaster
audio/ncmpc (Client for audio/musicpd)
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 27th August 2008
ddekok ddekok is offline
Port Guard
 
Join Date: May 2008
Posts: 38
Thanked 4 Times in 3 Posts
Default

Another console music player, with vi-like command mode:

audio/cmus

edit: can also be controlled remotely over a network.
Reply With Quote
  #4   (View Single Post)  
Old 27th August 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
You don't need X11 or sound card support, sound cards are 100% handeled by the OS (FreeBSD)
Are you sure. I get following errors when I issue following command
Code:
#kldload snd_driver
sio4: configured irq 3 not in bitmap of probed irqs 0
sio4: port may not be enabled
ppc0: parallel port not found
sio4: configured irq 3 not in bitmap of probed irqs 0
sio4: port may not be enabled
cpu1: Cx states  changed
.
.(Same message again and again)
.
pcm0: <Intel 82801H High Defination Audio Controller> mem 0xfc300000-0xfc303fff irq 22 at device 27.0. on pci0
pcm0: [ITHREAD]
pcm0: <HDA Codec: Realtek ALC268>
..
and so on
But when I do cat /dev/sndstat
It shown snd_hda

I havent tried playing any sound yet. I don't see then when I tried from secure shell or from X11 (earlier). Is it normal?
Reply With Quote
  #5   (View Single Post)  
Old 27th August 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 382
Thanked 13 Times in 13 Posts
Default

That the sound driver loading, not an error. Try and play a sound and see what happens.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Reply

Tags
sound, text mode

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing a CD. maxrussell FreeBSD General 2 22nd July 2009 07:24 PM
X kills console text IdOp OpenBSD General 12 12th May 2009 06:12 PM
change screen saver in text mode mfaridi FreeBSD General 2 29th October 2008 05:14 AM
OSS , playing a sound via command line.. scotsman FreeBSD General 7 29th August 2008 08:01 PM
Playing DVDs drhowarddrfine FreeBSD Ports and Packages 9 30th May 2008 02:46 PM


All times are GMT. The time now is 04:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick