LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 07-06-2006, 12:41 PM   #1
shivkumar
LQ Newbie
 
Registered: Jun 2004
Location: Bombay, India
Distribution: Still testing the waters. But looking actively at Mandrake 10
Posts: 20

Rep: Reputation: 0
ubuntu dapper does not open dvd


i have ubuntu dapper installed. it does not read my dvd drive. though CDs are read easily. an icon appears on the desk top. I tried to get mplayer to open dvd but got this following message:


91 audio & 204 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd
File not found: '1'
Failed to open dvd://1


Exiting... (End of file)
shivkumar@shivkumar-desktop:~$



pl help.
shiv kumar
 
Old 07-06-2006, 03:05 PM   #2
AzrielMacKay
Member
 
Registered: Jul 2001
Location: Moody, AL
Distribution: Debian and Kubuntu
Posts: 249

Rep: Reputation: 30
Does the symlink /dev/dvd point to that drive?
 
Old 07-07-2006, 01:15 AM   #3
shivkumar
LQ Newbie
 
Registered: Jun 2004
Location: Bombay, India
Distribution: Still testing the waters. But looking actively at Mandrake 10
Posts: 20

Original Poster
Rep: Reputation: 0
don't quite follow what you are saying
sk

Quote:
Originally Posted by AzrielMacKay
Does the symlink /dev/dvd point to that drive?
 
Old 07-07-2006, 08:04 AM   #4
AzrielMacKay
Member
 
Registered: Jul 2001
Location: Moody, AL
Distribution: Debian and Kubuntu
Posts: 249

Rep: Reputation: 30
When you tell mplayer to open dvd:// it tries to open /dev/dvd. That should just be a symlink, and if playing cd's is working for you, and its one drive, then that symlink should point to the same place as /dev/cdrom.
 
Old 07-07-2006, 08:10 AM   #5
shivkumar
LQ Newbie
 
Registered: Jun 2004
Location: Bombay, India
Distribution: Still testing the waters. But looking actively at Mandrake 10
Posts: 20

Original Poster
Rep: Reputation: 0
its the same DVD CD-R drive. how do I activate this symlink?

Also I cannot login as root. whenever i try to do so on dapper, i get the message that systems administrator cannot login from this page...

what to do?

sk

Quote:
Originally Posted by AzrielMacKay
When you tell mplayer to open dvd:// it tries to open /dev/dvd. That should just be a symlink, and if playing cd's is working for you, and its one drive, then that symlink should point to the same place as /dev/cdrom.
 
Old 07-07-2006, 08:46 AM   #6
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
to create the symlink:

ln -s /dev/cdrom /dev/dvd OR
ln -s /dev/cdrecorder /dev/dvd

To log in as root:

Ubuntu uses sudo instead of su. To do anything as root, you have to put sudo before the command. For those last commands it has to be:

sudo ln -s /dev/cdrom /dev/dvd
sudo ln -s /dev/cdrecorder /dev/dvd

The system will then prompt for your password and then the process will go through
 
Old 07-07-2006, 02:06 PM   #7
shivkumar
LQ Newbie
 
Registered: Jun 2004
Location: Bombay, India
Distribution: Still testing the waters. But looking actively at Mandrake 10
Posts: 20

Original Poster
Rep: Reputation: 0
did as suggested and got the following reply:

shivkumar@shivkumar-desktop:~$ sudo ln -s /dev/cdrom /dev/dvd
Password:
ln: creating symbolic link `/dev/dvd' to `/dev/cdrom': File exists
shivkumar@shivkumar-desktop:~$ sudo ln -s /dev/cdrecorder /dev/dvd
ln: creating symbolic link `/dev/dvd' to `/dev/cdrecorder': File exists
shivkumar@shivkumar-desktop:~$


But am still unable to read the DVD. Its a data DVD put out by a computer magazine.

sk



Quote:
Originally Posted by xpromisex
to create the symlink:

ln -s /dev/cdrom /dev/dvd OR
ln -s /dev/cdrecorder /dev/dvd

To log in as root:

Ubuntu uses sudo instead of su. To do anything as root, you have to put sudo before the command. For those last commands it has to be:

sudo ln -s /dev/cdrom /dev/dvd
sudo ln -s /dev/cdrecorder /dev/dvd

The system will then prompt for your password and then the process will go through
 
Old 07-07-2006, 02:55 PM   #8
AzrielMacKay
Member
 
Registered: Jul 2001
Location: Moody, AL
Distribution: Debian and Kubuntu
Posts: 249

Rep: Reputation: 30
I didnt like the way ubuntu/kubuntu made you use sudo for everything. The trick is to do a sudo passwd root. That will let you make a password for root, and afterwards you will have a normal root login. You said its a data disk. What does it do when you try to mount /dvd? (Mountpoint dvd has to exist-mkdir /dvd). MC (midnight commander) is good for looking at where a symlink currently points and editing it. Install mc if its not already there, cd to /dev, run mc and then highlight /dev/dvd and look at the bottom and see where it is pointing. If it doesnt point to the same place /dev/cdrom points to hit cnrl-x cntrl-s and you cant edit it.
 
