NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Running VLC



I was not in the group "operator" -- so I added myself

Below is the result of the dd if ... command:

GANDALF# dd if=/dev/rcd0d bs=2048 count=1 | hexdump -C
dd if=/dev/rcd0d bs=2048 count=1 | hexdump -C
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000800
1+0 records in
1+0 records out
2048 bytes transferred in 1.471 secs (1392 bytes/sec)

On Mon, Mar 8, 2021 at 3:47 AM <ignatios%cs.uni-bonn.de@localhost> wrote:
>
> On Sun, Mar 07, 2021 at 06:31:32PM -0500, Todd Gruhn wrote:
> > All I know that VLC cant talk to the DVD/CD drive.
> >
> > I have been using commercially produced DVDs
> >
> > I have DVD-RW -- can something be done with that?
> >
> > I installed 2 other mediaplayers -- they complain about the same thing.
>
> So, this is not about the program used, but probably about the
> permissions on the device node in the file system.
>
> ls -l /dev/cd0d should show
> henrietta$ ls -l /dev/cd0d
> brw-r-----  1 root  operator  6, 3 Jan 13  2012 /dev/cd0d
>
> Another test would be
>
>         dd if=/dev/rcd0d bs=2048 count=1 | hexdump -C
>
> (assuming this is your only CD-like device). You can check
> by reading through /var/run/dmesg.boot
>
> You should either see a dump of the first block on the medium,
> possibly all zeros, or an error messages about access permissions.
>
> Did you run your media players as an unpriviledged user?
> Does running the above dd program as root help?
>
> If yes, add yourself to the group "operator" in /etc/group,
> re-login, and all should be fine.
>
> Possibly chmod g+w /dev/cd0* if you need write permission to
> that drive, too.
>
> Regards,
>         -is


Home | Main Index | Thread Index | Old Index