Hi Kay, so I was playing with adding environment variables to devices in the udev database for later easy enumeration. And I like having ID_VENDOR and ID_MODEL available and would like to extend this even to PCI and SDIO in the future, but why are all whitespace replaced with "_". P: /devices/pci0000:00/0000:00:1a.1/usb3/3-1/3-1:1.0/ttyUSB0/tty/ttyUSB0 N: ttyUSB0 S: char/188:0 S: serial/by-path/pci-0000:00:1a.1-usb-0:1:1.0-port0 S: serial/by-id/usb-Novatel_Wireless_Novatel_Wireless_HSUPA_Modem_356846015115701-if00-port0 E: UDEV_LOG=3 E: DEVPATH=/devices/pci0000:00/0000:00:1a.1/usb3/3-1/3-1:1.0/ttyUSB0/tty/ttyUSB0 E: MAJOR=188 E: MINOR=0 E: DEVNAME=/dev/ttyUSB0 E: ID_PORT=0 E: ID_PATH=pci-0000:00:1a.1-usb-0:1:1.0 E: ID_VENDOR=Novatel_Wireless E: ID_MODEL=Novatel_Wireless_HSUPA_Modem E: ID_REVISION=0000 E: ID_SERIAL=Novatel_Wireless_Novatel_Wireless_HSUPA_Modem_356846015115701 E: ID_SERIAL_SHORT=356846015115701 E: ID_TYPE=generic E: ID_BUS=usb E: ID_IFACE=00 E: ID_MODEM_GSM=1 E: ID_MODEM_PROBED=1 E: DEVLINKS=/dev/char/188:0 /dev/serial/by-path/pci-0000:00:1a.1-usb-0:1:1.0-port0 /dev/serial/by-id/usb-Novatel_Wireless_Novatel_Wireless_HSUPA_Modem_356846015115701-if00-port0 This is one of my UMTS modem sticks and the corresponding USB details are this: T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1410 ProdID=4400 Rev= 0.00 S: Manufacturer=Novatel Wireless S: Product=Novatel Wireless HSUPA Modem S: SerialNumber=356846015115701 C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms So as you can see we are mangling the Manufacturer and Product whitespaces into "_". Is there are specific reason why we are doing it this way? Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html