<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2>hi,</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>i added layer 1 
state change (and initial state) reporting to mISDN kernel driver. this is 
usefull to resolve E1 connection problem.</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>1. download the 
latest mISDN driver from <A href="http://www.mISDN.org">www.mISDN.org</A> using 
git:</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2> git-clone 
git://git.misdn.org/git/mISDN.git/<BR></FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>change to socket 
branch:</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2> cd mISDN<BR> 
./checkout-branch.sh socket</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>compile and install 
as usual</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2> make force # 
remove kernel mISDN includes</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2> make</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2> make 
install</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>load mISDN as 
usual.</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>2. run bsc_hack 
using debug option: --debug=DMI</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>Allowing 
everyone?<BR>DB: Database initialized.<BR>DB: Database prepared.<BR>1 devices 
found<BR>        
id:             0<BR>        
Dprotocols:     
00000018<BR>        
Bprotocols:     
0000006e<BR>        
protocol:       
4<BR>        
nrbchan:        
30<BR>        
name:           
hfc-e1.1<BR>activate bchan<BR>activate bchan<BR>Mon Jun  1 18:51:43 2009 
<1000> input/misdn.c:124 alen =6, dev(9) channel(0) sapi(63) 
tei(127)<BR>Mon Jun  1 18:51:43 2009 <1000> input/misdn.c:127 <= 
len = 12, prim(0x8) id(0x7f3f): DL_INFORMATION_IND<BR>Mon Jun  1 18:51:43 
2009 <1000> input/misdn.c:134 DL_INFORMATION_IND: use channel(0) sapi(63) 
tei(127) for now<BR>mISDN message for unknown sign_link</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>Mon Jun  1 
18:51:43 2009 <1000> input/misdn.c:124 alen =6, dev(9) channel(0) sapi(63) 
tei(127)<BR>Mon Jun  1 18:51:43 2009 <1000> input/misdn.c:127 <= 
len = 8, prim(0x102) id(0x7f3f): PH_ACTIVATE_IND<BR>Mon Jun  1 18:51:43 
2009 <1000> input/misdn.c:161 PH_ACTIVATE_IND: channel(0) sapi(63) 
tei(127)</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>in this case we see 
"PH_ACTIVATE_IND", because BS11 is connected and sending a 
signal.</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>3. check your card: 
(most common type)</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>close to the plug 
there are two jumpers. the are used to select between 1,2,4,5 and 1,2,3,6 pin 
selection. be sure they are to the left for standard 1,2,4,5 
pinning.</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>take an rj45 plug 
and connect pin 1 with 4 and 2 with 5. start bsc_hack and plug it into your 
card. you should see "PH_ACTIVATE_IND" when you plug it. your card is 
working.</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>if nothing works, 
check your termination switches. refer to the card's manual. the must be set to 
120 ohms, if the termination jumpers on your BS11 are pulled out. without 
termination, the card might not work.</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>4. check your 
BS11</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>remove the plug 
and connect the cable to the BS11: one pair (pin 1 and 2) to Y01 and one pair 
(pin 4 and 5) to Y02. after bootup ob BS11 you will see "PH_ACTIVATE_IND" if you 
connect both paris in the correct order. you must connect both pairs because 
BS11 will only send a signal, if it receives a signal. pin 1 can be wapped with 
pin 2, pin 4 with pin 5 also. the E1 interface does not care about 
that.</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>5. check data link 
connection:</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>you have already 
received the management process via "DL_INFORMATION_IND" on sapi 63 tei 127. if 
BS11 software load is running, you will receive additional data links from 
BS11:</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>- sapi 62 tei 
25</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>- sapi 0 tei 
25</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>- sapi 0 tei 
1</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>these are three 
datalinks. each one is created and sends us "DL_INFORMATION_IND" on 
creation, "DL_ESTABLISH_IND" on activation and "DL_DATA_IND" when receiving data 
on that link.</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2>hope that 
helps.</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2>andreas</FONT></SPAN></DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974251515-01062009><FONT face=Arial size=2></FONT></SPAN><SPAN 
class=974251515-01062009><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV></SPAN></BODY></HTML>