You are not logged in.

#1 2012-02-12 12:09:02

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

[solved}/etc/fstab VLC CD 'your input cannot be opened'

Dear Archers
After some recent upgrades, (do not know which has affected), when I try to play audio CD in VLC, it gives subject message
Pl. see the below /etc/fstab file below

# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0
UUID=76a1021f-3ca5-4f7b-a5cd-73a91d9ccf15 /boot ext2 defaults 0 1
UUID=ea8d94b7-6357-4a36-92d8-d9decb211a82 swap swap defaults 0 0
UUID=4f1443e4-6dd6-4f56-8d84-95eecd921856 / ext3 defaults 0 1

Is /dev/pts my CD-ROM drive? In VLC, for disk device, should I input this?

Last edited by San2ban (2012-02-19 14:43:00)


Satyam eva jayate

Registered linux user #535257

Offline

#2 2012-02-12 12:16:39

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,680

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

Did you try /dev/sr0 yet?

Offline

#3 2012-02-12 12:18:06

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

Yes. But still I  get the subject message. I am in correct rights group


Satyam eva jayate

Registered linux user #535257

Offline

#4 2012-02-12 12:33:25

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

Shouldn't it be /dev/dvd or /dev/cdrom ? What did u try?

Offline

#5 2012-02-12 13:40:05

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

@San2ban,

I think you jumped to a conclusion too quickly.  I don't think your fstab is the VLC problem.

Is your system fully upgraded?  Do you have any pacnew or pacsave files that haven't been merged?

Your fstab is out of date with the current Archlinux boot sequence.  Currently, /dev/pts and /dev/shm are mounted when /etc/rc.sysinit is run; see lines 21 through 25 in /etc/rc.sysinit.  You should remove lines 4 and 5 from your fstab.

Archlinux now recommends mounting /tmp as a tmpfs: http://projects.archlinux.org/svntogit/ … 816afa8859.  Also see the wiki article on fstab, particularly about mounting /tmp as a tmpfs.

----

More specific information is needed by those trying to help you.

How, exactly are you attempting to open the audio CD with VLC?  From the VLC menu bar?
    Media  >>  Open Disc  >> [selection tab] Disc  >> [radio button] Audio CD >> [dropdown box] Disc Device >> /dev/???
Or are you trying to play the CD from a file manager application or play it from the command line?

Do you have only one CD device?
Do you have any custom udev rules?
What exactly is the output of the 'groups' command for your user?  You do have the 'optical' group listed?
Have you tried booting with an audio CD in the tray?

Offline

#6 2012-02-12 16:08:10

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

Thanks for your inputs
1. I upgrade regularly. Using Meld, I merge all .pacnew files. I do not remember any .pacsave file I might have missed. Is Kmod upgrade the culprit?
2. I will look into the /etc/fstab and /etc/rc.sys.init
3. Exactly as you have written. For audio cd, cdda: /dev/cdrom
4. Yes. only one DVD writer, all cd's go here
5. No udev rules. Checked
6.[root@KRISHNA san2ban]# groups san2ban
disk lp wheel games network video audio optical floppy storage scanner power users
7. My /etc/rc.sysinit is below. Can you pl. suggest what I should check?

  GNU nano 2.2.6            File: /etc/rc.sysinit                               

#!/bin/bash
#
# /etc/rc.sysinit
#

. /etc/rc.conf
. /etc/rc.d/functions

echo " "
printhl "Arch Linux\n"
printhl "${C_H2}http://www.archlinux.org"
printsep

# mount /proc, /sys, /run, /dev, /run/lock, /dev/pts, /dev/shm (the api filesys$
mountpoint -q /proc    || mount -t proc proc /proc -o nosuid,noexec,nodev
mountpoint -q /sys     || mount -t sysfs sys /sys -o nosuid,noexec,nodev
mountpoint -q /run     || mount -t tmpfs run /run -o mode=0755,nosuid,nodev
mountpoint -q /dev     || mount -t devtmpfs dev /dev -o mode=0755,nosuid
mkdir -p -m 1777 /run/lock
                               [ Read 275 lines ]
^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell

Satyam eva jayate

Registered linux user #535257

Offline

#7 2012-02-12 16:28:17

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

I tried editing the /etc/fstab as suggested by 'thisoldman'. But still, VLC gives subject message. It says check log for errors, but log is empty. Even Banshee does not display CD in the menu. Cant play in banshee as well


