Re: USB device just moves



On Mon, 11 Feb 2008 10:38:13 -0800 (PST) Mike <michael.h.williamson@xxxxxxxxx> wrote:

| On Feb 10, 1:59 pm, phil-news-nos...@xxxxxxxx wrote:
|
|> This is a good example of how that legacy unix principle of assigning device
|> names in probe order is still a bad idea.
|
| But, if I understand correctly, is it not supposed to be possible to
| chain USB devices together somehow, using only one computer USB port?

USB hubs exist. Plug a hub into a computer USB port. You get multiple USB
ports. I have one that has 3 USB ports plus 4 memory card slots in the same
device. I've plugged external drives and USB keys in all three at the same
time. Of course that is now sharing the bandwidth of the one connection to
the computer. Otherwise I can get full speed on each USB port my computer
has (4 in back, 2 in front) concurrently (tested with the 4 in back at the
same time).

When this kind of "fan out" is done, there should be a _physical_ address
that also fans out, with a new range of numbers appended to the address of
the hub itself (maybe starting at .1 so the hub itself can be accessed at
the .0 subaddress). Maybe USB is doing this kind of thing behind the scenes.
But there is no indication of that at the OS level. It seems USB addresses
are dyanmically assigned. So I would guess the computer has no idea where
a USB device is plugged in, beyond the ports it has on itself, and either
the messages are broadcast over hubs, or the hub is smart enough to track
the dynamic addresses and send things the right way.

I'm sure someone will say I should read the USB standards docs. But I do
not want the mental pollution. I'd rather design my own.

--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2008-02-11-1645@xxxxxxxx |
|------------------------------------/-------------------------------------|
.



Relevant Pages

  • HIGHMEM slows down 2.6.11-rc3-bk7 machine
    ... disabled in BIOS, mainly USB/NET/FIREWIRE/SATA stuff. ... Linux agpgart interface v0.100 Dave Jones ... usbcore: registered new driver hub ... ehci_hcd 0000:00:1d.7: new USB bus registered, ...
    (Linux-Kernel)
  • Re: 2.6.5-rc2-mm4 (and 3) IRQ problem
    ... ACPI: Power Resource ... ata2: SATA port disabled. ... ehci_hcd 0000:00:1d.7: new USB bus registered, ... ehci_hcd 0000:00:1d.7: root hub device address 1 ...
    (Linux-Kernel)
  • Re: why can i see a floppy?
    ... Ignoring ACPI timer override. ... PCI Interrupt Link, ... usbcore: registered new driver hub ... ohci_hcd 0000:00:02.0: new USB bus registered, ...
    (Linux-Kernel)
  • USB in 2.6.X kernels
    ... it has a NEC USB 2.0 OHCI based controller. ... has anyone experienced USB OHCI host controller problems with new kernels? ... PCI Interrupt Link ... drivers/usb/core/usb.c: registered new driver hub ...
    (Linux-Kernel)
  • large packet loss take2 2.6.31.x
    ... ACPI: Local APIC address 0xfee00000 ... CPU: Physical Processor ID: 0 ... registered new interface driver hub ... USB 2.0 'Enhanced' Host Controller Driver ...
    (Linux-Kernel)