usb & udev



Hi all,

When I plug my board with the FT232R chip from FTDI (USB to serial) a
module named usbserial.ko and ftdi_sio.ko is inserted automatically.

I saw in udev rules that this is the line responsible for doing that:

# Load drivers that match kernel-supplied alias
ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe -Q $env{MODALIAS}"

What I want to know is who send this for udev? usbcore module?

The variable $env{MODALIAS} is something like this:

usb:v0403p6001d0600dc00dsc00dp00icFFiscFFipFF

v0403 is the vendor ID, p6001 is the product ID, but the others? I
didnt find anything about this in modprobe or udev docs....

Thanks,

--
Alemao
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Counterfeit FTDI chips?
    ... USBView program which reported the Vendor code 0x067B and product ID ... suggesting that the chip is actually a Prolific PL2303! ... over USB. ... able to get FT_ListDevices function of the FTDI driver to actually report ...
    (sci.electronics.design)
  • Counterfeit FTDI chips?
    ... The project involves a FT245R parallel-to-USB converter IC from FTDI. ... USBView program which reported the Vendor code 0x067B and product ID 0x2303 ... suggesting that the chip is actually a Prolific PL2303! ... over USB. ...
    (sci.electronics.design)
  • Re: Counterfeit FTDI chips?
    ... suggesting that the chip is actually a Prolific PL2303! ... over USB. ... able to get FT_ListDevices function of the FTDI driver to actually ...
    (sci.electronics.design)
  • Re: Has anyone dumped udev for devfs?
    ... |>I am trying to get a Microtek X12 USL scanner attached, and udev fails ... |I'm not sure what USB has to do with a SCSI scanner... ...
    (Fedora)
  • Re: Network Device Naming mechanism and policy
    ... that one event's modprobe completes before beginning a second ... This leads to naming races in the kernel, ... Udev operates on a single device instance at a time, ... Would the device name change depending on which USB ...
    (Linux-Kernel)