LinuxQuestions.org
Visit Jeremy's Blog.
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 07-10-2003, 10:41 AM   #1
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
Slackware Problems


I want to know how to play a CD on Slackware, I use some CD Player program but when I insert the CD it plays but I can't listen it. Another question is, how do I see the contents of a CD-ROM or Floppy on Linux Slackware?
How do I configure my mouse so I can use the scroll (I know there are another posts in here but I want to know the command to see the configuration of it)

Thanks a lot to everyone who had been helping me, I finally got my modem working and a lot of other things fixed.
 
Old 07-10-2003, 10:49 AM   #2
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
To listen to a CD, you have to mount it under Slackware.

To do this, use the following command as root:

mount -t iso9660 /dev/cdrom /mnt/cdrom

Same thing for a floppy disk, except you have to use (still as root):

mount -t msdos /dev/fd0 /mnt/floppy

You can then list the content of /dev/cdrom, copy files, etc... etc...

You can improve on this though, by either adding yourself to the "disk" group, or by using "sudo", which is nicer to use than "su" for that kind of thing.

The reason for all this is that "normal" UNIX users should not be allowed to mount/unmount disks -- only "root" is supposed to do that.

As far as the wheel mouse is concerned, I am afraid there is no special command for this, except "xf86config", which will ask you tons of question, including (I think!) one about your mouse being a wheel mouse.

Hope this helps!
 
Old 07-10-2003, 11:12 AM   #3
cav
Member
 
Registered: Feb 2003
Location: Chicago
Distribution: Slackware 10.2
Posts: 154

Rep: Reputation: 30
To get your mouse working you could do xf86config like Noryungl said, but I find that it asks a lot of questions that I dont know the answer to, such as monitor refresh rate, etc.

Its pretty easy to edit your X config file to get the wheel working. First open it up:

vi /etc/X11/XF86Config

then page down to the section entitled "Core Pointer's Input Device Section" and add in some extra lines at the bottom:

Option "Buttons" "5"
Option "ZAxisMapping" "4 5"

this will tell X that your mouse has 5 buttons, corresponding to left, middle, right, and mousewheel up/down. The second part tells X to use buttons 4 and 5 for z axis movement (scrolling).
 
Old 07-10-2003, 01:33 PM   #4
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Quote:
To listen to a CD, you have to mount it under Slackware.

To do this, use the following command as root:

mount -t iso9660 /dev/cdrom /mnt/cdrom
You only do that for Data CDs. Audio CDs cant be mounted, you just play them from a program.


For sound not coming out, see which sound driver the program is using (its usually in the options) and try changing it to a different driver.
 
Old 07-10-2003, 01:59 PM   #5
Moltag
Member
 
Registered: Jul 2003
Location: 'Flori-duh,' US
Distribution: Slackware 9, RH 9
Posts: 33

Rep: Reputation: 15
"To do this, use the following command as root:"

Yes, by default, only root can mount and unmount CD-ROMs. This is a nice security feature. However, this can get to be a hassle, having to su to root everytime you insert a CD. A way around this is to edit your /etc/fstab file.

Open the file in gEdit or pico and look for a line that says, "/dev/cdrom." In one of the rightmost columns of options on that line, there will be a string of commands that should read something like "noauto,owner,ro"

Change "owner" to "user" and reboot your machine to reload fstab. Now you will be able to mount and eject CDs using the GUI commands, such as right-clicking on the GNOME desktop and going to Disks>>CD-ROM.
 
Old 07-11-2003, 05:04 AM   #6
cityhunt
LQ Newbie
 
Registered: Jun 2003
Location: l'aquila, abruzzo, italy
Distribution: SLACKWARE
Posts: 10

Rep: Reputation: 0
listening audio cds on slack

the problem are the permissions on the cdrom device...check this and it should go
 
Old 07-14-2003, 07:31 PM   #7
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Original Poster
Rep: Reputation: 30
root@ecuador:~# mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
 
Old 07-14-2003, 07:34 PM   #8
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Original Poster
Rep: Reputation: 30
When I use KsCD I insert the CD and it says No Matching FreeDB entry found. What does it mean?
 
