Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 146
Rep:
Can burn CD-R/DVD-R but not CD-RW/DVD-RW
I have a DVD burner in an external USB enclosure.
It works fine for reading CDs and DVDs, and for burning DVD-R and CD-R discs, but I can't get it to write to any CD-RW discs, and rarely DVD-RW. (The DVD-RW has worked maybe 3 or 4 times out of dozens of attempts, and only using K3B)
I have also had the same problem burning CD-RWs in a CD burner in a different USB enclosure.
Brasero almost always displays 'No disc available' if a rewriteable disc is in the drive - sometimes after a couple of minutes it will display the correct volume label, but if I try to write to it, either blanking it or writing files to it, it goes back to displaying the 'No disc available' again.
K3B finds the disk and displays the volume label without any problem, but when I try to write to it K3B complains that it can't unmount the volume and fails, then ejects the disc.
Gnome CD Master can't even find the burner regardless of the disk type!
I'm baffled as to why this would be happening like this. All I can think of is that it's either an obscure permissions issue, or a USB issue.
I have given myself every remotely relevant permission I can think of, but maybe there's some other security setting I don't know about.
The drive and mounted disc usually show up in file managers, but I have noticed that sometimes the drive will suddenly disappear from the mounted drive list, and become unresponsive. The only thing that gets the drive working again is to reboot the computer - just switching the drive off and back on again doesn't fix it - so I suspect maybe my Mint 9 installation (Gnome with KDE additions, but the problem has existed since I first installed it as pure Gnome) has some issues with the USB connections, but that's just a wild guess, and I've never had a problem using USB flash drives.
I have used a variety of disc brands with no difference.
Dare I say it, but Windows has no problems with any of this - any of these discs can be read, written, blanked and rewritten effortlessly in Windows. Sigh.
Any ideas? I'm stumped.
At the risk of providing too much information I'm going to follow the advice from the Linux Mint forum, and include outputs for lsusb and lspci.
lsusb output:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
Bus 001 Device 006: ID 056a:0011 Wacom Co., Ltd Graphire 2
Bus 001 Device 005: ID 192f:0616 Avago Technologies, Pte.
Bus 001 Device 004: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 002: ID 046d:0808 Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -v output for the USB DVD burner:
Bus 001 Device 007: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x152d JMicron Technology Corp. / JMicron USA Technology Corp.
idProduct 0x2338 JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
bcdDevice 1.00
iManufacturer 1 JMicron
iProduct 2 USB to ATA/ATAPI Bridge
iSerial 5 222222222222
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 USB Mass Storage
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 6 MSC Bulk-Only Transfer
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Connection timed out
Device Status: 0x5301
Self Powered
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 146
Original Poster
Rep:
Quote:
Originally Posted by stress_junkie
What is the brand and model number of the external drive?
Thanks for the quick response.
Sorry, I should have included the drive info in my post <slaps own forehead>.
Both the DVD burner and CD burner are LG drives - the DVD burner model is GH22NS30 (SATA interface in a SATA/IDE to USB enclosure) and the CD burner model is GCE-8160B (IDE interface in a IDE to USB enclosure).
I decided to try taking the DVD burner out of the USB enclosure and putting it in the computer with a direct SATA connection to see if that would help to narrow down the cause of the problem. I tested it with a CD-RW disc because they have always been the most problematic - I used a disc that has never been writable in the USB enclosure in Linux, but works perfectly in Windows.
As I expected, the OS detects and mounts the drive without a problem.
Brasero now detects the drive and writes to it without difficulty, either blanking or burning data. This suggests to me that Brasero has a problem with the USB/Sata interface in the enclosure.
K3B again failed to blank the disk with the same errors as before, reporting that it could not unmount the drive, and ejecting the disc. This sounds like K3B (or something used by K3B) does not support this drive model for rewriteable discs (and I have no idea how it could work for CD-R but not for CD-RW), or there is a permissions issue in K3B.
Gnome CD Master still couldn't find the drive at all, suggesting that Gnome CD Master is a waste of hard drive space.
I ran dmesg, and this info re the DVD burner was reported:
Brasero now detects the drive and writes to it without difficulty, either blanking or burning data. This suggests to me that Brasero has a problem with the USB/Sata interface in the enclosure.
I am surprised that K3B can not write to the CD-RW discs.
Have you tried using Gnomebaker instead of Brasero? Gnomebaker has always worked better for me in Ubuntu than Brasero.
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 146
Original Poster
Rep:
Quote:
Originally Posted by tommcd
I am surprised that K3B can not write to the CD-RW discs.
Have you tried using Gnomebaker instead of Brasero? Gnomebaker has always worked better for me in Ubuntu than Brasero.
Thanks, I'll give GnomeBaker a try - although at the moment I'm just glad I've finally got something to write CD-RWs - now if only I could do it in the USB enclosure, which I use because I've got 4 computers and I didn't see the point in having a DVD burner in each.
I'm also surprised about K3B, especially that it doesn't work even when the DVD burner is plugged directly into the computer via SATA. I've always read that K3B was much better than Brasero, and in terms of configurability it is, but that doesn't count for much if it can't write to the CD-RW discs.
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 146
Original Poster
Rep:
Quote:
Originally Posted by jefro
K3b ought to be usable.
I agree.
Quote:
Originally Posted by jefro
Are they some odd old slow disks?
The particular disc I tested with on this occasion is a Verbatim 700 Mb CD-RW disc. I have used a variety of different CD-RW and DVD-RW discs over many months with the same problem each time. I don't see why the disc's rated speed would make a difference - any decent burning software can cope with speeds down to 1x cd speed.
Quote:
Originally Posted by genogebot
I used a disc that has never been writable in the USB enclosure in Linux, but works perfectly in Windows.
Quote:
Originally Posted by genogebot
Brasero now detects the drive and writes to it without difficulty, either blanking or burning data.
If the disc works perfectly in Windows and in Brasero then it should work perfectly in K3B - if it doesn't then logically that's a limitation of K3B, not the disc.
Quote:
Originally Posted by jefro
Guess the burner could be off.
Quote:
Originally Posted by genogebot
It works fine for reading CDs and DVDs, and for burning DVD-R and CD-R discs ...
Quote:
Originally Posted by jefro
Try another burner.
I have used 2 different burners with the same problem each time:
Quote:
Originally Posted by genogebot
I have also had the same problem burning CD-RWs in a CD burner in a different USB enclosure.
So I think I've already performed the tests in a sufficiently rigorous manner to exclude your suggestions as possible causes. Thanks anyway.
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 146
Original Poster
Rep:
Success!
Ok, I eventually found the solution.
It seems that the burning programs that are packed with many linux distros - and that are used by K3B and Brasero in different ways - are old, buggy and unmaintained (and the story of why they haven't been replaced reads like a soap opera of dysfunctional personalities ).
I installed cdrtools and mkisofs and now everything works. I can write to rewriteable discs in external usb enclosures without any problem.
To install these programs I added the following to my synaptic sources:
Code:
### cdrtools
deb http://ppa.launchpad.net/brandonsnider/cdrtools/ubuntu lucid main
deb-src http://ppa.launchpad.net/brandonsnider/cdrtools/ubuntu lucid main
then did
Code:
sudo apt-get update && sudo apt-get upgrade
and
Code:
sudo apt-get install cdrecord mkisofs
Then I set cdrecord and mkisofs as default programs in K3B.
I then tried erasing a cd-rw in a burner an external usb enclosure, and then writing to it, using K3B. It worked flawlessly. Woohoo.
Now if I can just get the distro packagers to include these programs by default...
I installed cdrtools and mkisofs and now everything works. I can write to rewriteable discs in external usb enclosures without any problem.
Debian, and also Ubuntu, replaced cdrecord with wodim a while back because wodim is more free (as in freedom) than cdrecord. The problem is that wodim has never worked as well as cdrecord in my experience. Distros that still use cdrecord, like Slackware, do not have this problem.
Anyway, glad you got that fixed. I did not know that there was a PPA repo for the old cdrtools package.
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 146
Original Poster
Rep:
Quote:
Originally Posted by tommcd
Debian, and also Ubuntu, replaced cdrecord with wodim a while back because wodim is more free (as in freedom) than cdrecord.
That is one of the points of dispute that I read about - there are claims that the supposed lack of 'freedom' of the original cdrtools is bogus, that the campaign to discredit cdrtools on that basis was motivated by personal reasons, and that the decision to remove cdrtools was made without due diligence to see if the claims were correct.
The thread at Ubuntu forums linked to above details some of this saga.
That is one of the points of dispute that I read about, there are claims that the supposed lack of 'freedom' of the original cdrtools is bogus ...
Well, this would not be the first time that Debian was accused of being a little bit too political. Unfortunately, some of that politics has carried over into Ubuntu.
Debian is still a great distro though; and Debian is still the base of countless derivative distros like Ubuntu. Debian also runs much faster and uses fewer resources than Ubuntu in my 5 years of using both Debian and Ubuntu.
Every distro has it's little issues though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.