LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 10-09-2003, 08:05 PM   #1
NewtoSlack
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Rep: Reputation: 15
Configuring Sound card and Printer in 9.1


My sound card is Intel's ICH4 845G/GL AC'97 Audio Controller. I do not get any sound under Slackware 9.1. Apparently ALSA does not support Intel's 845G/GL which is installed under Slackware by default. How can I configure it to work?

My printer is Lexmark Z51. It is not detected during install. How can I configure the printer?

Both the sound card and printer work under other distributions like Mandrake and Red Hat.
 
Old 10-09-2003, 08:18 PM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Printer detected? This ain't M$ Windows. You need to install the driver. Search for cups threads in this forum. And a note. If you connect your printer to the USB port. You need to switch it on during bootup. I don't know whether there has been improvement over this case, but that is what I read somewhere.
 
Old 10-09-2003, 08:27 PM   #3
NewtoSlack
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Original Poster
Rep: Reputation: 15
"Printer detected? This ain't M$ Windows."

If you have ever installed Mandrake or Red hat you will know that the printer is detected and configured during installtion.

If I need to install the driver, where can I find it? TIA
 
Old 10-09-2003, 09:31 PM   #4
JollyRogers
Member
 
Registered: Sep 2003
Location: Va USA
Distribution: Slackware
Posts: 81

Rep: Reputation: 16
Actually I know for a fact that Lexmark is supported by CUPS printing that comes with Slackware 9.0 so it should w/ 9.1 also

Assuming you installed all the packages (did a full install) then Cups is already on your system.

1. Open your Browser
2. Goto http://localhost:631
3. Select Administration. Put in root and roots password.
4. Add printer.... make sure you find the Lexmark on the USB port and select the Z51 driver.
5. ensure /etc/rc.d/rc.cups is executable (chmod 744 /etc/rc.d.rc.cups as root if it aint).
6. Then as root cd /etc/rc.d
7. run: ./rc.cups start
8. run: lpq and it should say your printer is enabled and waiting to print

9. I would bookmark that http://localhost:631 as that is your printer configuration/management for cups.
 
Old 10-09-2003, 10:05 PM   #5
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
The alsa 810 modules works for the 845GL chipset


Alsa page for intel8x0 sound support
 
Old 10-10-2003, 01:10 PM   #6
NewtoSlack
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Original Poster
Rep: Reputation: 15
I went to localhost:631 and tried to configure the printer but could not find any driver for Lexmark Z51. The drivers listed are for Z52 and Z53 and they did not work when I tried them out. Where can I find friver drivers for Z51. I believe driver for Lexmark 5000 works with Z51.
 
Old 10-10-2003, 10:47 PM   #7
JollyRogers
Member
 
Registered: Sep 2003
Location: Va USA
Distribution: Slackware
Posts: 81

Rep: Reputation: 16
http://www.linuxprinting.org/show_pr...um=Lexmark-Z51
 
Old 10-11-2003, 07:30 PM   #8
NewtoSlack
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for your advice. But I found another way as described on the Slackware site

I ran /usr/share/apsfilterSETUP
and answered the questions that the SETUP program asked me. I chose lx5000 as the driver which, I found out by using the gs -h command, comes with Slackware 9.1. That setup the printer and I can print now.

However my sound problem persists. I ran alsaconf to configure alsa, then I ran alsamixer to unmute the settings, and finally ran alsactl store to save the settings. However, I still do not get any sound. My card supports ALSA as I have installed ALSA under Mandrake 9.1 and it works fine.
 
Old 10-11-2003, 10:20 PM   #9
JollyRogers
Member
 
Registered: Sep 2003
Location: Va USA
Distribution: Slackware
Posts: 81

Rep: Reputation: 16
Good nuff. Apsfilter works just fine.

For sound... can you please post a copy of your dmesg and lsmod for me to look over? I am assuming you are running the kernel that came with slack 9.1 and you did a clean install vice an upgrade. Is this true?

hmm if you are able to run alsamixer, alsactl store.... it seems alsa is seeing your card....

what happens if you do this as root:
modprobe snd
modprobe snd-intel8x0
alsamixer (unmute everything and turn everything up)
alsactl store
cd /etc/rc.d
./rc.alsa start

Just curious.
 
Old 10-11-2003, 11:49 PM   #10
NewtoSlack
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Finally my sound problem is also fixed. The problem was with permissions. I gave the appropriate permissions to /dev/dsp0, /dev/mixer0, /dev/hdc and got the sound working.
 
