Can't get my floppy to work

Strange problem - when I click on the floppy, CD ROM or hard drive in file manager the disk utility program opens.

is that with the 1.0.1 udisks ?

what happens if you go back to 1.0.2 (default) ?

same with both versions.

Ubuntu 11.04 or Peppermin2 ?

is the file manager nautilus ?

Did this behavior only present itself after downgrading udisks ?

Peppermint 2 - I noticed that if I right click the drive icons in file manager it says opens with disk utility. Not sure which file manager is use by peppermint.

We need to know which file manager… if you open your home folder, then click Help>About … what does it say ?

Also can you send the contents of this file:

gedit ~/.local/share/applications/mimeapps.list

PCManFM 0.9.9 Lightweight file manager http://pcmanfm.sourceforge.net/

Contents of file-

[Added Associations]
inode/x-mountable=palimpsest.desktop;

That’s your problem:
inode/x-mountable=palimpsest.desktop;

Comment out that line, so it reads:
# inode/x-mountable=palimpsest.desktop;

SAVE the file.

may require a logoff/logon (or reboot) before the changes are applied.

FYI, Palimpsest = Disk Utility

Yes that seemed to work OK and I was able to look at the contents of the CD ROM drive.

Swapped the drives to the floppy and reboot. Floppy is seen by the system and mounted but I can not see contents of the floppy. If I click on the mounted floppy I am shown a list of 20 folders starting with bin and ending with var.

Clicking on the file system icon takes me back to the desktop.

:cry:

OK, I’m somewhat lost as to what you did ?

Did you attempt to boot from the floppy ?

I don’t understand this line -

Swapped the drives to the floppy and reboot

And, as that looks like your root (/) directory… I wouldn’t go deleting anything, or formatting anything on the floppy until this is resolved :wink:

can you send the output from:

mount

allusers@oldlaptop ~ $ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/allusers/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=allusers)
allusers@oldlaptop ~ $

On this model of laptop you push a knob and the CD Rom drive pops out and you then replace it with the floppy drive. In windows it is hot swap but I rebooted to ensure the drive was detected.

Is that output with the floppy inserted ?

Does it do this with ALL floppy disks ?

Does it do this with both versions of udisks ?

Do the:
udisks --mount /dev/fd0
and
udisks --unmount /dev/fd0
commands still work ?

Mount and unmount still work.
Readout with floppy in the floppy drive and mounted.
allusers@oldlaptop ~ $ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/allusers/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=allusers)
/dev/fd0 on /media/floppy0 type vfat (rw,nosuid,nodev,utf8,user=allusers)
allusers@oldlaptop ~ $

I was hoping to see the output from:

mount

when the floppy is misbehaving (showing /etc, /var, etc.), not when you’ve made it work properly. :wink:

Does it misbehave in the same way with the original version of udisks ?

Hi, with the more up to date version of udisks the floppy drive is not mounted.

With the older version of udisks the floppy is mounted.

When you click on the floppy the contents of the floppy disk in the drive are not displayed. What is displayed is the 22 folders and 3 files. You believe that this is the route file.

Also if you click on the file system icon it goes directly to the desktop and shows no files.

Looks like you’ll have to go back to the original (1.0.2) version of udisks then and use the:
udisks --mount /dev/fd0
and
udisks --unmount /dev/fd0
commands.

I can’t really test this (even in a VM) as I don’t have a floppy drive … looks like Peppermint (or PCManFM) are implementing it slightly differently.

or switch distro… which may not help either.

I’m beginning to think this is because of the weird hardware connection/controller (cdrom or floppy in the same port).

When you say it’s hot swappable in Windows, does that require any third party drivers ?

What is the make/model of the laptop ?

It is an IBM ThinkPad T22. It came with Win 98 but was running Win XP Home with no problems. The computer came with the IBM software which included the hot swap controller.

OK, after a quick spin around the interweb, I’m not quite sure what type of interface the Floppy and CDROM are using.

With the floppy connected and a disk inserted (but not mounted with the udisks mount command), I could do with the output from a few commands:-

sudo lshw
lspci
lsusb
pccardctl ls
lsmod
sudo fdisk -l

These webpages seem to suggest the drives are using either a PCMCIA or USB connection, and that the drive may be being mounted as a hard drive:
http://econ.queensu.ca/faculty/mackinnon/thinkpad-t22.html
and
http://captainchang.com/geek/linux-t22.html

I have found the IBM Linux support pages.

This link explains about Hotswap and Linux How to hotswap Ultrabay devices - ThinkWiki

The site contains Linux information and driver information for all IBM laptops so may be of interest to all members.