LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-06-2016, 08:53 PM   #1
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 50
Finding dvd writer with linux compatibility


I want to buy a Samsung sata internal dvd writer. However, I cannot find if it is linux compatible.
Debian wiki says 'All such optical drives are supposed to be compatible with the Linux kernel and software'https://wiki.debian.org/Burner. So that's good.
But it also says 'some Linux kernels and some USB 3 controllers killed burn runs by short periods of inconsciousness'. So that's not good.

1. Before I buy hardware how can I check it's compatibility first?
2. Also, I'm running debian. So how can I confirm the hardware will be supported as 'free' as opposed to 'non-free'?
3. Once the hardware is physically installed, I presume after booting debian it will auto-detect the new hardware or I will need to detect it with 'cdrskin --devices' https://wiki.debian.org/CDDVDand create a mount point. Is this correct?

Thank you for reading.
 
Old 02-07-2016, 01:06 AM   #2
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

since you plan to buy an internal burner, it will most probably
be connected via SATA, not via USB. So USB 3 should not be an issue.
If it is indeed connected via USB and if you experience random
failure, then you should find out which of your computer's USB sockets
is still USB 2. Plug in there.

So the answer to question 1 is "Buy, try, and return to seller if not ok."

Question 2: There is no free firmware in the drives. But the burn
programs offered by Debian are all free. https://wiki.debian.org/CDDVDTools

Question 3: cdrskin --devices will show you the /dev/sr* Files
but will not mount anything. This gesture is intended for exploring
the burner landscape of a computer system.
If you have a single burner, then its address is nearly always /dev/sr0.

Mounting is not a precondition for burning, but rather in contrary it
could spoil burn runs to CD-R[W] or DVD-R[W] media. Therefore most
burn programs refuse to burn to mounted media. They rather complain that
the drive is busy. In this case use program umount to unmount the drive.

Command line examples for burning are in https://wiki.debian.org/BurnCd.
If you prefer GUI, i'd advise program xfburn.

Ask at debian-user@lists.debian.org mailing list if you experience
particular trouble with burning on a Debian system.

Have a nice day

Thomas

Last edited by scdbackup; 02-07-2016 at 01:11 AM. Reason: Mentioned debian-user@lists.debian.org
 
1 members found this post helpful.
Old 02-07-2016, 01:47 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Higgsboson,

I only use Samsung DVD writers in my PC builds.

This will do the trick:

http://www.amazon.co.uk/Samsung-SH-2...bs_430533031_1
 
Old 02-07-2016, 03:06 AM   #4
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by scdbackup View Post
So the answer to question 1 is "Buy, try, and return to seller if not ok."
Yes, but I was wondering if there was a more simple method for finding the compatibility for hardware.
For example, if there was a list of manufacturers who make their drivers open source. That way, debian users will know they can download the drivers from the debian repos and it is 'free' as opposed to 'non-free'.

Quote:
Question 2: There is no free firmware in the drives. But the burn
programs offered by Debian are all free. https://wiki.debian.org/CDDVDTools
I was wondering if there were manufacturers who work with linux/GNU project so that their hardware can work seamlessly with certain distros.

For example, if the driver of a dvd player is proprietary, then I have to change my /etc/apt/sources list to include 'non-free' sources. This isn't the best debian setup.
So I was wondering if there was a dvd rw which was compatible with a 'free' debian setup.

Quote:
If you have a single burner, then its address is nearly always /dev/sr0.
I see. So once I've put in a new dvd player and boot the OS hopefully it will automatically detect the device as /dev/sr0.

Quote:
Mounting is not a precondition for burning, but rather in contrary it could spoil burn runs to CD-R[W] or DVD-R[W] media. Therefore most burn programs refuse to burn to mounted media. They rather complain that the drive is busy. In this case use program umount to unmount the drive.
That's good to know. I'll keep that in mind!
 
Old 02-07-2016, 03:10 AM   #5
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by beachboy2 View Post
Higgsboson,
I only use Samsung DVD writers in my PC builds.
This will do the trick:
http://www.amazon.co.uk/Samsung-SH-2...bs_430533031_1
Which distro do you use it on?
Once installed was it detected automatically?
Also, did you install drivers from the linux repos or from a samsung site? Or were the drivers on a cd?
 
Old 02-07-2016, 03:42 AM   #6
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Higgsboson,

No drivers were required. The Samsung Writer was automatically detected.

Do bear in mind that I am talking about brand new, custom-built (by me) desktop PCs, where the DVD writer is already in-situ prior to me installing a Linux distro on the machine.

I have never had to replace a defunct DVD writer with a new one, but I doubt whether it would make any difference to it being recognised by the Linux OS.

I have used umpteen different distros on desktop PCs with the Samsung Writers, including Linux Mint, Ubuntu, Debian, Zorin OS etc.

I hope this is of help to you.
 
1 members found this post helpful.
Old 02-07-2016, 04:07 AM   #7
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

(I am upstream developer of libburn and i am also the one who updated
Debian wiki recently to show the text in question.)

