วันพุธที่ 15 ตุลาคม พ.ศ. 2557

RT73 Driver compile problem on linux 2.6.38

I've FriendlyARM Tiny 6410 SDK and I've got and linux kernel sources from DVD. But when I'm compile new kernel to install to run Ubuntu I'm not found RT73USB wireless driver. I was solve this problem by download driver sources from railink official website (RT73_Linux_STA_Drv1.1.0.5) . But when I'm compile this driver i've found following problem.

rtmp_init.c:995:3: error: implicit declaration of function 'init_MUTEX'
and
rtmp_init.c:996:3: error: implicit declaration of function 'init_MUTEX_LOCKED'

I've found solution  by modify source code to support linux 2.6.38 kernel by change init_MUTEX and init_MUTEX_LOCKED to sema_init function. Now It can compiled.

Thank you solution from
http://objectlayer.blogspot.com/2012/07/linux-kernel-2638-using-semainit.html

วันจันทร์ที่ 13 ตุลาคม พ.ศ. 2557

Source List for ARM

/etc/apt/source.list

    deb http://ports.ubuntu.com/ubuntu-ports karmic main universe
replace with
    deb http://old-releases.ubuntu.com/ubuntu/ karmic main universe

Thanks for
http://readystate4.com/2011/11/21/low-powered-web-servers-and-resolving-issues-installing-ubuntu-on-an-android-galaxy-s/

วันอาทิตย์ที่ 12 ตุลาคม พ.ศ. 2557

"PRI Error on span 2: We think we're the CPE, but they think they're the CPE too" Problem.

I've found this massage on asterisk log (/var/log/asterisk/full)

PRI Error on span 2: We think we're the CPE, but they think they're the CPE too

This problem is solved by edit /etc/asterisk/dahdi-channels.conf

change
switchtype = national
signalling = pri_net

Note.
Solution from
http://community.spiceworks.com/topic/487804-pri-cards-where-is-the-problem
and
http://forums.digium.com/viewtopic.php?f=1&t=5937&start=0