[asterisk-dev] [Code Review] Makefile now specifies whether or not DAHDI hardware was found

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Apr 13 16:46:41 CDT 2009


On Mon, Apr 13, 2009 at 09:27:31PM -0000, dbrooks at digium.com wrote:

> Tzafrir Cohen wrote:
>
> > What if you just changed the dahdi_hardware tool to print out a 
> > message if no hardware was found?
> 
> I could be wrong, but from the message printed with 'make config', the 
> user should take note of what hardware he/she has, and edit 
> /etc/dahdi/modules to "load support for only the DAHDI hardware 
> installed in this system". I would take that to mean we should print 
> out what hardware the user has.

dahdi_hardware looks at the PCI and USB busses. If it did not find
hardware, loading modules won't magically make the hardware visible.

Generating /etc/dahdi/modules with modules for devices found by
dahdi_hardware: 

  dahdi_genconf modules

-- 
               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 asterisk-dev mailing list