LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-18-2003, 06:14 PM   #1
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Rep: Reputation: 30
ALSA and CUPS issues


Hey everyone,

I upgraded to Slack 9.1 and love it already. I have one thread going already on my graphics card issues, so here is where I am sticking my Audio and Printing issues

let's start with the audio - Sound simply doesn't work - I am runing a soundblaster audigy, which uses the emu10k1 modules to run. Here is what i get with 'modprobe emu10k1' -
Code:
 /lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: init_module: No such device
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod /lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz failed
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod emu10k1 failed
I'm sure I am just doing something stupid

Secondly, I need to configure my printer to work with CUPS. I don't even know where to begin, however - is there any place that someone can direct me to to show me how to set up my printer with CUPS?

All help is greatly appreciated - thanks in advance!
 
Old 12-18-2003, 06:34 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
A brief search of the forums revealed lots of treads that might help your ALSA problem.

http://www.linuxquestions.org/questi...der=descending

I'm in a similar situation since moving to 2.6, but I wasn't using ALSA before either. The link in this thread seems promising http://www.linuxquestions.org/questi...highlight=ALSA

As for CUPS - what have you tried so far? http://locahost:631 ?

cheers

Jamie...
 
Old 12-18-2003, 07:41 PM   #3
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
I instead dowloaded the emu10k1 drivers from sourceforge.net

I followed the instructions fine, and everything worked. However, I can't understand why after I do 'make install' it works, but then it tells me to 'alias sound emu10k1' and when I do that, it gives me a nasty response:

Code:
bash-2.05b# cd /root/emu10k1-v0.20a
bash-2.05b# make
**
** The driver was succefully compiled, now install it with:
**   make install
**
bash-2.05b# make install
**
** The driver was succefully compiled, now install it with:
**   make install
**
mkdir -p //lib/modules/2.4.22/kernel/drivers/sound/emu10k1
install -c -m 664 emu10k1.o //lib/modules/2.4.22/kernel/drivers/sound/emu10k1
install -c -m 664 ac97_codec.o //lib/modules/2.4.22/kernel/drivers/sound
/sbin/depmod -a 2.4.22
/sbin/modprobe -r emu10k1.o  ac97_codec.o 
**
** Driver install complete, to compile the tools type "make tools"
**
bash-2.05b# alias sound emu10k1
bash: alias: sound: not found
bash: alias: emu10k1: not found       #this is where I get stuck in the process of installing the emu10k1 drivers
Anyways, so I am having some troubles there. When I do 'modprobe emu10k1' and then 'lsmod' emu10k1 is listed but is not listed as being used. What do I do?

As for CUPS, again I have no idea where to even begin! I installed the packages at the install of Slack 9.1, but I don't quite know what to do as far as configuring it. Where are the docs for CUPS? How do I install it? Is it already installed and i just have to configure it? If so, how?

I am a bit of a so bear with me...

Last edited by Aman9090; 12-18-2003 at 07:44 PM.
 
Old 12-18-2003, 10:40 PM   #4
h3pc4t
Member
 
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
Did you run alsaconf? ALSA should handle the aliasing/loading of modules - there's absolutely NO reason to compile your own driver for something included with ALSA.

What I would recommend doing is, first, reinstalling the alsa-driver package (although it looks like you might have to upgrade to kernel 2.4.23, since the 1.0.0rc2 packages are compiled against it, and not 2.4.22). Then, run 'alsaconf' - which should detect your sound card, modify /etc/modules.conf correctly, and load the proper kernel modules.
 
Old 12-18-2003, 10:46 PM   #5
mpegler
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
The 'alias' command should go into '/etc/modules.conf' as 'alsa' is calling 'sound' not 'emu10k1'.

CUPS has a web configuration page 'http://localhost:631' as stated. There is also a script to make executable '/etc/rc.d/rc.cupsd' so the daemon starts at boot.
 
Old 12-19-2003, 04:19 AM   #6
h3pc4t
Member
 
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
Regarding CUPS ... check the lpr, lp, lpstat, etc symlinks. They might be pointing at LPRng instead (which happens if you do a full install, since LPRng gets installed second).
 
Old 12-19-2003, 05:15 AM   #7
franky
LQ Newbie
 
Registered: Dec 2001
Location: verona
Distribution: redhat
Posts: 4

Rep: Reputation: 0
Uninstall LPRng and CUPS should works.
Type in mozilla:
http://localhost:631
it's all
 
Old 12-19-2003, 07:36 AM   #8
h3pc4t
Member
 
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
Nope, uninstalling LPRng will still leave the bad symlinks. Uninstalling LPRng and reinstalling CUPS will do the trick.
 
Old 12-19-2003, 01:58 PM   #9
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
ok thanks guys

I installed and upgraded the alsa drivers through slapt-get and I was able to run alsaconf - it didn't detect my sound card, however. I will take your advice about putting that command into /etc/modules.conf thanks

I will get back with updates.

Last edited by Aman9090; 12-19-2003 at 03:34 PM.
 
Old 12-19-2003, 05:27 PM   #10
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 493

Rep: Reputation: 30
Is parport_pc module loaded? Do lsmod and see if it's loaded. If not, modprobe parport_pc, then try to add the printer in the CUPS browser...http://localhost:631.
 
Old 12-19-2003, 10:17 PM   #11
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
Thanks, I can now get into the CUPS browser. How can I find out what my password and username is, though? Because right now I can't do any config because it asks me for a password and username that i do not know.

Thanks for this help, I really appreciate it

Sound is an other issue, however
 
Old 12-20-2003, 04:44 AM   #12
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
Quote:
Originally posted by Aman9090
Thanks, I can now get into the CUPS browser. How can I find out what my password and username is, though? Because right now I can't do any config because it asks me for a password and username that i do not know....
root user and passwd.....
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HP DeskJet 3520 / Linux / CUPS Issues? mindfrost82 Linux - Hardware 29 03-06-2005 02:11 PM
Help with cups and USB issues. alek66 Slackware 11 02-03-2005 09:08 AM
CUPS issues Malibyte Linux - Software 3 11-09-2004 12:14 PM
Redhat 9 printer issues with CUPS and GIMP-PRINT jonthelam Linux - Hardware 2 07-04-2004 06:48 AM
Printing issues with cups/samba MDK9.2 mortalic Linux - Networking 0 10-16-2003 06:19 PM


All times are GMT -5. The time now is 11:53 AM.

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