Problems with dahdi and USB detection

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jan 11 21:45:46 UTC 2010


On Mon, Jan 11, 2010 at 04:33:59PM -0500, Jean-Michel Dault wrote:
> Hello,
> 
> I don't know if I should report the problem here or upstream, but
> there's a problem with dahdi and USB detection and the use of /sys
> instead of /proc.
> 
> The perl modules try to parse /sys/bus/usb/devices/*-*/serial, which
> doesn't always exist. As a matter of fact, I couldn't find a /serial
> file on any USB device on any machine at any of our offices, except an
> obscure Samsung printer somewhere in Switzerland...
> 
> Anyways, it's in file USB.pm, problem was solved in r7542, but was
> re-introduced in r7559.
> 
> I suggest another way to deal with the problem. Patch enclosed.

https://issues.asterisk.org/view.php?id=16552

A simpler fix should be included in 2.2.1 should be released shortly.

(But thanks for the patch. See my first response to that issue)

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the Pkg-voip-maintainers mailing list