Satyam eva jayate

Registered linux user #535257

Offline

#8 2012-02-12 18:13:09

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

The link below shows the dialog box when I open an audio CD using the VLC menus:
        tY3M4MQ
Do you see something like that image.  The only choice for "Disc device", on this PC, is '/dev/sr0'.

Would you please post the output from:

$ ls -l /dev/sr* /dev/sg* /dev/cd* and /dev/hd*

Are you able to mount a data CD on that drive?  If you are able to do that, please post the output of the command 'mount' after the CD is mounted.:

$ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
/sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
        ...
    ## edited ##
        ...
/dev/sda7 on /home type ext4 (rw,noatime,user_xattr,acl,barrier=1,data=ordered)
/dev/sr0 on /media/cdrom type iso9660 (ro,relatime)

The 'mount' command also shows that /dev/sr0 is the CD drive on my PC.

Last edited by thisoldman (2012-02-12 18:13:27)

Offline

#9 2012-02-13 12:56:25

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

Yes. Exactly same message as you have posted. But the output of what you mentioned, says /dev/sr0. I ried inputting this in VLC player without success. it says, by efault, cdda: /dev/cd-rom

[san2ban@KRISHNA ~]$  ls -l /dev/sr* /dev/sg* /dev/cd* and /dev/hd*
ls: cannot access /dev/sg*: No such file or directory
ls: cannot access /dev/cd*: No such file or directory
ls: cannot access and: No such file or directory
ls: cannot access /dev/hd*: No such file or directory
brw-rw----+ 1 root optical 11, 0 Feb 13 10:09 /dev/sr0

Yes. I am able to mount all cd, DVD. In the 'files', it is shown as '/media/cdname' , i.e whatever the name of CD I insert.
If I go to 'files', '/media/cdname' 'select all' 'play with VLC player', I am able to play the songs.
Pl. see the output of 'mount' as you have sugested. (CD inserted is a MP3 CD)

[san2ban@KRISHNA ~]$ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
/sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev on /dev type devtmpfs (rw,nosuid,relatime,size=762656k,nr_inodes=190664,mode=755)
/run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda3 on / type ext3 (rw,relatime,errors=continue,commit=5,barrier=1,data=ordered)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
/dev/sda1 on /boot type ext2 (rw,relatime,errors=continue)
gvfs-fuse-daemon on /home/san2ban/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
/dev/sr0 on /media/Dr Raj MP3 type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=100,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)

Not able to make out anything. ( I observed on home page, new package of kmod is available. While upgrade and try)


Satyam eva jayate

Registered linux user #535257

Offline

#10 2012-02-13 14:48:38

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

I upgraded today (Kmod, udev, ...) still VLC behaves as earlier


Satyam eva jayate

Registered linux user #535257

Offline

#11 2012-02-14 00:37:26

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

We know /dev/sr0 exists.  The link for /dev/cdrom is not being created.  Up until recently, I had to manually create this link when it was needed.  Udev now seems to be doing this for me.

(I have 'udisks' installed.  I don't know if 'udisks' makes a difference).

I also have been unable to play an audio CD using vlc from the command line.  I am able to play an audio CD using the menus and selecting '/dev/sr0' as the device.  Searching through '~/.config/vlc/vlcrc'  for "Audio CD" I come up with this:

$ grep -nTi -C 2 'audio cd' ~/.config/vlc/vlcrc
2952 -#dvb-http-intf-crl=
2953 -
2954 :[cdda] # Audio CD input
2955 -
2956 -# Caching value in ms (integer)
--
3427 -vcd=/dev/sr0
3428 -
3429 :# Audio CD device (string)
3430 -cd-audio=/dev/sr0
3431 -

The output tells me that on line number 3430 in that file, the variable "cd-audio" is set to "/dev/sr0".  You could try adding this to your 'vlcrc'.  It might work.

Offline

#12 2012-02-19 14:42:20

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: [solved}/etc/fstab VLC CD 'your input cannot be opened'

deleted everything connected with sound (gstreamer, alsa, OSS, VLC, BANSHEE) and reloaded. Everything works now. Could not understand what was the actual problem


Satyam eva jayate

Registered linux user #535257

Offline

Board footer

Powered by FluxBB