Old 07-15-2003, 10:58 AM   #9
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Original Poster
Rep: Reputation: 30
I can't use XMMs to play mp3 because it says to check if I have the plugin or confogure my sound card correctly. Why?
 
Old 07-25-2003, 09:20 AM   #10
cityhunt
LQ Newbie
 
Registered: Jun 2003
Location: l'aquila, abruzzo, italy
Distribution: SLACKWARE
Posts: 10

Rep: Reputation: 0
cdrom permissions

/dev/cdrom must be mounted with "auto" fs, instead of "iso9660"...to use with kscd by user "pippo" you have to do, (as root), "chown pippo:users /dev/cdrom", and obviously you have to do the same with the device /dev/hdc, or something similar, depending on your system. In facts, /dev/cdrom is s symbolic link to some other device, (/dev/hdc, /dev/hdd etc...).
chown the cdrom to some user won't bring serious security problems
 
Old 07-25-2003, 09:21 AM   #11
cityhunt
LQ Newbie
 
Registered: Jun 2003
Location: l'aquila, abruzzo, italy
Distribution: SLACKWARE
Posts: 10

Rep: Reputation: 0
re to XPedition

FreeDB is an open cddb database
 
Old 07-25-2003, 11:34 AM   #12
iantri
Member
 
Registered: Jul 2003
Posts: 38

Rep: Reputation: 15
Hello.

First drop to a terminal and (as root) do:
Code:
updatedb
to update the slocate database.

Then, do
Code:
slocate *.au
to find a raw audio file.

now
Code:
cat /this/is/the/path/to/your/audiofile.au > /dev/dsp
Sound should come out of your speakers. Good. Skip ahead a bit.
No sound? Make sure your sound modules are loaded -- do lsmod | grep [name of your sound module here]
for example,if you have a soundblaster the module is sb. If there is no sound module listed, you will not have any sound because there is no driver loaded. Read the Sound-HOWTO at http://www.tldp.org. Slackware does not hold your hand and auto-configure things for you.

If the module is loaded, then run rexima and make sure the levels are turned up on your soundcard.

Now, try
Code:
cat /this/is/the/path/to/your/audiofile.au > /dev/dsp
Again. You should hear it. Good.

If you've gotten this far and you get sound but can't play audio CDs open your computer and make sure the audio cable (small cable) is connected from the CD drive to the soundcard ...
 
Old 07-25-2003, 12:09 PM   #13
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Just diving in to say thanks to all. I've been lurking on this thread. Everything that could be wrong with mine was. Had to change permissions, what pointed to what, and realize that my DVD was hooked to the onboard sound and not my CDRW. Once I got all the pieces together, it worked. *smack* Hardware! I'd probably be thinking it was exclusively a software problem forever, iantri. But that was only part of it. Now to see if I can figure out how to rip my CDs.

(And the rexima tip - I was at 67% - now I'm cranking.)
 
Old 07-25-2003, 03:45 PM   #14
iantri
Member
 
Registered: Jul 2003
Posts: 38

Rep: Reputation: 15
You're welcome. To rip CDs use your favourite tool in X or use cdparanoia (just read the man page.. simple.) You may need to point either to the appropriate drive (depending on how your symlinks are set up.. if /dev/cdrom points to the CD-RW drive you shouldn't need to.)

Your mixer settings will not hold past reboot (AFAIK). You can have it default to whatever you want, though.. (If there is a better way to do this I don't know about it) drop a line in your /etc/rc.d/rc.local that calls rexima with all the volume settings you want on the command line. Rexima works on the command line or with the textmode interface. The rexima manpage should be helpful.

Good luck.
 
  


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
slackware 10.1 problems scales Linux - Newbie 21 08-18-2005 04:45 PM
slackware problems opafire Slackware 5 11-12-2003 10:06 AM
Slackware problems. isuckwithlinux Linux - Software 2 11-06-2003 10:55 PM
Slackware 9.0 problems Devboy Linux - Newbie 4 11-04-2003 03:59 AM
Slackware problems amp2000 Linux - Software 4 03-02-2002 01:38 PM

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

All times are GMT -5. The time now is 12:50 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