lkml.org 
[lkml]   [2007]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectusb & 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-20 08:09    [W:0.155 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site