LinuxQuestions.org
Review your favorite Linux distribution.
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 09-19-2020, 03:45 PM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,732

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920

I know and I should of fixed my mistake for future members that search for a similar problem... But since the OP posted the entire output of dmesg in one of the attached files it was not necessary since all the information was provided anyway.
 
Old 09-19-2020, 06:35 PM   #17
khunphet
Member
 
Registered: Jul 2007
Location: Chiang Rai, THAILAND
Distribution: Started with Kubuntu then Lucid Puppy and now XenialPup-7.5 & Mint
Posts: 109

Original Poster
Rep: Reputation: 0
Linux and external USB floppy disk drives

Most interesting replies (for me as an older generation chap)! One is never too old to learn I've told myself over the years. There is ALWAYS someone who knows more about something than I have so far learned. That's why I love LinuxQuestions!

O.K. I will use the info received to try some new approaches. Apparently there's no need to seek 'older distros', just work with what I already have in hand.

First of all, the floppy disk I had inserted into the TEAC Portable Diskette Drive was the third of a set of four floppies created by AVG as a "Bootable System Disk". That may be why the media was unreadable. I'll try with different floppies that have simple data files on them to see if they are readable.

Secondly, I am doing this investigation using my HP Mini laptop which has a 128 GB KingSpec SSD installed with a dual boot option using 1) Linux Xenial75 and 2) Windows XP SP3 as operating systems to choose from.

Will return with results for your observations. Thanks for your patience with me.
 
Old 09-19-2020, 06:56 PM   #18
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,732

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
Have you tried seeing if any disks are readable using XP yet?
 
Old 10-01-2020, 01:43 PM   #19
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by khunphet View Post
Most interesting replies (for me as an older generation chap)! One is never too old to learn I've told myself over the years. There is ALWAYS someone who knows more about something than I have so far learned. That's why I love LinuxQuestions!

O.K. I will use the info received to try some new approaches. Apparently there's no need to seek 'older distros', just work with what I already have in hand.

First of all, the floppy disk I had inserted into the TEAC Portable Diskette Drive was the third of a set of four floppies created by AVG as a "Bootable System Disk". That may be why the media was unreadable. I'll try with different floppies that have simple data files on them to see if they are readable.

Secondly, I am doing this investigation using my HP Mini laptop which has a 128 GB KingSpec SSD installed with a dual boot option using 1) Linux Xenial75 and 2) Windows XP SP3 as operating systems to choose from.

Will return with results for your observations. Thanks for your patience with me.
Floppy disks are simply a file system and if the disk is readable then it should be able to mount and be read.
I would suggest that you put the floppy into the drive, then plug the drive into the USB port. If it is powered on and has a disk in the drive before you plug in the USB then it should create a device that will show in the output of dmesg as well as being seen in /dev/. On my fedora system the gnome file manager also will automount it and display it where it can be accessed.

Michaelk also asked if you have tried to read the disk in windows XP yet, which would be another test to see if the disk itself is good.

Remember, under linux you cannot read a device that does not have the file system mounted for access.

Last edited by computersavvy; 10-01-2020 at 01:44 PM.
 
Old 10-04-2020, 11:55 AM   #20
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
In my experience the "high density" 1.44MB floppies could only be read on the drive used to create them.
The tracks were so close together that read fails were very common on different floppy drives.
 
Old 10-04-2020, 12:58 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,732

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
It is possible the heads are out of alignment. Not true.

At the peak of the floppy drives before CDs became common almost all commercial software was distributed by 2.5in 1.44MB disks.
 
Old 10-14-2020, 01:35 PM   #22
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Funny, from that time I remember 3.5" as reliable, certainly beside 5.25".

I never met a drive with the heads non aligned. Perhaps if you put a tyre lever in…

They were the sdcards of their day. There was always the odd scraper drive that wrecked any disk put in, but that was quickly sorted. I had an IT contract for Paint Shakers, but the driving was awful - I was meeting myself coming back. So I gave the Mechanical guys one of my "Dodgy Disks," 3.5" floppies and they would come to the pc, insert the floppy, switch on & ring me. I could diagnose over 90% of them from the utilities on the floppy. The floppies would last for months despite the fact that every drive the floppies went into had a year's dust & junk in it.
 
Old 10-14-2020, 02:24 PM   #23
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
The 5.25" were definitely worse than the 3.5", probably because you needed twice as many.
Strangely, 8" floppies (and they were very floppy) never gave any problems.
 
Old 10-26-2020, 11:05 AM   #24
randywatson
LQ Newbie
 
Registered: Apr 2020
Distribution: Debian
Posts: 7

Rep: Reputation: Disabled
Well, I can tell you that you need to specifically mount an USB floppydrive with the sync option, which tells that files should be written directly to the floppy.
Async is not preferred because it writes the file to your mount path locally first and when you manually unmount the USB floppy drive, it then copies the files over to your floppy.
With sync, you can eject the floppy with the push button without risking loss of data.

Another annoying thing is the ticking noise when the USB floppydrive is powered up in Linux (not when connected in Windows 10), forcing you insert a floppy to get rid of that sound.

Secondly, copying files to floppy is extremely slow. In my case, it took almost 15 minutes to copy a 900 KB file.
The behaviour is that the motor spins 20 seconds doing nothing then writes data to the floppy for 5 seconds and repeat again.

Third is that (maybe I had under-voltage on my PI4) when testing like reading a 20 KB JPEG, sometimes the result appears partially corrupted, however this is not always the case so the data on floppy is actually still ok. Once you've read the image, you cannot reload it again since it is already cached on your mountfolder, so you have to unmount and remount again.

I have used a python script and a mechanical switch linked to the eject in order to unmount and disable usb port, vice versa.
A bit of pita, but it kinda works.

(Update)
If you drop the option "sync" and instead use "noatime,flush", it also writes directly to the floppy but at the speed you expected it to be.
So with those options you're gonna copy ie. a file of 900Kb in merely 20 seconds. Tested switching floppies vice versa and it works. The data is fine and opening BMP and JPEG's does not show artifacts anymore.

Last edited by randywatson; 10-28-2020 at 02:48 AM.
 
  


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
Which External Hard disk 1 TB suitable to transfer or copy file from Linux Fedora 8 OS ? The following External Hard Disk wil be suitable RAJIB BNG Linux - Hardware 2 09-23-2017 02:12 AM
floppy only reads first disk, if new disk is inserted data from first disk is shown. lakosked Debian 3 02-18-2006 08:44 PM
Any problems with USB-port PCMCIA cards and USB Floppy Drives? DreameR-X Linux - Laptop and Netbook 9 05-14-2005 01:37 PM
CD-Drives and floppy drives Pixel Linux - Hardware 3 03-16-2003 02:04 PM

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

All times are GMT -5. The time now is 06:15 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