> if there was a list of manufacturers who make their drivers open source

Burner drives do not need special drivers. They communicate with
the operating system kernel via standard busses like SATA or USB.
The burn programs compose commands according to SCSI specs SPC and MMC
which they hand to the kernel. The kernel forwards the commands to the
burner and receives the burner's reply. This reply then goes to the
burn program.
It is a relation like between web server and web browser. Kernel
and Internet sit inbetween and just forward messages.

If you google for "MMC" you will probably get to memory card info.
That's an unfortunate name collision. I refer to MMC-1 to MMC-6
as of https://en.wikipedia.org/wiki/SCSI#S...mmand_protocol .

So the specific driver for CD/DVD/BD writing is in the burn program.
And as programmer of such a program i can safely state
'All [...] optical drives are supposed to be compatible with the
Linux kernel and software'

Of course there can be bugs and the burn programs have there own
self inflicted restrictions.

There is a buffered block device driver for optical media in the kernel.
It does the reading job for filesystem drivers or commands like dd.
On overwritable optical media (e.g. DVD+RW, BD-RE) it can also write.
Of course it uses SCSI commands, like the burn programs do.


> I was wondering if there were manufacturers who work with linux/GNU project

They don't have to and we do not need them to. It's better than
any cooperation. It's a standardized communications interface.
They do what's prescribed, we do what's prescribed, and it will work
if both sides made no mistakes.


> So once I've put in a new dvd player and boot the OS hopefully it
> will automatically detect the device as /dev/sr0.

Yep. That's what is supposed to happen with Debian 8 or any other
contemporary distro if the hardware is well.
Then udev will chime in and produce links to /dev/sr0, which are
mentioned at https://wiki.debian.org/CDDVD#Devices . Automounters
will try to be of help (cough !) with reading data on DVD. GUI burner
programs like Brasero, xfburn, or K3B may get installed to operate
the drive for writing.

Underneath the GUI burn programs, there work backends like wodim (cough !),
growisofs, or libburn. If they show problems, then i am ready to diagnose
them and to propose remedies at debian-user mailing list.

Have a nice day

Thomas
 
2 members found this post helpful.
Old 02-07-2016, 05:48 AM   #8
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by scdbackup View Post
Hi,

(I am upstream developer of libburn and i am also the one who updated
Debian wiki recently to show the text in question.)

> if there was a list of manufacturers who make their drivers open source

Burner drives do not need special drivers. They communicate with
the operating system kernel via standard busses like SATA or USB.
The burn programs compose commands according to SCSI specs SPC and MMC
which they hand to the kernel. The kernel forwards the commands to the
burner and receives the burner's reply. This reply then goes to the
burn program.
It is a relation like between web server and web browser. Kernel
and Internet sit inbetween and just forward messages.

If you google for "MMC" you will probably get to memory card info.
That's an unfortunate name collision. I refer to MMC-1 to MMC-6
as of https://en.wikipedia.org/wiki/SCSI#S...mmand_protocol .

So the specific driver for CD/DVD/BD writing is in the burn program.
And as programmer of such a program i can safely state
'All [...] optical drives are supposed to be compatible with the
Linux kernel and software'

Of course there can be bugs and the burn programs have there own
self inflicted restrictions.

There is a buffered block device driver for optical media in the kernel.
It does the reading job for filesystem drivers or commands like dd.
On overwritable optical media (e.g. DVD+RW, BD-RE) it can also write.
Of course it uses SCSI commands, like the burn programs do.


> I was wondering if there were manufacturers who work with linux/GNU project

They don't have to and we do not need them to. It's better than
any cooperation. It's a standardized communications interface.
They do what's prescribed, we do what's prescribed, and it will work
if both sides made no mistakes.


> So once I've put in a new dvd player and boot the OS hopefully it
> will automatically detect the device as /dev/sr0.

Yep. That's what is supposed to happen with Debian 8 or any other
contemporary distro if the hardware is well.
Then udev will chime in and produce links to /dev/sr0, which are
mentioned at https://wiki.debian.org/CDDVD#Devices . Automounters
will try to be of help (cough !) with reading data on DVD. GUI burner
programs like Brasero, xfburn, or K3B may get installed to operate
the drive for writing.

Underneath the GUI burn programs, there work backends like wodim (cough !),
growisofs, or libburn. If they show problems, then i am ready to diagnose
them and to propose remedies at debian-user mailing list.

Have a nice day

Thomas
Thank you very much for the helpful information! The process of replacing a dvd writer on debian 8 is now much more reassuring.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
finding the driver used by my DVD writer ekamlesh Linux - Newbie 2 03-13-2009 05:41 AM
Pioneer DVR-115D dvd writer and Debian Etch compatibility question gnutler01 Linux - Hardware 2 03-20-2008 02:37 PM
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 05:00 PM
Internal CD Writer Compatibility??? Sonshyne Linux - Hardware 0 06-19-2004 09:45 PM
DVD Writer for Linux dkochan Linux - General 1 12-04-2001 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration