Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 26 of 26
Thanks, commented out: # /dev/hdc /mnt/cd-rw iso9660 noauto,owner, ro, users 0 0 Should I change: # /dev/cdrom /mnt/cdrom iso9660 noauto,owner, ro, users 0 0 (To) # /dev/hda /mnt/cdrom iso9660 noauto,owner, ...
  1. #21
    Just Joined!
    Join Date
    Dec 2005
    Posts
    26

    aliov, I found .wav sample

    Thanks, commented out:
    # /dev/hdc /mnt/cd-rw iso9660 noauto,owner, ro, users 0 0

    Should I change:
    # /dev/cdrom /mnt/cdrom iso9660 noauto,owner, ro, users 0 0 (To)
    # /dev/hda /mnt/cdrom iso9660 noauto,owner, ro, users 0 0 (?)

    Found sample alsa .wav .... lets see what happens when I
    1. If I double click on .wav file in the directory, Audacious pops up and plays the .wav file.
    2. Insert Audio CD - Popsup on Desktop
    3.Select Playback, select play CD.
    Message returned:
    No playable CD found. No CD inserted, or inserted CD is not an audio CD.

    code:
    $ xine /usr/share/sounds/alsa/front_Center.wav
    -xine engine error- Input plugin failed to open mrl '/usr/share/sounds/alsa/front_Center.wav'

    Results:
    XINE Screen and no XINE Audio Player

    Message Tab
    PH: xine: found demuxer plugin: Elementary MPEG stream demux plugin
    PH: xine: found input plugin : file input plugin
    : input_file: File not found: >/usr/share/sounds/alsa/front_Center.wav<
    ine : found input plugin : file input plugin
    Plugin Tab
    Everything listed was found except for the last line:
    load_plugins: skipping unreadable plugin directory /home/user/.xineplugins.

    Code:
    su
    bash: ./etc/profile: No such file or directory
    #
    # xine /usr/share/sounds/alsa/front_Center.wav
    Results:
    XINE SCREEN and XINE Audio Player displays '/usr/share/sounds/alsa/front_Center.wav'

    2 Error Popups
    -xine-engine error- Input plugin failed to open mrl '/usr/share/sounds/alsa/front_Center.wav'

    Error: The specified file or MRL counld not be found. Please check it twice,
    (/usr/share/sounds/alsa/front_Center.wav)

    Plugins Tab Last Line
    PH: load _plugins: skipping unreadable plugin directory /root/ .xine/plugins
    (All plugins were listed as found before the last line, same as w/ usr)

    Thank you

  2. #22
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    Quote Originally Posted by NightSky View Post
    Thanks, commented out:
    # /dev/hdc /mnt/cd-rw iso9660 noauto,owner, ro, users 0 0

    Should I change:
    # /dev/cdrom /mnt/cdrom iso9660 noauto,owner, ro, users 0 0 (To)
    # /dev/hda /mnt/cdrom iso9660 noauto,owner, ro, users 0 0 (?)
    No .

    Quote Originally Posted by NightSky View Post
    Found sample alsa .wav .... lets see what happens when I
    1. If I double click on .wav file in the directory, Audacious pops up and plays the .wav file.
    2. Insert Audio CD - Popsup on Desktop
    3.Select Playback, select play CD.
    Message returned:
    No playable CD found. No CD inserted, or inserted CD is not an audio CD.
    ...
    .....
    .......
    You don't have to worry about the local plugins in each user's directory, but it seems for me the problem is related to xine-lib , or the checksum package of this package fails or the installation !

    install the package again from the Slack CD, then open a terminal type su - to login as root , go to the CD mount point (it's in /media ) and then go inside the Slack Cd slackware/xapp , and then installpkg xine-lib.1.1.7 .

    Hope this will help you .

    Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

  3. #23
    Just Joined!
    Join Date
    Dec 2005
    Posts
    26

    Got Aucio CD to work but Can't mount cdrom outside GUI now

    Think I found at least part of the problem, while trying to:

    #mount /dev/cdrom
    Result: Mount can't find /cdrom in /etc/fstab or /etc/mtab [/code]

    Of course from previous post u know I have the correct entries for
    #/dev/cdrom /mnt/cdrom
    #/dev/hdc /mnt/cd-rw
    I also did: cat /etc/fstab and the entries are there.... did cat /etc/mtab and there
    were No entries for cdrom, cd-rw, or floppy???

    So I can't mount /dev/cdrom from either root or terminal inside Xfce.
    Cdrom only mounts automatically into desktop, so I can explore it from within file manager.
    When I su from within terminal on desktop - i still do not have root permissions outside terminal within gui File Manager ... only root in terminal???

    So I was not able to get into slack12d2 from media directory as root or /home/usrer terminal with $ su .... Hal security policy did not allow access to root in GUI as root either, because I tried. What is Mtab for?

    Everytime I $su in terminal it says I have no bash profile in /etc.... what is that? How do I create a profile? Does this affect what I do as root in terminal with the #su command?


    Updated***** I can listen to Audio CD using Audacious... but can't monunt /cdrom outside gui****
    user belongs to all required groups in.
    /etc/rc.d/rc.messagebus reloaded

    I found my audio card via
    code: #lspci | grep -i audio /code

    code: #lsmod /code
    found the audio module

    Code: #alsaconf /code
    configured Alsa

    Code: #alsamixer /code
    provided graphic mixer unmuted and set levels.
    Code: #alsactl store /code saves settings.


    Goto /home/username/.config/audacious in file manager.
    vi config in audacious folder. Scroll til u find

    [CDDA] and add under it
    device=/dev/cdrom
    directory=/mnt/cdrom
    mixer=2
    num_drives=1
    title_override=FALSE
    name_format=%p-%t
    name_cddb=TRUE
    cddb_server_=freedb.fredb.org
    cddb_protocol_level=0
    ----I found the above through google---

    I reinstalled xine-lib.1.1.7-i686-1.tgz from desktop put slack12d2 in cdrom, click mount ...
    used file manager to write path to xap..
    open terminal, su root, cd media, and keep cd till i was in slack12d2/slackware/xap then I
    #installpkg file path

    So now I can manually pull up audacious, right click on it to select play back and then play CD.
    Hope the above saves someone days on end of headaches.

    !!Weirdest part is that I can not mount cdrom outside desktop environment!!
    When I tried to code: # mount /dev/cdrom
    mount:can't find /cdrom in /etc/fstab or /etc/mtab /code
    I found this out when I was trying to install the xine-lib after boot up and login to root.
    I code:#cat /etc/fstab /code Everything is in its place...
    #/dev/cdrom /mnt/cdrom
    #/dev/hdc /mnt/cd-rw

    When I code:#cat /etc/mtab /code
    there is no /dev/cdrom or
    /dev/hdc for /mnt/cd-rw

    ***
    So now I do not know what this problem and other file process is related to???***
    Can /etc/fstab be updated so related files are also updated appropriately like /etc/mtab, hal, messagebus???
    Last edited by NightSky; 10-05-2007 at 06:40 AM. Reason: aliov, I owe u... dinner, San Antonio .. thanks

  4. #24
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    Quote Originally Posted by NightSky View Post
    Think I found at least part of the problem, while trying to:

    #mount /dev/cdrom
    Result: Mount can't find /cdrom in /etc/fstab or /etc/mtab [/code]

    Of course from previous post u know I have the correct entries for
    #/dev/cdrom /mnt/cdrom
    #/dev/hdc /mnt/cd-rw
    I also did: cat /etc/fstab and the entries are there.... did cat /etc/mtab and there
    were No entries for cdrom, cd-rw, or floppy???
    Don't worry about the CDROM or the Dvd, but for the floppy if you have so they should be a floppy entries there .

    Quote Originally Posted by NightSky View Post
    So I can't mount /dev/cdrom from either root or terminal inside Xfce.
    Cdrom only mounts automatically into desktop, so I can explore it from within file manager.
    When I su from within terminal on desktop - i still do not have root permissions outside terminal within gui File Manager ... only root in terminal???

    So I was not able to get into slack12d2 from media directory as root or /home/usrer terminal with $ su .... Hal security policy did not allow access to root in GUI as root either, because I tried. What is Mtab for?

    Everytime I $su in terminal it says I have no bash profile in /etc.... what is that? How do I create a profile? Does this affect what I do as root in terminal with the #su command?
    Root can't use HAL because it's not belong to plugdev group, HAL automount CD's and place a entry for them in /media/data , so when you insert a CD as a normal user and then open a terminal with su - you can do there from the terminal and do what you like to . no need to log on as root to do some root tasks,
    mtab is the file contains information about the mounted devise manually or wish are in fstab .

    Quote Originally Posted by NightSky View Post
    Updated***** I can listen to Audio CD using Audacious... but can't monunt /cdrom outside gui****
    user belongs to all required groups in.
    /etc/rc.d/rc.messagebus reloaded

    I found my audio card via
    code: #lspci | grep -i audio /code

    code: #lsmod /code
    found the audio module

    Code: #alsaconf /code
    configured Alsa

    Code: #alsamixer /code
    provided graphic mixer unmuted and set levels.
    Code: #alsactl store /code saves settings.


    Goto /home/username/.config/audacious in file manager.
    vi config in audacious folder. Scroll til u find

    [CDDA] and add under it
    device=/dev/cdrom
    directory=/mnt/cdrom
    mixer=2
    num_drives=1
    title_override=FALSE
    name_format=%p-%t
    name_cddb=TRUE
    cddb_server_=freedb.fredb.org
    cddb_protocol_level=0
    ----I found the above through google---

    I reinstalled xine-lib.1.1.7-i686-1.tgz from desktop put slack12d2 in cdrom, click mount ...
    used file manager to write path to xap..
    open terminal, su root, cd media, and keep cd till i was in slack12d2/slackware/xap then I
    #installpkg file path

    So now I can manually pull up audacious, right click on it to select play back and then play CD.
    Hope the above saves someone days on end of headaches.

    !!Weirdest part is that I can not mount cdrom outside desktop environment!!
    When I tried to code: # mount /dev/cdrom
    mount:can't find /cdrom in /etc/fstab or /etc/mtab /code
    I found this out when I was trying to install the xine-lib after boot up and login to root.
    I code:#cat /etc/fstab /code Everything is in its place...
    #/dev/cdrom /mnt/cdrom
    #/dev/hdc /mnt/cd-rw

    When I code:#cat /etc/mtab /code
    there is no /dev/cdrom or
    /dev/hdc for /mnt/cd-rw

    ***
    So now I do not know what this problem and other file process is related to???***
    Can /etc/fstab be updated so related files are also updated appropriately like /etc/mtab, hal, messagebus???
    [/QUOTE]

    The only groups that you have to be belong to them are plugdev,audio

    You still for sure mount your CDROM without X , so when you insert a CD , let's say your CD inode device is /dev/hdc , then you can do like this .

    mount -t auto /dev/hdc (Dir) (where Dir is a directory of choice ).

    you can't mount Audio Cd's ,since these CD's aren't iso9660 then you have to use special CD player than can access them , but not mount them , mount means to assign a FS for the device, and since there is no FS for these CD's then you can't mount them .

    Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

  5. #25
    Just Joined!
    Join Date
    Dec 2005
    Posts
    26

    Good work aliov, We got Audacious Sound

    So what u are saying because I added user to cdrom group -- it created a problerm because Hal already mounts data cdrom automatically and Audio Cd are automatically detected in GUI - without adding user to the cdrom group ? Is this what u mean? So I can remove user from cdrom group?

    What do you use to listen to music? I like the skins from xine. Xine has more options than Audacious? I know xine not being supported anymore soon. U know I just wanted sound to listen to music while I work on computer. lol Guess this thread is coming to an end... Thanks for teaching me instead of making me feel stupid.

    In /etc/mtab should I put floppys? I have 2 floppy drives.

  6. #26
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    I'm sorry if i get you confused, but having a user in the cdrom and audio groups don't conflict with the HAL groups , but having an entry for CDROM in the fstab configuration will push HAL to respect this and don't automount the device for all the users specially if you use the an option is fstab like noauto !

    About wish media player i use, i depends , in Linux there is more than 30 media players , but if you are in KDE , Amarok is the Best , in Gnome Rhytmobox , in XFCE you can use Audaciuos , Xine , of xfmedia ( the last you have to compile it from source in Slack ) . so there is no special media player for XFCE, it's up to you to choose wish one you find yourself comfortable with it .

    I recommend always for new Linux users , to use Or Ubuntu or SuSE , no because you don't know , just because these two distro are mush more easy to use ,and little by little you'll get familiar with Linux .

    The new release of Ubuntu (Gusty) will be released after 11 days .
    OpenSuSE 10.3 is just released since 3 days .

    both have the choice of using Gnome or KDE , you download or the Gnome version or the KDE version for Ubuntu and openSUSE , and believe me with these two distro you'll find Linux much more easy to use than Windows !

    Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...