Samsung Portable DVD Writer

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Samsung Portable DVD Writer

Postby mattthumper » Tue Oct 27, 2015 2:40 pm

Hi,

I am trying to get my Samsung 'Portable DVD Writer SE-208' (TSSTcorp CDDVDW SE-208DB MF00) on my Raspberry pi 2.

It shows up as /dev/sr0, and from lsusb as: Bus 001 Device 015: ID 0e8d:1806 MediaTek Inc. It only has a USB cable (no power cable) I have tried it in the USB ports in both my Raspberry pi unit and the powered USB hub. I have also tried several media players (VLC, juK, KMix, MPlayer). It does not get recognized by the players.

It is recognized as 'Audio CD' by Dolphin (when I have an audio CD in it) --- but, that's only if I run Dolphin as root. And then I have to right-click a single .wav file and select 'Open With...' and then MPlayer.

I try to mount it similarly to the way that I successfully mount all my other USB devices:
sudo mount /dev/sr0 /media/usb -o uid=matthew,gid=matthew mount: block device /dev/sr0 is write-protected, mounting read-only mount: /dev/sr0: can't read superblock

This is the way I successfully mount various thumb/flash drives, and IDE hard drives (old internal hard drives now utilized via IDE/USB adapters), external USB hard drive (Iomega), etc.

How do I get this thing to work?

TIA, Matt
mattthumper
 
Posts: 4
Joined: Tue Oct 27, 2015 2:32 pm

Re: Samsung Portable DVD Writer

Postby WarheadsSE » Tue Oct 27, 2015 2:44 pm

Add your user to the 'optical' group. See `ls /dev/sr0`

I will honestly be surprised if it does not brown-out the USB, since the known sane limit is 140mA/port.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6785
Joined: Mon Oct 18, 2010 2:12 pm

Re: Samsung Portable DVD Writer

Postby mattthumper » Wed Oct 28, 2015 2:42 pm

Thanks for the reply.

Here are some things that I've tried:

> sudo adduser matthew optical
adduser: The group `optical' does not exist.


> id
uid=1001(matthew) gid=29(audio) groups=1002(matthew),29(audio),108(lpadmin)


> newgrp cdrom

/home/matthew : [1920]

id
uid=1001(matthew) gid=24(cdrom) groups=1002(matthew),24(cdrom),29(audio),108(lpadmin)

For the following 'mplayer' command - I have tried it as follows:
a) with both the command line version ***AND*** the GUI version
b) with my cdrom group active ***AND*** with the audio group active (in separate shells via 'newgrp')


> mplayer cdda:///media/usb
MPlayer svn r34540 (Raspbian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
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 cdda:///media/usb.
Can't open CDDA device.
Failed to open cdda:///media/usb.


Exiting... (End of file)

/home/matthew : [1922]

ls -lisa /media
total 20
17956865 4 drwxr-xr-x 5 root root 4096 Oct 11 18:19 .
2 4 drwxr-xr-x 26 root root 4096 Sep 23 10:56 ..
17961727 4 drwxr-xr-x 2 matthew matthew 4096 Sep 15 10:44 cdrom
19662493 4 drwxr-xr-x 2 root root 4096 Sep 18 10:21 sdb1
17961692 4 drwxrwxrwx 2 matthew matthew 4096 Aug 29 12:15 usb

/home/matthew : [1923]

!!/usb
ls -lisa /media/usb
total 8
17961692 4 drwxrwxrwx 2 matthew matthew 4096 Aug 29 12:15 .
17956865 4 drwxr-xr-x 5 root root 4096 Oct 11 18:19 ..

/home/matthew : [1924]

^usb^cdrom
ls -lisa /media/cdrom
total 8
17961727 4 drwxr-xr-x 2 matthew matthew 4096 Sep 15 10:44 .
17956865 4 drwxr-xr-x 5 root root 4096 Oct 11 18:19 ..

/home/matthew : [1925]

mplayer cdda:///media/cdrom
MPlayer svn r34540 (Raspbian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
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 cdda:///media/cdrom.
Can't open CDDA device.
Failed to open cdda:///media/cdrom.
mattthumper
 
Posts: 4
Joined: Tue Oct 27, 2015 2:32 pm

Re: Samsung Portable DVD Writer

Postby WarheadsSE » Wed Oct 28, 2015 3:59 pm

<3 [code] tags.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6785
Joined: Mon Oct 18, 2010 2:12 pm

Re: Samsung Portable DVD Writer

Postby WarheadsSE » Wed Oct 28, 2015 4:01 pm

And by those messages, obviously there is nothing at /media/cdrom. Your `ls` even shows that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6785
Joined: Mon Oct 18, 2010 2:12 pm

Re: Samsung Portable DVD Writer

Postby sdjf » Thu Oct 29, 2015 7:58 am

Maybe this is obvious, but is there media in the DVD Writer? I am wondering because on another Linux system, I have had trouble getting the system to recognize certain card readers unless there was media in them, and maybe this DVD writer also suffers from that?

If there is a DVD in it, has it been formatted? Since as WarheadsSE mentioned, power could be an issue, seems to me you should only be mounting it while it is plugged in to a powered USB hub. Make sure that hub has enough power as well.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Samsung Portable DVD Writer

Postby WarheadsSE » Thu Oct 29, 2015 2:09 pm

That, and there will be nothing putting/mounting anything at that path unless OP has installed & configured said software.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6785
Joined: Mon Oct 18, 2010 2:12 pm

Re: Samsung Portable DVD Writer

Postby mattthumper » Thu Oct 29, 2015 10:39 pm

Code: Select all
For future Googlers who are trying to:

a) access a USB 'Samsung Portable DVD Writer' from their:
b) Raspbian Linux OS (on their Raspberry PI computer), in order to:
c) Play a commercial audio CD

This command will work:

mplayer -cdrom-device /dev/sr0 cdda:// -cache 50000 -cache-min 95

This works even better:

mplayer -cdrom-device /dev/sr0 cdda:// -cache 300000

Here's the output (and note that it takes about 15 minutes to fill up cache - but it won't work any other way.....for me at least):

> mplayer -cdrom-device /dev/sr0 cdda:// -cache 50000 -cache-min 95
MPlayer svn r34540 (Raspbian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
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 cdda://.
Found audio CD with 14 tracks.
Cache fill:  0.00% (0 bytes)   
Track 1
Cache fill: 95.00% (48637008 bytes)   

rawaudio file format detected.
Cache not responding! [performance issue]
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting Playback...
A: 217.8 (03:37.7) of 3206.1 (53:26.1)  0.1% 29%

And finally, note that there is good information at: http://www.cyberciti.biz/faq/linux-unix-mplayer-playing-audio-dvd-cd-using-bash-shell/
mattthumper
 
Posts: 4
Joined: Tue Oct 27, 2015 2:32 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest