[LUNI] USB floppy

Noesis noesis at darktide.com
Tue Aug 20 15:22:03 CDT 2002


Thanks for the help!  I didn't have generic SCSI compiled in the kernel (I 
didn't think I needed it).  Anyways, everything seemed to be all setup.  I 
did everything you said.  The sym link to /dev/fd0 is all setup as well, 
so in the following readout don't think I forgot. :)

But!  

mount /dev/fd0 /mnt/floppy
/dev/fd0: Input/Output error
mount: block device /dev/fd0 is write-protected, mounting read only

..and it don't mount it.
..tried many disks...


Anyways, I looked in /var/log/messages and found this:

usb.c: New USB bus regostered, assign bus number 1
hub.c: USB hub found
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver
usb.c: registered new driver usb-storage
USB Mass Storage support registered

later...

hub.c: USB new device connected on bus1/2, assign device number 2
scsi0: SCSI emulation for USB Mass Storage devices


I must be doing something wrong or perhaps mounting the wrong /dev  ...

My lack of USB know-how in Linux is frusterating and I am on a mission to 
get this working! :)  

I really appreciate the help as my trip is coming soon. 


Kind Regards,
  -Noesis

On Tue, Aug 20, 2002 at 12:37:27PM -0400, matt at abernackie.com wrote:
> Assuming that you not only compiled USB support, but that
> you ALSO compiled generic SCSI && usb-storage (aka USB Mass Storage Support) 
> into your kernel then the following should work....  
> 
> First thing first, look at /var/log/messages && /var/log/dmesg to see
> what messages are produced in regard to the OS recognizing the device
> and what /dev/ file the device can be linked to.
> 
> (I have never used a usb floppy before, however I assume it is no different
> than plugging in an ordinary USB-Mass storage device.)  
> 
> Next run '/sbin/lsmod' and determine if the usb-storage and the (if needed)
> usb-floppy module.  If usb-storage is not loaded just su - root and issue
> 'modprobe usb-storage'. 
> 
> To determine the module name (if it exists) for the usb-floppy device
> just 'cd' into your '/lib/modules/{version}/kernel/drivers/usb/' or the
> /lib/modules/{version}/kernel/drivers/usb/storage directorieds and look
> around for your appropriate module... If found issue :
> 
> 'modprobe modulename'.
> 
> If the module loads,(verify with 'lsmod) and youve found the dev file the 
> device links to, then can simply run 'ln -s /dev/device /dev/floppy' and 
> 'chmod 644 /dev/floppy /dev/device' and you should be all set.
> 
> mount -t <filesystem> /dev/floppy /mnt/floppy
> 
> then pop in a diskette and 'cd /mnt/floppy; ls' 
> 
> Bingo, if you see a file listing. :-)
> 
> GL,
> 
> Matt
> 
> 
> 
> On Tue, Aug 20, 2002 at 03:19:45PM +0000, Noesis wrote:
> > Greetings.  I'm a little confused on how I should get my USB floppy to 
> > work on my laptop.  I have little experiance with USB in Linux.  The only 
> > reason I want to use a USB floppy is so I don't have to lug around the 
> > 'bay' thing (contains a floppy, CDROM and larger battery).   Perhaps there 
> > is a resource someone could direct me to or a suggestion on how to get it 
> > to work.  Here are the steps I have take so far: 1) Compiled USB into the 
> > kernel  2) (obviously) plugged USB floppy in.
> > 
> > Any help is appreciated.  
> > 
> > Regards,
> >   -Noesis
> > 
> > -- 
> >     _   __                _
> >    / | / /___  ___  _____(_)____
> >   /  |/ / __ \/ _ \/ ___/ / ___/
> >  / /|  / /_/ /  __(__  ) (__  )
> > /_/ |_/\____/\___/____/_/____/
> >   noesis at darktide dot com
> > http://www.darktide.com/noesis/
> > DigitalNoesis.com - Darktide.com
> 
> 
> 
> -- 
> Matthew Terry
> matt at abernackie.com
> 
> An amendment to a motion may be amended, but an amendment to an amendment
> to a motion may not be amended.  However, a substitute for an amendment to
> and amendment to a motion may be adopted and the substitute may be amended.
> 		-- The Montana legislature's contribution to the English
> 		language.
> ______________________________________________________________________
> Linux Users Of Northern Illinois - Technical Discussion 
> luni at luni.org
> http://luni.org/mailman/listinfo/luni
> 

-- 
    _   __                _
   / | / /___  ___  _____(_)____
  /  |/ / __ \/ _ \/ ___/ / ___/
 / /|  / /_/ /  __(__  ) (__  )
/_/ |_/\____/\___/____/_/____/
  noesis at darktide dot com
http://www.darktide.com/noesis/
DigitalNoesis.com - Darktide.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://luni.org/pipermail/luni/attachments/20020820/0c7c7ee4/attachment.bin 


More information about the luni mailing list