On 24/05/12 13:41, Conor O'Gorman wrote:
> On Wed, 2012-05-23 at 20:26 +0200, John Crispin wrote:
>> On 23/05/12 20:07, John Crispin wrote:
>> i think we should change this to not use xtu bits unless explicitly set
>> .... can you try with this patch applied ?
>>
>
> Success.
>
awesome :-) I will cook up a patch on the weekend and test it
Sorry, I am busy with non-fun work for a few weeks, so fixes will take a
couple of days extra to reach trunk.
> That patch didn't work. The -i is necessary. It's also a critical param,
> as the first setting seems to stick till reboot. Which is annoying, as
> all subsequent tests are pointless.
>
> Anyway, going back to the bare -i works.
>
> The xtu value is perhaps wrong for annex a2p?
>
> network.adsl.fwannex=a
> network.adsl.annex=a2p
>
> annex_a2p=00_00_00_00_00_01_00_00
>
> Patch:
>
> diff --git a/package/ltq-dsl-app/files/dsl_control
> b/package/ltq-dsl-app/files/dsl_control
> index e833854..4dc1738 100644
> --- a/package/ltq-dsl-app/files/dsl_control
> +++ b/package/ltq-dsl-app/files/dsl_control
> @@ -296,7 +296,7 @@ start() {
> echo "invalid fwannex: $fwannex"
>
> # start CPE dsl daemon in the background
> - service_start /sbin/dsl_cpe_control -i${xtu} \
> + service_start /sbin/dsl_cpe_control -i \
> -n /sbin/dsl_notify.sh \
> -f /lib/firmware/dsl-fw-${fwannex}.bin
> }
>
>
>
> Status:
>
> root@OpenWrt:~# /etc/init.d/dsl_control status
> Chipset: Ifx-Danube 1.5
> Line State: DOWN [0x300: handshake]
> DSL[00]: ERROR - Function is only available in the SHOWTIME!
> [ 54.468000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> Data Rate: 0 b/s / 0 b/s
> [ 54.540000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> [ 54.612000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> Line Attenuation: 0.0dB / 0.0dB
> Noise Margin: 0.0dB / 0.0dB
> Line Uptime: down
> root@OpenWrt:~# /etc/init.d/dsl_control status
> Chipset: Ifx-Danube 1.5
> Line State: DOWN [0x380: full_init]
> [ 60.020000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> [ 60.080000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> Data Rate: 0 b/s / 0 b/s
> [ 60.152000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> [ 60.224000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> Line Attenuation: 0.0dB / 0.0dB
> Noise Margin: 0.0dB / 0.0dB
> Line Uptime: down
> root@OpenWrt:~# /etc/init.d/dsl_control status
> Chipset: Ifx-Danube 1.5
> Line State: DOWN [0x380: full_init]
> [ 63.184000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> [ 63.244000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> Data Rate: 0 b/s / 0 b/s
> [ 63.316000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> [ 63.392000] DSL[00]: ERROR - Function is only available in the SHOWTIME!
> Line Attenuation: 0.0dB / 0.0dB
> Noise Margin: 0.0dB / 0.0dB
> Line Uptime: down
> root@OpenWrt:~# [ 64.372000] [DSL_BSP_Showtime 916]: Datarate US intl =
> 256000, fast = 0
> root@OpenWrt:~# /etc/init.d/dsl_control status
> Chipset: Ifx-Danube 1.5
> Line State: UP [0x801: showtime_tc_sync]
> Data Rate: 1.024 Mb/s / 256 Kb/s
> Line Attenuation: 30.3dB / 14.5dB
> Noise Margin: 36.9dB / 31.0dB
> Line Uptime: 2s
>
>
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel