LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-16-2020, 08:23 PM   #1
khunphet
Member
 
Registered: Jul 2007
Location: Chiang Rai, THAILAND
Distribution: Started with Kubuntu then Lucid Puppy and now XenialPup-7.5 & Mint
Posts: 109

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


Yes, it's true -- I still have lots of floppy disks. But then, I'm also very old - like 77 y.o.! I also have an IBM ThinkPad USB floppy disk drive, BUT when I attach it to a laptop using a Linux distro, Linux doesn't even 'see' the floppy!

Are there some tricks that I have to use to get Xenial75 or Mint to access my USB floppy drive?

I'd appreciate some enlightenment on this matter. Thanks!
 
Old 09-16-2020, 08:47 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,764
Blog Entries: 28

Rep: Reputation: 6304Reputation: 6304Reputation: 6304Reputation: 6304Reputation: 6304Reputation: 6304Reputation: 6304Reputation: 6304Reputation: 6304Reputation: 6304Reputation: 6304
You might learn something by doing this:

Insert a floppy into the drive, then run the command fdisk -l as root. Let us know whether the device shows up in the output of the command.
 
Old 09-16-2020, 10:12 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,268

Rep: Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656
Are you using a root level account to do tasks?

Some of that old floppy support has been removed from some modern distros. Top it off you have a usb attached.

I'd get an old Knoppix cd like maybe v4 or v5 maybe to try.


Anyway see these for clues.

https://wiki.debian.org/Floppy

https://wiki.archlinux.org/index.php/Floppy_disks

https://fitzcarraldoblog.wordpress.c...rive-in-linux/

floppycontrol man pages too.
Might end up using dd to save the floppy off to a file on working system.

Last edited by jefro; 09-18-2020 at 03:51 PM.
 
Old 09-17-2020, 04:34 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,773

Rep: Reputation: Disabled
I used to mount mine manually....

Connect it, may need to before booting, & put a floppy in it, then try,
Code:
sudo mount /dev/fd0 /mnt
(If I remember rightly.)
 
Old 09-17-2020, 07:17 PM   #5
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
For FRANKBELL:

I am sending the results of "root# sudo fdisk -l" done on two separate laptops for your inspection. I don't believe the USB floppy got seen in both caases.

I trust that the attachments may reveal some good news, but my fingers are crossed!
Attached Files
File Type: txt results_on_Linux+WinXP.txt (4.9 KB, 105 views)
File Type: txt results_on_IBM.txt (5.2 KB, 65 views)
 
Old 09-17-2020, 07:25 PM   #6
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
For FATMAC:

Here is what I got:

root# sudo mount /dev/fd0 /mnt
mount-FULL: special device /dev/fd0 does not exist
root#

The results aren't very reassuring are they?
 
Old 09-17-2020, 07:59 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,512

Rep: Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223
/dev/fd0 only specific to the original internal floppy disk drive. As posted many distributions have deprecated/removed the floppy module or at least not load it by default. Are you trying an internal drive in addition to the USB? I know that Ubuntu has removed the floppy module and so would assume that Mint as will as Xenial will probably not have it either. A USB drive should still be supported.

If I remember correctly the USB floppy drive device ID would still be /dev/sdx. look at the output of the lsusb command to see if the drive is recognized as well as the output of the dmesg command i.e.
tail -n 20 dmesg

Is a disk inserted into the USB drive? fdisk will not output anything specific to the drive without a disk inserted. Are you sure the drive is operational and that you have some good disks?
 
1 members found this post helpful.
Old 09-18-2020, 02:38 AM   #8
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

For michaelk:

Thanks for the info! Neither of my laptops have original floppy disk drives. When I plug the external USB floppy along with a known floppy disk, a green LED flickers briefly on the floppy case, but that's the only response I am getting. There is no access to the floppy itself.

I will use your suggestions and redo the queries on both the IBM ThinkPad & the HP-Mini dual boot Linux Xenial75&WIN XP to see what results I'll get. Having done that, I'll report back.

Many thanks for the details.
 
Old 09-18-2020, 03:35 AM   #9
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

For michaelk:

The attached file gives the results of the 2 commands you provided. Both results included mention of the TEAC device. However, there was no 'sdx' icon showing at the bottom of my Xenial75 desktop.

Also typing the command "tail -n 20 dmesg" (as I saw in your previous post) gave me this result:

root# tail -n 20 dmesg
tail: can't open 'dmesg': No such file or directory
tail: no files
root#


Here are the details of the IBM Portable Diskette Drive:

TEAC Corp. Model No. FD-05PUB
P/N 19308803-79

Hope all this may provide some food for thought!
Attached Files
File Type: txt michaelk-2.txt (43.3 KB, 63 views)

Last edited by khunphet; 09-18-2020 at 06:43 AM. Reason: Sorry! I'll have to redo the attachment for you. See michaelk-2.txt instead.
 
Old 09-18-2020, 05:18 AM   #10
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,773

Rep: Reputation: Disabled
As above, most distros probably have removed floppy disk modules - so, maybe, grab an old version of a distro to use to access your floppies(?). Prior to 2019, it would appear - https://techreport.com/news/3464145/...drive-support/
 
