Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-03-2006, 04:34 PM
|
#1
|
LQ Newbie
Registered: Jun 2006
Location: San Diego, CA
Distribution: slackware + xubuntu
Posts: 10
Rep:
|
ALSA Won't Recognize Sound Device (Even though I Get Playback)
I have an Ensoniq ES1371. I'm still using the standard 2.4 kernel from Slackware 10.2, so the kernel modules that came with it include ES1371.
modprobe loads that module without problems (after I fix the dependencies) And I can get playback from some programs. Although I think it may be using OSS, not sure.
But it's for sure that ALSA won't recognize my device:
Code:
$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
There's plenty of things in /dev/snd/ , but I'm not 100% on what I'm supposed to look for here.
If I try to bring up ALSA with the rc file:
Code:
$ sudo ./rc.alsa restart
./rc.alsa: line 38: modprobe: command not found
Opening up rc.alsa shows that line 38 is:
Code:
DRIVERS=`modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{ print $3 }'`
Any help would be appreciated.
|
|
|
07-03-2006, 04:36 PM
|
#2
|
LQ Newbie
Registered: Jun 2006
Location: San Diego, CA
Distribution: slackware + xubuntu
Posts: 10
Original Poster
Rep:
|
Disregard the blather about rc.alsa:
It appears that sudo is not sufficient to run the rc scripts. There is no error message when I run rc.alsa after I su root .
|
|
|
07-03-2006, 05:02 PM
|
#3
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
I've noticed some things similar to this while running sudo. I try to use su, and even sometimes that is fustrating.
Every once inawhile, I disconnect from the network, and actually login as root...
The moral? You just gotta do what you gotta do...
Glad you got it working, plus posting your method so others can get some info on there own issues.
And Welcome to Slackware!
|
|
|
07-03-2006, 06:59 PM
|
#4
|
LQ Newbie
Registered: Jun 2006
Location: San Diego, CA
Distribution: slackware + xubuntu
Posts: 10
Original Poster
Rep:
|
Actually, I didn't get it working. Restarting rc.alsa does *not* fix the problem.
alsamixer still isn't finding the device, alsaconf still isn't detecting the PCI card.
|
|
|
07-03-2006, 08:01 PM
|
#5
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
|
|
|
07-04-2006, 01:13 AM
|
#6
|
LQ Newbie
Registered: Jun 2006
Location: San Diego, CA
Distribution: slackware + xubuntu
Posts: 10
Original Poster
Rep:
|
~# lspci
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 02)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 02)
02:09.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
02:0a.0 VGA compatible controller: ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB] (rev 9a)
02:0c.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09)
02:0d.0 Communication controller: Agere Systems LT WinModem
|
|
|
07-04-2006, 10:31 AM
|
#7
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Quote:
Originally Posted by kpworrell
02:0c.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09)
02:0d.0 Communication controller: Agere Systems LT WinModem
|
That could be the issue....
I have had my winmodem take over the alsa setup, with results close to what you have.
Do a forum search on alsa+modem. there is a thread that somebody posted in that resolved this by editing some files...
|
|
|
07-07-2006, 04:22 PM
|
#8
|
LQ Newbie
Registered: Jun 2006
Location: San Diego, CA
Distribution: slackware + xubuntu
Posts: 10
Original Poster
Rep:
|
Actually, I really will never use that modem, so I took it out of the bus and rebooted.
Same problem.
|
|
|
07-08-2006, 05:01 AM
|
#9
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
I use the "enlightened sound daemon" and it's kind of glitchy, but anyway, sometimes I have to restart my sound after playing a game, or stupid amarok crashes
So i just added to my /etc/sudoers the following:
Quote:
%users pchostname=NOPASSWD:/etc/rc.d/rc.alsa restart
|
Then made a "sudo" script and just double click on it and boom works every time.
now for your sound, I've got one old pc here that I have to key in my alsa settings. It's a different card then yours, but you'll at leaset get an idea, and maybe some1 here can help you figure out your settings to key in. These correspond to the actual port settings in my bios, which you will need to get for yourself from your motherboard. You would put in the different sound card obviously. Also, I think your card is "isa" and not pci FWIW.
Quote:
/sbin/modprobe snd-opl3sa2 index=0 id=CARD_0 port=0x370 sb_port=0x220 wss_port=0x530 midi_port=-1 fm_port=-1 irq=5 dma1=0 dma2=1 isapnp=0
|
|
|
|
All times are GMT -5. The time now is 03:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|