SlackwareThis 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.
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.
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.
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.
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.
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.
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.
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
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.
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.
"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.
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....
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.