Please explain how hotplug works in lay terms.

From: Al. C (no.spam.acanton_at_take.out.adams-blake.no.spam.com)
Date: 02/06/05


Date: Sun, 06 Feb 2005 17:29:40 GMT

I run Slackware 9.1 with KDE.

I have a cheapo Palm pilot and use Jpilot for it. Works fine. But I don't
understand HOW. No matter which USB port I plug it into it works. The key is
 the link:
 /dev/pilot -> /dev/ttyUSB1

Can someone explain in lay terms what is going on here?

I read some of:
http://linux-hotplug.sourceforge.net/?selected=overview

but it's pretty technical. I'm just trying to figure out how the kernel knows
that no matter what USB slot I plug in my Palm, it lets Jpilot find it.

Second question.

Given this entry in /etc/fstab
/dev/sda1 /mnt/sony vfat user,noauto

If I plug in my camera I can open it with /mnt/sony via a KDE desktop icon.

Say I had a second camera or a printer or whater and I plug it into a second
slot, it becomes sda2, right? I'd have to have an entry in fstab for that as
well, correct? What happens when I unplug the first device. Does sda2 become
sda1?

I'm looking at buying a USB printer and don't understand which of the 4 USBs I
should plug it into (or does it matter?), and what to put in fstab if
anything.

Thanks,
Al



Relevant Pages

  • Re: Please explain how hotplug works in lay terms.
    ... No matter which USB port I plug it into it works. ... >that no matter what USB slot I plug in my Palm, ...
    (comp.os.linux.misc)
  • Intermittent USB Ports.
    ... Doesn't matter what I plug ... It's like it's rediscovering the USB device over and over. ...
    (microsoft.public.windowsxp.general)
  • Re: Treo USB no longer creating ttyUSB[01] devices???
    ... At some point in the past when we'd plug in a Treo 700p USB cable to ... Have you also checked that you have loaded the visor module with ...
    (Fedora)
  • Re: linux USB question
    ... The only rules that really matter are these: What a man CAN do, and what a man CAN'T do! ... I know it>>>>> picks up USB and mem sticks. ... >>>>> has been resolved with the new kernel. ... I spent hours of reading trying to get my flash drive working>>>> and then out of frustration I formatted it vfat in linux and it's ...
    (alt.linux)
  • Re: Checking HDD for virus and formatting with Vista
    ... What is the best way to format the hard disk using Vista? ... When you plug the old drive in its USB enclosure into a USB port on your new ... BTW, while Windows can be rendered inoperable by a virus, ...
    (microsoft.public.windows.vista.general)