Re: mplayer won't play audio CD
On 2017-06-30, Thomas Schmitt <scdbackup@gmx.net> wrote:
> Hi,
>
> Curt wrote:
>> mplayer -cdrom-device /dev/hdb cdda://1
>> or wherever the device exists on your machine.
>
> Unless on very old systems, i'd expect /dev/sr0, /dev/sr1, ...
>
Or wherever the device exists on your machine.
>> Maybe there's no audio cable between the cd drive and the sound card.
>
> I doubt that mplayer would use the PLAY AUDIO command to let the drive
> send an analog signal to the sound card. I rather assume it uses READ CD
> to get the 16 bit digital audio data and then processes them like other
> input.
> So no audio cable from drive to sound card would be needed.
>
Oh, ok, ripping good.
> Brian wrote:
>> It is worth noting that local access to the /dev/sr* device does
>> not depend on being a member of the cdrom group, Using 'ls -l':
>> brw-rw----+ root cdrom 11, 0 June 30 11:15 /dev/sr0
>> The "+" is a result of 70-uaccess.rules in /lib/udev/rules.d. It
>> indicates an Access Control List (ACL).
>
> ... which can be inquired by
>
> $ getfacl /dev/sr0
> ...
> user:thomas:rw-
> ...
>
> So my desktop user got an extra permission to read and write, regardless
> of group membership or "others" permission.
>
>
> Have a nice day :)
>
> Thomas
>
>
--
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.
Reply to: