Re: Getting devfs to recognize a hotplugged fd0
From: Patrick Bowen (pbowen25_at_juno.com)
Date: 11/28/04
- Previous message: Craig Rodrigues: "Re: ptrace broken on latest CURRENT ?"
- In reply to: Ed Schouten: "Re: Getting devfs to recognize a hotplugged fd0"
- Next in thread: Robert Watson: "Re: Getting devfs to recognize a hotplugged fd0"
- Reply: Robert Watson: "Re: Getting devfs to recognize a hotplugged fd0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Nov 2004 21:20:25 -0600 To: FreeBSD Current <freebsd-current@freebsd.org>
Ed Schouten wrote:
>Hello Patrick,
>
>Patrick Bowen wrote:
>
>
>>I'm trying to learn how to get devfs to create an fd0 enty in /dev
>>automatically when I plug a floppy drive into the serial port of a
>>running Dell D600 laptop running 6.0 current.
>>
>>
>
>Are you sure that's possible at all? You know the serial port isn't
>plug-and-play? How can the operating system tell that there is something on
>the serial port at all? :)
>
>
>
Ed;
No, I'm not sure. But, in 4.10, with /dev already populated with an
entry for fd0, I could plug the floppy into a running machine and then
mount it, no problem. So I'm thinking that if can either create an entry
for /dev/fd0 during or shortly after boot time, or get devfs to rescan
for devices, then it should work on -current also. I occurs to me that
rescanning might wreak havoc with operations already using other
devices, like a disk write or something, so the first option may be
preferable.
This is not a critical issue, but falls more in the category of "Gee, I
wonder if i can (fill-in-the-blank)" sort of thing.
BTW, thanks for your reply...
Patrick
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Craig Rodrigues: "Re: ptrace broken on latest CURRENT ?"
- In reply to: Ed Schouten: "Re: Getting devfs to recognize a hotplugged fd0"
- Next in thread: Robert Watson: "Re: Getting devfs to recognize a hotplugged fd0"
- Reply: Robert Watson: "Re: Getting devfs to recognize a hotplugged fd0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Un-controled Erratic/epileptic mouse movement/clicking
... Your serial port (where you plug in the mouse) could be damaged. ...
reboot I sometimes regain control of the mouse, ... however that didn't seem to cure
it. ... (microsoft.public.windowsxp.perform_maintain) - Re: [linux-usb-devel] 2.6.0-test4 - PL2303 OOPS - see also 2.4.22: OOPS on disconnect PL2303 adapter
... It does not like when something is typed on cu and not received by the serial port
side ... pull out, plug in ... Sep 3 14:03:53 mhfl2 kernel: printing
eip: ... (Linux-Kernel) - Re: [WANT] USB > Serial adapter (plugs into RS232 port)
... >I have a device with cable having a USB connector to plug into a computer.
... >computer's serial port. ... (sci.electronics.misc) - Re: Q wrt Bluetooth, USB, RS232 and controllers
... > Last year I bought their serial port dongle from Expansys. ... "No
external drivers are needed to use the plug. ... Windows software for configuring
... (comp.arch.embedded) - Re: selcting right serial driver
... All the serial port drivers have the same std entry ... points to install the
driver and create devices. ... I don't think you want to add "another" serial port device
- you just ... and usrRoot willl call your tyCoDrv entry ... (comp.os.vxworks)