Old 09-18-2020, 06:54 AM   #11
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
For fatmac: Your observation is most astute. I've read the suggested URL, but have no idea where one obtains old-enough distros to potentially do the job I would like to do.

Might you be able to provide some potential candidates and where they can be downloaded from?

I'll check in again on Saturday morning. Many thanks!

Last edited by khunphet; 09-18-2020 at 06:55 AM. Reason: An afterthought provided.
 
Old 09-18-2020, 09:07 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,512

Rep: Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223
Quote:
The few floppy drives that are still whirring away out there are mostly USB-based, Torvalds continues, adding that those don’t use the hardware floppy driver.
The USB floppy drive does not use the hardware floppy driver. No need to find and old distribution.

Output from lsusb:
Quote:
Bus 002 Device 002: ID 0644:0000 TEAC Corp. Floppy
It is recognized just like a any other USB drive however if I am reading dmesg output correctly either the drive or presently inserted disk is bad or blank.
Quote:
usb 2-1: New USB device found, idVendor=0644, idProduct=0000
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: TEAC FD-05PUB
usb 2-1: Manufacturer: TEAC
usb-storage 2-1:1.0: USB Mass Storage device detected
scsi host4: usb-storage 2-1:1.0
[/quote]
Quote:
scsi 4:0:0:0: Direct-Access TEAC FD-05PUB 3200 PQ: 0 ANSI: 0 CCS
sd 4:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 4:0:0:0: [sdb] Sense Key : Medium Error [current]
sd 4:0:0:0: [sdb] Add. Sense: Cannot read medium - unknown format
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 00 46 1e 00
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 00 46 1e 00
sd 4:0:0:0: [sdb] No Caching mode page found
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 4:0:0:0: [sdb] Sense Key : Medium Error [current]
sd 4:0:0:0: [sdb] Add. Sense: Cannot read medium - unknown format
sd 4:0:0:0: [sdb] Attached SCSI removable disk

Last edited by michaelk; 09-18-2020 at 09:18 AM.
 
Old 09-18-2020, 11:19 AM   #13
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by khunphet View Post
For michaelk:

The attached file gives the results of the 2 commands you provided. Both results included mention of the TEAC device. However, there was no 'sdx' icon showing at the bottom of my Xenial75 desktop.

Also typing the command "tail -n 20 dmesg" (as I saw in your previous post) gave me this result:

root# tail -n 20 dmesg
tail: can't open 'dmesg': No such file or directory
tail: no files
root#


Here are the details of the IBM Portable Diskette Drive:

TEAC Corp. Model No. FD-05PUB
P/N 19308803-79

Hope all this may provide some food for thought!
you were supposed to run the command "dmesg" (which can be run as a regular user) right after plugging in the floppy to the usb port, and look at the output to see what the system identifies when it is attached. It looks like that is the 3rd part you posted.

You will not see the device on your desktop until it is actually mounted with readable media. look at the content of /dev before you plug in the drive to know what the system already sees. Then after plugging it in look at /dev again to see what is new. The output of dmesg also should show the device name the system adds for it.

Your posted output shows the device is seen and recognized (probably as /dev/sdb) so there is no need to try any different distro (older or whatever). All you need to do is the following:
1. look at the difference in /dev to see what device is created.
2. insert a readable floppy into the drive
3. Now with your file manager (I use nautilus on fedora but YMMV) you should be able to see the disk. If not then you may need to mount the disk manually. (sudo mount /dev/deviceidentified /mount/point). On my system the dvdrom is not seen as an /dev/sdX device but rather /dev/sr0. I suspect the floppy drive is the device identified as /dev/sdb from your output. When you insert a disk it will likely be seen as /dev/sdb1. Thus the mount command (if I am right) would be "sudo mount /dev/sdb1 /mnt".
Fedora automatically mounts removable media (flash drives, etc) at /run/media/username/devicename and your system may do similar if the disk is already in the drive when you plug it in to the USB port.

Readable media in the floppy should be handled similar to the content of USB flash drives. You may need to manually mount/umount the floppy disk when inserting it and removing it.
 
Old 09-18-2020, 01:54 PM   #14
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,773

Rep: Reputation: Disabled
Quote:
Originally Posted by khunphet View Post

Might you be able to provide some potential candidates and where they can be downloaded from?
https://soft.lafibre.info/
 
Old 09-19-2020, 04:37 PM   #15
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
tail -n 20 dmesg
This is quite backward as dmesg is a utility program and not a file. It should be

Code:
root# dmesg | tail -n 20
or slightly more complex:

Code:
root# tail -n 20 < <(dmesg)
This takes into account the fact that dmesg is a process and not a file.

Last edited by tofino_surfer; 09-19-2020 at 10:26 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:12 AM
floppy only reads first disk, if new disk is inserted data from first disk is shown. lakosked Debian 3 02-18-2006 09:44 PM
Any problems with USB-port PCMCIA cards and USB Floppy Drives? DreameR-X Linux - Laptop and Netbook 9 05-14-2005 02:37 PM
CD-Drives and floppy drives Pixel Linux - Hardware 3 03-16-2003 03:04 PM

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

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