Date: Thu, 14 Mar 2013 17:01:23 -0430 From: Alberto Mijares <amijaresp@gmail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Identify USB device with devd Message-ID: <CAGZBXN8Hg5Y-809VNYUneXWL%2BdA4nsQjexnQnLHp9ZNFT2L%2BFw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi list, I have 3 USB GSM modems and I want to trigger some actions when they are plugged to the system. Each modem must trigger a different action, the problem is how to identify each modem because 1) none of the modems have a serial number iSerialNumber = 0x0000 <no string> 2) two of three modems have same idProduct, so I can't rely on this 3) I don't know how to get the exact USB port where the modem is plugged. I can get the bus with the variable port # Hub port number (USB) // man devd.conf but this is not enough information. Any suggestion? Thanks in advance. Regards, Alberto Mijares
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGZBXN8Hg5Y-809VNYUneXWL%2BdA4nsQjexnQnLHp9ZNFT2L%2BFw>