Page 1 of 2
usb-modeswitch-1.1.9 and usb-modeswitch-data 20110805
Posted: 21 Sep 2011, 14:59
by mclinux
System:
Aspire One Netbook
Linpus Linux Lite v.1.0.3.E (Fedora based)
Kernel 2.6.23.9lw
Processor Intel Atom N270 @ 1.60 Ghz
usb-modeswitch-data:
[root@localhost usb-modeswitch-data-20110805]# make install
install -d /usr/share/usb_modeswitch
install -d /etc/usb_modeswitch.d
install -D --mode=644 40-usb_modeswitch.rules /lib/udev/rules.d/40-usb_modeswitch.rules
install --mode=644 -t /usr/share/usb_modeswitch ./usb_modeswitch.d/*
if [ -f /etc/issue ]; then \
UDEVADM=`which udevadm 2>/dev/null`; \
if [ "x$UDEVADM" != "x" ]; then \
UDEVADM_VER=`$UDEVADM -V 2>/dev/null`; \
if [ -z $UDEVADM_VER ]; then \
UDEVADM_VER=`$UDEVADM --version 2>/dev/null`; \
fi; \
if [ $UDEVADM_VER -gt 127 ]; then \
$UDEVADM control --reload-rules; \
else \
$UDEVADM control --reload_rules; \
fi \
elif [ `which udevcontrol 2>/dev/null` ]; then \
`which udevcontrol` reload_rules; \
fi \
fi
I can't install the package.
Posted: 21 Sep 2011, 21:33
by Josh
There was no error during your installation. Why do you think it failed?
Posted: 21 Sep 2011, 21:43
by mclinux
if I run a shellscript and it is showing the code then it is not interpreted as code.
So I think this code is not used:
if [ -f /etc/issue ]; then \
UDEVADM=`which udevadm 2>/dev/null`; \
if [ "x$UDEVADM" != "x" ]; then \
UDEVADM_VER=`$UDEVADM -V 2>/dev/null`; \
if [ -z $UDEVADM_VER ]; then \
UDEVADM_VER=`$UDEVADM --version 2>/dev/null`; \
fi; \
if [ $UDEVADM_VER -gt 127 ]; then \
$UDEVADM control --reload-rules; \
else \
$UDEVADM control --reload_rules; \
fi \
elif [ `which udevcontrol 2>/dev/null` ]; then \
`which udevcontrol` reload_rules; \
fi \
fi
Posted: 22 Sep 2011, 20:01
by Josh
The bash code is run directly from the Makefile. AFAIK, "make" will echo what it does which includes this (single line) script.
Even if it would not run, there is no problem unless you have a very dated system where udevd does not notice rules file modifications. In the worst case, a restart of udevd is needed.
Posted: 24 Sep 2011, 16:11
by mclinux
OK, installation of usb-modeswitch is correct.
I have connected a T-Mobile Huawei E-1823 UMTS stick.
#usb_modeswitch -H -v 0x1d12 -p 0x1446 -W -c /etc/usb_modeswitch.conf
Reading config file: /etc/usb_modeswitch.conf
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.9 (C) Josua Dietze 2011
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1d12
DefaultProduct= 0x1446
TargetVendor= not set
TargetProduct= not set
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent=""
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 7 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
Looking for default devices ...
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 064e:d101
searching devices, found USB ID 12d1:1446
searching devices, found USB ID 0000:0000
No devices in default mode found. Nothing to do. Bye.
Posted: 24 Sep 2011, 16:42
by mclinux
Code: Select all
Bus 001 Device 002: ID 12d1:1446 Huawei
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei
idProduct 0x1446
bcdDevice 0.00
iManufacturer 3 Huawei Technologies
iProduct 2 HUAWEI Mobile
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 55
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 1 Huawei Configuration
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Posted: 24 Sep 2011, 17:08
by mclinux
after editing /etc/usb_modeswitch.conf and adding /etc/udev/rules.d/10-usb_modeswitch.rules:
[root@localhost ~]# usb_modeswitch -W -c /etc/usb_modeswitch.conf
Reading config file: /etc/usb_modeswitch.conf
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.9 (C) Josua Dietze 2011
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1446
TargetVendor= 0x12d1
TargetProduct= 0x1001
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=0x01
MessageContent="55534243000000000000000000000011060000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check enabled, max. wait time 5 seconds
System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 006 on 001
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 7 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
Looking for target devices ...
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 12d1:1446
found matching vendor ID
searching devices, found USB ID 064e:d101
searching devices, found USB ID 0000:0000
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 12d1:1446
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 064e:d101
searching devices, found USB ID 0000:0000
Found devices in default mode, class or configuration (1)
Accessing device 006 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String: HUAWEI
Model String: Mass Storage
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
USB error: could not release intf 0: No such device
Device is gone, skipping any further commands
Checking for mode switch (max. 5 times, once per second) ...
Searching for target devices ...
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 7 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 064e:d101
searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 7 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 064e:d101
searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 7 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 064e:d101
searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 7 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 064e:d101
searching devices, found USB ID 0000:0000
Searching for target devices ...
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 007 on 001
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 7 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 12d1:14ac
found matching vendor ID
searching devices, found USB ID 064e:d101
searching devices, found USB ID 0000:0000
No new devices in target mode or class found
Mode switch has failed. Bye.
Posted: 24 Sep 2011, 20:36
by Josh
Why are you trying to mode-switch manually ???
It's all there, rules and configurations. See your first post for the installed folders and files.
Have you read "How to install" and "How to use" on the main doc page ?
Posted: 25 Sep 2011, 12:53
by mclinux
I have read the USB_ModeSwitch page and have everything installed accordingy.
I have added this to /etc/rc.local:
mount -t usbfs usbfs /proc/bus/usb // otherwise under /proc/bus/usb no files
modprobe usbserial vendor=0x12d1 product=0x1446 // load the usbserial module
mknod /dev/ttyUSB0 c 188 0 // these nodes are not made automatically when I
mknod /dev/ttyUSB1 c 188 1 // connect the stick
mknod /dev/ttyUSB2 c 188 2
When I start the computer and put the stick in the USB-port:
The switch is not made and it shows the content of the stick in a new window.
#lsusb
[root@localhost ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 12d1:1446 Huawei <-- I think this is the mass storage
Bus 001 Device 003: ID 064e:d101 Acer Crystal Eye Webcam
Bus 001 Device 001: ID 0000:0000
When I reboot the computer with the stick connected then it makes the switch:
#lsusb:
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 064e:d101 Acer Crystal Eye Webcam
Bus 001 Device 002: ID 12d1:14ac Huawei <-- and this the modem
Bus 001 Device 001: ID 0000:0000
But:
#wvdialconf
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB0: No such device
--> Cannot open /dev/ttyUSB0: No such device
--> Cannot open /dev/ttyUSB0: No such device
[root@localhost ~]# wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: USB0 USB1 USB2
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
So how can I connect /dev/ttyUSB0 to the modem?
Posted: 25 Sep 2011, 19:56
by Josh
If your distribution does not even include "udev", then the automatic approach of usb_modeswitch will not work. If it does, you should not create nodes manually in /dev. That's what udev is for.
In the latter case, the mode switching should happen right away when plugging (assuming "tcl" is installed) and should include the driver binding, creating the serial ports automatically. With very dated distributions, there may be an issue with the "rules" files folder. You could try to move "40-usb_modeswitch.rules" from "/lib/udev/rules.d" to "/etc/udev/rules.d".
If you still get no sign of usb_modeswitch doing the job, enable logging as described in paragraph "Troubleshooting".
Posted: 25 Sep 2011, 20:01
by Josh
Oh, and don't use /etc/usb_modeswitch.conf for device configurations. This is a global config file; the device-specific information is in /usr/share/usb_modeswitch.
Posted: 25 Sep 2011, 23:35
by mclinux
TCL is installed.
I have changed in /etc/usb_modeswitch.conf:
enablelogging=1
I have removed the mknod lines in /etc/rc.local
When I connect the stick:
/dev/ttyUSB0 and /dev/ttyUSB1 are created.
lsusb:
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 12d1:1446 Huawei
Bus 001 Device 002: ID 064e:d101 Acer Crystal Eye Webcam
Bus 001 Device 001: ID 0000:0000
/var/log/usb_modeswitch_<device> is not craeted.
/var/log/messages is empty
#wvdial:
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
#wvdialconf:
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at
http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to <
wvdial-list@lists.nit.ca>.
Posted: 25 Sep 2011, 23:43
by mclinux
Content /etc/udev/usb_modeswitch.rules:
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"
Content /usr/bin/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 3600000
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 =
Area Code =
Phone = *99#
Username = ppp
Password = ppp
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
Posted: 26 Sep 2011, 07:52
by Josh
mclinux wrote:Content /etc/udev/usb_modeswitch.rules:
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"
This is wrong. Don't use that file. Use "40-usb_modeswitch.rules" which came with the usb_modeswitch data package.
Look for a folder named "rules.d", either in "/etc/udev" or in "/lib/udev". If there is none, you don't have udev. If you have udev, there should be other ".rules" files in those folders.
Please post what you found.
You don't have to try wvdial if you see "12d1:1446". The device has not switched to modem yet.
Posted: 26 Sep 2011, 09:43
by mclinux
[root@localhost ~]# cd /etc/udev
[root@localhost udev]# ls -ltr
total 12
-rw-r--r-- 1 root root 226 2007-10-18 22:01 udev.conf
drwxr-xr-x 2 root root 4096 2011-09-12 18:46 makedev.d
drwxrwxr-x 3 root root 4096 2011-09-26 08:30 rules.d
[root@localhost udev]# cd rules.d/
[root@localhost rules.d]# ls -ltr
total 112
-rw-r--r-- 1 root root 143 2007-05-01 20:33 60-synce.rules
-rw-r--r-- 1 root root 112 2007-09-24 17:06 90-alsa.rules
-rw-r--r-- 1 root root 65 2007-10-01 12:33 10-fuse.rules
-rw-r--r-- 1 root root 180 2007-10-05 19:57 60-net.rules
-rw-r--r-- 1 root root 233 2007-10-18 22:01 95-udev-late.rules
-rw-r--r-- 1 root root 749 2007-10-18 22:01 80-drivers.rules
-rw-r--r-- 1 root root 2106 2007-10-18 22:01 75-persistent-net-generator.rules
-rw-r--r-- 1 root root 390 2007-10-18 22:01 75-cd-aliases-generator.rules
-rw-r--r-- 1 root root 411 2007-10-18 22:01 61-persistent-storage-edd.rules
-rw-r--r-- 1 root root 1215 2007-10-18 22:01 60-persistent-storage-tape.rules
-rw-r--r-- 1 root root 3488 2007-10-18 22:01 60-persistent-storage.rules
-rw-r--r-- 1 root root 1424 2007-10-18 22:01 60-persistent-input.rules
-rw-r--r-- 1 root root 119 2007-10-18 22:01 60-cdrom_id.rules
-rw-r--r-- 1 root root 191 2007-10-18 22:01 05-udev-early.rules
-rw-r--r-- 1 root root 126 2007-10-18 22:01 95-pam-console.rules
-rw-r--r-- 1 root root 725 2007-10-18 22:01 64-md-raid.rules
-rw-r--r-- 1 root root 107 2007-10-18 22:01 64-device-mapper.rules
-rw-r--r-- 1 root root 1448 2007-10-18 22:01 40-redhat.rules
-rw-r--r-- 1 root root 382 2007-10-18 22:01 40-alsa.rules
-rw-r--r-- 1 root root 82 2008-05-21 09:08 90-hal.rules
-rw-r--r-- 1 root root 1635 2008-06-13 07:17 z20_hso-udev.rules
-rw-r--r-- 1 root root 4332 2008-06-13 20:10 50-udev-default.rules
-rw-r--r-- 1 root root 514 2011-04-10 13:07 70-persistent-net.rules
-rw-r--r-- 1 root root 4411 2011-04-10 19:06 70-persistent-cd.rules
-rw-r--r-- 1 root root 101 2011-09-24 15:42 40-usb_modeswitch.rules
[root@localhost rules.d]# cd /lib/udev
[root@localhost udev]# ls -ltr
total 208
-rwxr-xr-x 1 root root 9820 2007-10-09 23:06 rename_device
-rwxr-xr-x 1 root root 3092 2007-10-18 22:01 write_net_rules
-rwxr-xr-x 1 root root 2561 2007-10-18 22:01 write_cd_rules
-rwxr-xr-x 1 root root 2357 2007-10-18 22:01 rule_generator.functions
-rwxr-xr-x 1 root root 11889 2007-10-18 22:01 path_id
-rwxr-xr-x 1 root root 564 2007-10-18 22:01 firmware.sh
-rwxr-xr-x 1 root root 686 2007-10-18 22:01 fw_unit_symlinks.sh
drwxr-xr-x 2 root root 4096 2007-10-18 22:01 devices
-rwxr-xr-x 1 root root 15120 2007-10-18 22:01 vol_id
-rwxr-xr-x 1 root root 24764 2007-10-18 22:01 usb_id
-rwxr-xr-x 1 root root 39664 2007-10-18 22:01 scsi_id
-rwxr-xr-x 1 root root 13220 2007-10-18 22:01 edd_id
-rwxr-xr-x 1 root root 22880 2007-10-18 22:01 create_floppy_devices
-rwxr-xr-x 1 root root 10948 2007-10-18 22:01 cdrom_id
-rwxr-xr-x 1 root root 11868 2007-10-18 22:01 ata_id
-rwxr-xr-x 1 root root 1201 2011-09-17 13:05 huawei-mobile.sh
-rwxr-xr-x 1 root root 1641 2011-09-21 14:18 usb_modeswitch
drwxr-xr-x 2 root root 4096 2011-09-25 21:27 rules.d