Old 07-07-2006, 04:52 PM   #9
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
The "file exists" error is my fault. In both cases reverse the /dev/cdrom and /dev/dvd so that it looks like this:

ln -s /dev/dvd /dev/cdrom

Sorry about that!
 
Old 07-08-2006, 01:08 AM   #10
shivkumar
LQ Newbie
 
Registered: Jun 2004
Location: Bombay, India
Distribution: Still testing the waters. But looking actively at Mandrake 10
Posts: 20

Original Poster
Rep: Reputation: 0
how to do this?
sk

Quote:
Originally Posted by xpromisex
The "file exists" error is my fault. In both cases reverse the /dev/cdrom and /dev/dvd so that it looks like this:

ln -s /dev/dvd /dev/cdrom

Sorry about that!
 
Old 07-08-2006, 01:10 AM   #11
shivkumar
LQ Newbie
 
Registered: Jun 2004
Location: Bombay, India
Distribution: Still testing the waters. But looking actively at Mandrake 10
Posts: 20

Original Poster
Rep: Reputation: 0
this is the new message i am getting:


shivkumar@shivkumar-desktop:~$ sudo ln -s /dev/dvd /dev/cdrom
ln: creating symbolic link `/dev/cdrom' to `/dev/dvd': File exists
shivkumar@shivkumar-desktop:~$






Quote:
Originally Posted by shivkumar
how to do this?
sk
 
Old 07-08-2006, 01:37 AM   #12
shivkumar
LQ Newbie
 
Registered: Jun 2004
Location: Bombay, India
Distribution: Still testing the waters. But looking actively at Mandrake 10
Posts: 20

Original Poster
Rep: Reputation: 0
installed mc, but cannot find /dev/dvd

sk


Quote:
Originally Posted by AzrielMacKay
I didnt like the way ubuntu/kubuntu made you use sudo for everything. The trick is to do a sudo passwd root. That will let you make a password for root, and afterwards you will have a normal root login. You said its a data disk. What does it do when you try to mount /dvd? (Mountpoint dvd has to exist-mkdir /dvd). MC (midnight commander) is good for looking at where a symlink currently points and editing it. Install mc if its not already there, cd to /dev, run mc and then highlight /dev/dvd and look at the bottom and see where it is pointing. If it doesnt point to the same place /dev/cdrom points to hit cnrl-x cntrl-s and you cant edit it.
 
Old 07-08-2006, 09:59 AM   #13
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
So the symlink between /dev/cdrom and /dev/dvd exists. Hmmmm....try pointing mplayer to /dev/cdrom (in its configuration options) instead of /dev/dvd. I've also had some success with pointing it to /dev/hdc (where /dev/hdc is ALSO your cdrom...)
 
Old 07-09-2006, 01:29 AM   #14
shivkumar
LQ Newbie
 
Registered: Jun 2004
Location: Bombay, India
Distribution: Still testing the waters. But looking actively at Mandrake 10
Posts: 20

Original Poster
Rep: Reputation: 0
i get the messsage failed to open://dvd
sk


Quote:
Originally Posted by xpromisex
So the symlink between /dev/cdrom and /dev/dvd exists. Hmmmm....try pointing mplayer to /dev/cdrom (in its configuration options) instead of /dev/dvd. I've also had some success with pointing it to /dev/hdc (where /dev/hdc is ALSO your cdrom...)
 
Old 07-10-2006, 01:01 PM   #15
shivkumar
LQ Newbie
 
Registered: Jun 2004
Location: Bombay, India
Distribution: Still testing the waters. But looking actively at Mandrake 10
Posts: 20

Original Poster
Rep: Reputation: 0
DVD does not read

can you make anything of this info : clicked on applications>debian>Apps>System>Disks Admin

right clicked the CD Rom sign and it shows samsung CDRW/DVD SM-352F
/dev/hdd

General Information

Type: CD-Rom
device: /dev/hdd
Speed: Not Available
Status: No Disc installed.

This when my dvd is installed. already downloaded W32codecs and libdvdcss2.

is there any changes i shd make in the config and if so how?
sk

Quote:
Originally Posted by xpromisex
The "file exists" error is my fault. In both cases reverse the /dev/cdrom and /dev/dvd so that it looks like this:

ln -s /dev/dvd /dev/cdrom

Sorry about that!
 
  


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
Updating Ubuntu from Breezy to Dapper Unicron Ubuntu 4 06-18-2006 05:41 PM
Ubuntu Dapper BETA to Official Dapper? morrolan Ubuntu 4 05-26-2006 03:47 PM
How to install Ubuntu Dapper from Fedora? JBull Linux - Newbie 3 04-12-2006 09:52 PM
Ubuntu Dapper - bcm43xx problem asmweb Linux - Wireless Networking 1 03-06-2006 05:34 AM
xorg 7.0 and i915 on Ubuntu Dapper foxy123 Linux - Laptop and Netbook 0 02-13-2006 10:17 AM


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

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