Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Originally posted by marco13185 I got my dvd-rom to work. I created folders inside mnt called dvd-rom and cd-rw. But for some reason both devices now point to my dvd-rom.
First, you don't create *folders* in Linux, you create *directories*
and you need one for /mnt/dvd-rom and another for /mnt/cd-rw
in case you want both mounted at one time, as mine are now.
Please post the output of
$ mount
$ cat /etc/fstab
And where are these devices located on your IDE controller?
I changed it because it seemed logical but my dvd-rom worked with /dev/dvd-rom. For some reason my slack has a device called that in the dev directory. Let me check if it still works.
Edit: They both work now. Thank You for your help!!! I have a question about setting up my printer but I dont know whether I should post a new thread or ask it here.
Last edited by marco13185; 03-01-2005 at 08:17 AM.
marco@Marco:~# mount
/dev/hda3 on / type ext3 (rw)
proc on /proc type proc (rw)
/dev/hda2 on /ntfs-c type ntfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hdc on /mnt/dvd-rom type iso9660 (ro)
/dev/hdc on /mnt/cd-rw type iso9660 (ro)
marco@Marco:~# cat /etc/fstab
/dev/hda4 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 1 1
/dev/hda2 /ntfs-c ntfs auto 1 0
/dev/hdc /mnt/dvd-rom iso9660 noauto,user,ro 0 0
/dev/hdd /mnt/cd-rw iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
marco@Marco:~#
Do I have to restart for fstab changes to take effect???
I don't see how you did that? You've got /dev/hdc mounted on
/mnt/dvd-rom and /mnt/cd-rw somehow.
First, you've gotta logout as root by issuing # exit and get to a normal user.
The fstab entry *user* means you can mount as I showed you above as a
normal user, rather than as root. I am assuming in your haste you have
issued both
# mount /dev/hdc /mnt/dvd-rom
and
# mount /dev/hdc /mnt/cd-rw
although I didn't know it was possible to have one device mounted on two
filesystems at the same time. Well, I learn something new every day.
First, as root, unmount them both by issuing
# umount /mnt/dvd-rom
then
# umount /mnt/cd-rw
then exit to logout from root, and mount them as user like I posted earlier...
Originally posted by marco13185 Edit: They both work now. Thank You for your help!!! I have a question about setting up my printer but I dont know whether I should post a new thread or ask it here.
Glad they're working. Please start running as a normal user.
You did create a normal user, didn't you?
One quick *printer question* though it's best to start a new
thread, and if I have to ask any questions to lead you further
with it, I'll suggest a new thread. Because that is best for you,
not for me. I don't mean it smart alec, but you'll learn more in
the long run by starting right -- that's the voice of experience,
because I started wrong.
Originally posted by marco13185 What would be the command to burn to a cd? So I can test my RW.
First, you gotta give more answers. Like, what do you want to burn, and
on what bus is the burner?
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso;eject
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom;eject
# ISO information
isoinfo -i -d /dev/cdrom
# Generate an ISO from a directory.
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
# cdparanoia - search for a drive with reporting of autosense:
cdparanoia -vsQ
# Rip a complete audio CD with cdparanoia
cdparanoia -B "1-";eject
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav;eject
# Copy CD using cdrdao
cdrdao read-cd --device <your device> --read-raw --datafile mydata.bin -v 99 mydata.cue
cdrdao write --device <your device> --overburn -v 99 --speed <burning speed> mydata.cue
I just realized I can't mount audio cd. It gives me the error someone earlier mentioned. I imagined that Audio CD's use a different file system. Could I fix this by changing ISO9660 to auto in fstab??
Audio CD's do not have a valid file system, and therefore cannot be mounted. (Attempting to mount one will result in an error, even though there's nothing wrong.) If you want to listen to CD's, just use an app like XMMS or KsCD, or if you want to rip, grip or xcdroast. Good luck with it and congrats on solving the original problem -- J.W.
Originally posted by marco13185 I just realized I can't mount audio cd. It gives me the error someone earlier mentioned. I imagined that Audio CD's use a different file system. Could I fix this by changing ISO9660 to auto in fstab??
No, as J.W. said use XMMS -- but you will need a plugin that
doesn't come with Slackware.
To play audio CDs with XMMS you also need the CD read plugin
xmms-cdread-0.11d.tar.gz -- don't know about KsCD because one
reason I migrated from Windoze to Slackware was to get away
from all those nasty, bloated GUIs. It's just as easy for me to run
my workstation with Fluxbox as the window manager, and a lot
faster than with KDE.
To install the CD read plugin just browse to the XMMS homepage,
on the left select Plugins then Input then scroll down. It's listed
there as Xmms-CdRead 0.11d
Download the file to your /home/<username>/build directory,
then untar and install it like this
Code:
mingdao@james:~/build$ pwd
/home/mingdao/build
mingdao@james:~/build$ tar -zxvf xmms-cdread-0.11d.tar.gz
mingdao@james:~/build$ cd xmms-cdread-0.11d
mingdao@james:~/build/xmms-cdread-0.11d$ less README <- always read this
mingdao@james:~/build/xmms-cdread-0.11d$ less INSTALL <- always read this
and then issue
mingdao@james:~/build/xmms-cdread-0.11d$ ./configure
mingdao@james:~/build/xmms-cdread-0.11d$ make
mingdao@james:~/build/xmms-cdread-0.11d$ su -c "make install"
Fail to read README and INSTALL files at your own peril! You have been warned!
Or the really best way to install packages that you build from source
on a Slackware system is to use CheckInstall and if you read that and
decide to do so, that's another discussion; and you'll need to do it before you install the CD read plugin for XMMS. You can also get
CheckInstall as a Slackware package from Slackware.
I believe that once you've run "make install" or "checkinstall" this plugin
will be installed in XMMS. If not, just post back. You can find it in XMMS
under Preferences -- it's CD Audio Player 1.2.10 (libcdaudio.so)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.