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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
09-16-2020, 08:23 PM
|
#1
|
Member
Registered: Jul 2007
Location: Chiang Rai, THAILAND
Distribution: Started with Kubuntu then Lucid Puppy and now XenialPup-7.5 & Mint
Posts: 109
Rep:
|
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!
|
|
|
09-16-2020, 08:47 PM
|
#2
|
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
|
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.
|
|
|
09-17-2020, 04:34 AM
|
#4
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,773
Rep: 
|
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.)
|
|
|
09-17-2020, 07:17 PM
|
#5
|
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:
|
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!
|
|
|
09-17-2020, 07:25 PM
|
#6
|
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:
|
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?
|
|
|
09-17-2020, 07:59 PM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,512
|
/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.
|
09-18-2020, 02:38 AM
|
#8
|
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:
|
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.
|
|
|
09-18-2020, 03:35 AM
|
#9
|
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:
|
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!
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.
|
|
|
09-18-2020, 05:18 AM
|
#10
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,773
Rep: 
|
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/
|
|
|
09-18-2020, 06:54 AM
|
#11
|
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:
|
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.
|
|
|
09-18-2020, 09:07 AM
|
#12
|
Moderator
Registered: Aug 2002
Posts: 26,512
|
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.
|
|
|
09-18-2020, 11:19 AM
|
#13
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
Quote:
Originally Posted by khunphet
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.
|
|
|
09-18-2020, 01:54 PM
|
#14
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,773
Rep: 
|
Quote:
Originally Posted by khunphet
Might you be able to provide some potential candidates and where they can be downloaded from?
|
https://soft.lafibre.info/
|
|
|
09-19-2020, 04:37 PM
|
#15
|
Member
Registered: Aug 2007
Posts: 483
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 03:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|