gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how a phone mapped to a particular /dev/ttyUSBX ?


From: Pawel Kot
Subject: Re: how a phone mapped to a particular /dev/ttyUSBX ?
Date: Wed, 7 Sep 2011 20:52:05 +0200

Hi,

2011/9/7 Petter Törnberg <address@hidden>:
> I'm far from an expert on Linux, but I've previously had some problem
> with the assumption that the usb devices would end up at the same
> position in /dev/. My phones sometimes changed name in the file system
> (possibly caused by someone at the server doing something stupid),
> wrecking all sorts of havoc in my gnokii program (when the program
> tried using e.g. a USB-hub as a phone.)
>
> A better solution is thus to use udev-rules
> (http://reactivated.net/writing_udev_rules.html) to always place the
> device in the same position in the file system. However, this means
> that you must be able to uniquely identify your different USB-devices
> (using e.g. an ID that is embedded in the device). Alas, usually, as
> in my case, my USB-cables were cheap and all had the same name and ID,
> and this was not possible (I instead rather painfully rewrote my
> program in such a way that this was handled by software). But this
> might not be the case for you.

In addition to that you can see the following on our wiki:
http://wiki.gnokii.org/index.php/DKU2#Debug_udev_rules
http://wiki.gnokii.org/index.php/Troubleshooting#Dealing_with_NetworkManager.2FModemManager_interference

-- 
Pawel Kot



reply via email to

[Prev in Thread] Current Thread [Next in Thread]