Re: [OpenWrt-Devel] ttyUSB identification

2010-10-26 Thread Lukas Macura
Hi, or you can use my enhanced 3g patch. It was not accepted yet, but I am hard-working on it :) This script identify your serial modem by asking modem directly. You can get CIMI, networkid or IMEI and it will link that serial device to right place. More info here: https://forum.openwrt.org/viewto

Re: [OpenWrt-Devel] ttyUSB identification

2010-10-25 Thread Mark Deneen
I started adding USB ids to a shell script which echos the USB product / ID into /sys/bus/usb-serial/drivers/option1/new_id if appropriate. Unfortunately, you can receive many hotplug events for a single device insertion so I wrote a program which will "compress" all of the matching events into a

Re: [OpenWrt-Devel] ttyUSB identification

2010-10-25 Thread Daniel Golle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi benjamin! afaik the creation of /dev/serial, /dev/disk, ... symlinks is done by udev and therefore requires udev installed. while this could solve the problem, it occupies 166kB (which is more than all needed USB-serial kernel modules together...) i

Re: [OpenWrt-Devel] ttyUSB identification

2010-10-25 Thread Benjamin Henrion
On Mon, Oct 25, 2010 at 1:58 PM, Daniel Golle wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > hi everybody! > for my current project i need to reliably identify/distinguish several > USB-to-serial devices connected to a 4-port hub. in a desktop > environment, i would use hal over dbus

[OpenWrt-Devel] ttyUSB identification

2010-10-25 Thread Daniel Golle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi everybody! for my current project i need to reliably identify/distinguish several USB-to-serial devices connected to a 4-port hub. in a desktop environment, i would use hal over dbus (or in future probably device-kit over dbus) to select the device