Old 10-12-2003, 09:01 AM   #11
JollyRogers
Member
 
Registered: Sep 2003
Location: Va USA
Distribution: Slackware
Posts: 81

Rep: Reputation: 16
Glad you got it working. Is /dev/hdc your cdrom?

I know with the OSS sound under slack root had no issues with sound. However, for users to use it permissions in fact had to be changed. Gnome/KDE usually give a warning about this to users, and the sound will work for root but not the users. Right from the Slackware FAQ/book at slackware.com..

chmod 666 /dev/dsp*
chmod /dev/mixer*
chmod 664 /dev/cdrom or /hdX (whatever is your cdrom) so you can play audio cdroms.

Honestly I didn't think this was your problem as I one am new to alsa and didn't know if this was still the case, and 2 there was no mention of if it would work as root but not as a user.

You are also gonna find that you will probably need to change your /etc/fstab to allow your users to mount cdroms. for example;

/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0

Trying to think what other things in Slack you may encounter.... How many cdrom drives do you have? one a cdrom burner? Got a Digital camera? What kind of video card you have? Scroll wheel mouse? Got X starting automagically or typing startx everytime? These are the things that seem to come over and over at any of the slackware forums.

Anyways. Have fun!!!
 
Old 10-12-2003, 12:41 PM   #12
NewtoSlack
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Original Poster
Rep: Reputation: 15
"Trying to think what other things in Slack you may encounter.... How many cdrom drives do you have? one a cdrom burner? Got a Digital camera? What kind of video card you have? Scroll wheel mouse? Got X starting automagically or typing startx everytime? These are the things that seem to come over and over at any of the slackware forums."

Thanks for asking. I do have a burner on /dev/hdd and need to fix it. Lilo already has hdd=ide-scsi parameter. I have fixed startx by changing the run level in initab to 4 from 3 - the default in Slackware. I also fixed the mousewheel problem by entering the ZAxisMapping "4 5" statement in XF86Config. I have a USB card reader for my digital camera and an Epson 1260 Photo Scanner. I have still not tried them out. My current problem is the screen flicker. I have entered the right values for Horizontal Sync - "31-69" and Vert Sync "50 - 110" in XF86Config but the screen still flickers. With the above values the frequency shown in the screen resolution message box is 84HZ at 1024*768. With above values in Mandrake 9.1, I do not get any flicker.
 
Old 10-12-2003, 07:10 PM   #13
JollyRogers
Member
 
Registered: Sep 2003
Location: Va USA
Distribution: Slackware
Posts: 81

Rep: Reputation: 16
Here is what I did for my DVDplayer/CDROM-R.
1. I added as root a /mnt/dvd directory. mkdir /mnt/dvd
2. Then added a symlink in /dev for my dvd. ln -s /dev/scd0 /dev/dvd
3. Edited my fstab w/ the /dev/scd0 .... line in my excerpt from below.

For my digital camera.
1. I ensured that /etc/rc.d/rc.modules was probing for usb-storage (mine uses flash memory that in turn connects to a usb port).
2. mkdir /mnt/camera
3. edit /etc/fstab for the /dev/sda1 line.
So when I hook up my camera I can mount /mnt/camera....

/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
/dev/scd0 /mnt/dvd iso9660 noauto,user,ro 0 0
/dev/sda1 /mnt/camera vfat noauto,user,ro 0 0

I am not sure about the photoscanner....

For your video issue... what video card do you have?
 
Old 10-12-2003, 08:09 PM   #14
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
how did u access http://localhost:631

i get a permission denied, did u get this message?
did u have cups running before accessing it?
 
Old 10-12-2003, 09:19 PM   #15
WZX
Member
 
Registered: Oct 2003
Distribution: Zenwalk
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by NewtoSlack
Finally my sound problem is also fixed. The problem was with permissions. I gave the appropriate permissions to /dev/dsp0, /dev/mixer0, /dev/hdc and got the sound working.
Yeah. I got my cmi8738 to work after playing aroung with the permissions.
 
  


Reply



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
configuring sound and printer FlashAsh99 Linux - Newbie 1 07-18-2005 10:07 PM
Sound card configuring mrant Linux - Laptop and Netbook 11 12-05-2003 06:16 AM
Sound Card Not Configuring atc24amit Linux - Software 1 05-07-2003 11:15 AM
Configuring sound card georgeux Linux - Newbie 7 07-28-2001 03:19 PM
configuring sound card and ethernet card justlearning Linux - General 1 05-14-2001 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration